Home
last modified time | relevance | path

Searched refs:device_len (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/drivers/virtio/
H A Dvirtio_pci_modern.c101 u32 device_len; member
113 WARN_ON(offset + len > priv->device_len); in virtio_pci_get_config()
149 WARN_ON(offset + len > priv->device_len); in virtio_pci_set_config()
497 dm_pci_read_config32(udev, offset, &priv->device_len); in virtio_pci_probe()
/openbmc/linux/include/linux/
H A Dvirtio_pci_modern.h30 size_t device_len; member
/openbmc/qemu/hw/block/
H A Dpflash_cfi01.c699 uint64_t blocks_per_device, sector_len_per_device, device_len; in pflash_cfi01_fill_cfi_table() local
714 device_len = sector_len_per_device * blocks_per_device; in pflash_cfi01_fill_cfi_table()
758 pfl->cfi_table[0x27] = ctz32(device_len); /* + 1; */ in pflash_cfi01_fill_cfi_table()
/openbmc/linux/drivers/virtio/
H A Dvirtio_pci_modern.c76 BUG_ON(offset + len > mdev->device_len); in vp_get()
114 BUG_ON(offset + len > mdev->device_len); in vp_set()
H A Dvirtio_pci_modern_dev.c342 &mdev->device_len, in vp_modern_probe()
/openbmc/qemu/tests/qtest/
H A Dpflash-cfi02-test.c324 uint32_t device_len = 1 << flash_query_1(c, FLASH_ADDR(0x27)); in test_geometry() local
325 g_assert_cmphex(device_len, ==, UNIFORM_FLASH_SIZE); in test_geometry()
/openbmc/linux/drivers/vdpa/virtio_pci/
H A Dvp_vdpa.c380 return mdev->device_len; in vp_vdpa_get_config_size()