Searched refs:pcid (Results 1 – 9 of 9) sorted by relevance
/drivers/scsi/esas2r/ |
D | esas2r_init.c | 53 mem_desc->esas2r_data = dma_alloc_coherent(&a->pcid->dev, in esas2r_initmem_alloc() 92 dma_free_coherent(&a->pcid->dev, in esas2r_initmem_free() 140 pci_release_region(a->pcid, 2); in esas2r_unmap_regions() 147 pci_release_region(a->pcid, 0); in esas2r_unmap_regions() 157 error = pci_request_region(a->pcid, 2, a->name); in esas2r_map_regions() 166 a->regs = (void __force *)ioremap(pci_resource_start(a->pcid, 2), in esas2r_map_regions() 167 pci_resource_len(a->pcid, 2)); in esas2r_map_regions() 171 pci_release_region(a->pcid, 2); in esas2r_map_regions() 175 error = pci_request_region(a->pcid, 0, a->name); in esas2r_map_regions() 184 a->data_window = (void __force *)ioremap(pci_resource_start(a->pcid, in esas2r_map_regions() [all …]
|
D | esas2r_ioctl.c | 125 a->firmware.header_buff = dma_alloc_coherent(&a->pcid->dev, in do_fm_api() 168 dma_free_coherent(&a->pcid->dev, in do_fm_api() 219 dma_free_coherent(&a->pcid->dev, in handle_buffered_ioctl() 229 esas2r_buffered_ioctl_pcid = a->pcid; in handle_buffered_ioctl() 230 esas2r_buffered_ioctl = dma_alloc_coherent(&a->pcid->dev, in handle_buffered_ioctl() 443 pci_read_config_dword(a->pcid, PCI_BASE_ADDRESS_2, in csmi_ioctl_callback() 445 pci_read_config_dword(a->pcid, PCI_BASE_ADDRESS_3, in csmi_ioctl_callback() 447 gcc->board_id = MAKEDWORD(a->pcid->subsystem_device, in csmi_ioctl_callback() 448 a->pcid->subsystem_vendor); in csmi_ioctl_callback() 452 gcc->pci_addr.bus_num = a->pcid->bus->number; in csmi_ioctl_callback() [all …]
|
D | esas2r_main.c | 338 esas2r_probe(struct pci_dev *pcid, const struct pci_device_id *id); 341 esas2r_remove(struct pci_dev *pcid); 353 static int esas2r_probe(struct pci_dev *pcid, in esas2r_probe() argument 364 esas2r_log_dev(ESAS2R_LOG_DEBG, &(pcid->dev), in esas2r_probe() 366 pcid->vendor, in esas2r_probe() 367 pcid->device, in esas2r_probe() 368 pcid->subsystem_vendor, in esas2r_probe() 369 pcid->subsystem_device); in esas2r_probe() 371 esas2r_log_dev(ESAS2R_LOG_INFO, &(pcid->dev), in esas2r_probe() 374 pcid->enable_cnt.counter); in esas2r_probe() [all …]
|
D | esas2r_flash.c | 253 bh->device_id = cpu_to_le16(a->pcid->device); in fix_bios() 262 cpu_to_le32(MAKEDWORD(a->pcid->subsystem_vendor, in fix_bios() 263 a->pcid->subsystem_device)); in fix_bios() 290 bh->device_id = cpu_to_le16(a->pcid->device); in fix_efi() 566 switch (a->pcid->device) { in get_fi_adap_type() 875 if ((a->pcid->device != ATTO_DID_MV_88RC9580 in esas2r_process_fs_ioctl() 877 && (a->pcid->device != ATTO_DID_MV_88RC9580TS in esas2r_process_fs_ioctl() 879 && (a->pcid->device != ATTO_DID_MV_88RC9580TSE in esas2r_process_fs_ioctl() 881 && (a->pcid->device != ATTO_DID_MV_88RC9580TL in esas2r_process_fs_ioctl() 1372 n->sas_addr[6] = a->pcid->bus->number; in esas2r_nvram_set_defaults() [all …]
|
D | esas2r.h | 904 struct pci_dev *pcid; member 984 int esas2r_init_adapter(struct Scsi_Host *host, struct pci_dev *pcid, 999 int esas2r_suspend(struct pci_dev *pcid, pm_message_t state); 1000 int esas2r_resume(struct pci_dev *pcid);
|
/drivers/staging/vt6655/ |
D | device_main.c | 123 static int vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent); 149 static void vt6655_remove(struct pci_dev *pcid) in vt6655_remove() argument 151 struct vnt_private *priv = pci_get_drvdata(pcid); in vt6655_remove() 416 dev_info(&priv->pcid->dev, "MAC=%pM IO=0x%lx Mem=0x%lx IRQ=%d\n", in device_print_info() 418 (unsigned long)priv->PortOffset, priv->pcid->irq); in device_print_info() 432 if (priv->pcid) in device_free_info() 433 pci_release_regions(priv->pcid); in device_free_info() 444 vir_pool = dma_alloc_coherent(&priv->pcid->dev, in device_init_rings() 451 dev_err(&priv->pcid->dev, "allocate desc dma memory failed\n"); in device_init_rings() 463 priv->tx0_bufs = dma_alloc_coherent(&priv->pcid->dev, in device_init_rings() [all …]
|
D | dpc.c | 46 dev_dbg(&priv->pcid->dev, "------- WRONG Length 1\n"); in vnt_rx_data() 71 dev_dbg(&priv->pcid->dev, "Wrong RxRate %x\n", *rx_rate); in vnt_rx_data() 128 dma_unmap_single(&priv->pcid->dev, rd_info->skb_dma, in vnt_receive_frame() 136 dev_dbg(&priv->pcid->dev, "Wrong frame size %d\n", frame_size); in vnt_receive_frame()
|
D | device.h | 103 struct pci_dev *pcid; member
|
/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | pci.c | 1626 const struct nvkm_device_pci_device *pcid; in nvkm_device_pci_new() local 1637 case 0x10de: pcid = nvkm_device_pci_10de; break; in nvkm_device_pci_new() 1639 pcid = NULL; in nvkm_device_pci_new() 1643 while (pcid && pcid->device) { in nvkm_device_pci_new() 1644 if (pciv = pcid->vendor, pcid->device == pci_dev->device) { in nvkm_device_pci_new() 1655 name = pcid->name; in nvkm_device_pci_new() 1658 pcid++; in nvkm_device_pci_new()
|