Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath6kl/
Dwmi.c166 u8 *datap; in ath6kl_wmi_dix_2_dot3() local
188 datap = skb->data; in ath6kl_wmi_dix_2_dot3()
192 memcpy(datap, eth_hdr, sizeof(*eth_hdr)); in ath6kl_wmi_dix_2_dot3()
194 llc_hdr = (struct ath6kl_llc_snap_hdr *)(datap + sizeof(*eth_hdr)); in ath6kl_wmi_dix_2_dot3()
310 u8 *datap; in ath6kl_wmi_implicit_create_pstream() local
315 datap = skb->data; in ath6kl_wmi_implicit_create_pstream()
316 data_hdr = (struct wmi_data_hdr *) datap; in ath6kl_wmi_implicit_create_pstream()
327 llc_hdr = (struct ath6kl_llc_snap_hdr *)(datap + in ath6kl_wmi_implicit_create_pstream()
394 u8 *datap; in ath6kl_wmi_dot11_hdr_remove() local
400 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
133 ether_type = be16_to_cpu(datap->h_proto); in ath6kl_process_uapsdq()
136 ip_hdr = (u8 *)(datap + 1); in ath6kl_process_uapsdq()
140 (datap + 1); in ath6kl_process_uapsdq()
212 struct ethhdr *datap = (struct ethhdr *) skb->data; in ath6kl_powersave_ap() local
217 if (is_multicast_ether_addr(datap->h_dest)) { in ath6kl_powersave_ap()
265 conn = ath6kl_find_sta(vif, datap->h_dest); in ath6kl_powersave_ap()
[all …]
Dmain.c528 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver, in ath6kl_ready_event() argument
533 memcpy(ar->mac_addr, datap, ETH_ALEN); in ath6kl_ready_event()
Dcore.h934 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver,
/drivers/base/
Dplatform-msi.c199 struct platform_msi_priv_data *datap; in platform_msi_alloc_priv_data() local
218 datap = kzalloc(sizeof(*datap), GFP_KERNEL); in platform_msi_alloc_priv_data()
219 if (!datap) in platform_msi_alloc_priv_data()
222 datap->devid = ida_simple_get(&platform_msi_devid_ida, in platform_msi_alloc_priv_data()
224 if (datap->devid < 0) { in platform_msi_alloc_priv_data()
225 int err = datap->devid; in platform_msi_alloc_priv_data()
226 kfree(datap); in platform_msi_alloc_priv_data()
230 datap->write_msg = write_msi_msg; in platform_msi_alloc_priv_data()
231 datap->dev = dev; in platform_msi_alloc_priv_data()
233 return datap; in platform_msi_alloc_priv_data()
/drivers/net/usb/
Dsierra_net.c233 static const u8 *save16bit(struct param *p, const u8 *datap) in save16bit() argument
236 p->word = get_unaligned_be16(datap); in save16bit()
237 return datap + sizeof(p->word); in save16bit()
240 static const u8 *save8bit(struct param *p, const u8 *datap) in save8bit() argument
243 p->byte = *datap; in save8bit()
244 return datap + sizeof(p->byte); in save8bit()
636 static int sierra_net_get_fw_attr(struct usbnet *dev, u16 *datap) in sierra_net_get_fw_attr() argument
654 *datap = le16_to_cpu(attrdata); in sierra_net_get_fw_attr()
/drivers/isdn/mISDN/
Dlayer2.c557 u_char *datap = skb->data + headers; in FRMR_error() local
570 datap[0], datap[1], datap[2], datap[3], datap[4]); in FRMR_error()
577 datap[0], datap[1], datap[2]); in FRMR_error()
1858 u_char *datap = skb->data; in ph_data_indication() local
1870 psapi = *datap++; in ph_data_indication()
1871 ptei = *datap++; in ph_data_indication()
1898 datap += l; in ph_data_indication()
1899 if (!(*datap & 1)) { /* I-Frame */ in ph_data_indication()
1903 } else if (IsSFrame(datap, l2)) { /* S-Frame */ in ph_data_indication()
1907 } else if (IsUI(datap)) { in ph_data_indication()
[all …]
/drivers/staging/wlan-ng/
Dhfa384x_usb.c3352 u8 *datap; in hfa384x_int_rxmonitor() local
3385 datap = skb_put(skb, sizeof(struct p80211_caphdr)); in hfa384x_int_rxmonitor()
3386 caphdr = (struct p80211_caphdr *)datap; in hfa384x_int_rxmonitor()
3411 datap = skb_put_data(skb, rxfrm->data, datalen); in hfa384x_int_rxmonitor()
3414 if (*(datap - hdrlen + 1) & 0x40) /* wep set */ in hfa384x_int_rxmonitor()
3415 if ((*(datap) == 0xaa) && (*(datap + 1) == 0xaa)) in hfa384x_int_rxmonitor()
3417 *(datap - hdrlen + 1) &= 0xbf; in hfa384x_int_rxmonitor()
3422 datap = skb_put(skb, WLAN_CRC_LEN); in hfa384x_int_rxmonitor()
3423 memset(datap, 0xff, WLAN_CRC_LEN); in hfa384x_int_rxmonitor()
/drivers/staging/comedi/drivers/
Dusbdux.c374 u8 *datap; in usbduxsub_ao_handle_urb() local
389 datap = urb->transfer_buffer; in usbduxsub_ao_handle_urb()
390 *datap++ = cmd->chanlist_len; in usbduxsub_ao_handle_urb()
402 *datap++ = val & 0xff; in usbduxsub_ao_handle_urb()
403 *datap++ = (val >> 8) & 0xff; in usbduxsub_ao_handle_urb()
404 *datap++ = chan << 6; in usbduxsub_ao_handle_urb()
Dusbduxsigma.c334 u8 *datap; in usbduxsigma_ao_handle_urb() local
349 datap = urb->transfer_buffer; in usbduxsigma_ao_handle_urb()
350 *datap++ = cmd->chanlist_len; in usbduxsigma_ao_handle_urb()
361 *datap++ = val; in usbduxsigma_ao_handle_urb()
362 *datap++ = chan; in usbduxsigma_ao_handle_urb()
/drivers/scsi/qedi/
Dqedi_gbl.h40 char *datap, int data_len, int unsol);
Dqedi_fw.c1693 char *datap, int data_len, int unsol) in qedi_send_iscsi_nopout() argument
/drivers/infiniband/hw/i40iw/
Di40iw_puda.c1243 u8 *datap = buf->data; in i40iw_ieq_process_buf() local
1258 fpdu_len = i40iw_ieq_get_fpdu_length(ntohs(*(__be16 *)datap)); in i40iw_ieq_process_buf()
1271 crcptr = datap + fpdu_len - 4; in i40iw_ieq_process_buf()
1275 datap, fpdu_len - 4, mpacrc); in i40iw_ieq_process_buf()
1283 datap += fpdu_len; in i40iw_ieq_process_buf()
1311 buf->data = datap; in i40iw_ieq_process_buf()
/drivers/isdn/hardware/mISDN/
Diohelper.h18 typedef void (fifo_func)(void *hwp, u8 offset, u8 *datap, int size);
/drivers/scsi/bnx2i/
Dbnx2i.h846 char *datap, int data_len, int unsol);
Dbnx2i_hwi.c532 char *datap, int data_len, int unsol) in bnx2i_send_iscsi_nopout() argument
/drivers/s390/block/
Ddasd_eckd.c5420 char *datap; in dasd_eckd_dump_ccw_range() local
5430 datap = (char *) *((addr_t *) (addr_t) from->cda); in dasd_eckd_dump_ccw_range()
5432 datap = (char *) ((addr_t) from->cda); in dasd_eckd_dump_ccw_range()
5438 len += sprintf(page + len, "%02x", datap[count]); in dasd_eckd_dump_ccw_range()
/drivers/scsi/lpfc/
Dlpfc_els.c6715 uint32_t *lp, *datap; in lpfc_els_rcv_rscn() local
6774 datap = lp; in lpfc_els_rcv_rscn()
6776 nportid = *datap++; in lpfc_els_rcv_rscn()