Home
last modified time | relevance | path

Searched refs:status_old (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/vdpa/octeon_ep/
H A Doctep_vdpa_main.c230 u8 status_old; in octep_vdpa_set_status() local
232 status_old = octep_hw_get_status(oct_hw); in octep_vdpa_set_status()
234 if (status_old == status) in octep_vdpa_set_status()
238 !(status_old & VIRTIO_CONFIG_S_DRIVER_OK)) { in octep_vdpa_set_status()
240 status = status_old | VIRTIO_CONFIG_S_FAILED; in octep_vdpa_set_status()
/linux/drivers/vdpa/ifcvf/
H A Difcvf_main.c416 u8 status_old; in ifcvf_vdpa_set_status() local
420 status_old = ifcvf_get_status(vf); in ifcvf_vdpa_set_status()
422 if (status_old == status) in ifcvf_vdpa_set_status()
426 !(status_old & VIRTIO_CONFIG_S_DRIVER_OK)) { in ifcvf_vdpa_set_status()
/linux/drivers/vhost/
H A Dvdpa.c326 u8 status, status_old; in vhost_vdpa_set_status() local
334 status_old = ops->get_status(vdpa); in vhost_vdpa_set_status()
340 if (status != 0 && (status_old & ~status) != 0) in vhost_vdpa_set_status()
343 if ((status_old & VIRTIO_CONFIG_S_DRIVER_OK) && !(status & VIRTIO_CONFIG_S_DRIVER_OK)) in vhost_vdpa_set_status()
354 if ((status & VIRTIO_CONFIG_S_DRIVER_OK) && !(status_old & VIRTIO_CONFIG_S_DRIVER_OK)) in vhost_vdpa_set_status()