Searched refs:STORE_LE32 (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/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 | 56 #define STORE_LE32(addr, val) (*(u32 *)addr = val) macro 191 STORE_LE32((u32 *) &mdev_state->vconfig[0x0], 0x32534348); in mtty_create_config_space() 213 STORE_LE32((u32 *) &mdev_state->vconfig[0x10], 0x000001); in mtty_create_config_space() 218 STORE_LE32((u32 *) &mdev_state->vconfig[0x14], 0x000001); in mtty_create_config_space() 223 STORE_LE32((u32 *) &mdev_state->vconfig[0x2c], 0x32534348); in mtty_create_config_space() 279 STORE_LE32(&mdev_state->vconfig[offset], 0); in handle_pci_cfg_write() 292 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write() 297 STORE_LE32(&mdev_state->vconfig[offset], 0); in handle_pci_cfg_write()
|
D | mbochs.c | 81 #define STORE_LE32(addr, val) (*(u32 *)addr = val) macro 213 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_0], in mbochs_create_config_space() 219 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_2], in mbochs_create_config_space() 306 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write()
|