Lines Matching refs:pci_handle
275 ioc4_attach(struct pci_dev *pci_handle, const struct pci_device_id *pci_id) in ioc4_attach() argument
282 vertex_hdl_t conn_vhdl = PCIDEV_VERTEX(pci_handle); in ioc4_attach()
287 if ( pci_enable_device(pci_handle) ) { in ioc4_attach()
288 …rintk("ioc4_attach: Failed to enable device with pci_dev 0x%p... returning\n", (void *)pci_handle); in ioc4_attach()
292 pci_set_master(pci_handle); in ioc4_attach()
293 snia_pciio_endian_set(pci_handle, PCIDMA_ENDIAN_LITTLE, PCIDMA_ENDIAN_BIG); in ioc4_attach()
305 mem = (ioc4_mem_t *)pci_resource_start(pci_handle, 0); in ioc4_attach()
308 ": unable to get PIO mapping for my MEM space\n", (void *)pci_handle); in ioc4_attach()
316 (void *)pci_handle); in ioc4_attach()
338 soft->is_pci_dev = pci_handle; in ioc4_attach()
354 pci_read_config_dword(pci_handle, IOC4_PCI_SCR, &tmp); in ioc4_attach()
356 pci_write_config_dword(pci_handle, IOC4_PCI_SCR, in ioc4_attach()
380 ioc4_ss_connect_interrupt(pci_handle->irq, (void *)ioc4_intr, (void *)soft); in ioc4_attach()