/linux-4.1.27/include/linux/unaligned/ |
H A D | access_ok.h | 24 return be16_to_cpup((__be16 *)p); get_unaligned_be16()
|
/linux-4.1.27/net/mac80211/ |
H A D | aes_ccm.c | 36 sg_init_one(&assoc, &aad[2], be16_to_cpup((__be16 *)aad)); ieee80211_aes_ccm_encrypt() 64 sg_init_one(&assoc, &aad[2], be16_to_cpup((__be16 *)aad)); ieee80211_aes_ccm_decrypt()
|
H A D | aes_gcm.c | 32 sg_init_one(&assoc, &aad[2], be16_to_cpup((__be16 *)aad)); ieee80211_aes_gcm_encrypt() 59 sg_init_one(&assoc, &aad[2], be16_to_cpup((__be16 *)aad)); ieee80211_aes_gcm_decrypt()
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | ipaq-micro-ts.c | 36 be16_to_cpup((__be16 *) &msg[2])); micro_ts_receive() 38 be16_to_cpup((__be16 *) &msg[0])); micro_ts_receive()
|
H A D | ads7846.c | 675 return be16_to_cpup((__be16 *)&(((char*)t->rx_buf)[1])) >> 3; ads7846_get_value() 681 return be16_to_cpup((__be16 *)t->rx_buf) >> 3; ads7846_get_value()
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | vphn.c | 41 u16 new = be16_to_cpup(field++); vphn_unpack_associativity()
|
/linux-4.1.27/tools/testing/selftests/powerpc/vphn/ |
H A D | vphn.c | 41 u16 new = be16_to_cpup(field++); vphn_unpack_associativity()
|
H A D | test-vphn.c | 9 #define be16_to_cpup(x) bswap_16(*x) macro 14 #define be16_to_cpup(x) (*x) macro
|
/linux-4.1.27/drivers/input/mouse/ |
H A D | elan_i2c_smbus.c | 143 *value = be16_to_cpup((__be16 *)val); elan_smbus_get_baseline_data() 216 *csum = be16_to_cpup((__be16 *)val); elan_smbus_get_checksum() 298 constant = be16_to_cpup((__be16 *)val); elan_smbus_iap_get_mode() 385 password = be16_to_cpup((__be16 *)val); elan_smbus_prepare_fw_update() 453 result = be16_to_cpup((__be16 *)val); elan_smbus_write_fw_block()
|
H A D | synaptics_usb.c | 110 x = (s16)(be16_to_cpup((__be16 *)&synusb->data[2]) << 3) >> 7; synusb_report_stick() 111 y = (s16)(be16_to_cpup((__be16 *)&synusb->data[4]) << 3) >> 7; synusb_report_stick() 133 x = be16_to_cpup((__be16 *)&synusb->data[2]); synusb_report_touchpad() 134 y = be16_to_cpup((__be16 *)&synusb->data[4]); synusb_report_touchpad()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-floppy.c | 335 transfer_rate = be16_to_cpup((__be16 *)&buf[8 + 2]); ide_floppy_get_flexible_disk_page() 336 sector_size = be16_to_cpup((__be16 *)&buf[8 + 6]); ide_floppy_get_flexible_disk_page() 337 cyls = be16_to_cpup((__be16 *)&buf[8 + 8]); ide_floppy_get_flexible_disk_page() 338 rpm = be16_to_cpup((__be16 *)&buf[8 + 28]); ide_floppy_get_flexible_disk_page() 402 length = be16_to_cpup((__be16 *)&pc_buf[desc_start + 6]); ide_floppy_get_capacity()
|
H A D | ide-floppy_ioctl.c | 76 length = be16_to_cpup((__be16 *)&pc_buf[desc_start + 6]); ide_floppy_get_format_capacities()
|
H A D | ide-cd.c | 1151 curspeed = be16_to_cpup((__be16 *)&buf[8 + 14]); ide_cdrom_update_speed() 1152 maxspeed = be16_to_cpup((__be16 *)&buf[8 + 8]); ide_cdrom_update_speed() 1304 be16_to_cpup((__be16 *)&buf[8 + 12])); ide_cdrom_probe_capabilities()
|
H A D | ide-tape.c | 1650 speed = be16_to_cpup((__be16 *)&caps[14]); idetape_get_mode_sense_results() 1651 max_speed = be16_to_cpup((__be16 *)&caps[8]); idetape_get_mode_sense_results() 1654 *(u16 *)&caps[12] = be16_to_cpup((__be16 *)&caps[12]); idetape_get_mode_sense_results() 1656 *(u16 *)&caps[16] = be16_to_cpup((__be16 *)&caps[16]); idetape_get_mode_sense_results()
|
/linux-4.1.27/drivers/macintosh/ |
H A D | windfarm_ad7417_sensor.c | 57 raw = be16_to_cpup((__le16 *)buf); wf_ad7417_temp_get() 133 raw = be16_to_cpup((__le16 *)buf) >> 6; wf_ad7417_adc_get()
|
/linux-4.1.27/drivers/hwmon/ |
H A D | shtc1.c | 117 val = be16_to_cpup((__be16 *)buf); shtc1_update_client() 119 val = be16_to_cpup((__be16 *)(buf + 3)); shtc1_update_client()
|
H A D | ibmpex.c | 45 return be16_to_cpup((__be16 *)&data[offset]); extract_value()
|
H A D | ibmaem.c | 419 *x = be16_to_cpup((__be16 *)rs_resp->bytes); aem_read_sensor()
|
/linux-4.1.27/drivers/media/platform/coda/ |
H A D | coda-jpeg.c | 184 u16 soi = be16_to_cpup((__be16 *)vaddr); coda_jpeg_check_buffer() 185 u16 eoi = be16_to_cpup((__be16 *)(vaddr + coda_jpeg_check_buffer()
|
/linux-4.1.27/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_ring.c | 151 fifo_count = be16_to_cpup((__be16 *)(&data[0])); inv_mpu6050_read_fifo()
|
H A D | inv_mpu_core.c | 297 *val = (short)be16_to_cpup(&d); inv_mpu6050_sensor_show()
|
/linux-4.1.27/drivers/staging/gdm72xx/ |
H A D | gdm_wimax.c | 567 cmd_evt = be16_to_cpup((const __be16 *)&buf[0]); gdm_wimax_get_prepared_info() 568 cmd_len = be16_to_cpup((const __be16 *)&buf[2]); gdm_wimax_get_prepared_info() 667 cmd_evt = be16_to_cpup((const __be16 *)&buf[0]); gdm_wimax_transmit_pkt() 668 cmd_len = be16_to_cpup((const __be16 *)&buf[2]); gdm_wimax_transmit_pkt()
|
/linux-4.1.27/drivers/input/tablet/ |
H A D | hanwang.c | 199 be16_to_cpup((__be16 *)&data[2])); hanwang_parse_packet() 201 be16_to_cpup((__be16 *)&data[4])); hanwang_parse_packet()
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 124 props->vendor_part_id = be16_to_cpup((__be16 *)(out_mad->data + 30)); mlx5_ib_query_device() 151 props->max_pkeys = be16_to_cpup((__be16 *)(out_mad->data + 28)); mlx5_ib_query_device() 205 props->lid = be16_to_cpup((__be16 *)(out_mad->data + 16)); mlx5_ib_query_port() 207 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); mlx5_ib_query_port() 215 props->bad_pkey_cntr = be16_to_cpup((__be16 *)(out_mad->data + 46)); mlx5_ib_query_port() 216 props->qkey_viol_cntr = be16_to_cpup((__be16 *)(out_mad->data + 48)); mlx5_ib_query_port()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.c | 88 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); mthca_query_device() 156 props->lid = be16_to_cpup((__be16 *) (out_mad->data + 16)); mthca_query_port() 158 props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18)); mthca_query_port() 166 props->bad_pkey_cntr = be16_to_cpup((__be16 *) (out_mad->data + 46)); mthca_query_port() 167 props->qkey_viol_cntr = be16_to_cpup((__be16 *) (out_mad->data + 48)); mthca_query_port()
|
H A D | mthca_dev.h | 393 case 2: (dest) = be16_to_cpup(__p); break; \
|
H A D | mthca_cmd.c | 1251 if (be16_to_cpup(vsd + VSD_OFFSET_SIG1) == VSD_SIGNATURE_TOPSPIN && get_board_id() 1252 be16_to_cpup(vsd + VSD_OFFSET_SIG2) == VSD_SIGNATURE_TOPSPIN) { get_board_id()
|
/linux-4.1.27/drivers/net/ethernet/ |
H A D | dnet.c | 66 tmp = be16_to_cpup((__be16 *)bp->dev->dev_addr); __dnet_set_hwaddr() 68 tmp = be16_to_cpup((__be16 *)(bp->dev->dev_addr + 2)); __dnet_set_hwaddr() 70 tmp = be16_to_cpup((__be16 *)(bp->dev->dev_addr + 4)); __dnet_set_hwaddr()
|
/linux-4.1.27/drivers/iio/adc/ |
H A D | ad7476.c | 94 return be16_to_cpup((__be16 *)st->data); ad7476_scan_direct()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | packer.c | 43 case 2: return be16_to_cpup((__be16 *) (structure + offset)); value_read()
|
H A D | sysfs.c | 367 be16_to_cpup((__be16 *)(out_mad->data + 40 + offset / 8))); show_pma_counter()
|
/linux-4.1.27/drivers/staging/iio/accel/ |
H A D | sca3000_ring.c | 120 *(((u16 *)rx) + i) = be16_to_cpup((__be16 *)rx + i); sca3000_read_first_n_hw_rb()
|
H A D | sca3000_core.c | 473 *val = (be16_to_cpup((__be16 *)st->rx) >> 3) & 0x1FFF; sca3000_read_raw()
|
/linux-4.1.27/drivers/staging/iio/meter/ |
H A D | ade7854-spi.c | 192 *val = be16_to_cpup((const __be16 *)st->rx); ade7854_spi_read_reg_16()
|
/linux-4.1.27/include/linux/byteorder/ |
H A D | generic.h | 108 #define be16_to_cpup __be16_to_cpup macro
|
/linux-4.1.27/drivers/staging/iio/resolver/ |
H A D | ad2s1210.c | 500 pos = be16_to_cpup((__be16 *) st->rx); ad2s1210_read_raw() 508 vel = be16_to_cpup((__be16 *) st->rx); ad2s1210_read_raw()
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
H A D | gss_krb5_wrap.c | 530 ec = be16_to_cpup((__be16 *)(ptr + 4)); gss_unwrap_kerberos_v2() 531 rrc = be16_to_cpup((__be16 *)(ptr + 6)); gss_unwrap_kerberos_v2()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-highlander.c | 95 *dst++ = be16_to_cpup((__be16 *)src); smbus_write_data()
|
/linux-4.1.27/drivers/net/usb/ |
H A D | lg-vl600.c | 194 if (be16_to_cpup(ðhdr->h_proto) == ETH_P_ARP && vl600_rx_fixup()
|
H A D | catc.c | 304 hasdata = (unsigned int)(be16_to_cpup((__be16*)data) & 0x0fff); catc_irq_done()
|
/linux-4.1.27/drivers/usb/storage/ |
H A D | uas.c | 159 unsigned len = be16_to_cpup(&sense_iu->len); uas_sense() 274 idx = be16_to_cpup(&iu->tag) - 1; uas_stat_cmplt()
|
/linux-4.1.27/drivers/hid/ |
H A D | wacom_wac.c | 811 input_report_abs(input, ABS_X, be16_to_cpup((__be16 *)&data[4])); wacom_intuos_irq() 812 input_report_abs(input, ABS_Y, be16_to_cpup((__be16 *)&data[6])); wacom_intuos_irq() 813 input_report_abs(input, ABS_Z, be16_to_cpup((__be16 *)&data[8])); wacom_intuos_irq() 929 input_report_abs(input, ABS_X, be16_to_cpup((__be16 *)&data[2])); wacom_intuos_irq() 930 input_report_abs(input, ABS_Y, be16_to_cpup((__be16 *)&data[4])); wacom_intuos_irq()
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 276 props->lid = be16_to_cpup((__be16 *) (out_mad->data + 16)); ib_link_query_port() 278 props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18)); ib_link_query_port() 289 props->bad_pkey_cntr = be16_to_cpup((__be16 *) (out_mad->data + 46)); ib_link_query_port() 290 props->qkey_viol_cntr = be16_to_cpup((__be16 *) (out_mad->data + 48)); ib_link_query_port()
|
/linux-4.1.27/drivers/input/keyboard/ |
H A D | pxa27x_keypad.c | 203 code = be16_to_cpup(prop + i); pxa27x_keypad_direct_key_parse_dt()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ohci.h | 630 be16_to_cpup((__force __be16 *)x) : hc16_to_cpup()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | fw.c | 62 case 2: (dest) = be16_to_cpup(__p); break; \ 1601 if (be16_to_cpup(vsd + VSD_OFFSET_SIG1) == VSD_SIGNATURE_TOPSPIN && get_board_id() 1602 be16_to_cpup(vsd + VSD_OFFSET_SIG2) == VSD_SIGNATURE_TOPSPIN) { get_board_id()
|
/linux-4.1.27/drivers/memstick/core/ |
H A D | mspro_block.c | 349 be16_to_cpup((__be16 *)&x_sys->assembly_date[1]), mspro_block_attr_show_sysinfo()
|
/linux-4.1.27/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3-core.c | 170 *data = be16_to_cpup((u16 *)rbuf); s5c73m3_i2c_read()
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
H A D | orinoco_usb.c | 805 variant_offset = be16_to_cpup((__be16 *) &fw->code[FW_VAR_OFFSET_PTR]); ezusb_firmware_download()
|
/linux-4.1.27/drivers/firewire/ |
H A D | net.c | 742 length = be16_to_cpup(hdr_ptr); fwnet_receive_broadcast()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
H A D | base.c | 1351 ether_type = be16_to_cpup((__be16 *)(skb->data + offset)); rtl_is_special_data()
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
H A D | tcm_usb_gadget.c | 1114 cmd->tag = be16_to_cpup(&cmd_iu->tag); usbg_submit_command()
|
/linux-4.1.27/drivers/isdn/i4l/ |
H A D | isdn_net.c | 1745 type = be16_to_cpup((__be16 *)(p + 2)); isdn_net_ciscohdlck_receive()
|
/linux-4.1.27/drivers/net/ethernet/via/ |
H A D | via-rhine.c | 1944 return be16_to_cpup((__be16 *)trailer); rhine_get_vlan_tci()
|
/linux-4.1.27/drivers/of/ |
H A D | base.c | 1234 *out_values++ = be16_to_cpup(val++); of_property_read_u16_array()
|