Home
last modified time | relevance | path

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

123

/linux/drivers/input/mouse/
A 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()
/linux/drivers/input/joystick/
A Dxpad.c636 (__s16) le16_to_cpup((__le16 *)(data + 12))); in xpad_process_packet()
642 (__s16) le16_to_cpup((__le16 *)(data + 16))); in xpad_process_packet()
749 (__s16) le16_to_cpup((__le16 *)(data + 6))); in xpad360_process_packet()
751 ~(__s16) le16_to_cpup((__le16 *)(data + 8))); in xpad360_process_packet()
755 (__s16) le16_to_cpup((__le16 *)(data + 10))); in xpad360_process_packet()
905 (__s16) le16_to_cpup((__le16 *)(data + 10))); in xpadone_process_packet()
911 (__s16) le16_to_cpup((__le16 *)(data + 14))); in xpadone_process_packet()
919 (__u16) le16_to_cpup((__le16 *)(data + 6))); in xpadone_process_packet()
921 (__u16) le16_to_cpup((__le16 *)(data + 8))); in xpadone_process_packet()
924 (__u16) le16_to_cpup((__le16 *)(data + 6))); in xpadone_process_packet()
[all …]
A Dmaplecontrol.c35 buttons = ~le16_to_cpup((__le16 *)(res + 8)); in dc_pad_callback()
/linux/drivers/input/touchscreen/
A Dwacom_i2c.c116 x = le16_to_cpup((__le16 *)&data[4]); in wacom_i2c_irq()
117 y = le16_to_cpup((__le16 *)&data[6]); in wacom_i2c_irq()
118 pressure = le16_to_cpup((__le16 *)&data[8]); in wacom_i2c_irq()
A 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()
/linux/fs/ntfs/
A 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()
A Dmst.c135 usn = le16_to_cpup(usa_pos) + 1; in pre_write_mst_fixup()
/linux/drivers/net/wireless/intel/iwlwifi/fw/
A Dpnvm.c90 mac_type = le16_to_cpup((__le16 *)data); in iwl_pnvm_handle_section()
91 rf_id = le16_to_cpup((__le16 *)(data + sizeof(__le16))); in iwl_pnvm_handle_section()
/linux/lib/
A Dsiphash.c77 case 2: b |= le16_to_cpup(data); break; in __siphash_aligned()
277 case 2: b |= le16_to_cpup(data); break; in __hsiphash_aligned()
436 case 2: b |= le16_to_cpup(data); break; in __hsiphash_aligned()
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-phy-db.c171 chg_id = le16_to_cpup((__le16 *)phy_db_notif->data); in iwl_phy_db_set_section()
185 chg_id = le16_to_cpup((__le16 *)phy_db_notif->data); in iwl_phy_db_set_section()
A Diwl-nvm-parse.c910 return le16_to_cpup(nvm_sw + SKU); in iwl_get_sku()
918 return le16_to_cpup(nvm_sw + NVM_VERSION); in iwl_get_nvm_version()
928 return le16_to_cpup(nvm_sw + RADIO_CFG); in iwl_get_radio_cfg()
939 return le16_to_cpup(nvm_sw + N_HW_ADDRS); in iwl_get_n_hw_addrs()
1190 lar_config = le16_to_cpup(regulatory + lar_offset); in iwl_parse_nvm_data()
A Diwl-eeprom-parse.c152 return le16_to_cpup((__le16 *)(eeprom + offset)); in iwl_eeprom_query16()
372 entries = le16_to_cpup(txp_len) * 2 / EEPROM_TXP_ENTRY_LEN; in iwl_eeprom_enhanced_txpower()
/linux/drivers/input/tablet/
A 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()
/linux/arch/um/drivers/
A Dvirt-pci.c215 ret = le16_to_cpup((void *)data); in um_pci_cfgspace_read()
332 ret = le16_to_cpup((void *)data); in um_pci_bar_read()
491 generic_handle_irq(le16_to_cpup((void *)msg->data)); in um_pci_handle_irq_message()
/linux/drivers/net/can/softing/
A 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()
/linux/include/linux/byteorder/
A Dgeneric.h103 #define le16_to_cpup __le16_to_cpup macro
/linux/drivers/net/usb/
A 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()
/linux/drivers/media/usb/uvc/
A Duvc_video.c278 ctrl->wCompQuality = le16_to_cpup((__le16 *)data); in uvc_get_video_ctrl()
299 ctrl->bmHint = le16_to_cpup((__le16 *)&data[0]); in uvc_get_video_ctrl()
303 ctrl->wKeyFrameRate = le16_to_cpup((__le16 *)&data[8]); in uvc_get_video_ctrl()
304 ctrl->wPFrameRate = le16_to_cpup((__le16 *)&data[10]); in uvc_get_video_ctrl()
305 ctrl->wCompQuality = le16_to_cpup((__le16 *)&data[12]); in uvc_get_video_ctrl()
306 ctrl->wCompWindowSize = le16_to_cpup((__le16 *)&data[14]); in uvc_get_video_ctrl()
307 ctrl->wDelay = le16_to_cpup((__le16 *)&data[16]); in uvc_get_video_ctrl()
/linux/drivers/hid/
A 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()
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()
1659 int x = le16_to_cpup((__le16 *)&data[i * 2 + 2]) & 0x7fff; in wacom_tpc_mt_touch()
1660 int y = le16_to_cpup((__le16 *)&data[i * 2 + 6]) & 0x7fff; in wacom_tpc_mt_touch()
1694 x = le16_to_cpup((__le16 *)&data[2]); in wacom_tpc_single_touch()
1695 y = le16_to_cpup((__le16 *)&data[4]); in wacom_tpc_single_touch()
3033 p = le16_to_cpup((__le16 *)&data[6]); in wacom_bpt_pen()
3039 x = le16_to_cpup((__le16 *)&data[2]); in wacom_bpt_pen()
[all …]
/linux/drivers/net/wireless/intersil/p54/
A 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()
/linux/drivers/net/wireless/intersil/orinoco/
A Dscan.c202 atom_len = le16_to_cpup((__le16 *)buf); in orinoco_add_hostscan_results()
/linux/drivers/media/rc/
A Dxbox_remote.c111 le16_to_cpup((__le16 *)(data + 2)), 0); in xbox_remote_input_report()
/linux/net/mac802154/
A Drx.c145 pr_debug("fc: %04x dsn: %02x\n", le16_to_cpup((__le16 *)&hdr->fc), in ieee802154_parse_frame_start()
/linux/drivers/iio/light/
A 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()
A Dgp2ap020a00f.c712 *val = le16_to_cpup((__le16 *)reg_buf); in gp2ap020a00f_read_output()
903 output_val = le16_to_cpup((__le16 *)d0_reg_buf); in gp2ap020a00f_thresh_event_handler()
979 out_val = le16_to_cpup((__le16 *)&priv->buffer[d_size]); in gp2ap020a00f_trigger_handler()

Completed in 73 milliseconds

123