Home
last modified time | relevance | path

Searched refs:pDev (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/drivers/staging/ath6kl/htc2/AR6000/
Dar6k_events.c36 extern void AR6KFreeIOPacket(struct ar6k_device *pDev, struct htc_packet *pPacket);
37 extern struct htc_packet *AR6KAllocIOPacket(struct ar6k_device *pDev);
39 static int DevServiceDebugInterrupt(struct ar6k_device *pDev);
62 int DevPollMboxMsgRecv(struct ar6k_device *pDev, in DevPollMboxMsgRecv() argument
75 if (pDev->GetPendingEventsFunc != NULL) { in DevPollMboxMsgRecv()
85 status = pDev->GetPendingEventsFunc(pDev->HIFDevice, in DevPollMboxMsgRecv()
105 status = HIFReadWrite(pDev->HIFDevice, in DevPollMboxMsgRecv()
107 (u8 *)&pDev->IrqProcRegisters, in DevPollMboxMsgRecv()
118 if (pDev->IrqProcRegisters.host_int_status & (1 << HTC_MAILBOX)) { in DevPollMboxMsgRecv()
119 if (pDev->IrqProcRegisters.rx_lookahead_valid & (1 << HTC_MAILBOX)) in DevPollMboxMsgRecv()
[all …]
Dar6k.c38 int DevEnableInterrupts(struct ar6k_device *pDev);
39 int DevDisableInterrupts(struct ar6k_device *pDev);
41 static void DevCleanupVirtualScatterSupport(struct ar6k_device *pDev);
43 void AR6KFreeIOPacket(struct ar6k_device *pDev, struct htc_packet *pPacket) in AR6KFreeIOPacket() argument
45 LOCK_AR6K(pDev); in AR6KFreeIOPacket()
46 HTC_PACKET_ENQUEUE(&pDev->RegisterIOList,pPacket); in AR6KFreeIOPacket()
47 UNLOCK_AR6K(pDev); in AR6KFreeIOPacket()
50 struct htc_packet *AR6KAllocIOPacket(struct ar6k_device *pDev) in AR6KAllocIOPacket() argument
54 LOCK_AR6K(pDev); in AR6KAllocIOPacket()
55 pPacket = HTC_PACKET_DEQUEUE(&pDev->RegisterIOList); in AR6KAllocIOPacket()
[all …]
Dar6k.h150 int DevSetup(struct ar6k_device *pDev);
151 void DevCleanup(struct ar6k_device *pDev);
152 int DevUnmaskInterrupts(struct ar6k_device *pDev);
153 int DevMaskInterrupts(struct ar6k_device *pDev);
154 int DevPollMboxMsgRecv(struct ar6k_device *pDev,
160 void DevAsyncIrqProcessComplete(struct ar6k_device *pDev);
161 void DevDumpRegisters(struct ar6k_device *pDev,
169 int DevStopRecv(struct ar6k_device *pDev, bool ASyncMode);
170 int DevEnableRecv(struct ar6k_device *pDev, bool ASyncMode);
171 int DevEnableInterrupts(struct ar6k_device *pDev);
[all …]
Dar6k_gmbox.c57 extern void AR6KFreeIOPacket(struct ar6k_device *pDev, struct htc_packet *pPacket);
58 extern struct htc_packet *AR6KAllocIOPacket(struct ar6k_device *pDev);
64 struct ar6k_device *pDev = (struct ar6k_device *)Context; in DevGMboxIRQActionAsyncHandler() local
66 …EBUG_PRINTF(ATH_DEBUG_IRQ,("+DevGMboxIRQActionAsyncHandler: (dev: 0x%lX)\n", (unsigned long)pDev)); in DevGMboxIRQActionAsyncHandler()
73 AR6KFreeIOPacket(pDev,pPacket); in DevGMboxIRQActionAsyncHandler()
77 static int DevGMboxCounterEnableDisable(struct ar6k_device *pDev, GMBOX_IRQ_ACTION_TYPE IrqAction, … in DevGMboxCounterEnableDisable() argument
83 LOCK_AR6K(pDev); in DevGMboxCounterEnableDisable()
86 pDev->GMboxInfo.CreditCountIRQEnabled = true; in DevGMboxCounterEnableDisable()
87 pDev->IrqEnableRegisters.counter_int_status_enable |= in DevGMboxCounterEnableDisable()
89 pDev->IrqEnableRegisters.int_status_enable |= INT_STATUS_ENABLE_COUNTER_SET(0x01); in DevGMboxCounterEnableDisable()
[all …]
Dar6k_gmbox_hciuart.c69 struct ar6k_device *pDev; member
141 status = DevGMboxReadCreditCounter(pProt->pDev, PROC_IO_SYNC, &credits); in InitTxCreditState()
175 status = DevGMboxReadCreditSize(pProt->pDev, &pProt->CreditSize); in InitTxCreditState()
262 status = DevGMboxIRQAction(pProt->pDev, GMBOX_CREDIT_IRQ_ENABLE, PROC_IO_ASYNC); in CreditsAvailableCallback()
266 status = DevGMboxIRQAction(pProt->pDev, GMBOX_CREDIT_IRQ_DISABLE, PROC_IO_ASYNC); in CreditsAvailableCallback()
439 status = DevGMboxRead(pProt->pDev, pPacket, totalRecvLength); in HCIUartMessagePending()
512 DevGMboxIRQAction(pProt->pDev, GMBOX_RECV_IRQ_DISABLE, PROC_IO_SYNC); in HCIUartMessagePending()
558 status = DevGMboxReadCreditCounter(pProt->pDev, PROC_IO_SYNC, &credits); in SeekCreditsSynch()
689 transferLength = DEV_CALC_SEND_PADDED_LEN(pProt->pDev, transferLength); in HCITrySend()
728 DevGMboxReadCreditCounter(pProt->pDev, PROC_IO_ASYNC, NULL); in HCITrySend()
[all …]
/linux-2.6.39/drivers/scsi/
Ddpt_i2o.c192 struct pci_dev *pDev = NULL; in adpt_detect() local
199 while ((pDev = pci_get_device( PCI_DPT_VENDOR_ID, PCI_ANY_ID, pDev))) { in adpt_detect()
200 if(pDev->device == PCI_DPT_DEVICE_ID || in adpt_detect()
201 pDev->device == PCI_DPT_RAPTOR_DEVICE_ID){ in adpt_detect()
202 if(adpt_install_hba(sht, pDev) ){ in adpt_detect()
207 pci_dev_get(pDev); in adpt_detect()
330 buf = dma_alloc_coherent(&pHba->pDev->dev, 80, &addr, GFP_KERNEL); in adpt_inquiry()
394 dma_free_coherent(&pHba->pDev->dev, 80, buf, addr); in adpt_inquiry()
403 dma_free_coherent(&pHba->pDev->dev, 80, buf, addr); in adpt_inquiry()
429 struct adpt_device* pDev = NULL; /* dpt per device information */ in adpt_queue_lck() local
[all …]
Ddpti.h209 struct pci_dev *pDev; member
305 static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev) ;
/linux-2.6.39/drivers/video/kyro/
DSTG4000InitDevice.c243 int SetCoreClockPLL(volatile STG4000REG __iomem *pSTGReg, struct pci_dev *pDev) in SetCoreClockPLL() argument
277 pci_read_config_word(pDev, PCI_CONFIG_SUBSYS_ID, &sub); in SetCoreClockPLL()
280 (u32)pDev->revision); in SetCoreClockPLL()
293 pci_write_config_word(pDev, CorePllControl, tmp); in SetCoreClockPLL()
300 pci_write_config_word(pDev, CorePllControl, tmp); in SetCoreClockPLL()
306 pci_write_config_word(pDev, CorePllControl, tmp); in SetCoreClockPLL()
310 pci_write_config_word(pDev, CorePllControl, tmp); in SetCoreClockPLL()
DSTG4000Interface.h38 extern int SetCoreClockPLL(volatile STG4000REG __iomem *pSTGReg, struct pci_dev *pDev);