Searched refs:status_old (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/mtd/spi-nor/ |
D | swp.c | 158 int ret, status_old, status_new; in spi_nor_sr_lock() local 170 status_old = nor->bouncebuf[0]; in spi_nor_sr_lock() 173 if (spi_nor_is_locked_sr(nor, ofs, len, status_old)) in spi_nor_sr_lock() 177 if (!spi_nor_is_locked_sr(nor, 0, ofs, status_old)) in spi_nor_sr_lock() 182 status_old)) in spi_nor_sr_lock() 215 status_new = (status_old & ~mask & ~tb_mask) | val; in spi_nor_sr_lock() 224 if (status_new == status_old) in spi_nor_sr_lock() 228 if ((status_new & mask) < (status_old & mask)) in spi_nor_sr_lock() 243 int ret, status_old, status_new; in spi_nor_sr_unlock() local 255 status_old = nor->bouncebuf[0]; in spi_nor_sr_unlock() [all …]
|
/Linux-v6.1/drivers/vdpa/ifcvf/ |
D | ifcvf_main.c | 470 u8 status_old; in ifcvf_vdpa_set_status() local 475 status_old = ifcvf_get_status(vf); in ifcvf_vdpa_set_status() 477 if (status_old == status) in ifcvf_vdpa_set_status() 481 !(status_old & VIRTIO_CONFIG_S_DRIVER_OK)) { in ifcvf_vdpa_set_status() 503 u8 status_old; in ifcvf_vdpa_reset() local 507 status_old = ifcvf_get_status(vf); in ifcvf_vdpa_reset() 509 if (status_old == 0) in ifcvf_vdpa_reset() 512 if (status_old & VIRTIO_CONFIG_S_DRIVER_OK) { in ifcvf_vdpa_reset()
|
/Linux-v6.1/drivers/vhost/ |
D | vdpa.c | 250 u8 status, status_old; in vhost_vdpa_set_status() local 258 status_old = ops->get_status(vdpa); in vhost_vdpa_set_status() 264 if (status != 0 && (status_old & ~status) != 0) in vhost_vdpa_set_status() 267 if ((status_old & VIRTIO_CONFIG_S_DRIVER_OK) && !(status & VIRTIO_CONFIG_S_DRIVER_OK)) in vhost_vdpa_set_status() 278 if ((status & VIRTIO_CONFIG_S_DRIVER_OK) && !(status_old & VIRTIO_CONFIG_S_DRIVER_OK)) in vhost_vdpa_set_status()
|