Searched refs:le16_to_cpup (Results 1 - 46 of 46) sorted by relevance

/linux-4.1.27/include/linux/unaligned/
H A Daccess_ok.h9 return le16_to_cpup((__le16 *)p); get_unaligned_le16()
/linux-4.1.27/drivers/input/mouse/
H A Delan_i2c_i2c.c191 reg = le16_to_cpup((__le16 *)val); elan_i2c_power_control()
237 *value = le16_to_cpup((__le16 *)val); elan_i2c_get_baseline_data()
308 *csum = le16_to_cpup((__le16 *)val); elan_i2c_get_checksum()
324 *max_x = le16_to_cpup((__le16 *)val) & 0x0fff; elan_i2c_get_max()
332 *max_y = le16_to_cpup((__le16 *)val) & 0x0fff; elan_i2c_get_max()
409 constant = le16_to_cpup((__le16 *)val); elan_i2c_iap_get_mode()
501 password = le16_to_cpup((__le16 *)val); elan_i2c_prepare_fw_update()
541 result = le16_to_cpup((__le16 *)val); elan_i2c_write_fw_block()
/linux-4.1.27/drivers/input/joystick/
H A Dxpad.c366 (__s16) le16_to_cpup((__le16 *)(data + 12))); xpad_process_packet()
368 ~(__s16) le16_to_cpup((__le16 *)(data + 14))); xpad_process_packet()
372 (__s16) le16_to_cpup((__le16 *)(data + 16))); xpad_process_packet()
374 ~(__s16) le16_to_cpup((__le16 *)(data + 18))); xpad_process_packet()
468 (__s16) le16_to_cpup((__le16 *)(data + 6))); xpad360_process_packet()
470 ~(__s16) le16_to_cpup((__le16 *)(data + 8))); xpad360_process_packet()
474 (__s16) le16_to_cpup((__le16 *)(data + 10))); xpad360_process_packet()
476 ~(__s16) le16_to_cpup((__le16 *)(data + 12))); xpad360_process_packet()
568 (__s16) le16_to_cpup((__le16 *)(data + 10))); xpadone_process_buttons()
570 ~(__s16) le16_to_cpup((__le16 *)(data + 12))); xpadone_process_buttons()
574 (__s16) le16_to_cpup((__le16 *)(data + 14))); xpadone_process_buttons()
576 ~(__s16) le16_to_cpup((__le16 *)(data + 16))); xpadone_process_buttons()
582 (__u16) le16_to_cpup((__le16 *)(data + 6))); xpadone_process_buttons()
584 (__u16) le16_to_cpup((__le16 *)(data + 8))); xpadone_process_buttons()
587 (__u16) le16_to_cpup((__le16 *)(data + 6))); xpadone_process_buttons()
589 (__u16) le16_to_cpup((__le16 *)(data + 8))); xpadone_process_buttons()
H A Dmaplecontrol.c34 buttons = ~le16_to_cpup((__le16 *)(res + 8)); dc_pad_callback()
/linux-4.1.27/drivers/input/touchscreen/
H A Dwacom_i2c.c112 x = le16_to_cpup((__le16 *)&data[4]); wacom_i2c_irq()
113 y = le16_to_cpup((__le16 *)&data[6]); wacom_i2c_irq()
114 pressure = le16_to_cpup((__le16 *)&data[8]); wacom_i2c_irq()
/linux-4.1.27/drivers/net/wireless/iwlwifi/
H A Diwl-nvm-parse.c454 return le16_to_cpup(nvm_sw + SKU); iwl_get_sku()
462 return le16_to_cpup(nvm_sw + NVM_VERSION); iwl_get_nvm_version()
472 return le16_to_cpup(nvm_sw + RADIO_CFG); iwl_get_radio_cfg()
483 return le16_to_cpup(nvm_sw + N_HW_ADDRS); iwl_get_n_hw_addrs()
653 lar_config = le16_to_cpup(regulatory + lar_offset); iwl_parse_nvm_data()
H A Diwl-eeprom-parse.c210 return le16_to_cpup((__le16 *)(eeprom + offset)); iwl_eeprom_query16()
430 entries = le16_to_cpup(txp_len) * 2 / EEPROM_TXP_ENTRY_LEN; iwl_eeprom_enhanced_txpower()
H A Diwl-phy-db.c229 chg_id = le16_to_cpup((__le16 *)phy_db_notif->data); iwl_phy_db_set_section()
/linux-4.1.27/drivers/net/wireless/orinoco/
H A Dscan.c202 atom_len = le16_to_cpup((__le16 *)buf); orinoco_add_hostscan_results()
/linux-4.1.27/drivers/hid/
H A Dwacom_wac.c207 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); wacom_ptu_irq()
208 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); wacom_ptu_irq()
209 input_report_abs(input, ABS_PRESSURE, le16_to_cpup((__le16 *)&data[6])); wacom_ptu_irq()
234 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); wacom_dtu_irq()
235 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); wacom_dtu_irq()
345 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); wacom_graphire_irq()
346 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); wacom_graphire_irq()
1225 int x = le16_to_cpup((__le16 *)&data[i * 2 + 2]) & 0x7fff; wacom_tpc_mt_touch()
1226 int y = le16_to_cpup((__le16 *)&data[i * 2 + 6]) & 0x7fff; wacom_tpc_mt_touch()
1260 x = le16_to_cpup((__le16 *)&data[2]); wacom_tpc_single_touch()
1261 y = le16_to_cpup((__le16 *)&data[4]); wacom_tpc_single_touch()
1293 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); wacom_tpc_pen()
1294 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); wacom_tpc_pen()
1801 x = le16_to_cpup((__le16 *)&data[2]); wacom_bpt_pen()
1802 y = le16_to_cpup((__le16 *)&data[4]); wacom_bpt_pen()
1803 p = le16_to_cpup((__le16 *)&data[6]); wacom_bpt_pen()
H A Dhid-cp2112.c678 data->word = le16_to_cpup((__le16 *)buf); cp2112_xfer()
/linux-4.1.27/drivers/net/can/softing/
H A Dsofting_fw.c128 *ptype = le16_to_cpup((void *)&mem[0]); fw_parse()
130 *plen = le16_to_cpup((void *)&mem[6]); fw_parse()
134 checksum[0] = le16_to_cpup((void *)end); fw_parse()
H A Dsofting_main.c281 msg.can_id |= le16_to_cpup((void *)ptr); softing_handle_1()
/linux-4.1.27/drivers/net/wireless/p54/
H A Deeprom.c376 freq = le16_to_cpup((__le16 *) data); p54_generate_channel_lists()
385 freq = le16_to_cpup((__le16 *) (i * p54_generate_channel_lists()
866 if (crc16 != le16_to_cpup((__le16 *)entry->data)) { p54_parse_eeprom()
/linux-4.1.27/drivers/net/usb/
H A Dnet1080.c381 hdr_len = le16_to_cpup(&header->hdr_len); net1080_rx_fixup()
382 packet_len = le16_to_cpup(&header->packet_len); net1080_rx_fixup()
H A Dcatc.c244 pkt_len = le16_to_cpup((__le16*)pkt_start); catc_rx_done()
H A Dkaweth.c603 __u16 pkt_len = le16_to_cpup((__le16 *)kaweth->rx_buf); kaweth_usb_receive()
/linux-4.1.27/fs/ntfs/
H A Dcompress.c215 if (cb == cb_end || !le16_to_cpup((le16*)cb) || ntfs_decompress()
265 cb_sb_end = cb_sb_start + (le16_to_cpup((le16*)cb) & NTFS_SB_SIZE_MASK) ntfs_decompress()
287 if (!(le16_to_cpup((le16*)cb) & NTFS_SB_IS_COMPRESSED)) { ntfs_decompress()
392 pt = le16_to_cpup((le16*)cb); ntfs_decompress()
H A Dmst.c149 usn = le16_to_cpup(usa_pos) + 1; pre_write_mst_fixup()
/linux-4.1.27/drivers/w1/slaves/
H A Dw1_therm.c171 s16 t = le16_to_cpup((__le16 *)rom); w1_DS18B20_convert_temp()
/linux-4.1.27/net/mac802154/
H A Drx.c149 pr_debug("fc: %04x dsn: %02x\n", le16_to_cpup((__le16 *)&hdr->fc), ieee802154_parse_frame_start()
/linux-4.1.27/include/linux/byteorder/
H A Dgeneric.h102 #define le16_to_cpup __le16_to_cpup macro
/linux-4.1.27/drivers/media/usb/uvc/
H A Duvc_video.c187 ctrl->wCompQuality = le16_to_cpup((__le16 *)data); uvc_get_video_ctrl()
208 ctrl->bmHint = le16_to_cpup((__le16 *)&data[0]); uvc_get_video_ctrl()
212 ctrl->wKeyFrameRate = le16_to_cpup((__le16 *)&data[8]); uvc_get_video_ctrl()
213 ctrl->wPFrameRate = le16_to_cpup((__le16 *)&data[10]); uvc_get_video_ctrl()
214 ctrl->wCompQuality = le16_to_cpup((__le16 *)&data[12]); uvc_get_video_ctrl()
215 ctrl->wCompWindowSize = le16_to_cpup((__le16 *)&data[14]); uvc_get_video_ctrl()
216 ctrl->wDelay = le16_to_cpup((__le16 *)&data[16]); uvc_get_video_ctrl()
H A Duvc_ctrl.c1659 info->size = le16_to_cpup((__le16 *)data); uvc_ctrl_fill_xu_info()
/linux-4.1.27/drivers/staging/rtl8188eu/core/
H A Drtw_efuse.c266 aaabak = le16_to_cpup((__le16 *)lenc); efuse_read_phymap_from_txpktbuf()
268 aaa = le16_to_cpup((__le16 *)&lo32); efuse_read_phymap_from_txpktbuf()
/linux-4.1.27/drivers/block/
H A Dnvme-core.c278 cqe->command_id, le16_to_cpup(&cqe->sq_id)); special_completion()
284 cqe->command_id, le16_to_cpup(&cqe->sq_id)); special_completion()
306 u16 status = le16_to_cpup(&cqe->status) >> 1; async_req_completion()
320 u16 status = le16_to_cpup(&cqe->status) >> 1; abort_completion()
334 cmdinfo->status = le16_to_cpup(&cqe->status) >> 1; async_completion()
595 u16 status = le16_to_cpup(&cqe->status) >> 1; req_completion()
989 cmdinfo->status = le16_to_cpup(&cqe->status) >> 1; sync_completion()
2310 dev->oncs = le16_to_cpup(&ctrl->oncs); nvme_dev_add()
/linux-4.1.27/arch/mips/txx9/rbtx4939/
H A Dsetup.c480 buf[j] = le16_to_cpup((u16 *)(area + j * 2)); rbtx4939_device_init()
/linux-4.1.27/arch/parisc/lib/
H A Diomap.c282 return le16_to_cpup((u16 *)addr); ioread16()
/linux-4.1.27/drivers/iio/light/
H A Dgp2ap020a00f.c715 *val = le16_to_cpup((__le16 *)reg_buf); gp2ap020a00f_read_output()
906 output_val = le16_to_cpup((__le16 *)d0_reg_buf); gp2ap020a00f_thresh_event_handler()
982 out_val = le16_to_cpup((__le16 *)&priv->buffer[d_size]); gp2ap020a00f_trigger_handler()
/linux-4.1.27/drivers/staging/iio/light/
H A Dtsl2x7x_core.c395 ch0 = le16_to_cpup((const __le16 *)&buf[0]); tsl2x7x_get_lux()
396 ch1 = le16_to_cpup((const __le16 *)&buf[2]); tsl2x7x_get_lux()
525 le16_to_cpup((const __le16 *)&chdata[0]); tsl2x7x_get_prox()
H A Dtsl2583.c257 ch0 = le16_to_cpup((const __le16 *)&buf[0]); taos_get_lux()
258 ch1 = le16_to_cpup((const __le16 *)&buf[2]); taos_get_lux()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dnic.c503 val = le16_to_cpup((__le16 *)addr); for_each_set_bit()
H A Drx.c661 rx_buf->len = le16_to_cpup((__le16 *) __efx_rx_packet()
/linux-4.1.27/drivers/usb/core/
H A Ddevio.c1336 if (uurb->buffer_length < (le16_to_cpup(&dr->wLength) + 8)) { proc_do_submiturb()
1341 le16_to_cpup(&dr->wIndex)); proc_do_submiturb()
1344 uurb->buffer_length = le16_to_cpup(&dr->wLength); proc_do_submiturb()
/linux-4.1.27/drivers/mmc/core/
H A Dsdio_io.c531 return le16_to_cpup((__le16 *)func->tmpbuf); sdio_readw()
/linux-4.1.27/drivers/spi/
H A Dspi-dln2.c404 *d++ = le16_to_cpup(s++); dln2_spi_copy_from_buf()
/linux-4.1.27/drivers/usb/host/
H A Dohci.h631 le16_to_cpup((__force __le16 *)x); hc16_to_cpup()
/linux-4.1.27/drivers/ide/
H A Dide-cd.c1148 curspeed = le16_to_cpup((__le16 *)&buf[8 + 14]); ide_cdrom_update_speed()
1149 maxspeed = le16_to_cpup((__le16 *)&buf[8 + 8]); ide_cdrom_update_speed()
/linux-4.1.27/drivers/crypto/ccp/
H A Dccp-ops.c1886 ecc->ecc_result = le16_to_cpup( ccp_run_ecc_mm_cmd()
2035 ecc->ecc_result = le16_to_cpup( ccp_run_ecc_pm_cmd()
/linux-4.1.27/net/wireless/
H A Dtrace.h2168 le16_to_cpup((__le16 *)__get_dynamic_array(frame)))
2194 le16_to_cpup((__le16 *)__get_dynamic_array(frame)))
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dif_spi.c264 *val = le16_to_cpup(&buf); spu_read_u16()
/linux-4.1.27/drivers/usb/gadget/
H A Dconfigfs.c141 return sprintf(page, "0x%04x\n", le16_to_cpup(&gi->cdev.desc.__name)); \
/linux-4.1.27/drivers/media/usb/ttusb-budget/
H A Ddvb-ttusb-budget.c572 csum ^= le16_to_cpup((__le16 *) (muxpack + i)); ttusb_process_muxpack()
/linux-4.1.27/drivers/net/ethernet/dec/tulip/
H A Ddmfe.c1936 db->NIC_capability = le16_to_cpup((__le16 *) (srom + 34)); dmfe_parse_srom()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dd3.c731 err = le16_to_cpup((__le16 *)cmd.resp_pkt->data); iwl_mvm_get_last_nonqos_seq()
/linux-4.1.27/drivers/usb/misc/
H A Dusbtest.c311 return le16_to_cpup(&ep->desc.wMaxPacketSize); get_maxpacket()

Completed in 1443 milliseconds