/linux-2.4.37.9/arch/ppc64/kernel/ |
D | iSeries_pci.c | 86 struct iSeries_Device_Node* find_Device_Node(struct pci_dev* PciDev); 87 struct iSeries_Device_Node* get_Device_Node(struct pci_dev* PciDev); 136 udbg_printf(" - PciDev = 0x%p\n",DevNode->PciDev); in dumpDevice_Node() 299 struct pci_dev* PciDev; in iSeries_pcibios_fixup() local 310 pci_for_each_dev(PciDev) { in iSeries_pcibios_fixup() 311 DeviceNode = find_Device_Node(PciDev); in iSeries_pcibios_fixup() 314 PciDev->sysdata = (void*)DeviceNode; in iSeries_pcibios_fixup() 315 DeviceNode->PciDev = PciDev; in iSeries_pcibios_fixup() 317 PPCDBG(PPCDBG_BUSWALK,"PciDev 0x%p <==> DevNode 0x%p\n",PciDev,DeviceNode ); in iSeries_pcibios_fixup() 319 iSeries_allocateDeviceBars(PciDev); in iSeries_pcibios_fixup() [all …]
|
D | iSeries_IoMmTable.c | 96 static void iSeries_IoMmTable_AllocateEntry(struct pci_dev* PciDev, int BarNumber) in iSeries_IoMmTable_AllocateEntry() argument 98 struct resource* BarResource = &PciDev->resource[BarNumber]; in iSeries_IoMmTable_AllocateEntry() 99 long BarSize = pci_resource_len(PciDev,BarNumber); in iSeries_IoMmTable_AllocateEntry() 116 *(iSeries_IoMmTable +iSeries_CurrentIndex) = (struct iSeries_Device_Node*)PciDev->sysdata; in iSeries_IoMmTable_AllocateEntry() 136 void iSeries_allocateDeviceBars(struct pci_dev* PciDev) in iSeries_allocateDeviceBars() argument 141 BarResource = &PciDev->resource[BarNumber]; in iSeries_allocateDeviceBars() 142 iSeries_IoMmTable_AllocateEntry(PciDev, BarNumber); in iSeries_allocateDeviceBars()
|
D | iSeries_VpdInfo.c | 90 LocationData* iSeries_GetLocationData(struct pci_dev* PciDev) in iSeries_GetLocationData() argument 92 struct iSeries_Device_Node* DevNode = (struct iSeries_Device_Node*)PciDev->sysdata; in iSeries_GetLocationData() 117 int iSeries_Device_Information(struct pci_dev* PciDev,char* Buffer, int BufferSize) in iSeries_Device_Information() argument 119 struct iSeries_Device_Node* DevNode = (struct iSeries_Device_Node*)PciDev->sysdata; in iSeries_Device_Information() 130 ISERIES_BUS(DevNode), PCI_SLOT(PciDev->devfn),PciDev->vendor); in iSeries_Device_Information() 134 if (pci_class_name(PciDev->class >> 8) == 0) { in iSeries_Device_Information() 135 LineLen += sprintf(BufPtr+LineLen,"0x%04X ",(int)(PciDev->class >> 8)); in iSeries_Device_Information() 138 LineLen += sprintf(BufPtr+LineLen,"%s",pci_class_name(PciDev->class >> 8) ); in iSeries_Device_Information() 146 int device_Location(struct pci_dev* PciDev,char* BufPtr) in device_Location() argument 148 struct iSeries_Device_Node* DevNode = (struct iSeries_Device_Node*)PciDev->sysdata; in device_Location()
|
D | pci.c | 866 int format_device_location(struct pci_dev* PciDev,char* BufPtr, int BufferSize) in format_device_location() argument 868 struct device_node* DevNode = (struct device_node*)PciDev->sysdata; in format_device_location() 871 LineLen += device_Location(PciDev,BufPtr+LineLen); in format_device_location() 872 LineLen += sprintf(BufPtr+LineLen," %12s",pci_class_name(PciDev->class >> 8) ); in format_device_location() 884 int pci_save_config_regs(struct pci_dev* PciDev,struct pci_config_reg_save_area* SaveArea) in pci_save_config_regs() argument 887 SaveArea->PciDev = PciDev; in pci_save_config_regs() 894 …SaveArea->RCode = pci_read_config_byte(PciDev, SaveArea->Register, &SaveArea->Regs[SaveArea->Regis… in pci_save_config_regs() 899 printk("PCI: pci_restore_save_regs failed! %p\n 0x%04X",PciDev,SaveArea->RCode); in pci_save_config_regs() 900 PCIFR( "pci_restore_save_regs failed! %p\n 0x%04X",PciDev,SaveArea->RCode); in pci_save_config_regs() 912 int pci_restore_config_regs(struct pci_dev* PciDev,struct pci_config_reg_save_area* SaveArea) in pci_restore_config_regs() argument [all …]
|
D | proc_pcifr.c | 180 struct pci_dev* PciDev; /* Device pointer */ in build_PciDev_Buffer() local 183 pci_for_each_dev(PciDev) { in build_PciDev_Buffer() 188 if( PCI_SLOT(PciDev->devfn) != 0) { in build_PciDev_Buffer() 191 if ( PciDev->sysdata != NULL ) { in build_PciDev_Buffer() 192 BufLen += format_device_location(PciDev,ProcBuffer+BufLen,128); in build_PciDev_Buffer() 207 if (dev->base_addr == PciDev->resource[j].start ) { in build_PciDev_Buffer()
|
D | iSeries_pci_reset.c | 49 int iSeries_Device_ToggleReset(struct pci_dev* PciDev, int AssertTime, int DelayTime) in iSeries_Device_ToggleReset() argument 52 struct iSeries_Device_Node* DeviceNode = (struct iSeries_Device_Node*)PciDev->sysdata; in iSeries_Device_ToggleReset() 54 printk("PCI: Pci Reset Failed, Device Node not found for pci_dev %p\n",PciDev); in iSeries_Device_ToggleReset()
|
D | pSeries_pci.c | 772 int device_Location(struct pci_dev *PciDev, char *BufPtr) in device_Location() argument 774 struct device_node *DevNode = (struct device_node *)PciDev->sysdata; in device_Location() 776 PciDev->bus->number, in device_Location() 777 PCI_SLOT(PciDev->devfn), in device_Location() 778 PciDev->vendor, in device_Location() 786 int pci_set_reset(struct pci_dev *PciDev, int state) in pci_set_reset() argument
|
/linux-2.4.37.9/include/asm-ppc64/iSeries/ |
D | iSeries_pci.h | 43 #define ISERIES_DEVNODE(PciDev) ((struct iSeries_Device_Node*)PciDev->sysdata) argument 79 struct pci_dev* PciDev; /* Pointer to pci_dev structure*/ member 123 extern LocationData* iSeries_GetLocationData(struct pci_dev* PciDev); 126 extern int iSeries_Device_ToggleReset(struct pci_dev* PciDev, int AssertTime, int DelayTi…
|
D | iSeries_VpdInfo.h | 53 extern LocationData* iSeries_GetLocationData(struct pci_dev* PciDev);
|
/linux-2.4.37.9/drivers/scsi/ |
D | cpqfcTSinit.c | 86 static void Cpqfc_initHBAdata(CPQFCHBA * cpqfcHBAdata, struct pci_dev *PciDev) in Cpqfc_initHBAdata() argument 89 cpqfcHBAdata->PciDev = PciDev; // copy PCI info ptr in Cpqfc_initHBAdata() 92 cpqfcHBAdata->fcChip.Registers.IOBaseL = PciDev->resource[1].start & PCI_BASE_ADDRESS_IO_MASK; in Cpqfc_initHBAdata() 93 cpqfcHBAdata->fcChip.Registers.IOBaseU = PciDev->resource[2].start & PCI_BASE_ADDRESS_IO_MASK; in Cpqfc_initHBAdata() 96 cpqfcHBAdata->fcChip.Registers.MemBase = PciDev->resource[3].start & PCI_BASE_ADDRESS_MEM_MASK; in Cpqfc_initHBAdata() 97 …cpqfcHBAdata->fcChip.Registers.ReMapMemBase = ioremap(PciDev->resource[3].start & PCI_BASE_ADDRESS… in Cpqfc_initHBAdata() 98 cpqfcHBAdata->fcChip.Registers.RAMBase = PciDev->resource[4].start; in Cpqfc_initHBAdata() 99 cpqfcHBAdata->fcChip.Registers.SROMBase = PciDev->resource[5].start; // NULL for HP TS adapter in Cpqfc_initHBAdata() 221 struct pci_dev *PciDev = NULL; in cpqfcTS_detect() local 244 while ((PciDev = pci_find_device(cpqfc_boards[i].vendor_id, cpqfc_boards[i].device_id, PciDev))) { in cpqfcTS_detect() [all …]
|
D | cpqfcTScontrol.c | 61 …pci_free_consistent(cpqfcHBAdata->PciDev, sizeof(FC_EXCHANGES), fcChip->Exchanges, fcChip->exch_dm… in cpqfc_free_dma_consistent() 64 …pci_free_consistent(cpqfcHBAdata->PciDev, sizeof(FC_LINK_QUE), cpqfcHBAdata->fcLQ, cpqfcHBAdata->f… in cpqfc_free_dma_consistent() 95 …fcChip->Exchanges = pci_alloc_consistent(cpqfcHBAdata->PciDev, sizeof(FC_EXCHANGES), &fcChip->exch… in CpqTsCreateTachLiteQues() 108 …cpqfcHBAdata->fcLQ = pci_alloc_consistent(cpqfcHBAdata->PciDev, sizeof(FC_LINK_QUE), &cpqfcHBAdata… in CpqTsCreateTachLiteQues() 135 …fcChip->ERQ = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], sizeof(TachLiteERQ… in CpqTsCreateTachLiteQues() 155 …fcChip->IMQ = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], sizeof(TachyonIMQ)… in CpqTsCreateTachLiteQues() 175 …fcChip->SFQ = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], sizeof(TachLiteSFQ… in CpqTsCreateTachLiteQues() 200 …fcChip->SEST = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], sizeof(TachSEST),… in CpqTsCreateTachLiteQues() 1151 cpqfcTSCompleteExchange(cpqfcHBAdata->PciDev, fcChip, i); // abort on LDn in CpqTsProcessIMQEntry() 1404 cpqfcTSCompleteExchange(cpqfcHBAdata->PciDev, fcChip, x_ID); in CpqTsProcessIMQEntry() [all …]
|
D | cpqfcTSworker.c | 592 cpqfcTSCompleteExchange(dev->PciDev, fcChip, x_ID); in cpqfcTS_WorkTask() 1594 cpqfcTSCompleteExchange(dev->PciDev, fcChip, (fchs->ox_rx_id >> 16)); in ProcessELS_Reply() 1670 cpqfcTSCompleteExchange(dev->PciDev, fcChip, (fchs->ox_rx_id >> 16)); in ProcessFCS_Reply() 1788 cpqfcTSCompleteExchange(dev->PciDev, fcChip, ExchangeID); in AnalyzeIncomingFrame() 1818 cpqfcTSCompleteExchange(dev->PciDev, fcChip, ExchangeID); in AnalyzeIncomingFrame() 1854 cpqfcTSCompleteExchange(dev->PciDev, fcChip, ExchangeID); in AnalyzeIncomingFrame() 2079 cpqfcTSCompleteExchange(dev->PciDev, fcChip, ExchangeID); in SendLogins() 2497 cpqfcTSCompleteExchange(dev->PciDev, fcChip, i); // Don't "abort" LinkService in cpqfcTSheartbeat() 3733 fcp_dl = build_SEST_sgList(dev->PciDev, &pIWE->GLen1, Cmnd, // S/G list in cpqfcTSBuildExchange() 3820 …fcp_dl = build_SEST_sgList(dev->PciDev, &pIRE->SLen1, Cmnd, // SCSI command Data desc. with S/G li… in cpqfcTSBuildExchange() [all …]
|
D | cpqfcTSstructs.h | 898 struct pci_dev *PciDev; member
|
/linux-2.4.37.9/drivers/net/sk98lin/ |
D | skge.c | 359 pAC->PciDev = pdev; in skge_probe() 559 struct pci_dev *pdev = pAC->PciDev; in SkGeInitPCI() 628 if (pAC->PciDev) { in FreeResources() 629 pci_release_regions(pAC->PciDev); in FreeResources() 1044 pDescrMem = pci_alloc_consistent(pAC->PciDev, AllocLength, in BoardAllocMem() 1104 pci_free_consistent(pAC->PciDev, AllocLength, in BoardFreeMem() 1569 if ((pAC->PciDev->vendor == 0x1186) || (pAC->PciDev->vendor == 0x11ab )) in SkGeOpen() 1940 PhysAddr = (SK_U64) pci_map_page(pAC->PciDev, in XmitFrame() 2061 PhysAddr = (SK_U64) pci_map_page(pAC->PciDev, in XmitFrameSG() 2113 PhysAddr = (SK_U64) pci_map_page(pAC->PciDev, in XmitFrameSG() [all …]
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | pci.h | 57 struct pci_dev* PciDev; /* Pointer to device(Sanity Check) */ member
|
/linux-2.4.37.9/drivers/net/sk98lin/h/ |
D | skdrv2nd.h | 439 struct pci_dev *PciDev; /* for access to pci config space */ member
|