Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Dbcm_umi_bch.c115 uint8_t *datap = buf; in bcm_umi_bch_read_page_hwecc() local
121 sectorIdx++, datap += eccsize) { in bcm_umi_bch_read_page_hwecc()
132 bcm_umi_nand_read_buf(mtd, datap, eccsize); in bcm_umi_bch_read_page_hwecc()
147 nand_bcm_umi_bch_correct_page(datap, eccCalc, in bcm_umi_bch_read_page_hwecc()
158 __func__, datap[0], datap[1], datap[2], datap[3], in bcm_umi_bch_read_page_hwecc()
159 datap[4], datap[5], datap[6], datap[7]); in bcm_umi_bch_read_page_hwecc()
199 const uint8_t *datap = buf; in bcm_umi_bch_write_page_hwecc() local
204 sectorIdx++, datap += eccsize, oobp += sectorOobSize) { in bcm_umi_bch_write_page_hwecc()
207 bcm_umi_nand_write_buf(mtd, datap, eccsize); in bcm_umi_bch_write_page_hwecc()
Dnand_bcm_umi.c45 static void nand_bcm_umi_bch_ecc_flip_bit(uint8_t *datap, int errorLocation) in nand_bcm_umi_bch_ecc_flip_bit() argument
58 errorByte = datap[locWithinAPage * sizeof(uint32_t) + locWithinAWord]; in nand_bcm_umi_bch_ecc_flip_bit()
76 datap[locWithinAPage * sizeof(uint32_t) + locWithinAWord] = errorByte; in nand_bcm_umi_bch_ecc_flip_bit()
95 int nand_bcm_umi_bch_correct_page(uint8_t *datap, uint8_t *readEccData, in nand_bcm_umi_bch_correct_page() argument
144 nand_bcm_umi_bch_ecc_flip_bit(datap, errorLocation); in nand_bcm_umi_bch_correct_page()
Dnand_bcm_umi.h45 int nand_bcm_umi_bch_correct_page(uint8_t *datap, uint8_t *readEccData,
/drivers/net/wireless/ath/ath6kl/
Dwmi.c115 u8 *datap; in ath6kl_wmi_dix_2_dot3() local
137 datap = skb->data; in ath6kl_wmi_dix_2_dot3()
141 memcpy(datap, eth_hdr, sizeof(*eth_hdr)); in ath6kl_wmi_dix_2_dot3()
143 llc_hdr = (struct ath6kl_llc_snap_hdr *)(datap + sizeof(*eth_hdr)); in ath6kl_wmi_dix_2_dot3()
259 u8 *datap; in ath6kl_wmi_implicit_create_pstream() local
264 datap = skb->data; in ath6kl_wmi_implicit_create_pstream()
265 data_hdr = (struct wmi_data_hdr *) datap; in ath6kl_wmi_implicit_create_pstream()
276 llc_hdr = (struct ath6kl_llc_snap_hdr *)(datap + in ath6kl_wmi_implicit_create_pstream()
335 u8 *datap; in ath6kl_wmi_dot11_hdr_remove() local
341 datap = skb->data; in ath6kl_wmi_dot11_hdr_remove()
[all …]
Dtxrx.c44 u8 *datap; in ath6kl_ibss_map_epid() local
47 datap = skb->data; in ath6kl_ibss_map_epid()
48 eth_hdr = (struct ethhdr *) (datap + sizeof(struct wmi_data_hdr)); in ath6kl_ibss_map_epid()
105 struct ethhdr *datap = (struct ethhdr *) skb->data; in ath6kl_process_uapsdq() local
128 ether_type = be16_to_cpu(datap->h_proto); in ath6kl_process_uapsdq()
131 ip_hdr = (u8 *)(datap + 1); in ath6kl_process_uapsdq()
135 (datap + 1); in ath6kl_process_uapsdq()
207 struct ethhdr *datap = (struct ethhdr *) skb->data; in ath6kl_powersave_ap() local
212 if (is_multicast_ether_addr(datap->h_dest)) { in ath6kl_powersave_ap()
260 conn = ath6kl_find_sta(vif, datap->h_dest); in ath6kl_powersave_ap()
[all …]
Dmain.c542 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver) in ath6kl_ready_event() argument
546 memcpy(ar->mac_addr, datap, ETH_ALEN); in ath6kl_ready_event()
Dcore.h781 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver);
/drivers/net/usb/
Dsierra_net.c230 static const u8 *save16bit(struct param *p, const u8 *datap) in save16bit() argument
233 p->word = get_unaligned_be16(datap); in save16bit()
234 return datap + sizeof(p->word); in save16bit()
237 static const u8 *save8bit(struct param *p, const u8 *datap) in save8bit() argument
240 p->byte = *datap; in save8bit()
241 return datap + sizeof(p->byte); in save8bit()
655 static int sierra_net_get_fw_attr(struct usbnet *dev, u16 *datap) in sierra_net_get_fw_attr() argument
681 *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.c534 u_char *datap = skb->data + headers; in FRMR_error() local
547 datap[0], datap[1], datap[2], datap[3], datap[4]); in FRMR_error()
554 datap[0], datap[1], datap[2]); in FRMR_error()
1845 u_char *datap = skb->data; in ph_data_indication() local
1857 psapi = *datap++; in ph_data_indication()
1858 ptei = *datap++; in ph_data_indication()
1883 datap += l; in ph_data_indication()
1884 if (!(*datap & 1)) { /* I-Frame */ in ph_data_indication()
1888 } else if (IsSFrame(datap, l2)) { /* S-Frame */ in ph_data_indication()
1892 } else if (IsUI(datap)) { in ph_data_indication()
[all …]
/drivers/media/rc/
Dredrat3.c218 char *datap; member
743 rr3->datap = &(rr3->pbuf[0]); in redrat3_read_packet_start()
745 memcpy(rr3->datap, ((unsigned char *)rr3->bulk_in_buf + hdrlen), in redrat3_read_packet_start()
747 rr3->datap += rr3->bytes_read; in redrat3_read_packet_start()
764 memcpy(rr3->datap, (unsigned char *)rr3->bulk_in_buf, len); in redrat3_read_packet_continue()
765 rr3->datap += len; in redrat3_read_packet_continue()
910 u8 *datap; in redrat3_transmit_ir() local
1019 datap = (u8 *)(buffer + offset + RR3_HEADER_LENGTH + in redrat3_transmit_ir()
1021 memcpy(datap, sigdata, (count + RR3_TX_TRAILER_LEN)); in redrat3_transmit_ir()
/drivers/staging/media/lirc/
Dlirc_zilog.c134 unsigned char *datap; member
733 if (tx_data->datap) in fw_unload_locked()
734 vfree(tx_data->datap); in fw_unload_locked()
786 tx_data->datap = vmalloc(fw_entry->size); in fw_load()
787 if (tx_data->datap == NULL) { in fw_load()
794 memcpy(tx_data->datap, fw_entry->data, fw_entry->size); in fw_load()
795 tx_data->endp = tx_data->datap + fw_entry->size; in fw_load()
799 data = tx_data->datap; in fw_load()
/drivers/staging/wlan-ng/
Dhfa384x_usb.c3579 u8 *datap; in hfa384x_int_rxmonitor() local
3614 datap = skb_put(skb, sizeof(struct p80211_caphdr)); in hfa384x_int_rxmonitor()
3615 caphdr = (struct p80211_caphdr *) datap; in hfa384x_int_rxmonitor()
3635 datap = skb_put(skb, hdrlen); in hfa384x_int_rxmonitor()
3636 memcpy(datap, &(rxdesc->frame_control), hdrlen); in hfa384x_int_rxmonitor()
3640 datap = skb_put(skb, datalen); in hfa384x_int_rxmonitor()
3641 memcpy(datap, rxfrm->data, datalen); in hfa384x_int_rxmonitor()
3644 if (*(datap - hdrlen + 1) & 0x40) /* wep set */ in hfa384x_int_rxmonitor()
3645 if ((*(datap) == 0xaa) && (*(datap + 1) == 0xaa)) in hfa384x_int_rxmonitor()
3647 *(datap - hdrlen + 1) &= 0xbf; in hfa384x_int_rxmonitor()
[all …]
/drivers/net/tokenring/
Dlanstreamer.c1842 __u8 *datap = (__u8 *) & sat; in sprintf_info() local
1844 datap[size]=io_word >> 8; in sprintf_info()
1845 datap[size+1]=io_word & 0xff; in sprintf_info()
1850 __u8 *datap = (__u8 *) & spt; in sprintf_info() local
1852 datap[size]=io_word >> 8; in sprintf_info()
1853 datap[size+1]=io_word & 0xff; in sprintf_info()
/drivers/isdn/hardware/mISDN/
Diohelper.h31 typedef void (fifo_func)(void *hwp, u8 offset, u8 *datap, int size);
/drivers/staging/comedi/drivers/
Dusbdux.c601 int8_t *datap; in usbduxsub_ao_IsocIrq() local
678 datap = in usbduxsub_ao_IsocIrq()
682 datap[0] = temp; in usbduxsub_ao_IsocIrq()
683 datap[1] = temp >> 8; in usbduxsub_ao_IsocIrq()
684 datap[2] = this_usbduxsub->dac_commands[i]; in usbduxsub_ao_IsocIrq()
Dusbduxsigma.c555 uint8_t *datap; in usbduxsub_ao_IsocIrq() local
632 datap = in usbduxsub_ao_IsocIrq()
636 datap[0] = temp; in usbduxsub_ao_IsocIrq()
637 datap[1] = this_usbduxsub->dac_commands[i]; in usbduxsub_ao_IsocIrq()
/drivers/scsi/bnx2i/
Dbnx2i.h785 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.c3820 char *datap; in dasd_eckd_dump_ccw_range() local
3830 datap = (char *) *((addr_t *) (addr_t) from->cda); in dasd_eckd_dump_ccw_range()
3832 datap = (char *) ((addr_t) from->cda); in dasd_eckd_dump_ccw_range()
3838 len += sprintf(page + len, "%02x", datap[count]); in dasd_eckd_dump_ccw_range()
/drivers/scsi/lpfc/
Dlpfc_els.c4624 uint32_t *lp, *datap; in lpfc_els_rcv_rscn() local
4668 datap = lp; in lpfc_els_rcv_rscn()
4670 nportid = *datap++; in lpfc_els_rcv_rscn()