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

/linux-master/drivers/mtd/spi-nor/
H A Dswp.c162 int ret, status_old, status_new; local
174 status_old = nor->bouncebuf[0];
177 if (spi_nor_is_locked_sr(nor, ofs, len, status_old))
181 if (!spi_nor_is_locked_sr(nor, 0, ofs, status_old))
186 status_old))
219 status_new = (status_old & ~mask & ~tb_mask) | val;
233 if (status_new == status_old)
237 if ((status_new & mask) < (status_old & mask))
252 int ret, status_old, status_new; local
264 status_old
[all...]
/linux-master/drivers/vdpa/ifcvf/
H A Difcvf_main.c416 u8 status_old; local
420 status_old = ifcvf_get_status(vf);
422 if (status_old == status)
426 !(status_old & VIRTIO_CONFIG_S_DRIVER_OK)) {
/linux-master/drivers/vhost/
H A Dvdpa.c307 u8 status, status_old; local
315 status_old = ops->get_status(vdpa);
321 if (status != 0 && (status_old & ~status) != 0)
324 if ((status_old & VIRTIO_CONFIG_S_DRIVER_OK) && !(status & VIRTIO_CONFIG_S_DRIVER_OK))
335 if ((status & VIRTIO_CONFIG_S_DRIVER_OK) && !(status_old & VIRTIO_CONFIG_S_DRIVER_OK))

Completed in 160 milliseconds