/drivers/staging/vt6655/ |
D | rxtx.c | 693 PSTxDataHead_g pBuf = (PSTxDataHead_g)pTxDataHead; in s_uFillDataHead() local 696 …(unsigned short *)&(wLen), (unsigned char *)&(pBuf->byServiceField_a), (unsigned char *)&(pBuf->by… in s_uFillDataHead() 698 pBuf->wTransmitLength_a = cpu_to_le16(wLen); in s_uFillDataHead() 700 …(unsigned short *)&(wLen), (unsigned char *)&(pBuf->byServiceField_b), (unsigned char *)&(pBuf->by… in s_uFillDataHead() 702 pBuf->wTransmitLength_b = cpu_to_le16(wLen); in s_uFillDataHead() 704 …pBuf->wDuration_a = cpu_to_le16((unsigned short)s_uGetDataDuration(pDevice, DATADUR_A, cbFrameLeng… in s_uFillDataHead() 708 …pBuf->wDuration_b = cpu_to_le16((unsigned short)s_uGetDataDuration(pDevice, DATADUR_B, cbFrameLeng… in s_uFillDataHead() 713 …pBuf->wTimeStampOff_a = cpu_to_le16(wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE… in s_uFillDataHead() 714 …pBuf->wTimeStampOff_b = cpu_to_le16(wTimeStampOff[pDevice->byPreambleType%2][pDevice->byTopCCKBasi… in s_uFillDataHead() 716 return pBuf->wDuration_a; in s_uFillDataHead() [all …]
|
D | 80211mgr.c | 91 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrEncodeBeacon() 124 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrDecodeBeacon() 137 while (((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len)) { in vMgrDecodeBeacon() 240 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrEncodeIBSSATIM() 262 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrDecodeIBSSATIM() 283 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrEncodeDisassociation() 309 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrDecodeDisassociation() 334 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrEncodeAssocRequest() 362 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrDecodeAssocRequest() 373 while (((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len)) { in vMgrDecodeAssocRequest() [all …]
|
D | 80211mgr.h | 474 unsigned char *pBuf; member 482 unsigned char *pBuf; member 511 unsigned char *pBuf; member 523 unsigned char *pBuf; member 534 unsigned char *pBuf; member 553 unsigned char *pBuf; member 568 unsigned char *pBuf; member 588 unsigned char *pBuf; member 603 unsigned char *pBuf; member 616 unsigned char *pBuf; member [all …]
|
D | wmgr.c | 606 sFrame.pBuf = (unsigned char *)pTxPacket->p80211Header; in vMgrDisassocBeginSta() 678 sFrame.pBuf = (unsigned char *)pRxPacket->p80211Header; in s_vMgrRxAssocRequest() 831 sFrame.pBuf = (unsigned char *)pRxPacket->p80211Header; in s_vMgrRxReAssocRequest() 967 sFrame.pBuf = (unsigned char *)pRxPacket->p80211Header; in s_vMgrRxAssocResponse() 987 memcpy(pbyIEs, (sFrame.pBuf + 24 + 6), pMgmt->sAssocInfo.AssocInfo.ResponseIELength); in s_vMgrRxAssocResponse() 1114 sFrame.pBuf = (unsigned char *)pTxPacket->p80211Header; in vMgrAuthenBeginSta() 1172 sFrame.pBuf = (unsigned char *)pTxPacket->p80211Header; in vMgrDeAuthenBeginSta() 1227 sFrame.pBuf = (unsigned char *)pRxPacket->p80211Header; in s_vMgrRxAuthentication() 1295 sFrame.pBuf = (unsigned char *)pTxPacket->p80211Header; in s_vMgrRxAuthenSequence_1() 1326 sFrame.pChallenge = (PWLAN_IE_CHALLENGE)(sFrame.pBuf + sFrame.len); in s_vMgrRxAuthenSequence_1() [all …]
|
D | wpactl.c | 588 unsigned char *pBuf; in wpa_get_scan() local 638 pBuf = kcalloc(count, sizeof(struct viawget_scan_result), (int)GFP_ATOMIC); in wpa_get_scan() 640 if (pBuf == NULL) { in wpa_get_scan() 644 scan_buf = (struct viawget_scan_result *)pBuf; in wpa_get_scan() 678 if (copy_to_user(param->u.scan_results.buf, pBuf, sizeof(struct viawget_scan_result) * count)) { in wpa_get_scan() 684 kfree(pBuf); in wpa_get_scan()
|
D | wcmd.c | 257 sFrame.pBuf = (unsigned char *)pTxPacket->p80211Header; in s_MgrMakeProbeRequest() 269 sFrame.pSSID = (PWLAN_IE_SSID)(sFrame.pBuf + sFrame.len); in s_MgrMakeProbeRequest() 272 sFrame.pSuppRates = (PWLAN_IE_SUPP_RATES)(sFrame.pBuf + sFrame.len); in s_MgrMakeProbeRequest() 277 sFrame.pExtSuppRates = (PWLAN_IE_SUPP_RATES)(sFrame.pBuf + sFrame.len); in s_MgrMakeProbeRequest()
|
/drivers/staging/vt6656/ |
D | rxtx.c | 645 PSTxDataHead_ab pBuf = (PSTxDataHead_ab) pTxDataHead; in s_uFillDataHead() local 648 … (u16 *)&(pBuf->wTransmitLength), (u8 *)&(pBuf->byServiceField), (u8 *)&(pBuf->bySignalField) in s_uFillDataHead() 651 pBuf->wDuration = (u16)s_uGetDataDuration(pDevice, DATADUR_A, cbFrameLength, byPktType, in s_uFillDataHead() 656 … pBuf->wTimeStampOff = wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]; in s_uFillDataHead() 658 return (pBuf->wDuration); in s_uFillDataHead() 662 PSTxDataHead_g pBuf = (PSTxDataHead_g)pTxDataHead; in s_uFillDataHead() local 665 … (u16 *)&(pBuf->wTransmitLength_a), (u8 *)&(pBuf->byServiceField_a), (u8 *)&(pBuf->bySignalField_a) in s_uFillDataHead() 668 … (u16 *)&(pBuf->wTransmitLength_b), (u8 *)&(pBuf->byServiceField_b), (u8 *)&(pBuf->bySignalField_b) in s_uFillDataHead() 671 pBuf->wDuration_a = (u16)s_uGetDataDuration(pDevice, DATADUR_A, cbFrameLength, in s_uFillDataHead() 675 pBuf->wDuration_b = (u16)s_uGetDataDuration(pDevice, DATADUR_B, cbFrameLength, in s_uFillDataHead() [all …]
|
D | 80211mgr.c | 77 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrEncodeBeacon() 111 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrDecodeBeacon() 125 while (((u8 *)pItem) < (pFrame->pBuf + pFrame->len)) { in vMgrDecodeBeacon() 226 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrEncodeDisassociation() 250 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrDecodeDisassociation() 273 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrEncodeAssocRequest() 300 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrDecodeAssocRequest() 311 while (((u8 *)pItem) < (pFrame->pBuf + pFrame->len)) { in vMgrDecodeAssocRequest() 362 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrEncodeAssocResponse() 393 pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf; in vMgrDecodeAssocResponse() [all …]
|
D | 80211mgr.h | 493 u8 * pBuf; member 503 u8 * pBuf; member 534 u8 * pBuf; member 548 u8 * pBuf; member 561 u8 * pBuf; member 585 u8 * pBuf; member 602 u8 * pBuf; member 627 u8 * pBuf; member 644 u8 * pBuf; member 659 u8 * pBuf; member [all …]
|
D | wmgr.c | 407 sFrame.pBuf = (u8 *)pTxPacket->p80211Header; in vMgrDisassocBeginSta() 474 sFrame.pBuf = (u8 *)pRxPacket->p80211Header; in s_vMgrRxAssocRequest() 618 sFrame.pBuf = (u8 *)pRxPacket->p80211Header; in s_vMgrRxReAssocRequest() 747 sFrame.pBuf = (u8 *)pRxPacket->p80211Header; in s_vMgrRxAssocResponse() 767 memcpy(pbyIEs, (sFrame.pBuf + 24 +6), pMgmt->sAssocInfo.AssocInfo.ResponseIELength); in s_vMgrRxAssocResponse() 876 sFrame.pBuf = (u8 *)pTxPacket->p80211Header; in vMgrAuthenBeginSta() 930 sFrame.pBuf = (u8 *)pTxPacket->p80211Header; in vMgrDeAuthenBeginSta() 980 sFrame.pBuf = (u8 *)pRxPacket->p80211Header; in s_vMgrRxAuthentication() 1047 sFrame.pBuf = (u8 *)pTxPacket->p80211Header; in s_vMgrRxAuthenSequence_1() 1080 sFrame.pChallenge = (PWLAN_IE_CHALLENGE)(sFrame.pBuf + sFrame.len); in s_vMgrRxAuthenSequence_1() [all …]
|
D | wcmd.c | 239 sFrame.pBuf = (u8 *)pTxPacket->p80211Header; in s_MgrMakeProbeRequest() 251 sFrame.pSSID = (PWLAN_IE_SSID)(sFrame.pBuf + sFrame.len); in s_MgrMakeProbeRequest() 254 sFrame.pSuppRates = (PWLAN_IE_SUPP_RATES)(sFrame.pBuf + sFrame.len); in s_MgrMakeProbeRequest() 259 sFrame.pExtSuppRates = (PWLAN_IE_SUPP_RATES)(sFrame.pBuf + sFrame.len); in s_MgrMakeProbeRequest()
|
/drivers/staging/ced1401/ |
D | usb1401.c | 874 static bool ReadChar(unsigned char *pChar, char *pBuf, unsigned int *pdDone, in ReadChar() argument 882 *pChar = (unsigned char)pBuf[dDone]; // Extract the next char in ReadChar() 899 static bool ReadWord(unsigned short *pWord, char *pBuf, unsigned int *pdDone, in ReadWord() argument 902 if (ReadChar((unsigned char *)pWord, pBuf, pdDone, dGot)) in ReadWord() 903 return ReadChar(((unsigned char *)pWord) + 1, pBuf, pdDone, in ReadWord() 920 static bool ReadHuff(volatile unsigned int *pDWord, char *pBuf, in ReadHuff() argument 927 if (ReadChar(&ucData, pBuf, pdDone, dGot)) { in ReadHuff() 931 if (ReadChar(&ucData, pBuf, pdDone, dGot)) { in ReadHuff() 936 (&ucData, pBuf, pdDone, dGot)) in ReadHuff() 966 char *pBuf, unsigned int dwCount) in ReadDMAInfo() argument [all …]
|
D | use1401.h | 213 U14API(short) U14NameOf1401(short hand, char* pBuf, WORD wMax); 257 U14API(short) U14DriverName(short hand, char* pBuf, WORD wMax);
|
/drivers/char/mwave/ |
D | mwavedd.c | 196 pusBuffer = (unsigned short __user *) (rReadData.pBuf); in mwave_ioctl() 219 pusBuffer = (unsigned short __user *) (rReadData.pBuf); in mwave_ioctl() 242 pusBuffer = (unsigned short __user *) (rWriteData.pBuf); in mwave_ioctl() 265 pusBuffer = (unsigned short __user *)(rWriteData.pBuf); in mwave_ioctl()
|
D | mwavepub.h | 72 void __user *pBuf; /* Input:variable sized buffer */ member
|
/drivers/atm/ |
D | iphase.c | 981 u_char* pBuf = prntBuf; local 984 pBuf += sprintf( pBuf, "%s", prefix ); 987 pBuf += sprintf( pBuf, " " ); 988 pBuf += sprintf( pBuf, "%02X ", cp[count + col] ); 992 sprintf( pBuf, " " ); 993 pBuf += sprintf( pBuf, " " ); 995 pBuf += sprintf( pBuf, " " ); 998 pBuf += sprintf( pBuf, "%c", cp[count + col] ); 1000 pBuf += sprintf( pBuf, "." ); 1004 pBuf = prntBuf;
|
/drivers/staging/bcm/ |
D | PHSModule.h | 23 void DumpFullPacket(UCHAR *pBuf,UINT nPktLen);
|
D | PHSModule.c | 249 void DumpFullPacket(UCHAR *pBuf, UINT nPktLen) in DumpFullPacket() argument 254 BCM_DEBUG_PRINT_BUFFER(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, pBuf, nPktLen); in DumpFullPacket()
|
/drivers/staging/ced1401/userspace/ |
D | use1401.c | 684 U14API(short) U14DriverName(short hand, char* pBuf, WORD wMax) in U14DriverName() argument 687 *pBuf = 0; // Start off with a blank string in U14DriverName() 696 strncpy(pBuf, pName, wMax); // Copy the correct name to return in U14DriverName() 1064 U14API(short) U14NameOf1401(short hand, char* pBuf, WORD wMax) in U14NameOf1401() argument 1082 strncpy(pBuf, pName, wMax); in U14NameOf1401()
|
/drivers/staging/comedi/drivers/ |
D | usbduxsigma.c | 1995 char *pBuf; in usbdux_pwm_pattern() local 2010 pBuf = (char *)(this_usbduxsub->urbPwm->transfer_buffer); in usbdux_pwm_pattern() 2012 c = *pBuf; in usbdux_pwm_pattern() 2026 *(pBuf++) = c; in usbdux_pwm_pattern()
|
/drivers/net/wireless/ |
D | airo.c | 1121 static int PC4500_readrid(struct airo_info*, u16 rid, void *pBuf, int len, int lock); 1123 *pBuf, int len, int lock); 4114 static int PC4500_readrid(struct airo_info *ai, u16 rid, void *pBuf, int len, int lock) in PC4500_readrid() argument 4145 memcpy(pBuf, ai->config_desc.virtual_host_addr, len); in PC4500_readrid() 4157 bap_read(ai, pBuf, 2, BAP1); in PC4500_readrid() 4159 len = min(len, (int)le16_to_cpu(*(__le16*)pBuf)) - 2; in PC4500_readrid() 4169 rc = bap_read(ai, ((__le16*)pBuf)+1, len, BAP1); in PC4500_readrid() 4180 const void *pBuf, int len, int lock) in PC4500_writerid() argument 4185 *(__le16*)pBuf = cpu_to_le16((u16)len); in PC4500_writerid() 4203 ai->config_desc.rid_desc.len = *((u16 *)pBuf); in PC4500_writerid() [all …]
|