Lines Matching refs:vconfig
163 u8 *vconfig;
220 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_VENDOR_ID],
222 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_DEVICE_ID],
224 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_SUBSYSTEM_VENDOR_ID],
226 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_SUBSYSTEM_ID],
229 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_COMMAND],
231 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_CLASS_DEVICE],
233 mdev_state->vconfig[PCI_CLASS_REVISION] = 0x01;
235 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_0],
241 STORE_LE32((u32 *) &mdev_state->vconfig[PCI_BASE_ADDRESS_2],
326 cfg_addr |= (mdev_state->vconfig[offset] &
328 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr);
454 memcpy(buf, (mdev_state->vconfig + pos), count);
534 mdev_state->vconfig = kzalloc(MBOCHS_CONFIG_SPACE_SIZE, GFP_KERNEL);
535 if (mdev_state->vconfig == NULL)
567 kfree(mdev_state->vconfig);
579 kfree(mdev_state->vconfig);