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.c522 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver, in ath6kl_ready_event() argument
527 memcpy(ar->mac_addr, datap, ETH_ALEN); in ath6kl_ready_event()
Dcore.h935 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver,
/drivers/base/
Dplatform-msi.c207 struct platform_msi_priv_data *datap; in platform_msi_alloc_priv_data() local
226 datap = kzalloc(sizeof(*datap), GFP_KERNEL); in platform_msi_alloc_priv_data()
227 if (!datap) in platform_msi_alloc_priv_data()
230 datap->devid = ida_simple_get(&platform_msi_devid_ida, in platform_msi_alloc_priv_data()
232 if (datap->devid < 0) { in platform_msi_alloc_priv_data()
233 int err = datap->devid; in platform_msi_alloc_priv_data()
234 kfree(datap); in platform_msi_alloc_priv_data()
238 datap->write_msg = write_msi_msg; in platform_msi_alloc_priv_data()
239 datap->dev = dev; in platform_msi_alloc_priv_data()
241 return datap; in platform_msi_alloc_priv_data()
/drivers/net/usb/
Dsierra_net.c248 static const u8 *save16bit(struct param *p, const u8 *datap) in save16bit() argument
251 p->word = get_unaligned_be16(datap); in save16bit()
252 return datap + sizeof(p->word); in save16bit()
255 static const u8 *save8bit(struct param *p, const u8 *datap) in save8bit() argument
258 p->byte = *datap; in save8bit()
259 return datap + sizeof(p->byte); in save8bit()
666 static int sierra_net_get_fw_attr(struct usbnet *dev, u16 *datap) in sierra_net_get_fw_attr() argument
684 *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()
1625 u_char *datap; in isdnl2_l1l2() local
1631 datap = skb->data; in isdnl2_l1l2()
1634 datap += len; in isdnl2_l1l2()
1640 if (!(*datap & 1)) { /* I-Frame */ in isdnl2_l1l2()
1643 } else if (IsSFrame(datap, st)) { /* S-Frame */ in isdnl2_l1l2()
1646 } 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()
1870 u_char *datap = skb->data; in ph_data_indication() local
1882 psapi = *datap++; in ph_data_indication()
1883 ptei = *datap++; in ph_data_indication()
1910 datap += l; in ph_data_indication()
1911 if (!(*datap & 1)) { /* I-Frame */ in ph_data_indication()
1915 } else if (IsSFrame(datap, l2)) { /* S-Frame */ in ph_data_indication()
1919 } else if (IsUI(datap)) { in ph_data_indication()
[all …]
/drivers/staging/media/lirc/
Dlirc_zilog.c137 unsigned char *datap; member
731 vfree(tx_data->datap); in fw_unload_locked()
783 tx_data->datap = vmalloc(fw_entry->size); in fw_load()
784 if (tx_data->datap == NULL) { in fw_load()
790 memcpy(tx_data->datap, fw_entry->data, fw_entry->size); in fw_load()
791 tx_data->endp = tx_data->datap + fw_entry->size; in fw_load()
795 data = tx_data->datap; in fw_load()
/drivers/staging/wlan-ng/
Dhfa384x_usb.c3426 u8 *datap; in hfa384x_int_rxmonitor() local
3457 datap = skb_put(skb, sizeof(struct p80211_caphdr)); in hfa384x_int_rxmonitor()
3458 caphdr = (struct p80211_caphdr *)datap; in hfa384x_int_rxmonitor()
3478 datap = skb_put(skb, hdrlen); in hfa384x_int_rxmonitor()
3479 memcpy(datap, &(rxdesc->frame_control), hdrlen); in hfa384x_int_rxmonitor()
3483 datap = skb_put(skb, datalen); in hfa384x_int_rxmonitor()
3484 memcpy(datap, rxfrm->data, datalen); in hfa384x_int_rxmonitor()
3487 if (*(datap - hdrlen + 1) & 0x40) /* wep set */ in hfa384x_int_rxmonitor()
3488 if ((*(datap) == 0xaa) && (*(datap + 1) == 0xaa)) in hfa384x_int_rxmonitor()
3490 *(datap - hdrlen + 1) &= 0xbf; in hfa384x_int_rxmonitor()
[all …]
/drivers/staging/comedi/drivers/
Dusbdux.c383 u8 *datap; in usbduxsub_ao_handle_urb() local
398 datap = urb->transfer_buffer; in usbduxsub_ao_handle_urb()
399 *datap++ = cmd->chanlist_len; in usbduxsub_ao_handle_urb()
411 *datap++ = val & 0xff; in usbduxsub_ao_handle_urb()
412 *datap++ = (val >> 8) & 0xff; in usbduxsub_ao_handle_urb()
413 *datap++ = chan << 6; in usbduxsub_ao_handle_urb()
Dusbduxsigma.c343 u8 *datap; in usbduxsigma_ao_handle_urb() local
358 datap = urb->transfer_buffer; in usbduxsigma_ao_handle_urb()
359 *datap++ = cmd->chanlist_len; in usbduxsigma_ao_handle_urb()
370 *datap++ = val; in usbduxsigma_ao_handle_urb()
371 *datap++ = chan; in usbduxsigma_ao_handle_urb()
/drivers/infiniband/hw/i40iw/
Di40iw_puda.c1186 u8 *datap = buf->data; in i40iw_ieq_process_buf() local
1201 fpdu_len = i40iw_ieq_get_fpdu_length(ntohs(*(__be16 *)datap)); in i40iw_ieq_process_buf()
1214 crcptr = datap + fpdu_len - 4; in i40iw_ieq_process_buf()
1218 datap, fpdu_len - 4, mpacrc); in i40iw_ieq_process_buf()
1226 datap += fpdu_len; in i40iw_ieq_process_buf()
1254 buf->data = datap; in i40iw_ieq_process_buf()
/drivers/isdn/hardware/mISDN/
Diohelper.h31 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.c541 char *datap, int data_len, int unsol) in bnx2i_send_iscsi_nopout() argument
/drivers/s390/block/
Ddasd_eckd.c4612 char *datap; in dasd_eckd_dump_ccw_range() local
4622 datap = (char *) *((addr_t *) (addr_t) from->cda); in dasd_eckd_dump_ccw_range()
4624 datap = (char *) ((addr_t) from->cda); in dasd_eckd_dump_ccw_range()
4630 len += sprintf(page + len, "%02x", datap[count]); in dasd_eckd_dump_ccw_range()
/drivers/scsi/lpfc/
Dlpfc_els.c5769 uint32_t *lp, *datap; in lpfc_els_rcv_rscn() local
5811 datap = lp; in lpfc_els_rcv_rscn()
5813 nportid = *datap++; in lpfc_els_rcv_rscn()