Lines Matching refs:vconfig
158 u8 *vconfig; member
249 STORE_LE32((u32 *) &mdev_state->vconfig[0x0], 0x32534348); in mtty_create_config_space()
252 STORE_LE16((u16 *) &mdev_state->vconfig[0x4], 0x0001); in mtty_create_config_space()
255 STORE_LE16((u16 *) &mdev_state->vconfig[0x6], 0x0200); in mtty_create_config_space()
258 mdev_state->vconfig[0x8] = 0x10; in mtty_create_config_space()
261 mdev_state->vconfig[0x9] = 0x02; in mtty_create_config_space()
264 mdev_state->vconfig[0xa] = 0x00; in mtty_create_config_space()
267 mdev_state->vconfig[0xb] = 0x07; in mtty_create_config_space()
271 STORE_LE32((u32 *) &mdev_state->vconfig[0x10], 0x000001); in mtty_create_config_space()
276 STORE_LE32((u32 *) &mdev_state->vconfig[0x14], 0x000001); in mtty_create_config_space()
281 STORE_LE32((u32 *) &mdev_state->vconfig[0x2c], 0x32534348); in mtty_create_config_space()
283 mdev_state->vconfig[0x34] = 0x00; /* Cap Ptr */ in mtty_create_config_space()
284 mdev_state->vconfig[0x3d] = 0x01; /* interrupt pin (INTA#) */ in mtty_create_config_space()
287 mdev_state->vconfig[0x40] = 0x23; in mtty_create_config_space()
288 mdev_state->vconfig[0x43] = 0x80; in mtty_create_config_space()
289 mdev_state->vconfig[0x44] = 0x23; in mtty_create_config_space()
290 mdev_state->vconfig[0x48] = 0x23; in mtty_create_config_space()
291 mdev_state->vconfig[0x4c] = 0x23; in mtty_create_config_space()
293 mdev_state->vconfig[0x60] = 0x50; in mtty_create_config_space()
294 mdev_state->vconfig[0x61] = 0x43; in mtty_create_config_space()
295 mdev_state->vconfig[0x62] = 0x49; in mtty_create_config_space()
296 mdev_state->vconfig[0x63] = 0x20; in mtty_create_config_space()
297 mdev_state->vconfig[0x64] = 0x53; in mtty_create_config_space()
298 mdev_state->vconfig[0x65] = 0x65; in mtty_create_config_space()
299 mdev_state->vconfig[0x66] = 0x72; in mtty_create_config_space()
300 mdev_state->vconfig[0x67] = 0x69; in mtty_create_config_space()
301 mdev_state->vconfig[0x68] = 0x61; in mtty_create_config_space()
302 mdev_state->vconfig[0x69] = 0x6c; in mtty_create_config_space()
303 mdev_state->vconfig[0x6a] = 0x2f; in mtty_create_config_space()
304 mdev_state->vconfig[0x6b] = 0x55; in mtty_create_config_space()
305 mdev_state->vconfig[0x6c] = 0x41; in mtty_create_config_space()
306 mdev_state->vconfig[0x6d] = 0x52; in mtty_create_config_space()
307 mdev_state->vconfig[0x6e] = 0x54; in mtty_create_config_space()
321 mdev_state->vconfig[0x3c] = buf[0]; in handle_pci_cfg_write()
337 STORE_LE32(&mdev_state->vconfig[offset], 0); in handle_pci_cfg_write()
349 cfg_addr |= (mdev_state->vconfig[offset] & 0x3ul); in handle_pci_cfg_write()
350 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write()
355 STORE_LE32(&mdev_state->vconfig[offset], 0); in handle_pci_cfg_write()
683 start_lo = (*(u32 *)(mdev_state->vconfig + pos)) & in mdev_read_base()
685 mem_type = (*(u32 *)(mdev_state->vconfig + pos)) & in mdev_read_base()
690 start_hi = (*(u32 *)(mdev_state->vconfig + pos + 4)); in mdev_read_base()
732 memcpy(buf, (mdev_state->vconfig + offset), count); in mdev_access()
1335 mdev_state->vconfig = kzalloc(MTTY_CONFIG_SPACE_SIZE, GFP_KERNEL); in mtty_init_dev()
1336 if (!mdev_state->vconfig) { in mtty_init_dev()
1390 kfree(mdev_state->vconfig); in mtty_release_dev()