Searched refs:vconfig (Results 1 - 8 of 8) sorted by relevance

/linux-master/samples/vfio-mdev/
H A Dmdpy.c98 u8 *vconfig; member in struct:mdev_state
111 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_VENDOR_ID],
113 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_DEVICE_ID],
115 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_SUBSYSTEM_VENDOR_ID],
117 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_SUBSYSTEM_ID],
120 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_COMMAND],
122 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_STATUS],
124 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_CLASS_DEVICE],
126 mdev_state->vconfig[PCI_CLASS_REVISION] = 0x01;
128 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_
[all...]
H A Dmtty.c158 u8 *vconfig; member in struct:mdev_state
249 STORE_LE32((u32 *) &mdev_state->vconfig[0x0], 0x32534348);
252 STORE_LE16((u16 *) &mdev_state->vconfig[0x4], 0x0001);
255 STORE_LE16((u16 *) &mdev_state->vconfig[0x6], 0x0200);
258 mdev_state->vconfig[0x8] = 0x10;
261 mdev_state->vconfig[0x9] = 0x02;
264 mdev_state->vconfig[0xa] = 0x00;
267 mdev_state->vconfig[0xb] = 0x07;
271 STORE_LE32((u32 *) &mdev_state->vconfig[0x10], 0x000001);
276 STORE_LE32((u32 *) &mdev_state->vconfig[
[all...]
H A Dmbochs.c175 u8 *vconfig; member in struct:mdev_state
222 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_VENDOR_ID],
224 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_DEVICE_ID],
226 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_SUBSYSTEM_VENDOR_ID],
228 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_SUBSYSTEM_ID],
231 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_COMMAND],
233 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_CLASS_DEVICE],
235 mdev_state->vconfig[PCI_CLASS_REVISION] = 0x01;
237 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_0],
243 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_
[all...]
/linux-master/drivers/vfio/pci/
H A Dvfio_pci_config.c181 memcpy(val, vdev->vconfig + pos, count);
214 /* Virtualized and writable bits go to vconfig */
218 memcpy(&virt_val, vdev->vconfig + pos, count);
223 memcpy(vdev->vconfig + pos, &virt_val, count);
260 memcpy(val, vdev->vconfig + pos, count);
263 memcpy(val, vdev->vconfig + pos,
266 memcpy(val, vdev->vconfig + pos, 1);
304 memcpy(vdev->vconfig + pos, &val, count);
312 memcpy(val, vdev->vconfig + pos, count);
403 u16 cmd = le16_to_cpu(*(__le16 *)&vdev->vconfig[PCI_COMMAN
1732 u8 *map, *vconfig; local
[all...]
H A Dvfio_pci_igd.c170 __le32 *dwordp = (__le32 *)(vdev->vconfig + OPREGION_PCI_ADDR);
273 /* Fill vconfig with the hw value and virtualize register */
/linux-master/include/linux/
H A Dvfio_pci_core.h58 u8 *vconfig; member in struct:vfio_pci_core_device
/linux-master/drivers/net/ethernet/intel/idpf/
H A Didpf_lib.c426 * @vconfig: Vport config structure
432 static struct idpf_mac_filter *idpf_find_mac_filter(struct idpf_vport_config *vconfig, argument
440 list_for_each_entry(f, &vconfig->user_config.mac_filter_list, list) {
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Drtnetlink.sh391 vconfig rem $swp1.10 &> /dev/null

Completed in 247 milliseconds