Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/net/wireless/microchip/wilc1000/
A Dwlan_cfg.c66 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_byte()
67 put_unaligned_le16(1, &frame[offset + 2]); in wilc_wlan_cfg_set_byte()
77 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_hword()
78 put_unaligned_le16(2, &frame[offset + 2]); in wilc_wlan_cfg_set_hword()
79 put_unaligned_le16(val16, &frame[offset + 4]); in wilc_wlan_cfg_set_hword()
89 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_word()
90 put_unaligned_le16(4, &frame[offset + 2]); in wilc_wlan_cfg_set_word()
102 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_str()
103 put_unaligned_le16(size, &frame[offset + 2]); in wilc_wlan_cfg_set_str()
118 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_bin()
[all …]
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A 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-6.3-rc2/drivers/usb/gadget/
A 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-6.3-rc2/drivers/input/mouse/
A 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()
A Dcyapa_gen5.c1073 put_unaligned_le16(cmd_len - 2, &bl_cmd_head->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()
1348 put_unaligned_le16(cmd_len - 2, &bl_cmd_head->length); in cyapa_pip_write_fw_block()
1366 put_unaligned_le16(crc, &bl_packet_end->crc); in cyapa_pip_write_fw_block()
1468 put_unaligned_le16(cmd_len - (4 - parameter_size) - 2, in cyapa_gen5_set_interval_time()
1524 put_unaligned_le16(cmd_len - 2, &app_cmd_head->length); in cyapa_gen5_get_interval_time()
1557 put_unaligned_le16(sizeof(cmd) - 2, &app_cmd_head->length); in cyapa_gen5_disable_pip_report()
2010 put_unaligned_le16(sizeof(cmd) - 2, &cmd_head->length); in cyapa_gen5_read_idac_data()
2019 put_unaligned_le16(offset, &cmd_head->parameter_data[0]); in cyapa_gen5_read_idac_data()
[all …]
/linux-6.3-rc2/net/bluetooth/
A Deir.c74 put_unaligned_le16(uuid, &eir[eir_len]); in eir_append_service_data()
226 put_unaligned_le16(hdev->devid_source, ptr + 2); in eir_create()
227 put_unaligned_le16(hdev->devid_vendor, ptr + 4); in eir_create()
228 put_unaligned_le16(hdev->devid_product, ptr + 6); in eir_create()
229 put_unaligned_le16(hdev->devid_version, ptr + 8); in eir_create()
A Deir.h41 put_unaligned_le16(data, &eir[eir_len]); in eir_append_le16()
/linux-6.3-rc2/drivers/net/usb/
A 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) | BIT(11) | len, in eem_rx_fixup()
/linux-6.3-rc2/drivers/staging/rtl8192e/
A Drtl819x_BAProc.c104 put_unaligned_le16(StatusCode, tag); in rtllib_ADDBA()
108 put_unaligned_le16(pBA->ba_param_set.short_data, tag); in rtllib_ADDBA()
111 put_unaligned_le16(pBA->ba_timeout_value, tag); in rtllib_ADDBA()
163 put_unaligned_le16(DelbaParamSet.short_data, tag); in rtllib_DELBA()
166 put_unaligned_le16(ReasonCode, tag); in rtllib_DELBA()
/linux-6.3-rc2/drivers/staging/rtl8192u/ieee80211/
A 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-6.3-rc2/fs/ksmbd/
A Dunicode.c247 put_unaligned_le16(wchar_to, &to[i]); in smb_strtoUTF16()
251 put_unaligned_le16(0, &to[i]); in smb_strtoUTF16()
/linux-6.3-rc2/drivers/scsi/smartpqi/
A Dsmartpqi_init.c1049 put_unaligned_le16(sizeof(buffer->time), in pqi_write_current_time_to_host_wellness()
4485 put_unaligned_le16(queue_group->oq_id, in pqi_start_io()
4614 put_unaligned_le16(io_request->index, in pqi_submit_raid_request_synchronous()
4702 put_unaligned_le16(PQI_GENERAL_ADMIN_IU_LENGTH, in pqi_report_device_capability()
4821 put_unaligned_le16(PQI_GENERAL_ADMIN_IU_LENGTH, in pqi_create_event_queue()
4824 put_unaligned_le16(event_queue->oq_id, in pqi_create_event_queue()
4835 put_unaligned_le16(event_queue->int_msg_num, in pqi_create_event_queue()
4962 put_unaligned_le16(queue_group->oq_id, in pqi_create_queue_group()
4973 put_unaligned_le16(queue_group->int_msg_num, in pqi_create_queue_group()
7688 put_unaligned_le16(first_section, in pqi_config_table_update()
[all …]
/linux-6.3-rc2/drivers/iio/chemical/
A 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-6.3-rc2/tools/include/tools/
A Dle_byteshift.h56 static inline void put_unaligned_le16(uint16_t val, void *p) in put_unaligned_le16() function
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Dutil.h86 put_unaligned_le16(get_unaligned_le16(var) + val, var); in le16_unaligned_add_cpu()
/linux-6.3-rc2/arch/x86/boot/tools/
A Dbuild.c227 put_unaligned_le16(0x14c, &buf[compat_offset + 2]); in update_pecoff_setup_and_reloc()
419 put_unaligned_le16(DEFAULT_ROOT_DEV, &buf[508]); in main()
/linux-6.3-rc2/drivers/usb/serial/
A Daircable.c82 put_unaligned_le16(count, &buf[2]); in aircable_prepare_write_buffer()
/linux-6.3-rc2/drivers/usb/gadget/function/
A 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-6.3-rc2/drivers/auxdisplay/
A 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-6.3-rc2/drivers/input/touchscreen/
A Dcyttsp5.c530 put_unaligned_le16(HID_OUTPUT_GET_SYSINFO_SIZE, cmd); in cyttsp5_hid_output_get_sysinfo()
565 put_unaligned_le16(HID_OUTPUT_BL_LAUNCH_APP_SIZE, cmd); in cyttsp5_hid_output_bl_launch_app()
570 put_unaligned_le16(0x00, &cmd[6]); in cyttsp5_hid_output_bl_launch_app()
572 put_unaligned_le16(crc, &cmd[8]); in cyttsp5_hid_output_bl_launch_app()
A Dhynitron_cstxxx.c159 put_unaligned_le16(CST3XX_FIRMWARE_INFO_START_CMD, buf); in cst3xx_firmware_info()
199 put_unaligned_le16(CST3XX_FIRMWARE_INFO_END_CMD, buf); in cst3xx_firmware_info()
/linux-6.3-rc2/fs/cifs/
A Dcifs_unicode.c286 put_unaligned_le16(wchar_to, &to[i]); in cifs_strtoUTF16()
290 put_unaligned_le16(0, &to[i]); in cifs_strtoUTF16()
/linux-6.3-rc2/sound/soc/codecs/
A 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-6.3-rc2/drivers/thermal/qcom/
A Dqcom-spmi-adc-tm5.c531 put_unaligned_le16(adc_code, &buf[1]); in adc_tm5_configure()
542 put_unaligned_le16(adc_code, &buf[3]); in adc_tm5_configure()
608 put_unaligned_le16(adc_code, &buf[9]); in adc_tm5_gen2_configure()
617 put_unaligned_le16(adc_code, &buf[11]); in adc_tm5_gen2_configure()
/linux-6.3-rc2/drivers/platform/surface/aggregator/
A Dssh_msgb.h63 put_unaligned_le16(value, msgb->ptr); in __msgb_push_u16()

Completed in 75 milliseconds

1234