Searched refs:device_len (Results 1 – 7 of 7) sorted by relevance
101 u32 device_len; member113 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()
30 size_t device_len; member
699 uint64_t blocks_per_device, sector_len_per_device, device_len; in pflash_cfi01_fill_cfi_table() local714 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()
76 BUG_ON(offset + len > mdev->device_len); in vp_get()114 BUG_ON(offset + len > mdev->device_len); in vp_set()
342 &mdev->device_len, in vp_modern_probe()
324 uint32_t device_len = 1 << flash_query_1(c, FLASH_ADDR(0x27)); in test_geometry() local325 g_assert_cmphex(device_len, ==, UNIFORM_FLASH_SIZE); in test_geometry()
380 return mdev->device_len; in vp_vdpa_get_config_size()