Home
last modified time | relevance | path

Searched refs:datap (Results 1 – 16 of 16) sorted by relevance

/drivers/net/wireless/ath/ath6kl/
Dwmi.c117 u8 *datap; in ath6kl_wmi_dix_2_dot3() local
139 datap = skb->data; in ath6kl_wmi_dix_2_dot3()
143 memcpy(datap, eth_hdr, sizeof(*eth_hdr)); in ath6kl_wmi_dix_2_dot3()
145 llc_hdr = (struct ath6kl_llc_snap_hdr *)(datap + sizeof(*eth_hdr)); in ath6kl_wmi_dix_2_dot3()
261 u8 *datap; in ath6kl_wmi_implicit_create_pstream() local
266 datap = skb->data; in ath6kl_wmi_implicit_create_pstream()
267 data_hdr = (struct wmi_data_hdr *) datap; in ath6kl_wmi_implicit_create_pstream()
278 llc_hdr = (struct ath6kl_llc_snap_hdr *)(datap + in ath6kl_wmi_implicit_create_pstream()
344 u8 *datap; in ath6kl_wmi_dot11_hdr_remove() local
350 datap = skb->data; in ath6kl_wmi_dot11_hdr_remove()
[all …]
Dtxrx.c48 u8 *datap; in ath6kl_ibss_map_epid() local
51 datap = skb->data; in ath6kl_ibss_map_epid()
52 eth_hdr = (struct ethhdr *) (datap + sizeof(struct wmi_data_hdr)); in ath6kl_ibss_map_epid()
109 struct ethhdr *datap = (struct ethhdr *) skb->data; in ath6kl_process_uapsdq() local
132 ether_type = be16_to_cpu(datap->h_proto); in ath6kl_process_uapsdq()
135 ip_hdr = (u8 *)(datap + 1); in ath6kl_process_uapsdq()
139 (datap + 1); in ath6kl_process_uapsdq()
211 struct ethhdr *datap = (struct ethhdr *) skb->data; in ath6kl_powersave_ap() local
216 if (is_multicast_ether_addr(datap->h_dest)) { in ath6kl_powersave_ap()
264 conn = ath6kl_find_sta(vif, datap->h_dest); in ath6kl_powersave_ap()
[all …]
Dmain.c520 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver, in ath6kl_ready_event() argument
525 memcpy(ar->mac_addr, datap, ETH_ALEN); in ath6kl_ready_event()
Dcore.h906 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver,
/drivers/net/usb/
Dsierra_net.c222 static const u8 *save16bit(struct param *p, const u8 *datap) in save16bit() argument
225 p->word = get_unaligned_be16(datap); in save16bit()
226 return datap + sizeof(p->word); in save16bit()
229 static const u8 *save8bit(struct param *p, const u8 *datap) in save8bit() argument
232 p->byte = *datap; in save8bit()
233 return datap + sizeof(p->byte); in save8bit()
635 static int sierra_net_get_fw_attr(struct usbnet *dev, u16 *datap) in sierra_net_get_fw_attr() argument
653 *datap = le16_to_cpu(attrdata); in sierra_net_get_fw_attr()
/drivers/isdn/hisax/
Disdnl2.c357 u_char *datap = skb->data + headers; in FRMR_error() local
371 datap[0], datap[1], datap[2], in FRMR_error()
372 datap[3], datap[4]); in FRMR_error()
378 datap[0], datap[1], datap[2]); in FRMR_error()
1629 u_char *datap; in isdnl2_l1l2() local
1635 datap = skb->data; in isdnl2_l1l2()
1638 datap += len; in isdnl2_l1l2()
1644 if (!(*datap & 1)) { /* I-Frame */ in isdnl2_l1l2()
1647 } else if (IsSFrame(datap, st)) { /* S-Frame */ in isdnl2_l1l2()
1650 } else if (IsUI(datap)) { in isdnl2_l1l2()
[all …]
/drivers/isdn/mISDN/
Dlayer2.c566 u_char *datap = skb->data + headers; in FRMR_error() local
579 datap[0], datap[1], datap[2], datap[3], datap[4]); in FRMR_error()
586 datap[0], datap[1], datap[2]); in FRMR_error()
1884 u_char *datap = skb->data; in ph_data_indication() local
1896 psapi = *datap++; in ph_data_indication()
1897 ptei = *datap++; in ph_data_indication()
1924 datap += l; in ph_data_indication()
1925 if (!(*datap & 1)) { /* I-Frame */ in ph_data_indication()
1929 } else if (IsSFrame(datap, l2)) { /* S-Frame */ in ph_data_indication()
1933 } else if (IsUI(datap)) { in ph_data_indication()
[all …]
/drivers/staging/media/lirc/
Dlirc_zilog.c134 unsigned char *datap; member
732 if (tx_data->datap) in fw_unload_locked()
733 vfree(tx_data->datap); in fw_unload_locked()
785 tx_data->datap = vmalloc(fw_entry->size); in fw_load()
786 if (tx_data->datap == NULL) { in fw_load()
793 memcpy(tx_data->datap, fw_entry->data, fw_entry->size); in fw_load()
794 tx_data->endp = tx_data->datap + fw_entry->size; in fw_load()
798 data = tx_data->datap; in fw_load()
/drivers/staging/wlan-ng/
Dhfa384x_usb.c3575 u8 *datap; in hfa384x_int_rxmonitor() local
3610 datap = skb_put(skb, sizeof(struct p80211_caphdr)); in hfa384x_int_rxmonitor()
3611 caphdr = (struct p80211_caphdr *) datap; in hfa384x_int_rxmonitor()
3631 datap = skb_put(skb, hdrlen); in hfa384x_int_rxmonitor()
3632 memcpy(datap, &(rxdesc->frame_control), hdrlen); in hfa384x_int_rxmonitor()
3636 datap = skb_put(skb, datalen); in hfa384x_int_rxmonitor()
3637 memcpy(datap, rxfrm->data, datalen); in hfa384x_int_rxmonitor()
3640 if (*(datap - hdrlen + 1) & 0x40) /* wep set */ in hfa384x_int_rxmonitor()
3641 if ((*(datap) == 0xaa) && (*(datap + 1) == 0xaa)) in hfa384x_int_rxmonitor()
3643 *(datap - hdrlen + 1) &= 0xbf; in hfa384x_int_rxmonitor()
[all …]
/drivers/isdn/hardware/mISDN/
Diohelper.h31 typedef void (fifo_func)(void *hwp, u8 offset, u8 *datap, int size);
/drivers/staging/comedi/drivers/
Dusbdux.c599 int8_t *datap; in usbduxsub_ao_isoc_irq() local
676 datap = in usbduxsub_ao_isoc_irq()
680 datap[0] = temp; in usbduxsub_ao_isoc_irq()
681 datap[1] = temp >> 8; in usbduxsub_ao_isoc_irq()
682 datap[2] = this_usbduxsub->dac_commands[i]; in usbduxsub_ao_isoc_irq()
Dusbduxsigma.c545 uint8_t *datap; in usbduxsub_ao_IsocIrq() local
622 datap = in usbduxsub_ao_IsocIrq()
626 datap[0] = temp; in usbduxsub_ao_IsocIrq()
627 datap[1] = this_usbduxsub->dac_commands[i]; in usbduxsub_ao_IsocIrq()
/drivers/scsi/bnx2i/
Dbnx2i.h844 char *datap, int data_len, int unsol);
Dbnx2i_hwi.c539 char *datap, int data_len, int unsol) in bnx2i_send_iscsi_nopout() argument
/drivers/s390/block/
Ddasd_eckd.c3978 char *datap; in dasd_eckd_dump_ccw_range() local
3988 datap = (char *) *((addr_t *) (addr_t) from->cda); in dasd_eckd_dump_ccw_range()
3990 datap = (char *) ((addr_t) from->cda); in dasd_eckd_dump_ccw_range()
3996 len += sprintf(page + len, "%02x", datap[count]); in dasd_eckd_dump_ccw_range()
/drivers/scsi/lpfc/
Dlpfc_els.c4792 uint32_t *lp, *datap; in lpfc_els_rcv_rscn() local
4836 datap = lp; in lpfc_els_rcv_rscn()
4838 nportid = *datap++; in lpfc_els_rcv_rscn()