Home
last modified time | relevance | path

Searched refs:le16_to_cpup (Results 1 – 25 of 60) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/input/mouse/
Delan_i2c_i2c.c198 reg = le16_to_cpup((__le16 *)val); in elan_i2c_power_control()
244 *value = le16_to_cpup((__le16 *)val); in elan_i2c_get_baseline_data()
363 *id = le16_to_cpup((__le16 *)val); in elan_i2c_get_product_id()
383 *csum = le16_to_cpup((__le16 *)val); in elan_i2c_get_checksum()
399 *max_x = le16_to_cpup((__le16 *)val); in elan_i2c_get_max()
407 *max_y = le16_to_cpup((__le16 *)val); in elan_i2c_get_max()
484 constant = le16_to_cpup((__le16 *)val); in elan_i2c_iap_get_mode()
543 constant = le16_to_cpup((__le16 *)val); in elan_read_write_iap_type()
618 password = le16_to_cpup((__le16 *)val); in elan_i2c_prepare_fw_update()
662 result = le16_to_cpup((__le16 *)val); in elan_i2c_write_fw_block()
/kernel/linux/linux-5.10/drivers/input/joystick/
Dxpad.c651 (__s16) le16_to_cpup((__le16 *)(data + 12))); in xpad_process_packet()
653 ~(__s16) le16_to_cpup((__le16 *)(data + 14))); in xpad_process_packet()
657 (__s16) le16_to_cpup((__le16 *)(data + 16))); in xpad_process_packet()
659 ~(__s16) le16_to_cpup((__le16 *)(data + 18))); in xpad_process_packet()
764 (__s16) le16_to_cpup((__le16 *)(data + 6))); in xpad360_process_packet()
766 ~(__s16) le16_to_cpup((__le16 *)(data + 8))); in xpad360_process_packet()
770 (__s16) le16_to_cpup((__le16 *)(data + 10))); in xpad360_process_packet()
772 ~(__s16) le16_to_cpup((__le16 *)(data + 12))); in xpad360_process_packet()
918 (__s16) le16_to_cpup((__le16 *)(data + 10))); in xpadone_process_packet()
920 ~(__s16) le16_to_cpup((__le16 *)(data + 12))); in xpadone_process_packet()
[all …]
Dmaplecontrol.c35 buttons = ~le16_to_cpup((__le16 *)(res + 8)); in dc_pad_callback()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dwacom_i2c.c106 x = le16_to_cpup((__le16 *)&data[4]); in wacom_i2c_irq()
107 y = le16_to_cpup((__le16 *)&data[6]); in wacom_i2c_irq()
108 pressure = le16_to_cpup((__le16 *)&data[8]); in wacom_i2c_irq()
Dhideep.c708 le16_to_cpup(&event->x)); in hideep_report_slot()
710 le16_to_cpup(&event->y)); in hideep_report_slot()
712 le16_to_cpup(&event->z)); in hideep_report_slot()
777 ts->prop.max_x = le16_to_cpup(val); in hideep_get_axis_info()
778 ts->prop.max_y = le16_to_cpup(val + 1); in hideep_get_axis_info()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Dpnvm.c91 mac_type = le16_to_cpup((__le16 *)data); in iwl_pnvm_handle_section()
92 rf_id = le16_to_cpup((__le16 *)(data + sizeof(__le16))); in iwl_pnvm_handle_section()
/kernel/linux/linux-5.10/include/linux/unaligned/
Daccess_ok.h10 return le16_to_cpup((__le16 *)p); in get_unaligned_le16()
/kernel/linux/linux-5.10/fs/ntfs/
Dcompress.c195 if (cb == cb_end || !le16_to_cpup((le16*)cb) || in ntfs_decompress()
245 cb_sb_end = cb_sb_start + (le16_to_cpup((le16*)cb) & NTFS_SB_SIZE_MASK) in ntfs_decompress()
267 if (!(le16_to_cpup((le16*)cb) & NTFS_SB_IS_COMPRESSED)) { in ntfs_decompress()
372 pt = le16_to_cpup((le16*)cb); in ntfs_decompress()
Dmst.c135 usn = le16_to_cpup(usa_pos) + 1; in pre_write_mst_fixup()
/kernel/linux/linux-5.10/lib/
Dsiphash.c71 case 2: b |= le16_to_cpup(data); break; in __siphash_aligned()
271 case 2: b |= le16_to_cpup(data); break; in __hsiphash_aligned()
424 case 2: b |= le16_to_cpup(data); break; in __hsiphash_aligned()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-phy-db.c215 chg_id = le16_to_cpup((__le16 *)phy_db_notif->data); in iwl_phy_db_set_section()
229 chg_id = le16_to_cpup((__le16 *)phy_db_notif->data); in iwl_phy_db_set_section()
Diwl-nvm-parse.c817 return le16_to_cpup(nvm_sw + SKU); in iwl_get_sku()
825 return le16_to_cpup(nvm_sw + NVM_VERSION); in iwl_get_nvm_version()
835 return le16_to_cpup(nvm_sw + RADIO_CFG); in iwl_get_radio_cfg()
846 return le16_to_cpup(nvm_sw + N_HW_ADDRS); in iwl_get_n_hw_addrs()
1095 lar_config = le16_to_cpup(regulatory + lar_offset); in iwl_parse_nvm_data()
Diwl-eeprom-parse.c207 return le16_to_cpup((__le16 *)(eeprom + offset)); in iwl_eeprom_query16()
427 entries = le16_to_cpup(txp_len) * 2 / EEPROM_TXP_ENTRY_LEN; in iwl_eeprom_enhanced_txpower()
/kernel/linux/linux-5.10/include/linux/byteorder/
Dgeneric.h103 #define le16_to_cpup __le16_to_cpup macro
/kernel/linux/linux-5.10/drivers/input/tablet/
Dpegasus_notetaker.c153 x = le16_to_cpup((__le16 *)&data[2]); in pegasus_parse_packet()
154 y = le16_to_cpup((__le16 *)&data[4]); in pegasus_parse_packet()
/kernel/linux/linux-5.10/drivers/net/can/softing/
Dsofting_fw.c117 *ptype = le16_to_cpup((void *)&mem[0]); in fw_parse()
119 *plen = le16_to_cpup((void *)&mem[6]); in fw_parse()
123 checksum[0] = le16_to_cpup((void *)end); in fw_parse()
/kernel/linux/linux-5.10/drivers/net/usb/
Dnet1080.c359 hdr_len = le16_to_cpup(&header->hdr_len); in net1080_rx_fixup()
360 packet_len = le16_to_cpup(&header->packet_len); in net1080_rx_fixup()
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_video.c275 ctrl->wCompQuality = le16_to_cpup((__le16 *)data); in uvc_get_video_ctrl()
296 ctrl->bmHint = le16_to_cpup((__le16 *)&data[0]); in uvc_get_video_ctrl()
300 ctrl->wKeyFrameRate = le16_to_cpup((__le16 *)&data[8]); in uvc_get_video_ctrl()
301 ctrl->wPFrameRate = le16_to_cpup((__le16 *)&data[10]); in uvc_get_video_ctrl()
302 ctrl->wCompQuality = le16_to_cpup((__le16 *)&data[12]); in uvc_get_video_ctrl()
303 ctrl->wCompWindowSize = le16_to_cpup((__le16 *)&data[14]); in uvc_get_video_ctrl()
304 ctrl->wDelay = le16_to_cpup((__le16 *)&data[16]); in uvc_get_video_ctrl()
/kernel/linux/linux-5.10/drivers/hid/
Dwacom_wac.c214 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); in wacom_ptu_irq()
215 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); in wacom_ptu_irq()
216 input_report_abs(input, ABS_PRESSURE, le16_to_cpup((__le16 *)&data[6])); in wacom_ptu_irq()
241 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); in wacom_dtu_irq()
242 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); in wacom_dtu_irq()
352 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); in wacom_graphire_irq()
353 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); in wacom_graphire_irq()
1665 int x = le16_to_cpup((__le16 *)&data[i * 2 + 2]) & 0x7fff; in wacom_tpc_mt_touch()
1666 int y = le16_to_cpup((__le16 *)&data[i * 2 + 6]) & 0x7fff; in wacom_tpc_mt_touch()
1700 x = le16_to_cpup((__le16 *)&data[2]); in wacom_tpc_single_touch()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
Dscan.c202 atom_len = le16_to_cpup((__le16 *)buf); in orinoco_add_hostscan_results()
/kernel/linux/linux-5.10/drivers/media/rc/
Dxbox_remote.c111 le16_to_cpup((__le16 *)(data + 2)), 0); in xbox_remote_input_report()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
Deeprom.c375 freq = le16_to_cpup((__le16 *) data); in p54_generate_channel_lists()
384 freq = le16_to_cpup((__le16 *) (i * in p54_generate_channel_lists()
865 if (crc16 != le16_to_cpup((__le16 *)entry->data)) { in p54_parse_eeprom()
/kernel/linux/linux-5.10/net/mac802154/
Drx.c145 pr_debug("fc: %04x dsn: %02x\n", le16_to_cpup((__le16 *)&hdr->fc), in ieee802154_parse_frame_start()
/kernel/linux/linux-5.10/drivers/iio/light/
Dtsl2583.c216 ch0 = le16_to_cpup((const __le16 *)&buf[0]); in tsl2583_get_lux()
217 ch1 = le16_to_cpup((const __le16 *)&buf[2]); in tsl2583_get_lux()
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dbh.c86 piggyback = le16_to_cpup((__le16 *)(skb->data + alloc_len - 2)); in rx_helper()

123