Searched refs:status_old (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/mtd/spi-nor/ |
H A D | swp.c | 162 int ret, status_old, status_new; in spi_nor_sr_lock() local 174 status_old = nor->bouncebuf[0]; in spi_nor_sr_lock() 177 if (spi_nor_is_locked_sr(nor, ofs, len, status_old)) in spi_nor_sr_lock() 181 if (!spi_nor_is_locked_sr(nor, 0, ofs, status_old)) in spi_nor_sr_lock() 186 status_old)) in spi_nor_sr_lock() 219 status_new = (status_old & ~mask & ~tb_mask) | val; in spi_nor_sr_lock() 233 if (status_new == status_old) in spi_nor_sr_lock() 237 if ((status_new & mask) < (status_old & mask)) in spi_nor_sr_lock() 252 int ret, status_old, status_new; in spi_nor_sr_unlock() local 264 status_old = nor->bouncebuf[0]; in spi_nor_sr_unlock() [all …]
|
/linux/drivers/vdpa/octeon_ep/ |
H A D | octep_vdpa_main.c | 151 u8 status_old; in octep_vdpa_set_status() local 153 status_old = octep_hw_get_status(oct_hw); in octep_vdpa_set_status() 155 if (status_old == status) in octep_vdpa_set_status() 159 !(status_old & VIRTIO_CONFIG_S_DRIVER_OK)) { in octep_vdpa_set_status() 161 status = status_old | VIRTIO_CONFIG_S_FAILED; in octep_vdpa_set_status()
|
/linux/drivers/vdpa/ifcvf/ |
H A D | ifcvf_main.c | 416 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 D | vdpa.c | 305 u8 status, status_old; in vhost_vdpa_set_status() local 313 status_old = ops->get_status(vdpa); in vhost_vdpa_set_status() 319 if (status != 0 && (status_old & ~status) != 0) in vhost_vdpa_set_status() 322 if ((status_old & VIRTIO_CONFIG_S_DRIVER_OK) && !(status & VIRTIO_CONFIG_S_DRIVER_OK)) in vhost_vdpa_set_status() 333 if ((status & VIRTIO_CONFIG_S_DRIVER_OK) && !(status_old & VIRTIO_CONFIG_S_DRIVER_OK)) in vhost_vdpa_set_status()
|