Searched refs:cmd_orig (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/vfio/ |
H A D | igd.c | 380 uint16_t cmd_orig, cmd; in vfio_probe_igd_bar4_quirk() local 586 if (pread(vdev->vbasedev.fd, &cmd_orig, sizeof(cmd_orig), in vfio_probe_igd_bar4_quirk() 587 vdev->config_offset + PCI_COMMAND) != sizeof(cmd_orig)) { in vfio_probe_igd_bar4_quirk() 592 cmd = cmd_orig | PCI_COMMAND_IO; in vfio_probe_igd_bar4_quirk() 605 if (pwrite(vdev->vbasedev.fd, &cmd_orig, sizeof(cmd_orig), in vfio_probe_igd_bar4_quirk() 606 vdev->config_offset + PCI_COMMAND) != sizeof(cmd_orig)) { in vfio_probe_igd_bar4_quirk()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_gmr.c | 45 uint32_t *cmd_orig; in vmw_gmr2_bind() local 53 cmd_orig = cmd = VMW_CMD_RESERVE(dev_priv, cmd_size); in vmw_gmr2_bind() 98 BUG_ON(cmd != cmd_orig + cmd_size / sizeof(*cmd)); in vmw_gmr2_bind()
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_adminq.c | 355 union gve_adminq_command *cmd_orig) in gve_adminq_issue_cmd() argument 386 memcpy(cmd, cmd_orig, sizeof(*cmd_orig)); in gve_adminq_issue_cmd() 445 union gve_adminq_command *cmd_orig) in gve_adminq_execute_cmd() argument 456 err = gve_adminq_issue_cmd(priv, cmd_orig); in gve_adminq_execute_cmd()
|