/drivers/staging/epl/ |
D | EplTimeruLinuxKernel.c | 215 tEplTimeruData *pData; in EplTimeruSetTimerMs() local 223 pData = (tEplTimeruData *) EPL_MALLOC(sizeof(tEplTimeruData)); in EplTimeruSetTimerMs() 224 if (pData == NULL) { in EplTimeruSetTimerMs() 229 init_timer(&pData->m_Timer); in EplTimeruSetTimerMs() 230 pData->m_Timer.function = EplTimeruCbMs; in EplTimeruSetTimerMs() 231 pData->m_Timer.data = (unsigned long)pData; in EplTimeruSetTimerMs() 232 pData->m_Timer.expires = jiffies + ulTime_p * HZ / 1000; in EplTimeruSetTimerMs() 234 EPL_MEMCPY(&pData->TimerArgument, &Argument_p, sizeof(tEplTimerArg)); in EplTimeruSetTimerMs() 236 add_timer(&pData->m_Timer); in EplTimeruSetTimerMs() 238 *pTimerHdl_p = (tEplTimerHdl) pData; in EplTimeruSetTimerMs() [all …]
|
D | EplApiLinuxKernel.c | 621 void *pData; in EplLinIoctl() local 637 pData = vmalloc(LocalObject.m_uiSize); in EplLinIoctl() 638 if (pData == NULL) { // no memory available in EplLinIoctl() 646 pData, &LocalObject.m_uiSize); in EplLinIoctl() 650 copy_to_user(LocalObject.m_pData, pData, in EplLinIoctl() 653 vfree(pData); in EplLinIoctl() 673 vfree(pData); in EplLinIoctl() 684 void *pData; in EplLinIoctl() local 700 pData = vmalloc(LocalObject.m_uiSize); in EplLinIoctl() 701 if (pData == NULL) { // no memory available in EplLinIoctl() [all …]
|
D | EplObd.c | 682 void *pData; in EplObdGetObjectDataPtr() local 690 pData = NULL; in EplObdGetObjectDataPtr() 696 pData = NULL; in EplObdGetObjectDataPtr() 700 pData = EplObdGetObjectDataPtrIntern(pObdSubEntry); in EplObdGetObjectDataPtr() 703 return pData; in EplObdGetObjectDataPtr() 1484 void MEM *pData; in EplObdGetDataSizeIntern() local 1493 pData = in EplObdGetDataSizeIntern() 1495 if (pData != NULL) { in EplObdGetDataSizeIntern() 1497 EplObdGetStrLen((void *)pData, DataSize, in EplObdGetDataSizeIntern() 2145 void *pData; in EplObdGetObjectSize() local [all …]
|
D | EplObduCal.c | 246 void *pData; in EplObduCalGetObjectDataPtr() local 249 pData = EplObdGetObjectDataPtr(uiIndex_p, uiSubIndex_p); in EplObduCalGetObjectDataPtr() 251 pData = NULL; in EplObduCalGetObjectDataPtr() 254 return pData; in EplObduCalGetObjectDataPtr()
|
D | EplObdu.c | 232 void *pData; in EplObduGetObjectDataPtr() local 234 pData = EplObduCalGetObjectDataPtr(uiIndex_p, uiSubIndex_p); in EplObduGetObjectDataPtr() 236 return pData; in EplObduGetObjectDataPtr()
|
/drivers/staging/rt2860/common/ |
D | rtmp_tkip.c | 1083 IN PUCHAR pData, in RTMPSoftDecryptTKIP() argument 1118 RTMPFrameEndianChange(pAd, (PUCHAR)pData, DIR_READ, FALSE); in RTMPSoftDecryptTKIP() 1121 fc0 = *pData; in RTMPSoftDecryptTKIP() 1122 fc1 = *(pData + 1); in RTMPSoftDecryptTKIP() 1124 fc = *((PUSHORT)pData); in RTMPSoftDecryptTKIP() 1143 KeyID = *((PUCHAR)(pData+ HeaderLen + 3)); in RTMPSoftDecryptTKIP() 1152 duration = *((PUSHORT)(pData+2)); in RTMPSoftDecryptTKIP() 1154 seq_control = *((PUSHORT)(pData+22)); in RTMPSoftDecryptTKIP() 1160 qos_control = *((PUSHORT)(pData+30)); in RTMPSoftDecryptTKIP() 1164 qos_control = *((PUSHORT)(pData+24)); in RTMPSoftDecryptTKIP() [all …]
|
D | cmm_wpa.c | 678 IN PUCHAR pData, in RTMPCheckWPAframe() argument 691 if (NdisEqualMemory(SNAP_802_1H, pData, 6) || in RTMPCheckWPAframe() 693 NdisEqualMemory(SNAP_BRIDGE_TUNNEL, pData, 6)) in RTMPCheckWPAframe() 695 pData += 6; in RTMPCheckWPAframe() 698 if (NdisEqualMemory(EAPOL, pData, 2)) in RTMPCheckWPAframe() 700 pData += 2; in RTMPCheckWPAframe() 705 switch (*(pData+1)) in RTMPCheckWPAframe() 708 Body_len = (*(pData+2)<<8) | (*(pData+3)); in RTMPCheckWPAframe() 724 Body_len = (*(pData+2)<<8) | (*(pData+3)); in RTMPCheckWPAframe() 925 IN PUCHAR pData, in RTMPCheckRSNIE() argument [all …]
|
D | cmm_data.c | 102 IN PUCHAR pData, in MiniportMMRequest() argument 154 …TMPAllocateNdisPacket(pAd, &pPacket, (PUCHAR)&rtmpHwHdr, (TXINFO_SIZE + TXWI_SIZE), pData, Length); in MiniportMMRequest() 192 IN PUCHAR pData, in MiniportMMRequestUnlock() argument 234 Status = RTMPAllocateNdisPacket(pAd, &pPacket, (PUCHAR)&TXWI, TXWI_SIZE, pData, Length); in MiniportMMRequestUnlock() 2383 IN PUCHAR pData, in deaggregate_AMSDU_announce() argument 2404 pAMSDUsubheader = (PHEADER_802_3)pData; in deaggregate_AMSDU_announce() 2414 pPayload = pData + LENGTH_802_3; in deaggregate_AMSDU_announce() 2415 pDA = pData; in deaggregate_AMSDU_announce() 2416 pSA = pData + MAC_ADDR_LEN; in deaggregate_AMSDU_announce() 2467 pData += SubFrameSize; in deaggregate_AMSDU_announce() [all …]
|
/drivers/staging/rt2870/common/ |
D | rtmp_tkip.c | 1086 IN PUCHAR pData, in RTMPSoftDecryptTKIP() argument 1121 RTMPFrameEndianChange(pAd, (PUCHAR)pData, DIR_READ, FALSE); in RTMPSoftDecryptTKIP() 1124 fc0 = *pData; in RTMPSoftDecryptTKIP() 1125 fc1 = *(pData + 1); in RTMPSoftDecryptTKIP() 1127 fc = *((PUSHORT)pData); in RTMPSoftDecryptTKIP() 1146 KeyID = *((PUCHAR)(pData+ HeaderLen + 3)); in RTMPSoftDecryptTKIP() 1155 duration = *((PUSHORT)(pData+2)); in RTMPSoftDecryptTKIP() 1157 seq_control = *((PUSHORT)(pData+22)); in RTMPSoftDecryptTKIP() 1163 qos_control = *((PUSHORT)(pData+30)); in RTMPSoftDecryptTKIP() 1167 qos_control = *((PUSHORT)(pData+24)); in RTMPSoftDecryptTKIP() [all …]
|
D | cmm_wpa.c | 716 IN PUCHAR pData, in RTMPCheckWPAframe() argument 729 if (NdisEqualMemory(SNAP_802_1H, pData, 6) || in RTMPCheckWPAframe() 731 NdisEqualMemory(SNAP_BRIDGE_TUNNEL, pData, 6)) in RTMPCheckWPAframe() 733 pData += 6; in RTMPCheckWPAframe() 736 if (NdisEqualMemory(EAPOL, pData, 2)) in RTMPCheckWPAframe() 738 pData += 2; in RTMPCheckWPAframe() 743 switch (*(pData+1)) in RTMPCheckWPAframe() 746 Body_len = (*(pData+2)<<8) | (*(pData+3)); in RTMPCheckWPAframe() 762 Body_len = (*(pData+2)<<8) | (*(pData+3)); in RTMPCheckWPAframe() 963 IN PUCHAR pData, in RTMPCheckRSNIE() argument [all …]
|
D | rtusb_io.c | 187 OUT PUCHAR pData, in RTUSBMultiRead() argument 199 pData, in RTUSBMultiRead() 223 IN PUCHAR pData) in RTUSBMultiWrite_OneByte() argument 235 pData, in RTUSBMultiWrite_OneByte() 244 IN PUCHAR pData, in RTUSBMultiWrite() argument 251 PUCHAR pSrc = pData; in RTUSBMultiWrite() 794 OUT PUCHAR pData, in RTUSBReadEEPROM() argument 806 pData, in RTUSBReadEEPROM() 830 IN PUCHAR pData, in RTUSBWriteEEPROM() argument 842 pData, in RTUSBWriteEEPROM() [all …]
|
D | cmm_data.c | 103 IN PUCHAR pData, in MiniportMMRequest() argument 148 …TMPAllocateNdisPacket(pAd, &pPacket, (PUCHAR)&rtmpHwHdr, (TXINFO_SIZE + TXWI_SIZE), pData, Length); in MiniportMMRequest() 1608 IN PUCHAR pData, in deaggregate_AMSDU_announce() argument 1630 pAMSDUsubheader = (PHEADER_802_3)pData; in deaggregate_AMSDU_announce() 1643 pPayload = pData + LENGTH_802_3; in deaggregate_AMSDU_announce() 1644 pDA = pData; in deaggregate_AMSDU_announce() 1645 pSA = pData + MAC_ADDR_LEN; in deaggregate_AMSDU_announce() 1696 pData += SubFrameSize; in deaggregate_AMSDU_announce() 1717 PUCHAR pData; in BA_Reorder_AMSDU_Annnounce() local 1721 pData = (PUCHAR) GET_OS_PKT_DATAPTR(pPacket); in BA_Reorder_AMSDU_Annnounce() [all …]
|
D | 2870_rtmp_init.c | 1041 PUCHAR pData; in GetPacketFromRxRing() local 1056 pData = &pRxContext->TransferBuffer[pAd->ReadPosition]; /* 4KB */ in GetPacketFromRxRing() 1058 ThisFrameLen = *pData + (*(pData+1)<<8); in GetPacketFromRxRing() 1082 pData += RT2870_RXDMALEN_FIELD_SIZE; in GetPacketFromRxRing() 1083 pRxWI = (PRXWI_STRUC)pData; in GetPacketFromRxRing() 1085 RTMPWIEndianChange(pData, TYPE_RXWI); in GetPacketFromRxRing() 1094 RTMPWIEndianChange(pData, TYPE_RXWI); in GetPacketFromRxRing() 1106 memcpy(skb_put(pSkb, ThisFrameLen), pData, ThisFrameLen); in GetPacketFromRxRing() 1111 *pSaveRxD = *(PRXINFO_STRUC)(pData + ThisFrameLen); in GetPacketFromRxRing()
|
D | md5.c | 198 VOID MD5Update(MD5_CTX *pCtx, UCHAR *pData, UINT32 LenInBytes) in MD5Update() argument 224 NdisMoveMemory(pAds, (UCHAR *)pData, LenInBytes); in MD5Update() 228 NdisMoveMemory(pAds, (UCHAR *)pData, 64-temp); in MD5Update() 232 pData += 64-temp; in MD5Update() 241 NdisMoveMemory(pCtx->Input, (UCHAR *)pData, 64); in MD5Update() 244 pData += 64; in MD5Update() 250 NdisMoveMemory(pCtx->Input, (UCHAR *)pData, LenInBytes); in MD5Update() 494 UCHAR SHAUpdate(SHA_CTX *pCtx, UCHAR *pData, UINT32 LenInBytes) in SHAUpdate() argument 524 NdisMoveMemory(pAds, (UCHAR *)pData, LenInBytes); in SHAUpdate() 528 NdisMoveMemory(pAds, (UCHAR *)pData, 64-temp1); in SHAUpdate() [all …]
|
/drivers/staging/rt2860/ |
D | rt_linux.c | 381 IN PUCHAR pData, in RTMPAllocateNdisPacket() argument 385 ASSERT(pData); in RTMPAllocateNdisPacket() 403 NdisMoveMemory(GET_OS_PKT_DATAPTR(pPacket) + HeaderLen, pData, DataLen); in RTMPAllocateNdisPacket() 521 UCHAR *pData; in DuplicatePacket() local 524 pData = (PUCHAR) GET_OS_PKT_DATAPTR(pPacket); in DuplicatePacket() 542 IN PUCHAR pData, in duplicate_pkt() argument 555 NdisMoveMemory(skb->tail, pData, DataSize); in duplicate_pkt() 596 IN PUCHAR pData, in ClonePacket() argument 612 pClonedPkt->data = pData; in ClonePacket() 634 pOSPkt->data = pRxBlk->pData; in update_os_packet_info() [all …]
|
D | md5.h | 61 VOID MD5Update(MD5_CTX *pCtx, UCHAR *pData, UINT32 LenInBytes); 80 UCHAR SHAUpdate(SHA_CTX *pCtx, UCHAR *pData, UINT32 LenInBytes);
|
D | rtmp.h | 3075 UCHAR *pData; member 3256 IN PUCHAR pData, in RTMPWIEndianChange() argument 3266 *((UINT32 *)(pData)) = SWAP32(*((UINT32 *)(pData))); // Byte 0~3 in RTMPWIEndianChange() 3267 *((UINT32 *)(pData + 4)) = SWAP32(*((UINT32 *)(pData+4))); // Byte 4~7 in RTMPWIEndianChange() 3272 *(((UINT32 *)pData) +i) = SWAP32(*(((UINT32 *)pData)+i)); in RTMPWIEndianChange() 3296 IN PUCHAR pData, in RTMPDescriptorEndianChange() argument 3299 *((UINT32 *)(pData)) = SWAP32(*((UINT32 *)(pData))); // Byte 0~3 in RTMPDescriptorEndianChange() 3300 *((UINT32 *)(pData + 8)) = SWAP32(*((UINT32 *)(pData+8))); // Byte 8~11 in RTMPDescriptorEndianChange() 3301 *((UINT32 *)(pData +12)) = SWAP32(*((UINT32 *)(pData + 12))); // Byte 12~15 in RTMPDescriptorEndianChange() 3302 …*((UINT32 *)(pData + 4)) = SWAP32(*((UINT32 *)(pData + 4))); // Byte 4~7, this must be swapped … in RTMPDescriptorEndianChange() [all …]
|
/drivers/staging/rt2870/ |
D | rt_linux.c | 379 IN PUCHAR pData, in RTMPAllocateNdisPacket() argument 383 ASSERT(pData); in RTMPAllocateNdisPacket() 401 NdisMoveMemory(GET_OS_PKT_DATAPTR(pPacket) + HeaderLen, pData, DataLen); in RTMPAllocateNdisPacket() 520 UCHAR *pData; in DuplicatePacket() local 523 pData = (PUCHAR) GET_OS_PKT_DATAPTR(pPacket); in DuplicatePacket() 537 NdisMoveMemory(skb->tail, pData, DataSize); in DuplicatePacket() 552 IN PUCHAR pData, in duplicate_pkt() argument 565 NdisMoveMemory(skb->tail, pData, DataSize); in duplicate_pkt() 631 IN PUCHAR pData, in ClonePacket() argument 647 pClonedPkt->data = pData; in ClonePacket() [all …]
|
D | md5.h | 61 VOID MD5Update(MD5_CTX *pCtx, UCHAR *pData, UINT32 LenInBytes); 80 UCHAR SHAUpdate(SHA_CTX *pCtx, UCHAR *pData, UINT32 LenInBytes);
|
D | rtmp.h | 3149 UCHAR *pData; member 3303 IN PUCHAR pData, in RTMPWIEndianChange() argument 3313 *((UINT32 *)(pData)) = SWAP32(*((UINT32 *)(pData))); // Byte 0~3 in RTMPWIEndianChange() 3314 *((UINT32 *)(pData + 4)) = SWAP32(*((UINT32 *)(pData+4))); // Byte 4~7 in RTMPWIEndianChange() 3319 *(((UINT32 *)pData) +i) = SWAP32(*(((UINT32 *)pData)+i)); in RTMPWIEndianChange() 3344 IN PUCHAR pData, in RTMPDescriptorEndianChange() argument 3347 *((UINT32 *)(pData)) = SWAP32(*((UINT32 *)(pData))); in RTMPDescriptorEndianChange() 3371 IN PUCHAR pData, in RTMPFrameEndianChange() argument 3381 *(USHORT *)pData = SWAP16(*(USHORT *)pData); in RTMPFrameEndianChange() 3384 pFrame = (PHEADER_802_11) pData; in RTMPFrameEndianChange() [all …]
|
/drivers/staging/rt2860/sta/ |
D | rtmp_data.c | 61 (EAP_CODE_SUCCESS == WpaCheckEapCode(pAd, pRxBlk->pData, pRxBlk->DataSize, LENGTH_802_1_H))) in STARxEAPOLFrameIndicate() 114 pTmpBuf = pRxBlk->pData - LENGTH_802_11; in STARxEAPOLFrameIndicate() 134 if (!RTMPCheckWPAframe(pAd, pEntry, pRxBlk->pData, pRxBlk->DataSize, FromWhichBSSID)) in STARxDataFrameAnnounce() 203 UCHAR *pData = pRxBlk->pData; in STACheckTkipMICValue() local 222 pData, in STACheckTkipMICValue() 302 UCHAR *pData; in STAHandleRxDataFrame() local 306 pData = (PUCHAR)pHeader + LENGTH_802_11; in STAHandleRxDataFrame() 307 if ((*pData >> 4) & 0x01) in STAHandleRxDataFrame() 417 pRxBlk->pData = (UCHAR *)pHeader; in STAHandleRxDataFrame() 426 pRxBlk->pData += LENGTH_802_11; in STAHandleRxDataFrame() [all …]
|
/drivers/staging/rt2870/sta/ |
D | rtmp_data.c | 60 (EAP_CODE_SUCCESS == WpaCheckEapCode(pAd, pRxBlk->pData, pRxBlk->DataSize, LENGTH_802_1_H))) in STARxEAPOLFrameIndicate() 124 pTmpBuf = pRxBlk->pData - LENGTH_802_11; in STARxEAPOLFrameIndicate() 144 if (!RTMPCheckWPAframe(pAd, pEntry, pRxBlk->pData, pRxBlk->DataSize, FromWhichBSSID)) in STARxDataFrameAnnounce() 213 UCHAR *pData = pRxBlk->pData; in STACheckTkipMICValue() local 232 pData, in STACheckTkipMICValue() 312 UCHAR *pData; in STAHandleRxDataFrame() local 316 pData = (PUCHAR)pHeader + LENGTH_802_11; in STAHandleRxDataFrame() 317 if ((*pData >> 4) & 0x01) in STAHandleRxDataFrame() 427 pRxBlk->pData = (UCHAR *)pHeader; in STAHandleRxDataFrame() 436 pRxBlk->pData += LENGTH_802_11; in STAHandleRxDataFrame() [all …]
|
/drivers/staging/rspiusb/ |
D | rspiusb.c | 236 controlData = ctrl.pData[0]; in piusb_ioctl() 237 controlData |= (ctrl.pData[1] << 8); in piusb_ioctl() 251 if (!access_ok(VERIFY_READ, ctrl.pData, ctrl.numbytes)) { in piusb_ioctl() 255 piusb_output(&ctrl, ctrl.pData /*uBuf */ , ctrl.numbytes, pdx); in piusb_ioctl() 286 if (copy_from_user(uBuf, ctrl.pData, numbytes)) in piusb_ioctl() 304 memcpy(ctrl.pData, uBuf, totalRead); in piusb_ioctl() 342 if (copy_from_user(uBuf, ctrl.pData, numbytes)) in piusb_ioctl() 353 memcpy(ctrl.pData, uBuf, numbytes); in piusb_ioctl() 595 uaddr = (unsigned long)io->pData; in MapUserBuffer()
|
/drivers/staging/winbond/ |
D | mlmetxrx.c | 59 static void MLMEfreeMMPDUBuffer(struct wbsoft_priv *adapter, s8 *pData) in MLMEfreeMMPDUBuffer() argument 65 if (pData == (s8 *)&(adapter->sMlmeFrame.TxMMPDU[i])) in MLMEfreeMMPDUBuffer()
|
/drivers/char/ip2/ |
D | ip2main.c | 1734 ip2_write( PTTY tty, const unsigned char *pData, int count) in ip2_write() argument 1747 bytesSent = i2Output( pCh, pData, count); in ip2_write() 2741 ip2_ipl_read(struct file *pFile, char __user *pData, size_t count, loff_t *off ) in ip2_ipl_read() argument 2747 printk (KERN_DEBUG "IP2IPL: read %p, %d bytes\n", pData, count ); in ip2_ipl_read() 2761 rc = DumpTraceBuffer ( pData, count ); in ip2_ipl_read() 2764 rc = DumpFifoBuffer ( pData, count ); in ip2_ipl_read() 2774 DumpFifoBuffer ( char __user *pData, int count ) in DumpFifoBuffer() argument 2778 rc = copy_to_user(pData, DBGBuf, count); in DumpFifoBuffer() 2788 DumpTraceBuffer ( char __user *pData, int count ) in DumpTraceBuffer() argument 2794 int *pIndex = (int __user *)pData; in DumpTraceBuffer() [all …]
|