Searched refs:STORE_LE32 (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/samples/vfio-mdev/ |
| 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()
|
| 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()
|
| 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()
|