Searched refs:STORE_LE32 (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/samples/vfio-mdev/ |
H A D | mdpy.c | 41 #define STORE_LE32(addr, val) (*(u32 *)addr = val) macro 131 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_0], in mdpy_create_config_space() 142 STORE_LE32((u32 *) &mdev_state->vconfig[MDPY_FORMAT_OFFSET], in mdpy_create_config_space() 144 STORE_LE32((u32 *) &mdev_state->vconfig[MDPY_WIDTH_OFFSET], in mdpy_create_config_space() 146 STORE_LE32((u32 *) &mdev_state->vconfig[MDPY_HEIGHT_OFFSET], in mdpy_create_config_space() 170 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write()
|
H A D | mtty.c | 52 #define STORE_LE32(addr, val) (*(u32 *)addr = val) macro 176 STORE_LE32((u32 *) &mdev_state->vconfig[0x0], 0x32534348); in mtty_create_config_space() 198 STORE_LE32((u32 *) &mdev_state->vconfig[0x10], 0x000001); in mtty_create_config_space() 203 STORE_LE32((u32 *) &mdev_state->vconfig[0x14], 0x000001); in mtty_create_config_space() 208 STORE_LE32((u32 *) &mdev_state->vconfig[0x2c], 0x32534348); in mtty_create_config_space() 264 STORE_LE32(&mdev_state->vconfig[offset], 0); in handle_pci_cfg_write() 277 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write() 282 STORE_LE32(&mdev_state->vconfig[offset], 0); in handle_pci_cfg_write()
|
H A D | mbochs.c | 89 #define STORE_LE32(addr, val) (*(u32 *)addr = val) macro 235 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_0], in mbochs_create_config_space() 241 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_2], in mbochs_create_config_space() 328 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write()
|
/kernel/linux/linux-6.6/samples/vfio-mdev/ |
H A D | mdpy.c | 40 #define STORE_LE32(addr, val) (*(u32 *)addr = val) macro 126 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_0], in mdpy_create_config_space() 137 STORE_LE32((u32 *) &mdev_state->vconfig[MDPY_FORMAT_OFFSET], in mdpy_create_config_space() 139 STORE_LE32((u32 *) &mdev_state->vconfig[MDPY_WIDTH_OFFSET], in mdpy_create_config_space() 141 STORE_LE32((u32 *) &mdev_state->vconfig[MDPY_HEIGHT_OFFSET], in mdpy_create_config_space() 165 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write()
|
H A D | mtty.c | 50 #define STORE_LE32(addr, val) (*(u32 *)addr = val) macro 218 STORE_LE32((u32 *) &mdev_state->vconfig[0x0], 0x32534348); in mtty_create_config_space() 240 STORE_LE32((u32 *) &mdev_state->vconfig[0x10], 0x000001); in mtty_create_config_space() 245 STORE_LE32((u32 *) &mdev_state->vconfig[0x14], 0x000001); in mtty_create_config_space() 250 STORE_LE32((u32 *) &mdev_state->vconfig[0x2c], 0x32534348); in mtty_create_config_space() 306 STORE_LE32(&mdev_state->vconfig[offset], 0); in handle_pci_cfg_write() 319 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write() 324 STORE_LE32(&mdev_state->vconfig[offset], 0); in handle_pci_cfg_write()
|
H A D | mbochs.c | 88 #define STORE_LE32(addr, val) (*(u32 *)addr = val) macro 235 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_0], in mbochs_create_config_space() 241 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_2], in mbochs_create_config_space() 328 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write()
|
Completed in 10 milliseconds