Home
last modified time | relevance | path

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

12345678910>>...151

/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema_iface.c169 memcpy(info->rsvd0, src->rsvd0, ARRAY_SIZE(src->rsvd0)); in opa_vnic_get_vesw_info()
171 memcpy(info->rsvd1, src->rsvd1, ARRAY_SIZE(src->rsvd1)); in opa_vnic_get_vesw_info()
174 memcpy(info->rsvd2, src->rsvd2, ARRAY_SIZE(src->rsvd2)); in opa_vnic_get_vesw_info()
181 memcpy(info->rsvd3, src->rsvd3, ARRAY_SIZE(src->rsvd3)); in opa_vnic_get_vesw_info()
183 memcpy(info->rsvd4, src->rsvd4, ARRAY_SIZE(src->rsvd4)); in opa_vnic_get_vesw_info()
203 memcpy(dst->rsvd0, info->rsvd0, ARRAY_SIZE(info->rsvd0)); in opa_vnic_set_vesw_info()
205 memcpy(dst->rsvd1, info->rsvd1, ARRAY_SIZE(info->rsvd1)); in opa_vnic_set_vesw_info()
208 memcpy(dst->rsvd2, info->rsvd2, ARRAY_SIZE(info->rsvd2)); in opa_vnic_set_vesw_info()
215 memcpy(dst->rsvd3, info->rsvd3, ARRAY_SIZE(info->rsvd3)); in opa_vnic_set_vesw_info()
217 memcpy(dst->rsvd4, info->rsvd4, ARRAY_SIZE(info->rsvd4)); in opa_vnic_set_vesw_info()
[all …]
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_u32_parse.h88 memcpy(&f->val.fip[0], &val, sizeof(u32)); in cxgb4_fill_ipv4_src_ip()
89 memcpy(&f->mask.fip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv4_src_ip()
97 memcpy(&f->val.lip[0], &val, sizeof(u32)); in cxgb4_fill_ipv4_dst_ip()
98 memcpy(&f->mask.lip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv4_dst_ip()
134 memcpy(&f->val.fip[0], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip0()
135 memcpy(&f->mask.fip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv6_src_ip0()
143 memcpy(&f->val.fip[4], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip1()
144 memcpy(&f->mask.fip[4], &mask, sizeof(u32)); in cxgb4_fill_ipv6_src_ip1()
152 memcpy(&f->val.fip[8], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip2()
153 memcpy(&f->mask.fip[8], &mask, sizeof(u32)); in cxgb4_fill_ipv6_src_ip2()
[all …]
/drivers/net/wireless/ath/ath6kl/
Dbmi.c144 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_read()
146 memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); in ath6kl_bmi_read()
148 memcpy(&(ar->bmi.cmd_buf[offset]), &rx_len, sizeof(rx_len)); in ath6kl_bmi_read()
163 memcpy(&buf[len - len_remain], ar->bmi.cmd_buf, rx_len); in ath6kl_bmi_read()
207 memcpy(aligned_buf, src, len_remain); in ath6kl_bmi_write()
216 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_write()
218 memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); in ath6kl_bmi_write()
220 memcpy(&(ar->bmi.cmd_buf[offset]), &tx_len, sizeof(tx_len)); in ath6kl_bmi_write()
222 memcpy(&(ar->bmi.cmd_buf[offset]), src, tx_len); in ath6kl_bmi_write()
260 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_execute()
[all …]
/drivers/net/wireless/silabs/wfx/
Dkey.c38 memcpy(msg->key_data, key->key, key->keylen); in fill_wep_pair()
49 memcpy(msg->key_data, key->key, key->keylen); in fill_wep_group()
60 memcpy(msg->tkip_key_data, keybuf, sizeof(msg->tkip_key_data)); in fill_tkip_pair()
62 memcpy(msg->tx_mic_key, keybuf, sizeof(msg->tx_mic_key)); in fill_tkip_pair()
64 memcpy(msg->rx_mic_key, keybuf, sizeof(msg->rx_mic_key)); in fill_tkip_pair()
77 memcpy(msg->rx_sequence_counter, &seq->tkip.iv16, sizeof(seq->tkip.iv16)); in fill_tkip_group()
78 memcpy(msg->rx_sequence_counter + sizeof(u16), &seq->tkip.iv32, sizeof(seq->tkip.iv32)); in fill_tkip_group()
79 memcpy(msg->tkip_key_data, keybuf, sizeof(msg->tkip_key_data)); in fill_tkip_group()
83 memcpy(msg->rx_mic_key, keybuf + 0, sizeof(msg->rx_mic_key)); in fill_tkip_group()
86 memcpy(msg->rx_mic_key, keybuf + 8, sizeof(msg->rx_mic_key)); in fill_tkip_group()
[all …]
/drivers/hid/amd-sfh-hid/hid_descriptor/
Damd_sfh_hid_desc.c37 memcpy(rep_desc, accel3_report_descriptor, in get_report_descriptor()
42 memcpy(rep_desc, gyro3_report_descriptor, in get_report_descriptor()
47 memcpy(rep_desc, comp3_report_descriptor, in get_report_descriptor()
52 memcpy(rep_desc, als_report_descriptor, in get_report_descriptor()
57 memcpy(rep_desc, hpd_report_descriptor, in get_report_descriptor()
154 memcpy(feature_report, &acc_feature, sizeof(acc_feature)); in get_feature_report()
162 memcpy(feature_report, &gyro_feature, sizeof(gyro_feature)); in get_feature_report()
173 memcpy(feature_report, &magno_feature, sizeof(magno_feature)); in get_feature_report()
181 memcpy(feature_report, &als_feature, sizeof(als_feature)); in get_feature_report()
186 memcpy(feature_report, &hpd_feature, sizeof(hpd_feature)); in get_feature_report()
[all …]
/drivers/md/
Ddm-ima.c230 memcpy(ima_buf + l, DM_IMA_VERSION_STR, table->md->ima.dm_version_str_len); in dm_ima_measure_on_table_load()
234 memcpy(ima_buf + l, device_data_buf, device_data_buf_len); in dm_ima_measure_on_table_load()
287 memcpy(ima_buf + l, DM_IMA_VERSION_STR, table->md->ima.dm_version_str_len); in dm_ima_measure_on_table_load()
290 memcpy(ima_buf + l, device_data_buf, device_data_buf_len); in dm_ima_measure_on_table_load()
306 memcpy(ima_buf + l, target_metadata_buf, target_metadata_buf_len); in dm_ima_measure_on_table_load()
309 memcpy(ima_buf + l, target_data_buf, target_data_buf_len); in dm_ima_measure_on_table_load()
388 memcpy(device_table_data + l, DM_IMA_VERSION_STR, md->ima.dm_version_str_len); in dm_ima_measure_on_device_resume()
426 memcpy(device_table_data + l, md->ima.active_table.device_metadata, in dm_ima_measure_on_device_resume()
434 memcpy(device_table_data + l, active, active_len); in dm_ima_measure_on_device_resume()
437 memcpy(device_table_data + l, md->ima.active_table.hash, in dm_ima_measure_on_device_resume()
[all …]
/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
Dia_css_sdis2.host.c32 memcpy(private, public, width * sizeof(short)); in fill_row()
143 memcpy(hor_coefs_odd_real, params->dvs2_coefs.hor_coefs.odd_real, in ia_css_get_isp_dvs2_coefficients()
145 memcpy(hor_coefs_odd_imag, params->dvs2_coefs.hor_coefs.odd_imag, in ia_css_get_isp_dvs2_coefficients()
147 memcpy(hor_coefs_even_real, params->dvs2_coefs.hor_coefs.even_real, in ia_css_get_isp_dvs2_coefficients()
149 memcpy(hor_coefs_even_imag, params->dvs2_coefs.hor_coefs.even_imag, in ia_css_get_isp_dvs2_coefficients()
151 memcpy(ver_coefs_odd_real, params->dvs2_coefs.ver_coefs.odd_real, in ia_css_get_isp_dvs2_coefficients()
153 memcpy(ver_coefs_odd_imag, params->dvs2_coefs.ver_coefs.odd_imag, in ia_css_get_isp_dvs2_coefficients()
155 memcpy(ver_coefs_even_real, params->dvs2_coefs.ver_coefs.even_real, in ia_css_get_isp_dvs2_coefficients()
157 memcpy(ver_coefs_even_imag, params->dvs2_coefs.ver_coefs.even_imag, in ia_css_get_isp_dvs2_coefficients()
246 memcpy(host_stats->hor_prod.odd_real + dst_offset, in ia_css_translate_dvs2_statistics()
[all …]
/drivers/staging/r8188eu/hal/
Drtl8188e_cmd.c76 memcpy((u8 *)(&h2c_cmd) + 1, pCmdBuffer, CmdLen); in FillH2CCmd_88E()
78 memcpy((u8 *)(&h2c_cmd) + 1, pCmdBuffer, 3); in FillH2CCmd_88E()
80 memcpy((u8 *)(&h2c_cmd_ex), pCmdBuffer + 3, ext_cmd_len); in FillH2CCmd_88E()
113 memcpy(buf, &lmask, 3); in rtl8188e_set_raid_cmd()
218 memcpy(pwlanhdr->addr2, myid(&adapt->eeprompriv), ETH_ALEN); in ConstructBeacon()
219 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in ConstructBeacon()
232 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->IEs)), 2); in ConstructBeacon()
238 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->IEs)), 2); in ConstructBeacon()
245 memcpy(pframe, cur_network->IEs + sizeof(struct ndis_802_11_fixed_ie), pktlen); in ConstructBeacon()
304 memcpy(pwlanhdr->addr1, get_my_bssid(&pmlmeinfo->network), ETH_ALEN); in ConstructPSPoll()
[all …]
/drivers/hid/amd-sfh-hid/sfh1_1/
Damd_sfh_desc.c34 memcpy(rep_desc, accel3_report_descriptor, in get_report_desc()
39 memcpy(rep_desc, gyro3_report_descriptor, in get_report_desc()
44 memcpy(rep_desc, comp3_report_descriptor, in get_report_desc()
49 memcpy(rep_desc, als_report_descriptor, in get_report_desc()
54 memcpy(rep_desc, hpd_report_descriptor, in get_report_desc()
89 memcpy(feature_report, &acc_feature, sizeof(acc_feature)); in get_feature_rep()
97 memcpy(feature_report, &gyro_feature, sizeof(gyro_feature)); in get_feature_rep()
108 memcpy(feature_report, &magno_feature, sizeof(magno_feature)); in get_feature_rep()
116 memcpy(feature_report, &als_feature, sizeof(als_feature)); in get_feature_rep()
121 memcpy(feature_report, &hpd_feature, sizeof(hpd_feature)); in get_feature_rep()
[all …]
/drivers/staging/rtl8712/
Drtl871x_recv.c341 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
342 memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
343 memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
344 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in sta2sta_data_frame()
345 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in sta2sta_data_frame()
408 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
409 memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
410 memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
411 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in ap2sta_data_frame()
412 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in ap2sta_data_frame()
[all …]
/drivers/net/wireless/ti/wl12xx/
Dcmd.c31 memcpy(ext_radio_parms->tx_per_channel_power_compensation_2, in wl1271_cmd_ext_radio_parms()
34 memcpy(ext_radio_parms->tx_per_channel_power_compensation_5, in wl1271_cmd_ext_radio_parms()
72 memcpy(&gen_parms->general_params, gp, sizeof(*gp)); in wl1271_cmd_general_parms()
139 memcpy(&gen_parms->general_params, gp, sizeof(*gp)); in wl128x_cmd_general_parms()
203 memcpy(&radio_parms->static_params_2, &nvs->stat_radio_params_2, in wl1271_cmd_radio_parms()
205 memcpy(&radio_parms->dyn_params_2, in wl1271_cmd_radio_parms()
210 memcpy(&radio_parms->static_params_5, in wl1271_cmd_radio_parms()
213 memcpy(&radio_parms->dyn_params_5, in wl1271_cmd_radio_parms()
247 memcpy(&radio_parms->static_params_2, &nvs->stat_radio_params_2, in wl128x_cmd_radio_parms()
249 memcpy(&radio_parms->dyn_params_2, in wl128x_cmd_radio_parms()
[all …]
/drivers/s390/crypto/
Dzcrypt_ccamisc.c247 memcpy(preqcblk->func_id, "T2", 2); in alloc_and_prep_cprbmem()
349 memcpy(preqparm->subfunc_code, "KG", 2); in cca_genseckey()
352 memcpy(preqparm->lv1.key_form, "OP ", 8); in cca_genseckey()
357 memcpy(preqparm->lv1.key_length, "KEYLN16 ", 8); in cca_genseckey()
362 memcpy(preqparm->lv1.key_length, "KEYLN24 ", 8); in cca_genseckey()
367 memcpy(preqparm->lv1.key_length, "KEYLN32 ", 8); in cca_genseckey()
375 memcpy(preqparm->lv1.key_type1, "AESDATA ", 8); in cca_genseckey()
429 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_genseckey()
490 memcpy(preqparm->subfunc_code, "CM", 2); in cca_clr2seckey()
491 memcpy(preqparm->rule_array, "AES ", 8); in cca_clr2seckey()
[all …]
/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c116 memcpy(pwep->key_material, param->u.crypt.key, pwep->key_length); in wpa_set_encryption()
130 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in wpa_set_encryption()
157memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in wpa_set_encryption()
161 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in wpa_set_encryption()
162 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in wpa_set_encryption()
171memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (para… in wpa_set_encryption()
174memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption()
175memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption()
185memcpy(padapter->securitypriv.dot11wBIPKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u… in wpa_set_encryption()
242 memcpy(buf, pie, ielen); in rtw_set_wpa_ie()
[all …]
/drivers/crypto/nx/
Dnx-aes-gcm.c54 memcpy(csbcpb->cpb.aes_gcm.key, in_key, key_len); in gcm_aes_nx_set_key()
57 memcpy(csbcpb_aead->cpb.aes_gca.key, in_key, key_len); in gcm_aes_nx_set_key()
79 memcpy(nonce, in_key + key_len, 4); in gcm4106_aes_nx_set_key()
153 memcpy(csbcpb_aead->cpb.aes_gca.in_pat, in nx_gca()
164 memcpy(out, csbcpb_aead->cpb.aes_gca.out_pat, AES_BLOCK_SIZE); in nx_gca()
192 memcpy(csbcpb->cpb.aes_gcm.iv_or_cnt, iv, AES_BLOCK_SIZE); in gmac()
223 memcpy(csbcpb->cpb.aes_gcm.in_pat_or_aad, in gmac()
225 memcpy(csbcpb->cpb.aes_gcm.in_s0, in gmac()
259 memcpy(csbcpb->cpb.aes_ecb.key, csbcpb->cpb.aes_gcm.key, in gcm_empty()
292 memcpy(csbcpb->cpb.aes_gcm.out_pat_or_mac, out, in gcm_empty()
[all …]
Dnx-aes-ccm.c44 memcpy(csbcpb->cpb.aes_ccm.key, in_key, key_len); in ccm_aes_nx_set_key()
47 memcpy(csbcpb_aead->cpb.aes_cca.key, in_key, key_len); in ccm_aes_nx_set_key()
64 memcpy(nx_ctx->priv.ccm.nonce, in_key + key_len, 3); in ccm4309_aes_nx_set_key()
117 memcpy(block - csize, (u8 *)&data + 4 - csize, csize); in set_msg_len()
138 memcpy(b0, iv, 16); in generate_b0()
306 memcpy(nx_ctx->csbcpb_aead->cpb.aes_cca.b0, in generate_pat()
321 memcpy(out, result, AES_BLOCK_SIZE); in generate_pat()
381 memcpy(iv, csbcpb->cpb.aes_ccm.out_ctr, AES_BLOCK_SIZE); in ccm_nx_decrypt()
382 memcpy(csbcpb->cpb.aes_ccm.in_pat_or_b0, in ccm_nx_decrypt()
384 memcpy(csbcpb->cpb.aes_ccm.in_s0, in ccm_nx_decrypt()
[all …]
/drivers/soc/apple/
Drtkit-crashlog.c40 memcpy(&idx, bfr, 4); in apple_rtkit_crashlog_dump_str()
73 memcpy(&crash_time, bfr, 8); in apple_rtkit_crashlog_dump_time()
84 memcpy(&type, bfr + 16, 4); in apple_rtkit_crashlog_dump_mailbox()
85 memcpy(&index, bfr + 24, 4); in apple_rtkit_crashlog_dump_mailbox()
91 memcpy(&entry, bfr + 28 + i * sizeof(entry), sizeof(entry)); in apple_rtkit_crashlog_dump_mailbox()
103 memcpy(&header, bfr, sizeof(header)); in apple_rtkit_crashlog_dump()
120 memcpy(&section_fourcc, bfr + offset, 4); in apple_rtkit_crashlog_dump()
121 memcpy(&section_size, bfr + offset + 12, 4); in apple_rtkit_crashlog_dump()
/drivers/media/tuners/
Dsi2157.c123 memcpy(cmd.args, &fw->data[(fw->size - remaining) + 1], len); in si2157_load_firmware()
158 memcpy(cmd.args, "\x02", 1); in si2157_find_and_load_firmware()
228 memcpy(cmd.args, "\x15\x00\x02\x04", 4); in si2157_init()
243 memcpy(cmd.args, "\xc0\x05\x01\x00\x00\x0b\x00\x00\x01", 9); in si2157_init()
247 memcpy(cmd.args, "\xc0\x00\x0d\x0e\x00\x01\x01\x01\x01\x03", 10); in si2157_init()
250 memcpy(cmd.args, "\xc0\x00\x0c\x00\x00\x01\x01\x01\x01\x01\x01\x02\x00\x00\x01", 15); in si2157_init()
260 memcpy(cmd.args, "\xc0\x08\x01\x02\x00\x00\x01", 7); in si2157_init()
273 memcpy(cmd.args, "\x01\x01", 2); in si2157_init()
281 memcpy(cmd.args, "\x11", 1); in si2157_init()
292 memcpy(cmd.args, "\x14\x00\x01\x05\x01\x00", 6); in si2157_init()
[all …]
/drivers/infiniband/core/
Dcma_trace.h38 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
40 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
83 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
85 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
115 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
117 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
208 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
210 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
243 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
245 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
[all …]
/drivers/firmware/google/
Dgsmi.c331 memcpy(&param.guid, vendor, sizeof(param.guid)); in gsmi_get_variable()
335 memcpy(gsmi_dev.name_buf->start, name, name_len * 2); in gsmi_get_variable()
342 memcpy(gsmi_dev.param_buf->start, &param, sizeof(param)); in gsmi_get_variable()
353 memcpy(&param, gsmi_dev.param_buf->start, sizeof(param)); in gsmi_get_variable()
361 memcpy(data, gsmi_dev.data_buf->start, *data_size); in gsmi_get_variable()
398 memcpy(&param.guid, vendor, sizeof(param.guid)); in gsmi_get_next_variable()
401 memcpy(gsmi_dev.name_buf->start, name, *name_size); in gsmi_get_next_variable()
405 memcpy(gsmi_dev.param_buf->start, &param, sizeof(param)); in gsmi_get_next_variable()
416 memcpy(&param, gsmi_dev.param_buf->start, sizeof(param)); in gsmi_get_next_variable()
419 memcpy(name, gsmi_dev.name_buf->start, GSMI_BUF_SIZE); in gsmi_get_next_variable()
[all …]
/drivers/media/pci/cx18/
Dcx18-vbi.c64 memcpy(dst + sd + 12 + line * 43 + 1, sdata->data, 42); in copy_vbi_data()
67 memcpy(dst, mpeg_hdr_data, sizeof(mpeg_hdr_data)); in copy_vbi_data()
72 memcpy(dst + sd, "ITV0", 4); in copy_vbi_data()
76 memcpy(dst + sd, "itv0", 4); in copy_vbi_data()
79 memcpy(dst + sd + 4, &linemask[0], 8); in copy_vbi_data()
116 memcpy(q, p + 4, line_size - 4 - hdr_size); in compress_raw_buf()
121 memcpy(q, p + 4, line_size - 4); in compress_raw_buf()
168 memcpy(cx->vbi.sliced_data[line].data, vbi.p, 42); in compress_sliced_buf()
210 memcpy(p, &cx->vbi.frame, 4); in _cx18_process_vbi_data()
230 memcpy(p, &cx->vbi.sliced_data[0], size); in _cx18_process_vbi_data()
/drivers/net/wireless/marvell/mwifiex/
Djoin.c51 memcpy(*buffer, &ie_header, sizeof(ie_header)); in mwifiex_cmd_append_generic_ie()
60 memcpy(*buffer, priv->gen_ie_buf, priv->gen_ie_buf_len); in mwifiex_cmd_append_generic_ie()
106 memcpy(*buffer, &tsf_tlv, sizeof(tsf_tlv.header)); in mwifiex_cmd_append_tsf_tlv()
111 memcpy(*buffer, &tsf_val, sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
120 memcpy(*buffer, &tsf_val, sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
199 memcpy(out_rates, bss_desc->supported_rates, MWIFIEX_SUPPORTED_RATES); in mwifiex_setup_rates_from_bssdesc()
246 memcpy(*buffer, &ie_header, sizeof(ie_header)); in mwifiex_cmd_append_wps_ie()
250 memcpy(*buffer, priv->wps_ie, priv->wps_ie_len); in mwifiex_cmd_append_wps_ie()
293 memcpy(*buffer, &ie_header, sizeof(ie_header)); in mwifiex_cmd_append_wapi_ie()
302 memcpy(*buffer, priv->wapi_ie, priv->wapi_ie_len); in mwifiex_cmd_append_wapi_ie()
[all …]
/drivers/staging/gdm724x/
Dgdm_lte.c119 memcpy(&vlan_eth, skb_in->data, sizeof(struct vlan_ethhdr)); in gdm_lte_emulate_arp()
123 memcpy(&eth, skb_in->data, sizeof(struct ethhdr)); in gdm_lte_emulate_arp()
138 memcpy(arp_out, arp_in, sizeof(struct arphdr)); in gdm_lte_emulate_arp()
144 memcpy(&arp_data_out->ar_sha[2], &arp_data_in->ar_tip[0], 4); in gdm_lte_emulate_arp()
145 memcpy(&arp_data_out->ar_sip[0], &arp_data_in->ar_tip[0], 4); in gdm_lte_emulate_arp()
146 memcpy(&arp_data_out->ar_tha[0], &arp_data_in->ar_sha[0], 6); in gdm_lte_emulate_arp()
147 memcpy(&arp_data_out->ar_tip[0], &arp_data_in->ar_sip[0], 4); in gdm_lte_emulate_arp()
150 memcpy(mac_header_data, mac_header_data + ETH_ALEN, ETH_ALEN); in gdm_lte_emulate_arp()
152 memcpy(mac_header_data + ETH_ALEN, nic->src_mac_addr, ETH_ALEN); in gdm_lte_emulate_arp()
193 memcpy(&pseudo_header.ph.ph_src, &ipv6->saddr.in6_u.u6_addr8, 16); in icmp6_checksum()
[all …]
/drivers/staging/rtl8723bs/hal/
DHalHWImg8723B_RF.c323 memcpy( in ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO()
328 memcpy( in ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO()
333 memcpy( in ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO()
338 memcpy( in ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO()
344 memcpy( in ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO()
349 memcpy( in ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO()
354 memcpy( in ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO()
359 memcpy( in ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO()
/drivers/staging/r8188eu/core/
Drtw_p2p.c54 memcpy(pcur, psta->dev_addr, ETH_ALEN); in go_add_group_info_attr()
58 memcpy(pcur, psta->hwaddr, ETH_ALEN); in go_add_group_info_attr()
68 memcpy(pcur, psta->primary_dev_type, 8); in go_add_group_info_attr()
74 memcpy(pcur, psta->secdev_types_list, psta->num_of_secdev_type * 8); in go_add_group_info_attr()
86 memcpy(pcur, psta->dev_name, psta->dev_name_len); in go_add_group_info_attr()
140 memcpy(pwlanhdr->addr1, da, ETH_ALEN); in issue_group_disc_req()
141 memcpy(pwlanhdr->addr2, pwdinfo->interface_addr, ETH_ALEN); in issue_group_disc_req()
142 memcpy(pwlanhdr->addr3, pwdinfo->interface_addr, ETH_ALEN); in issue_group_disc_req()
197 memcpy(pwlanhdr->addr1, da, ETH_ALEN); in issue_p2p_devdisc_resp()
198 memcpy(pwlanhdr->addr2, pwdinfo->device_addr, ETH_ALEN); in issue_p2p_devdisc_resp()
[all …]
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c544 memcpy(&pkt->ip4src, &ipv4_usr_hdr->ip4src, in otx2_prepare_ipv4_flow()
546 memcpy(&pmask->ip4src, &ipv4_usr_mask->ip4src, in otx2_prepare_ipv4_flow()
551 memcpy(&pkt->ip4dst, &ipv4_usr_hdr->ip4dst, in otx2_prepare_ipv4_flow()
553 memcpy(&pmask->ip4dst, &ipv4_usr_mask->ip4dst, in otx2_prepare_ipv4_flow()
597 memcpy(&pkt->ip4src, &ipv4_l4_hdr->ip4src, in otx2_prepare_ipv4_flow()
599 memcpy(&pmask->ip4src, &ipv4_l4_mask->ip4src, in otx2_prepare_ipv4_flow()
604 memcpy(&pkt->ip4dst, &ipv4_l4_hdr->ip4dst, in otx2_prepare_ipv4_flow()
606 memcpy(&pmask->ip4dst, &ipv4_l4_mask->ip4dst, in otx2_prepare_ipv4_flow()
616 memcpy(&pkt->sport, &ipv4_l4_hdr->psrc, in otx2_prepare_ipv4_flow()
618 memcpy(&pmask->sport, &ipv4_l4_mask->psrc, in otx2_prepare_ipv4_flow()
[all …]

12345678910>>...151