Home
last modified time | relevance | path

Searched refs:pObj (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/staging/rt2860/
Drt_pci_rbus.c88 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in RTMP_AllocateTxDescMemory() local
91 (void *)pci_alloc_consistent(pObj->pci_dev, sizeof(char) * Length, in RTMP_AllocateTxDescMemory()
103 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in RTMP_AllocateMgmtDescMemory() local
106 (void *)pci_alloc_consistent(pObj->pci_dev, sizeof(char) * Length, in RTMP_AllocateMgmtDescMemory()
118 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in RTMP_AllocateRxDescMemory() local
121 (void *)pci_alloc_consistent(pObj->pci_dev, sizeof(char) * Length, in RTMP_AllocateRxDescMemory()
132 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in RTMP_FreeDescMemory() local
134 pci_free_consistent(pObj->pci_dev, Length, VirtualAddress, in RTMP_FreeDescMemory()
146 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in RTMP_AllocateFirstTxBuffer() local
149 (void *)pci_alloc_consistent(pObj->pci_dev, sizeof(char) * Length, in RTMP_AllocateFirstTxBuffer()
[all …]
Dpci_main_dev.c465 struct os_cookie *pObj; in RTMPInitPCIeDevice() local
467 pObj = (struct os_cookie *)pAd->OS_Cookie; in RTMPInitPCIeDevice()
470 pObj->DeviceID = device_id; in RTMPInitPCIeDevice()
506 struct os_cookie *pObj; in RTMPInitPCIeLinkCtrlValue() local
508 pObj = (struct os_cookie *)pAd->OS_Cookie; in RTMPInitPCIeLinkCtrlValue()
679 pos = pci_find_capability(pObj->pci_dev, PCI_CAP_ID_EXP); in RTMPInitPCIeLinkCtrlValue()
684 pci_read_config_word(pObj->pci_dev, pAd->RLnkCtrlOffset, in RTMPInitPCIeLinkCtrlValue()
694 if ((pObj->DeviceID == NIC2860_PCIe_DEVICE_ID) in RTMPInitPCIeLinkCtrlValue()
695 || (pObj->DeviceID == NIC2790_PCIe_DEVICE_ID)) { in RTMPInitPCIeLinkCtrlValue()
697 pci_write_config_word(pObj->pci_dev, in RTMPInitPCIeLinkCtrlValue()
[all …]
Drt_usb.c203 struct os_cookie *pObj; in rtusb_dataout_complete() local
212 pObj = (struct os_cookie *)pAd->OS_Cookie; in rtusb_dataout_complete()
753 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in RtmpNetTaskInit() local
756 tasklet_init(&pObj->rx_done_task, rx_done_tasklet, (unsigned long)pAd); in RtmpNetTaskInit()
757 tasklet_init(&pObj->mgmt_dma_done_task, rtusb_mgmt_dma_done_tasklet, in RtmpNetTaskInit()
759 tasklet_init(&pObj->ac0_dma_done_task, rtusb_ac0_dma_done_tasklet, in RtmpNetTaskInit()
761 tasklet_init(&pObj->ac1_dma_done_task, rtusb_ac1_dma_done_tasklet, in RtmpNetTaskInit()
763 tasklet_init(&pObj->ac2_dma_done_task, rtusb_ac2_dma_done_tasklet, in RtmpNetTaskInit()
765 tasklet_init(&pObj->ac3_dma_done_task, rtusb_ac3_dma_done_tasklet, in RtmpNetTaskInit()
767 tasklet_init(&pObj->tbtt_task, tbtt_tasklet, (unsigned long)pAd); in RtmpNetTaskInit()
[all …]
Drt_linux.c945 struct os_cookie *pObj = (struct os_cookie *)(pAd->OS_Cookie); in RtmpOSIRQRelease() local
946 synchronize_irq(pObj->pci_dev->irq); in RtmpOSIRQRelease()
947 free_irq(pObj->pci_dev->irq, (net_dev)); in RtmpOSIRQRelease()
Dsta_ioctl.c2445 struct os_cookie *pObj; in rt28xx_sta_ioctl() local
2453 pObj = (struct os_cookie *)pAd->OS_Cookie; in rt28xx_sta_ioctl()
2464 pObj->ioctl_if_type = INT_MAIN; in rt28xx_sta_ioctl()
2465 pObj->ioctl_if = MAIN_MBSSID; in rt28xx_sta_ioctl()
/linux-2.6.39/drivers/staging/rt2870/common/
Drtusb_bulk.c67 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in RTUSBInitTxDesc() local
84 pObj->pUsb_Dev, in RTUSBInitTxDesc()
85 usb_sndbulkpipe(pObj->pUsb_Dev, in RTUSBInitTxDesc()
106 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in RTUSBInitHTTxDesc() local
120 pObj->pUsb_Dev, in RTUSBInitHTTxDesc()
121 usb_sndbulkpipe(pObj->pUsb_Dev, in RTUSBInitHTTxDesc()
134 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in RTUSBInitRxDesc() local
147 pObj->pUsb_Dev, in RTUSBInitRxDesc()
148 usb_rcvbulkpipe(pObj->pUsb_Dev, pAd->BulkInEpAddr), in RTUSBInitRxDesc()
502 struct os_cookie *pObj; in RTUSBBulkOutDataPacketComplete() local
[all …]
Drtusb_io.c844 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in RTUSB_VendorRequest() local
877 usb_control_msg(pObj->pUsb_Dev, in RTUSB_VendorRequest()
878 usb_sndctrlpipe(pObj-> in RTUSB_VendorRequest()
887 usb_control_msg(pObj->pUsb_Dev, in RTUSB_VendorRequest()
888 usb_rcvctrlpipe(pObj-> in RTUSB_VendorRequest()
/linux-2.6.39/drivers/staging/rt2860/common/
Dcmm_mac_usb.c55 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in NICInitRecv() local
58 pObj = pObj; in NICInitRecv()
77 RTUSB_URB_ALLOC_BUFFER(pObj->pUsb_Dev, MAX_RXBULK_SIZE, in NICInitRecv()
104 RTUSB_URB_FREE_BUFFER(pObj->pUsb_Dev, MAX_RXBULK_SIZE, in NICInitRecv()
137 #define LM_USB_ALLOC(pObj, Context, TB_Type, BufferSize, Status, msg1, err1, msg2, err2) \ in NICInitTransmit() argument
145 (TB_Type)RTUSB_URB_ALLOC_BUFFER(pObj->pUsb_Dev, BufferSize, &Context->data_dma); \ in NICInitTransmit()
151 #define LM_URB_FREE(pObj, Context, BufferSize) \ in NICInitTransmit() argument
157 RTUSB_URB_FREE_BUFFER(pObj->pUsb_Dev, BufferSize, \ in NICInitTransmit()
169 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie; in NICInitTransmit() local
175 pObj = pObj; in NICInitTransmit()
[all …]