Home
last modified time | relevance | path

Searched refs:put_unaligned_le16 (Results 1 – 25 of 93) sorted by relevance

1234

/linux-5.19.10/drivers/net/wireless/microchip/wilc1000/
Dwlan_cfg.c65 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_byte()
66 put_unaligned_le16(1, &frame[offset + 2]); in wilc_wlan_cfg_set_byte()
76 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_hword()
77 put_unaligned_le16(2, &frame[offset + 2]); in wilc_wlan_cfg_set_hword()
78 put_unaligned_le16(val16, &frame[offset + 4]); in wilc_wlan_cfg_set_hword()
88 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_word()
89 put_unaligned_le16(4, &frame[offset + 2]); in wilc_wlan_cfg_set_word()
101 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_str()
102 put_unaligned_le16(size, &frame[offset + 2]); in wilc_wlan_cfg_set_str()
117 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_bin()
[all …]
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dxtlv.c47 put_unaligned_le16(id, idp); in brcmf_xtlv_pack_header()
48 put_unaligned_le16(len, lenp); in brcmf_xtlv_pack_header()
62 put_unaligned_le16(len, lenp); in brcmf_xtlv_pack_header()
68 put_unaligned_le16(id, idp); in brcmf_xtlv_pack_header()
/linux-5.19.10/drivers/usb/gadget/
Du_os_desc.h85 put_unaligned_le16(pnl, usb_ext_prop_name_len_ptr(buf)); in usb_ext_prop_put_name()
91 put_unaligned_le16(0, &buf[USB_EXT_PROP_B_PROPERTY_NAME + pnl - 2]); in usb_ext_prop_put_name()
114 put_unaligned_le16(0, in usb_ext_prop_put_unicode()
/linux-5.19.10/drivers/input/mouse/
Dcyapa_gen6.c359 put_unaligned_le16(PIP_OUTPUT_REPORT_ADDR, &set_interval_cmd.addr); in cyapa_gen6_set_interval_setting()
360 put_unaligned_le16(sizeof(set_interval_cmd) - 2, in cyapa_gen6_set_interval_setting()
364 put_unaligned_le16(interval_setting->active_interval, in cyapa_gen6_set_interval_setting()
366 put_unaligned_le16(interval_setting->lp1_interval, in cyapa_gen6_set_interval_setting()
368 put_unaligned_le16(interval_setting->lp2_interval, in cyapa_gen6_set_interval_setting()
575 put_unaligned_le16(PIP_OUTPUT_REPORT_ADDR, &cmd.head.addr); in cyapa_pip_retrieve_data_structure()
576 put_unaligned_le16(sizeof(cmd) - 2, &cmd.head.length); in cyapa_pip_retrieve_data_structure()
579 put_unaligned_le16(read_offset, &cmd.read_offset); in cyapa_pip_retrieve_data_structure()
580 put_unaligned_le16(read_len, &cmd.read_length); in cyapa_pip_retrieve_data_structure()
Dcyapa_gen5.c1072 put_unaligned_le16(PIP_OUTPUT_REPORT_ADDR, &bl_cmd_head->addr); in cyapa_pip_bl_initiate()
1073 put_unaligned_le16(cmd_len - 2, &bl_cmd_head->length); in cyapa_pip_bl_initiate()
1080 put_unaligned_le16(cmd_data_len, &bl_packet_start->data_length); in cyapa_pip_bl_initiate()
1094 put_unaligned_le16(meta_data_crc, &cmd_data->metadata_crc); in cyapa_pip_bl_initiate()
1100 put_unaligned_le16(cmd_crc, &bl_packet_end->crc); in cyapa_pip_bl_initiate()
1346 put_unaligned_le16(PIP_OUTPUT_REPORT_ADDR, &bl_cmd_head->addr); in cyapa_pip_write_fw_block()
1348 put_unaligned_le16(cmd_len - 2, &bl_cmd_head->length); in cyapa_pip_write_fw_block()
1355 put_unaligned_le16(data_len, &bl_packet_start->data_length); in cyapa_pip_write_fw_block()
1359 put_unaligned_le16(flash_row_id, &flash_row_head->flash_row_id); in cyapa_pip_write_fw_block()
1366 put_unaligned_le16(crc, &bl_packet_end->crc); in cyapa_pip_write_fw_block()
[all …]
/linux-5.19.10/net/bluetooth/
Deir.c63 put_unaligned_le16(uuid, &eir[eir_len]); in eir_append_service_data()
215 put_unaligned_le16(hdev->devid_source, ptr + 2); in eir_create()
216 put_unaligned_le16(hdev->devid_vendor, ptr + 4); in eir_create()
217 put_unaligned_le16(hdev->devid_product, ptr + 6); in eir_create()
218 put_unaligned_le16(hdev->devid_version, ptr + 8); in eir_create()
Deir.h40 put_unaligned_le16(data, &eir[eir_len]); in eir_append_le16()
/linux-5.19.10/drivers/net/usb/
Dcdc_eem.c145 put_unaligned_le16(BIT(14) | len, skb_push(skb, 2)); in eem_tx_fixup()
149 put_unaligned_le16(0, skb_put(skb, 2)); in eem_tx_fixup()
221 put_unaligned_le16(BIT(15) | (1 << 11) | len, in eem_rx_fixup()
/linux-5.19.10/drivers/staging/rtl8192e/
Drtl819x_BAProc.c105 put_unaligned_le16(StatusCode, tag); in rtllib_ADDBA()
109 put_unaligned_le16(pBA->ba_param_set.short_data, tag); in rtllib_ADDBA()
112 put_unaligned_le16(pBA->ba_timeout_value, tag); in rtllib_ADDBA()
165 put_unaligned_le16(DelbaParamSet.short_data, tag); in rtllib_DELBA()
168 put_unaligned_le16(ReasonCode, tag); in rtllib_DELBA()
/linux-5.19.10/drivers/staging/rtl8192u/ieee80211/
Drtl819x_BAProc.c147 put_unaligned_le16(StatusCode, tag); in ieee80211_ADDBA()
152 put_unaligned_le16(pBA->param_set.short_data, tag); in ieee80211_ADDBA()
156 put_unaligned_le16(pBA->timeout_value, tag); in ieee80211_ADDBA()
225 put_unaligned_le16(DelbaParamSet.short_data, tag); in ieee80211_DELBA()
229 put_unaligned_le16(ReasonCode, tag); in ieee80211_DELBA()
/linux-5.19.10/fs/ksmbd/
Dunicode.c247 put_unaligned_le16(wchar_to, &to[i]); in smb_strtoUTF16()
251 put_unaligned_le16(0, &to[i]); in smb_strtoUTF16()
/linux-5.19.10/drivers/scsi/smartpqi/
Dsmartpqi_init.c557 put_unaligned_le16(offsetof(struct pqi_raid_path_request, in pqi_build_raid_path_request()
971 put_unaligned_le16(sizeof(buffer->driver_version), in pqi_write_driver_version_to_host_wellness()
1023 put_unaligned_le16(sizeof(buffer->time), in pqi_write_current_time_to_host_wellness()
3465 put_unaligned_le16(queue_group->oq_id, &iu->header.response_queue_id); in pqi_send_event_ack()
3509 put_unaligned_le16(sizeof(request) - PQI_REQUEST_HEADER_LENGTH, in pqi_acknowledge_event()
3512 put_unaligned_le16(event->event_id, &request.event_id); in pqi_acknowledge_event()
4416 put_unaligned_le16(queue_group->oq_id, in pqi_start_io()
4545 put_unaligned_le16(io_request->index, in pqi_submit_raid_request_synchronous()
4633 put_unaligned_le16(PQI_GENERAL_ADMIN_IU_LENGTH, in pqi_report_device_capability()
4752 put_unaligned_le16(PQI_GENERAL_ADMIN_IU_LENGTH, in pqi_create_event_queue()
[all …]
/linux-5.19.10/drivers/iio/chemical/
Dscd30_serial.c126 put_unaligned_le16(crc, txbuf + txsize); in scd30_serdev_command()
137 put_unaligned_le16(crc, txbuf + txsize); in scd30_serdev_command()
/linux-5.19.10/tools/include/tools/
Dle_byteshift.h56 static inline void put_unaligned_le16(uint16_t val, void *p) in put_unaligned_le16() function
/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/
Dutil.h98 put_unaligned_le16(get_unaligned_le16(var) + val, var); in le16_unaligned_add_cpu()
/linux-5.19.10/arch/x86/boot/tools/
Dbuild.c227 put_unaligned_le16(0x14c, &buf[compat_offset + 2]); in update_pecoff_setup_and_reloc()
417 put_unaligned_le16(DEFAULT_ROOT_DEV, &buf[508]); in main()
/linux-5.19.10/drivers/usb/serial/
Daircable.c82 put_unaligned_le16(count, &buf[2]); in aircable_prepare_write_buffer()
/linux-5.19.10/drivers/usb/gadget/function/
Df_eem.c381 put_unaligned_le16(len & 0x3FFF, skb_push(skb, 2)); in eem_wrap()
385 put_unaligned_le16(0, skb_put(skb, 2)); in eem_wrap()
450 put_unaligned_le16(BIT(15) | BIT(11) | len, in eem_unwrap()
/linux-5.19.10/drivers/auxdisplay/
Dht16k33.c481 put_unaligned_le16(map_to_seg14(&seg->map.seg14, *s++), buf); in ht16k33_seg14_update()
482 put_unaligned_le16(map_to_seg14(&seg->map.seg14, *s++), buf + 2); in ht16k33_seg14_update()
483 put_unaligned_le16(map_to_seg14(&seg->map.seg14, *s++), buf + 4); in ht16k33_seg14_update()
484 put_unaligned_le16(map_to_seg14(&seg->map.seg14, *s++), buf + 6); in ht16k33_seg14_update()
/linux-5.19.10/net/mac802154/
Dtx.c73 put_unaligned_le16(crc, skb_put(skb, 2)); in ieee802154_tx()
/linux-5.19.10/fs/cifs/
Dcifs_unicode.c286 put_unaligned_le16(wchar_to, &to[i]); in cifs_strtoUTF16()
290 put_unaligned_le16(0, &to[i]); in cifs_strtoUTF16()
/linux-5.19.10/sound/soc/codecs/
Dadau1701.c274 put_unaligned_le16(ADAU1701_SAFELOAD_DATA(i), buf); in adau1701_safeload()
283 put_unaligned_le16(ADAU1701_SAFELOAD_ADDR(i), buf); in adau1701_safeload()
284 put_unaligned_le16(addr + i, buf + 2); in adau1701_safeload()
/linux-5.19.10/drivers/thermal/qcom/
Dqcom-spmi-adc-tm5.c528 put_unaligned_le16(adc_code, &buf[1]); in adc_tm5_configure()
539 put_unaligned_le16(adc_code, &buf[3]); in adc_tm5_configure()
605 put_unaligned_le16(adc_code, &buf[9]); in adc_tm5_gen2_configure()
614 put_unaligned_le16(adc_code, &buf[11]); in adc_tm5_gen2_configure()
/linux-5.19.10/drivers/platform/surface/aggregator/
Dssh_msgb.h63 put_unaligned_le16(value, msgb->ptr); in __msgb_push_u16()
/linux-5.19.10/include/asm-generic/
Dunaligned.h40 static inline void put_unaligned_le16(u16 val, void *p) in put_unaligned_le16() function

1234