Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 1607) sorted by relevance

12345678910>>...65

/drivers/staging/wlan-ng/
Dp80211conv.c144 memcpy(&e_hdr, skb->data, sizeof(e_hdr)); in skb_ether_to_p80211()
180 memcpy( e_snap->oui, oui_8021h, WLAN_IEEE_OUI_LEN); in skb_ether_to_p80211()
182 memcpy( e_snap->oui, oui_rfc1042, WLAN_IEEE_OUI_LEN); in skb_ether_to_p80211()
201 memcpy(p80211_hdr->a3.a1, &e_hdr.daddr, WLAN_ADDR_LEN); in skb_ether_to_p80211()
202 memcpy(p80211_hdr->a3.a2, wlandev->netdev->dev_addr, WLAN_ADDR_LEN); in skb_ether_to_p80211()
203 memcpy(p80211_hdr->a3.a3, wlandev->bssid, WLAN_ADDR_LEN); in skb_ether_to_p80211()
207 memcpy(p80211_hdr->a3.a1, wlandev->bssid, WLAN_ADDR_LEN); in skb_ether_to_p80211()
208 memcpy(p80211_hdr->a3.a2, wlandev->netdev->dev_addr, WLAN_ADDR_LEN); in skb_ether_to_p80211()
209 memcpy(p80211_hdr->a3.a3, &e_hdr.daddr, WLAN_ADDR_LEN); in skb_ether_to_p80211()
213 memcpy(p80211_hdr->a3.a1, &e_hdr.daddr, WLAN_ADDR_LEN); in skb_ether_to_p80211()
[all …]
Dp80211wext.c155 memcpy(&msg.mibattribute.data, &mibitem, sizeof(mibitem)); in p80211wext_dorequest()
194 memcpy(msg.ssid.data.data, ssid, data.length); in p80211wext_autojoin()
302 memcpy(&msg.mibattribute.data, &mibitem, sizeof(mibitem)); in p80211wext_giwfreq()
310 memcpy(&mibitem, &msg.mibattribute.data, sizeof(mibitem)); in p80211wext_giwfreq()
352 memcpy(&msg.mibattribute.data, &mibitem, sizeof(mibitem)); in p80211wext_siwfreq()
439 memcpy(&msg.mibattribute.data, &mibitem, sizeof(mibitem)); in p80211wext_siwmode()
533 memcpy(ap_addr->sa_data, wlandev->bssid, WLAN_BSSID_LEN); in p80211wext_giwap()
577 memcpy(key, wlandev->wep_keys[i], erq->length); in p80211wext_giwencode()
639 memcpy(wlandev->wep_keys[i], key, erq->length); in p80211wext_siwencode()
642 memcpy(pstr.data.data, key, erq->length); in p80211wext_siwencode()
[all …]
/drivers/media/video/cx18/
Dcx18-vbi.c62 memcpy(dst + sd + 12 + line * 43 + 1, sdata->data, 42); in copy_vbi_data()
65 memcpy(dst, mpeg_hdr_data, sizeof(mpeg_hdr_data)); in copy_vbi_data()
70 memcpy(dst + sd, "ITV0", 4); in copy_vbi_data()
71 memcpy(dst + sd + 4, dst + sd + 12, line * 43); in copy_vbi_data()
74 memcpy(dst + sd, "cx0", 4); in copy_vbi_data()
75 memcpy(dst + sd + 4, &linemask[0], 8); in copy_vbi_data()
108 memcpy(q, p + 4, line_size - 4); in compress_raw_buf()
145 memcpy(cx->vbi.sliced_data[line].data, vbi.p, 42); in compress_sliced_buf()
170 memcpy(p, &buf->buf[12], size); in cx18_process_vbi_data()
180 memcpy(p, &cx->vbi.frame, 4); in cx18_process_vbi_data()
[all …]
/drivers/net/wireless/libertas/
Dassoc.c80 memcpy(rates, tmp, *rates_size); in get_common_rates()
188 memcpy(wrqu.ap_addr.sa_data, priv->curbssparams.bssid, in lbs_adhoc_join()
219 memcpy(&cmd.bss.bssid, &bss->bssid, ETH_ALEN); in lbs_adhoc_join()
220 memcpy(&cmd.bss.ssid, &bss->ssid, bss->ssid_len); in lbs_adhoc_join()
222 memcpy(&cmd.bss.phyparamset, &bss->phyparamset, in lbs_adhoc_join()
225 memcpy(&cmd.bss.ssparamset, &bss->ssparamset, in lbs_adhoc_join()
247 memcpy(cmd.bss.rates, bss->rates, ratesize); in lbs_adhoc_join()
256 memcpy(&priv->curbssparams.rates, cmd.bss.rates, ratesize); in lbs_adhoc_join()
331 memcpy(cmd.ssid, assoc_req->ssid, assoc_req->ssid_len); in lbs_adhoc_start()
370 memcpy(cmd.rates, lbs_bg_rates, ratesize); in lbs_adhoc_start()
[all …]
Dscan.c218 memcpy(ssid_tlv->ssid, priv->scan_ssid, priv->scan_ssid_len); in lbs_scan_add_ssid_tlv()
255 memcpy(chan_tlv->chanscanparam, chan_list, size); in lbs_scan_add_chanlist_tlv()
551 memcpy(bss->bssid, pos, ETH_ALEN); in lbs_process_bss()
605 memcpy(bss->ssid, pos + 2, bss->ssid_len); in lbs_process_bss()
613 memcpy(bss->rates, pos + 2, n_basic_rates); in lbs_process_bss()
628 memcpy(&bss->phyparamset.dsparamset, pDS, in lbs_process_bss()
635 memcpy(&bss->ssparamset.cfparamset, pCF, in lbs_process_bss()
659 memcpy(&bss->countryinfo, pcountryinfo, pcountryinfo->len + 2); in lbs_process_bss()
681 memcpy(p, pos + 2, n_ex_rates); in lbs_process_bss()
689 memcpy(bss->wpa_ie, pos, bss->wpa_ie_len); in lbs_process_bss()
[all …]
/drivers/net/
Dslhc.c433 memcpy(&cs->cs_ip,ip,20); in slhc_compress()
434 memcpy(&cs->cs_tcp,th,20); in slhc_compress()
456 memcpy(cp,new_seq,deltaS); /* Write list of deltas */ in slhc_compress()
457 memcpy(cp+deltaS,icp+hlen,isize-hlen); in slhc_compress()
467 memcpy(&cs->cs_ip,ip,20); in slhc_compress()
468 memcpy(&cs->cs_tcp,th,20); in slhc_compress()
470 memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); in slhc_compress()
472 memcpy(cs->cs_tcpopt, th+1, ((th->doff) - 5) * 4); in slhc_compress()
475 memcpy(ocp, icp, isize); in slhc_compress()
604 memcpy(cp, ip, 20); in slhc_uncompress()
[all …]
/drivers/isdn/hysdn/
Dhycapi.c171 memcpy(skb_put(skb,sizeof(__u16)), &len, sizeof(__u16)); in hycapi_register_internal()
172 memcpy(skb_put(skb,sizeof(__u16)), &appl, sizeof(__u16)); in hycapi_register_internal()
173 memcpy(skb_put(skb,sizeof(__u8)), &_command, sizeof(_command)); in hycapi_register_internal()
174 memcpy(skb_put(skb,sizeof(__u8)), &_subcommand, sizeof(_subcommand)); in hycapi_register_internal()
175 memcpy(skb_put(skb,sizeof(__u16)), &MessageNumber, sizeof(__u16)); in hycapi_register_internal()
176 memcpy(skb_put(skb,sizeof(__u16)), &MessageBufferSize, sizeof(__u16)); in hycapi_register_internal()
177 memcpy(skb_put(skb,sizeof(__u16)), &(rp->level3cnt), sizeof(__u16)); in hycapi_register_internal()
178 memcpy(skb_put(skb,sizeof(__u16)), &(rp->datablkcnt), sizeof(__u16)); in hycapi_register_internal()
179 memcpy(skb_put(skb,sizeof(__u16)), &(rp->datablklen), sizeof(__u16)); in hycapi_register_internal()
180 memcpy(skb_put(skb,slen), ExtFeatureDefaults, slen); in hycapi_register_internal()
[all …]
/drivers/staging/rtl8187se/ieee80211/
Dieee80211_rx.c161 memcpy(entry->src_addr, hdr->addr2, ETH_ALEN); in ieee80211_frag_cache_get()
162 memcpy(entry->dst_addr, hdr->addr1, ETH_ALEN); in ieee80211_frag_cache_get()
502 memcpy(entry->mac, mac, ETH_ALEN); in is_duplicate_packet()
760 memcpy(dst, hdr->addr1, ETH_ALEN); in ieee80211_rx()
761 memcpy(src, hdr->addr3, ETH_ALEN); in ieee80211_rx()
762 memcpy(bssid,hdr->addr2,ETH_ALEN); in ieee80211_rx()
765 memcpy(dst, hdr->addr3, ETH_ALEN); in ieee80211_rx()
766 memcpy(src, hdr->addr2, ETH_ALEN); in ieee80211_rx()
767 memcpy(bssid,hdr->addr1,ETH_ALEN); in ieee80211_rx()
772 memcpy(dst, hdr->addr3, ETH_ALEN); in ieee80211_rx()
[all …]
Dieee80211_softmac.c297 memcpy(disass->header.addr1, beacon->bssid, ETH_ALEN); in ieee80211_disassociate_skb()
298 memcpy(disass->header.addr2, ieee->dev->dev_addr, ETH_ALEN); in ieee80211_disassociate_skb()
299 memcpy(disass->header.addr3, beacon->bssid, ETH_ALEN); in ieee80211_disassociate_skb()
357 memcpy(req->header.addr2, ieee->dev->dev_addr, ETH_ALEN); in ieee80211_probe_req()
364 memcpy(tag, ieee->current_network.ssid, len); in ieee80211_probe_req()
484 memcpy(req->header.addr2, ieee->dev->dev_addr, ETH_ALEN); in ieee80211_probe_req_with_SSID()
493 memcpy(tag, ssid, len); in ieee80211_probe_req_with_SSID()
543 memcpy(channel_map, GET_DOT11D_INFO(ieee)->channel_map, MAX_CHANNEL_NUMBER+1); in ieee80211_softmac_scan_syncro()
618 memcpy(channel_map, GET_DOT11D_INFO(ieee)->channel_map, MAX_CHANNEL_NUMBER+1); in ieee80211_softmac_ips_scan_syncro()
731 memcpy(channel_map, GET_DOT11D_INFO(ieee)->channel_map, MAX_CHANNEL_NUMBER+1); in ieee80211_softmac_scan_wq()
[all …]
Dieee80211_tx.c394 memcpy(frag_hdr, (void *)header, hdr_len); in ieee80211_ext_alloc_txb()
419 memcpy(skb_put(skb_frag, bytes), skb->data, bytes); in ieee80211_ext_alloc_txb()
509 memcpy(frag_hdr, (void *)header, hdr_len); in ieee80211_ext_reuse_txb()
605 memcpy(&dest, skb->data, ETH_ALEN); in ieee80211_xmit()
606 memcpy(&src, skb->data+ETH_ALEN, ETH_ALEN); in ieee80211_xmit()
633 memcpy(&header.addr1, ieee->current_network.bssid, ETH_ALEN); in ieee80211_xmit()
634 memcpy(&header.addr2, &src, ETH_ALEN); in ieee80211_xmit()
635 memcpy(&header.addr3, &dest, ETH_ALEN); in ieee80211_xmit()
639 memcpy(&header.addr1, dest, ETH_ALEN); in ieee80211_xmit()
640 memcpy(&header.addr2, src, ETH_ALEN); in ieee80211_xmit()
[all …]
/drivers/media/dvb/ttusb-dec/
Dttusbdecfe.c100 memcpy(&b[4], &freq, sizeof (u32)); in ttusbdecfe_dvbt_set_frontend()
137 memcpy(&b[4], &freq, sizeof(u32)); in ttusbdecfe_dvbs_set_frontend()
139 memcpy(&b[12], &sym_rate, sizeof(u32)); in ttusbdecfe_dvbs_set_frontend()
141 memcpy(&b[24], &band, sizeof(u32)); in ttusbdecfe_dvbs_set_frontend()
143 memcpy(&b[28], &lnb_voltage, sizeof(u32)); in ttusbdecfe_dvbs_set_frontend()
157 memcpy(&b[4], cmd->msg, cmd->msg_len); in ttusbdecfe_dvbs_diseqc_send_master_cmd()
216 memcpy(&state->frontend.ops, &ttusbdecfe_dvbt_ops, sizeof(struct dvb_frontend_ops)); in ttusbdecfe_dvbt_attach()
238 memcpy(&state->frontend.ops, &ttusbdecfe_dvbs_ops, sizeof(struct dvb_frontend_ops)); in ttusbdecfe_dvbs_attach()
/drivers/media/video/ivtv/
Divtv-vbi.c175 memcpy(dst + sd + 12 + line * 43 + 1, itv->vbi.sliced_data[i].data, 42); in copy_vbi_data()
178 memcpy(dst, mpeg_hdr_data, sizeof(mpeg_hdr_data)); in copy_vbi_data()
183 memcpy(dst + sd, "ITV0", 4); in copy_vbi_data()
184 memcpy(dst + sd + 4, dst + sd + 12, line * 43); in copy_vbi_data()
187 memcpy(dst + sd, "itv0", 4); in copy_vbi_data()
188 memcpy(dst + sd + 4, &linemask[0], 8); in copy_vbi_data()
208 memcpy(linemask, p + 4, 8); in ivtv_convert_ivtv_vbi()
249 memcpy(itv->vbi.sliced_dec_data[line].data, p + 1, 42); in ivtv_convert_ivtv_vbi()
283 memcpy(q, p + 4, line_size - 4); in compress_raw_buf()
323 memcpy(itv->vbi.sliced_data[line].data, vbi.p, 42); in compress_sliced_buf()
[all …]
/drivers/staging/otus/
Dwrap_ev.c52 memcpy(wreq.addr.sa_data, macAddr, ETH_ALEN); in zfLnxAsocNotify()
71 memcpy(macp->stawpaie[i].wpa_macaddr, macAddr, IEEE80211_ADDR_LEN); in zfLnxAsocNotify()
72 memcpy(macp->stawpaie[i].wpa_ie, body, bodySize); in zfLnxAsocNotify()
112 memcpy(wreq.addr.sa_data, macAddr, ETH_ALEN); in zfLnxDisAsocNotify()
129 memcpy(wreq.addr.sa_data, macAddr, ETH_ALEN); in zfLnxApConnectNotify()
150 memcpy(wreq.addr.sa_data, bssid, ETH_ALEN); in zfLnxConnectNotify()
250 memcpy(wreq.addr.sa_data, addr, ETH_ALEN); in zfLnxApMicFailureNotify()
/drivers/usb/storage/
Ddatafab.c286 memcpy(command, scommand, 8); in datafab_determine_lun()
357 memcpy(command, scommand, 8); in datafab_id_device()
454 memcpy(ptr + i, rw_err_page, sizeof(rw_err_page)); in datafab_handle_mode_sense()
459 memcpy(ptr + i, cache_page, sizeof(cache_page)); in datafab_handle_mode_sense()
464 memcpy(ptr + i, rbac_page, sizeof(rbac_page)); in datafab_handle_mode_sense()
469 memcpy(ptr + i, timer_page, sizeof(timer_page)); in datafab_handle_mode_sense()
474 memcpy(ptr + i, timer_page, sizeof(timer_page)); in datafab_handle_mode_sense()
476 memcpy(ptr + i, rbac_page, sizeof(rbac_page)); in datafab_handle_mode_sense()
478 memcpy(ptr + i, cache_page, sizeof(cache_page)); in datafab_handle_mode_sense()
480 memcpy(ptr + i, rw_err_page, sizeof(rw_err_page)); in datafab_handle_mode_sense()
[all …]
Djumpshot.c381 memcpy(ptr + i, rw_err_page, sizeof(rw_err_page)); in jumpshot_handle_mode_sense()
386 memcpy(ptr + i, cache_page, sizeof(cache_page)); in jumpshot_handle_mode_sense()
391 memcpy(ptr + i, rbac_page, sizeof(rbac_page)); in jumpshot_handle_mode_sense()
396 memcpy(ptr + i, timer_page, sizeof(timer_page)); in jumpshot_handle_mode_sense()
401 memcpy(ptr + i, timer_page, sizeof(timer_page)); in jumpshot_handle_mode_sense()
403 memcpy(ptr + i, rbac_page, sizeof(rbac_page)); in jumpshot_handle_mode_sense()
405 memcpy(ptr + i, cache_page, sizeof(cache_page)); in jumpshot_handle_mode_sense()
407 memcpy(ptr + i, rw_err_page, sizeof(rw_err_page)); in jumpshot_handle_mode_sense()
455 memcpy(ptr, inquiry_response, sizeof(inquiry_response)); in jumpshot_transport()
/drivers/net/wireless/ipw2x00/
Dlibipw_rx.c122 memcpy(entry->src_addr, hdr->addr2, ETH_ALEN); in ieee80211_frag_cache_get()
123 memcpy(entry->dst_addr, hdr->addr1, ETH_ALEN); in ieee80211_frag_cache_get()
498 memcpy(dst, hdr->addr1, ETH_ALEN); in ieee80211_rx()
499 memcpy(src, hdr->addr3, ETH_ALEN); in ieee80211_rx()
502 memcpy(dst, hdr->addr3, ETH_ALEN); in ieee80211_rx()
503 memcpy(src, hdr->addr2, ETH_ALEN); in ieee80211_rx()
508 memcpy(dst, hdr->addr3, ETH_ALEN); in ieee80211_rx()
509 memcpy(src, hdr->addr4, ETH_ALEN); in ieee80211_rx()
512 memcpy(dst, hdr->addr1, ETH_ALEN); in ieee80211_rx()
513 memcpy(src, hdr->addr2, ETH_ALEN); in ieee80211_rx()
[all …]
Dlibipw_tx.c147 memcpy(data + SNAP_SIZE, &h_proto, sizeof(u16)); in ieee80211_copy_snap()
326 memcpy(header.addr1, ieee->bssid, ETH_ALEN); in ieee80211_xmit()
327 memcpy(header.addr2, src, ETH_ALEN); in ieee80211_xmit()
328 memcpy(header.addr3, dest, ETH_ALEN); in ieee80211_xmit()
331 memcpy(header.addr1, dest, ETH_ALEN); in ieee80211_xmit()
332 memcpy(header.addr2, src, ETH_ALEN); in ieee80211_xmit()
333 memcpy(header.addr3, ieee->bssid, ETH_ALEN); in ieee80211_xmit()
364 memcpy(skb_put(skb_new, hdr_len), &header, hdr_len); in ieee80211_xmit()
452 memcpy(frag_hdr, &header, hdr_len); in ieee80211_xmit()
477 memcpy(frag_hdr, &header, hdr_len); in ieee80211_xmit()
/drivers/scsi/libsas/
Dsas_host_smp.c35 memcpy(resp_data + 16, sas_ha->sas_addr, SAS_ADDR_SIZE); in sas_host_smp_discover()
36 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, in sas_host_smp_discover()
78 memcpy(resp_data + 16, sas_ha->sas_phy[phy_id]->attached_sas_addr, in sas_report_phy_sata()
163 memcpy(req_data, buf, req->data_len); in sas_smp_host_handler()
191 memcpy(resp_data + 12, shost->hostt->name, in sas_smp_host_handler()
193 memcpy(resp_data + 20, "libsas virt phy", in sas_smp_host_handler()
264 memcpy(buf, resp_data, rsp->data_len); in sas_smp_host_handler()
/drivers/media/dvb/dvb-usb/
Ddw2102.c69 memcpy(u8buf, data, len); in dw210x_op_rw()
74 memcpy(data, u8buf, len); in dw210x_op_rw()
176 memcpy(msg[1].buf, buf6 + 2, msg[1].len); in dw2102_serit_i2c_transfer()
185 memcpy(buf6 + 2, msg[0].buf, msg[0].len); in dw2102_serit_i2c_transfer()
231 memcpy(msg[1].buf, ibuf + 2, msg[1].len); in dw2102_earda_i2c_transfer()
242 memcpy(obuf + 2, msg[0].buf, msg[0].len); in dw2102_earda_i2c_transfer()
252 memcpy(obuf + 2, msg[0].buf, msg[0].len); in dw2102_earda_i2c_transfer()
261 memcpy(msg[0].buf, ibuf , 2); in dw2102_earda_i2c_transfer()
305 memcpy(msg[1].buf, ibuf + 2, msg[1].len); in dw2104_i2c_transfer()
322 memcpy(obuf + 3, msg[0].buf + i, (len > 16 ? 16 : len)); in dw2104_i2c_transfer()
[all …]
/drivers/net/wireless/
Dzd1201.c81 memcpy(buf, data, translen); in zd1201_fw_upload()
218 memcpy(zd->rxdata, data, urb->actual_length); in zd1201_usbrx()
268 memcpy(wrqu.addr.sa_data, data+10, ETH_ALEN); in zd1201_usbrx()
279 memcpy(wrqu.addr.sa_data, data+8, ETH_ALEN); in zd1201_usbrx()
295 memcpy(zd->rxdata+zd->rxlen, data+i+4, copylen); in zd1201_usbrx()
323 memcpy(skb_put(skb, 2), &data[datalen-16], 2); in zd1201_usbrx()
324 memcpy(skb_put(skb, 2), &data[datalen-2], 2); in zd1201_usbrx()
325 memcpy(skb_put(skb, 6), &data[datalen-14], 6); in zd1201_usbrx()
326 memcpy(skb_put(skb, 6), &data[datalen-22], 6); in zd1201_usbrx()
327 memcpy(skb_put(skb, 6), &data[datalen-8], 6); in zd1201_usbrx()
[all …]
/drivers/net/wireless/hostap/
Dhostap_80211_rx.c135 memcpy(hdr->devname, dev->name, sizeof(hdr->devname)); in prism2_rx_80211()
283 memcpy(entry->src_addr, hdr->addr2, ETH_ALEN); in prism2_frag_cache_get()
284 memcpy(entry->dst_addr, hdr->addr1, ETH_ALEN); in prism2_frag_cache_get()
364 memcpy(bss->bssid, bssid, ETH_ALEN); in __hostap_add_bss()
365 memcpy(bss->ssid, ssid, ssid_len); in __hostap_add_bss()
454 memcpy(bss->wpa_ie, wpa, wpa_len); in hostap_rx_sta_beacon()
459 memcpy(bss->rsn_ie, rsn, rsn_len); in hostap_rx_sta_beacon()
848 memcpy(dst, hdr->addr1, ETH_ALEN); in hostap_80211_rx()
849 memcpy(src, hdr->addr3, ETH_ALEN); in hostap_80211_rx()
852 memcpy(dst, hdr->addr3, ETH_ALEN); in hostap_80211_rx()
[all …]
/drivers/net/wireless/rt2x00/
Drt2x00crypto.c104 memcpy(skbdesc->iv, skb->data + header_length, iv_len); in rt2x00crypto_tx_copy_iv()
116 memcpy(skbdesc->iv, skb->data + header_length, iv_len); in rt2x00crypto_tx_remove_iv()
144 memcpy(skb->data + header_length, skbdesc->iv, iv_len); in rt2x00crypto_tx_insert_iv()
205 memcpy(skb->data + transfer, rxdesc->iv, iv_len); in rt2x00crypto_rx_insert_iv()
228 memcpy(skb->data + transfer, &rxdesc->icv, 4); in rt2x00crypto_rx_insert_iv()
/drivers/w1/
Dw1_netlink.c45 memcpy(w, msg, sizeof(struct w1_netlink_msg)); in w1_netlink_send()
118 memcpy(cm, msg, sizeof(struct cn_msg)); in w1_send_read_reply()
119 memcpy(h, hdr, sizeof(struct w1_netlink_msg)); in w1_send_read_reply()
120 memcpy(c, cmd, sizeof(struct w1_netlink_cmd)); in w1_send_read_reply()
128 memcpy(c->data, cmd->data, c->len); in w1_send_read_reply()
289 memcpy(cmsg, rcmsg, sizeof(*cmsg)); in w1_netlink_send_error()
292 memcpy(msg, rmsg, sizeof(*msg)); in w1_netlink_send_error()
297 memcpy(cmd, rcmd, sizeof(*cmd)); in w1_netlink_send_error()
327 memcpy(&id, m->id.id, sizeof(id)); in w1_cn_callback()
/drivers/sh/maple/
Dmaple.c187 memcpy(sendbuf + 4, data, (length - 1) * 4); in maple_add_packet()
232 memcpy(sendbuf + 4, data, (length - 1) * 4); in maple_add_packet_sleeps()
393 memcpy(&mdev->devinfo.function, recvbuf + 4, 4); in maple_attach_driver()
394 memcpy(&mdev->devinfo.function_data[0], recvbuf + 8, 12); in maple_attach_driver()
395 memcpy(&mdev->devinfo.area_code, recvbuf + 20, 1); in maple_attach_driver()
396 memcpy(&mdev->devinfo.connector_direction, recvbuf + 21, 1); in maple_attach_driver()
397 memcpy(&mdev->devinfo.product_name[0], recvbuf + 22, 30); in maple_attach_driver()
398 memcpy(&mdev->devinfo.product_licence[0], recvbuf + 52, 60); in maple_attach_driver()
399 memcpy(&mdev->devinfo.standby_power, recvbuf + 112, 2); in maple_attach_driver()
400 memcpy(&mdev->devinfo.max_power, recvbuf + 114, 2); in maple_attach_driver()
[all …]
/drivers/char/tpm/
Dtpm.c496 memcpy(data, tpm_cap, sizeof(tpm_cap)); in tpm_gen_interrupt()
511 memcpy(data, tpm_cap, sizeof(tpm_cap)); in tpm_get_timeouts()
543 memcpy(data, tpm_cap, sizeof(tpm_cap)); in tpm_get_timeouts()
606 memcpy(data, tpm_cap, sizeof(tpm_cap)); in tpm_show_enabled()
638 memcpy(data, tpm_cap, sizeof(tpm_cap)); in tpm_show_active()
670 memcpy(data, tpm_cap, sizeof(tpm_cap)); in tpm_show_owned()
702 memcpy(data, tpm_cap, sizeof(tpm_cap)); in tpm_show_temp_deactivated()
744 memcpy(data, tpm_cap, sizeof(tpm_cap)); in tpm_show_pcrs()
757 memcpy(data, pcrread, sizeof(pcrread)); in tpm_show_pcrs()
759 memcpy(data + 10, &index, 4); in tpm_show_pcrs()
[all …]

12345678910>>...65