/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_atombios.c | 50 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 51 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 52 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 53 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 54 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 55 i2c.y_data_reg = le16_to_cpu(gpio->usDataY_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 56 i2c.a_clk_reg = le16_to_cpu(gpio->usClkA_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 57 i2c.a_data_reg = le16_to_cpu(gpio->usDataA_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 182 gpio.reg = le16_to_cpu(pin->usGpioPin_AIndex); in amdgpu_atombios_lookup_gpio() 301 le16_to_cpu(obj_header->usDisplayPathTableOffset)); in amdgpu_atombios_get_connector_info_from_object_table() [all …]
|
D | amdgpu_dpm.c | 271 amdgpu_table->entries[i].clk = le16_to_cpu(entry->usClockLow) | in amdgpu_parse_clk_voltage_dep_table() 273 amdgpu_table->entries[i].v = le16_to_cpu(entry->usVoltage); in amdgpu_parse_clk_voltage_dep_table() 296 adev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in amdgpu_get_platform_caps() 297 adev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in amdgpu_get_platform_caps() 329 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table() 333 le16_to_cpu(power_info->pplib3.usFanTableOffset)); in amdgpu_parse_extended_power_table() 335 adev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); in amdgpu_parse_extended_power_table() 336 adev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); in amdgpu_parse_extended_power_table() 337 adev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); in amdgpu_parse_extended_power_table() 338 adev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); in amdgpu_parse_extended_power_table() [all …]
|
D | amdgpu_ucode.c | 35 DRM_DEBUG("header_version_major: %u\n", le16_to_cpu(hdr->header_version_major)); in amdgpu_ucode_print_common_hdr() 36 DRM_DEBUG("header_version_minor: %u\n", le16_to_cpu(hdr->header_version_minor)); in amdgpu_ucode_print_common_hdr() 37 DRM_DEBUG("ip_version_major: %u\n", le16_to_cpu(hdr->ip_version_major)); in amdgpu_ucode_print_common_hdr() 38 DRM_DEBUG("ip_version_minor: %u\n", le16_to_cpu(hdr->ip_version_minor)); in amdgpu_ucode_print_common_hdr() 48 uint16_t version_major = le16_to_cpu(hdr->header_version_major); in amdgpu_ucode_print_mc_hdr() 49 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); in amdgpu_ucode_print_mc_hdr() 69 uint16_t version_major = le16_to_cpu(hdr->header_version_major); in amdgpu_ucode_print_smc_hdr() 70 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); in amdgpu_ucode_print_smc_hdr() 87 uint16_t version_major = le16_to_cpu(hdr->header_version_major); in amdgpu_ucode_print_gfx_hdr() 88 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); in amdgpu_ucode_print_gfx_hdr() [all …]
|
D | atombios_encoders.c | 1933 le16_to_cpu(lvds_info->info.sLCDTiming.usPixClk) * 10; in amdgpu_atombios_encoder_get_lcd_info() 1935 le16_to_cpu(lvds_info->info.sLCDTiming.usHActive); in amdgpu_atombios_encoder_get_lcd_info() 1937 le16_to_cpu(lvds_info->info.sLCDTiming.usVActive); in amdgpu_atombios_encoder_get_lcd_info() 1939 le16_to_cpu(lvds_info->info.sLCDTiming.usHBlanking_Time); in amdgpu_atombios_encoder_get_lcd_info() 1941 le16_to_cpu(lvds_info->info.sLCDTiming.usHSyncOffset); in amdgpu_atombios_encoder_get_lcd_info() 1943 le16_to_cpu(lvds_info->info.sLCDTiming.usHSyncWidth); in amdgpu_atombios_encoder_get_lcd_info() 1945 le16_to_cpu(lvds_info->info.sLCDTiming.usVBlanking_Time); in amdgpu_atombios_encoder_get_lcd_info() 1947 le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncOffset); in amdgpu_atombios_encoder_get_lcd_info() 1949 le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncWidth); in amdgpu_atombios_encoder_get_lcd_info() 1951 le16_to_cpu(lvds_info->info.usOffDelayInMs); in amdgpu_atombios_encoder_get_lcd_info() [all …]
|
/linux-4.4.14/fs/ext4/ |
D | ext4_extents.h | 109 (sizeof(struct ext4_extent) * le16_to_cpu((hdr)->eh_max))) 165 (le16_to_cpu((__path__)->p_hdr->eh_entries) \ 166 < le16_to_cpu((__path__)->p_hdr->eh_max)) 168 (EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1) 170 (EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1) 172 (EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1) 174 (EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1) 188 return le16_to_cpu(ext_inode_hdr(inode)->eh_depth); in ext_depth() 194 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_unwritten() 201 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_unwritten() [all …]
|
D | bitmap.c | 29 provided = le16_to_cpu(gdp->bg_inode_bitmap_csum_lo); in ext4_inode_bitmap_csum_verify() 32 hi = le16_to_cpu(gdp->bg_inode_bitmap_csum_hi); in ext4_inode_bitmap_csum_verify() 68 provided = le16_to_cpu(gdp->bg_block_bitmap_csum_lo); in ext4_block_bitmap_csum_verify() 71 hi = le16_to_cpu(gdp->bg_block_bitmap_csum_hi); in ext4_block_bitmap_csum_verify()
|
D | mmp.c | 140 int mmp_update_interval = le16_to_cpu(es->s_mmp_update_interval); in kmmpd() 283 unsigned int mmp_check_interval = le16_to_cpu(es->s_mmp_update_interval); in ext4_multi_mount_protect() 306 if (le16_to_cpu(mmp->mmp_check_interval) > mmp_check_interval) in ext4_multi_mount_protect() 307 mmp_check_interval = le16_to_cpu(mmp->mmp_check_interval); in ext4_multi_mount_protect()
|
D | xattr.c | 204 (value_start + le16_to_cpu(entry->e_value_offs) < in ext4_xattr_check_names() 206 value_start + le16_to_cpu(entry->e_value_offs) + in ext4_xattr_check_names() 241 le16_to_cpu(entry->e_value_offs) + value_size > size) in ext4_xattr_check_entry() 315 memcpy(buffer, bh->b_data + le16_to_cpu(entry->e_value_offs), in ext4_xattr_block_get() 359 le16_to_cpu(entry->e_value_offs), size); in ext4_xattr_ibody_get() 606 size_t offs = le16_to_cpu(last->e_value_offs); in ext4_xattr_free_space() 626 size_t offs = le16_to_cpu(last->e_value_offs); in ext4_xattr_set_entry() 657 size_t offs = le16_to_cpu(s->here->e_value_offs); in ext4_xattr_set_entry() 688 size_t o = le16_to_cpu(last->e_value_offs); in ext4_xattr_set_entry() 1240 new_offs = le16_to_cpu(last->e_value_offs) + in ext4_xattr_shift_entries() [all …]
|
D | extents.c | 402 entries = le16_to_cpu(eh->eh_entries); in ext4_valid_extent_entries() 451 if (unlikely(le16_to_cpu(eh->eh_depth) != depth)) { in __ext4_ext_check() 460 if (unlikely(le16_to_cpu(eh->eh_max) > max)) { in __ext4_ext_check() 464 if (unlikely(le16_to_cpu(eh->eh_entries) > le16_to_cpu(eh->eh_max))) { in __ext4_ext_check() 486 le16_to_cpu(eh->eh_magic), in __ext4_ext_check() 487 le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max), in __ext4_ext_check() 488 max, le16_to_cpu(eh->eh_depth), depth); in __ext4_ext_check() 534 for (i = le16_to_cpu(eh->eh_entries); i > 0; i--, ex++) { in __read_extent_tree_block() 664 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ex++) { in ext4_ext_show_leaf() 762 for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ix++) { in ext4_ext_binsearch_idx() [all …]
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_ucode.c | 35 DRM_DEBUG("header_version_major: %u\n", le16_to_cpu(hdr->header_version_major)); in radeon_ucode_print_common_hdr() 36 DRM_DEBUG("header_version_minor: %u\n", le16_to_cpu(hdr->header_version_minor)); in radeon_ucode_print_common_hdr() 37 DRM_DEBUG("ip_version_major: %u\n", le16_to_cpu(hdr->ip_version_major)); in radeon_ucode_print_common_hdr() 38 DRM_DEBUG("ip_version_minor: %u\n", le16_to_cpu(hdr->ip_version_minor)); in radeon_ucode_print_common_hdr() 48 uint16_t version_major = le16_to_cpu(hdr->header_version_major); in radeon_ucode_print_mc_hdr() 49 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); in radeon_ucode_print_mc_hdr() 69 uint16_t version_major = le16_to_cpu(hdr->header_version_major); in radeon_ucode_print_smc_hdr() 70 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); in radeon_ucode_print_smc_hdr() 87 uint16_t version_major = le16_to_cpu(hdr->header_version_major); in radeon_ucode_print_gfx_hdr() 88 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); in radeon_ucode_print_gfx_hdr() [all …]
|
D | r600_dpm.c | 831 radeon_table->entries[i].clk = le16_to_cpu(entry->usClockLow) | in r600_parse_clk_voltage_dep_table() 833 radeon_table->entries[i].v = le16_to_cpu(entry->usVoltage); in r600_parse_clk_voltage_dep_table() 856 rdev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in r600_get_platform_caps() 857 rdev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in r600_get_platform_caps() 887 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table() 891 le16_to_cpu(power_info->pplib3.usFanTableOffset)); in r600_parse_extended_power_table() 893 rdev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); in r600_parse_extended_power_table() 894 rdev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); in r600_parse_extended_power_table() 895 rdev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); in r600_parse_extended_power_table() 896 rdev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); in r600_parse_extended_power_table() [all …]
|
D | radeon_atombios.c | 56 if ((le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0018) || in radeon_lookup_i2c_gpio_quirks() 57 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0019) || in radeon_lookup_i2c_gpio_quirks() 58 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x001a)) { in radeon_lookup_i2c_gpio_quirks() 67 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1936) && in radeon_lookup_i2c_gpio_quirks() 80 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1fda) && in radeon_lookup_i2c_gpio_quirks() 92 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 93 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 94 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 95 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 96 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() [all …]
|
D | rs780_dpm.c | 723 rps->class = le16_to_cpu(non_clock_info->usClassification); in rs780_parse_pplib_non_clock_info() 724 rps->class2 = le16_to_cpu(non_clock_info->usClassification2); in rs780_parse_pplib_non_clock_info() 754 sclk = le16_to_cpu(clock_info->rs780.usLowEngineClockLow); in rs780_parse_pplib_clock_info() 757 sclk = le16_to_cpu(clock_info->rs780.usHighEngineClockLow); in rs780_parse_pplib_clock_info() 760 switch (le16_to_cpu(clock_info->rs780.usVDDC)) { in rs780_parse_pplib_clock_info() 815 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rs780_parse_power_table() 819 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rs780_parse_power_table() 825 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset) + in rs780_parse_power_table() 890 le16_to_cpu(info->info.usInterNBVoltageLow); in rs780_dpm_init() 892 le16_to_cpu(info->info.usInterNBVoltageHigh); in rs780_dpm_init() [all …]
|
/linux-4.4.14/drivers/usb/core/ |
D | otg_whitelist.h | 54 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted() 55 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd)) in is_targeted() 59 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted() 60 le16_to_cpu(dev->descriptor.idProduct) == 0x0200)) in is_targeted() 68 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) in is_targeted() 72 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) in is_targeted() 78 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() 82 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() 105 le16_to_cpu(dev->descriptor.idVendor), in is_targeted() 106 le16_to_cpu(dev->descriptor.idProduct)); in is_targeted()
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | sta_cmdresp.c | 59 switch (le16_to_cpu(resp->command)) { in mwifiex_process_cmdresp_error() 64 resp->result, le16_to_cpu(pm->action)); in mwifiex_process_cmdresp_error() 66 if (le16_to_cpu(pm->action) == EN_AUTO_PS && in mwifiex_process_cmdresp_error() 67 (le16_to_cpu(pm->params.ps_bitmap) & BITMAP_STA_PS) && in mwifiex_process_cmdresp_error() 131 priv->data_rssi_last = le16_to_cpu(rssi_info_rsp->data_rssi_last); in mwifiex_ret_802_11_rssi_info() 132 priv->data_nf_last = le16_to_cpu(rssi_info_rsp->data_nf_last); in mwifiex_ret_802_11_rssi_info() 134 priv->data_rssi_avg = le16_to_cpu(rssi_info_rsp->data_rssi_avg); in mwifiex_ret_802_11_rssi_info() 135 priv->data_nf_avg = le16_to_cpu(rssi_info_rsp->data_nf_avg); in mwifiex_ret_802_11_rssi_info() 137 priv->bcn_rssi_last = le16_to_cpu(rssi_info_rsp->bcn_rssi_last); in mwifiex_ret_802_11_rssi_info() 138 priv->bcn_nf_last = le16_to_cpu(rssi_info_rsp->bcn_nf_last); in mwifiex_ret_802_11_rssi_info() [all …]
|
D | cmdevt.c | 161 cmd_code = le16_to_cpu(host_cmd->command); in mwifiex_dnld_cmd_to_fw() 162 cmd_size = le16_to_cpu(host_cmd->size); in mwifiex_dnld_cmd_to_fw() 204 le16_to_cpu(*(__le16 *)((u8 *)host_cmd + S_DS_GEN)), in mwifiex_dnld_cmd_to_fw() 205 cmd_size, le16_to_cpu(host_cmd->seq_num)); in mwifiex_dnld_cmd_to_fw() 248 le16_to_cpu(*(__le16 *) ((u8 *) host_cmd + S_DS_GEN)); in mwifiex_dnld_cmd_to_fw() 289 le16_to_cpu(sleep_cfm_buf->command), in mwifiex_dnld_sleep_confirm_cmd() 290 le16_to_cpu(sleep_cfm_buf->action), in mwifiex_dnld_sleep_confirm_cmd() 291 le16_to_cpu(sleep_cfm_buf->size), in mwifiex_dnld_sleep_confirm_cmd() 292 le16_to_cpu(sleep_cfm_buf->seq_num)); in mwifiex_dnld_sleep_confirm_cmd() 294 le16_to_cpu(sleep_cfm_buf->size)); in mwifiex_dnld_sleep_confirm_cmd() [all …]
|
D | ie.c | 53 mask = le16_to_cpu(priv->mgmt_ie[i].mgmt_subtype_mask); in mwifiex_ie_get_autoidx() 54 len = le16_to_cpu(ie->ie_length); in mwifiex_ie_get_autoidx() 89 input_len = le16_to_cpu(ie_list->len); in mwifiex_update_autoindex_ies() 96 tlv_len = le16_to_cpu(ie->ie_length); in mwifiex_update_autoindex_ies() 101 index = le16_to_cpu(ie->ie_index); in mwifiex_update_autoindex_ies() 102 mask = le16_to_cpu(ie->mgmt_subtype_mask); in mwifiex_update_autoindex_ies() 112 memcpy(tmp, &ie->ie_buffer, le16_to_cpu(ie->ie_length)); in mwifiex_update_autoindex_ies() 135 le16_to_cpu(priv->mgmt_ie[index].ie_length) + in mwifiex_update_autoindex_ies() 172 le16_to_cpu(beacon_ie->ie_length); in mwifiex_update_uap_custom_ie() 179 le16_to_cpu(pr_ie->ie_length); in mwifiex_update_uap_custom_ie() [all …]
|
D | uap_txrx.c | 107 rx_pkt_hdr = (void *)uap_rx_pd + le16_to_cpu(uap_rx_pd->rx_pkt_offset); in mwifiex_uap_queue_bridged_pkt() 239 rx_pkt_hdr = (void *)uap_rx_pd + le16_to_cpu(uap_rx_pd->rx_pkt_offset); in mwifiex_handle_uap_rx_forward() 289 rx_pkt_type = le16_to_cpu(uap_rx_pd->rx_pkt_type); in mwifiex_process_uap_rx_packet() 290 rx_pkt_hdr = (void *)uap_rx_pd + le16_to_cpu(uap_rx_pd->rx_pkt_offset); in mwifiex_process_uap_rx_packet() 294 if ((le16_to_cpu(uap_rx_pd->rx_pkt_offset) + in mwifiex_process_uap_rx_packet() 295 le16_to_cpu(uap_rx_pd->rx_pkt_length)) > (u16) skb->len) { in mwifiex_process_uap_rx_packet() 298 skb->len, le16_to_cpu(uap_rx_pd->rx_pkt_offset), in mwifiex_process_uap_rx_packet() 299 le16_to_cpu(uap_rx_pd->rx_pkt_length)); in mwifiex_process_uap_rx_packet() 325 le16_to_cpu(uap_rx_pd->seq_num); in mwifiex_process_uap_rx_packet() 331 (le16_to_cpu(uap_rx_pd->rx_pkt_type) != PKT_TYPE_AMSDU))) { in mwifiex_process_uap_rx_packet() [all …]
|
D | sta_rx.c | 97 rx_pkt_off = le16_to_cpu(local_rx_pd->rx_pkt_offset); in mwifiex_process_rx_packet() 98 rx_pkt_len = le16_to_cpu(local_rx_pd->rx_pkt_length); in mwifiex_process_rx_packet() 199 rx_pkt_type = le16_to_cpu(local_rx_pd->rx_pkt_type); in mwifiex_process_sta_rx_packet() 200 rx_pkt_offset = le16_to_cpu(local_rx_pd->rx_pkt_offset); in mwifiex_process_sta_rx_packet() 201 rx_pkt_length = le16_to_cpu(local_rx_pd->rx_pkt_length); in mwifiex_process_sta_rx_packet() 202 seq_num = le16_to_cpu(local_rx_pd->seq_num); in mwifiex_process_sta_rx_packet() 244 le16_to_cpu(local_rx_pd->seq_num); in mwifiex_process_sta_rx_packet()
|
D | sta_event.c | 172 switch (le16_to_cpu(tdls_evt->type)) { in mwifiex_parse_tdls_event() 177 le16_to_cpu(tdls_evt->u.reason_code), in mwifiex_parse_tdls_event() 326 if (le16_to_cpu(chan_info->header.type) != TLV_TYPE_MULTI_CHAN_INFO || in mwifiex_process_multi_chan_event() 333 adapter->usb_mc_status = le16_to_cpu(chan_info->status); in mwifiex_process_multi_chan_event() 341 tlv_type = le16_to_cpu(tlv->type); in mwifiex_process_multi_chan_event() 342 tlv_len = le16_to_cpu(tlv->len); in mwifiex_process_multi_chan_event() 409 tlv_type = le16_to_cpu(tlv->type); in mwifiex_process_tx_pause_event() 410 tlv_len = le16_to_cpu(tlv->len); in mwifiex_process_tx_pause_event() 449 tlv_len = le16_to_cpu(tlv->len); in mwifiex_bt_coex_wlan_param_update_event() 450 tlv_type = le16_to_cpu(tlv->type); in mwifiex_bt_coex_wlan_param_update_event() [all …]
|
D | scan.c | 665 le16_to_cpu(tmp_chan_list->max_scan_time)); in mwifiex_scan_channel_list() 691 + le16_to_cpu(chan_tlv_out->header.len)); in mwifiex_scan_channel_list() 699 le16_to_cpu(tmp_chan_list->max_scan_time); in mwifiex_scan_channel_list() 921 + le16_to_cpu(wildcard_ssid_tlv->header.len)); in mwifiex_config_scan() 983 le16_to_cpu(bss_mode->header.len); in mwifiex_config_scan() 1001 le16_to_cpu(num_probes_tlv->header.len); in mwifiex_config_scan() 1132 tlv_type = le16_to_cpu(current_tlv->header.type); in mwifiex_ret_802_11_scan_get_tlv_ptrs() 1133 tlv_len = le16_to_cpu(current_tlv->header.len); in mwifiex_ret_802_11_scan_get_tlv_ptrs() 1726 beacon_size = le16_to_cpu(*(__le16 *)(*bss_info)); in mwifiex_parse_single_response_buf() 1778 beacon_period = le16_to_cpu(bcn_param->beacon_period); in mwifiex_parse_single_response_buf() [all …]
|
D | join.c | 342 le16_to_cpu(rsn_ie_tlv->header.type) & 0x00FF); in mwifiex_append_rsn_ie_wpa_wpa2() 344 rsn_ie_tlv->header.len = cpu_to_le16(le16_to_cpu(rsn_ie_tlv->header.len) in mwifiex_append_rsn_ie_wpa_wpa2() 346 if (le16_to_cpu(rsn_ie_tlv->header.len) <= (sizeof(priv->wpa_ie) - 2)) in mwifiex_append_rsn_ie_wpa_wpa2() 348 le16_to_cpu(rsn_ie_tlv->header.len)); in mwifiex_append_rsn_ie_wpa_wpa2() 353 le16_to_cpu(rsn_ie_tlv->header.len); in mwifiex_append_rsn_ie_wpa_wpa2() 429 le16_to_cpu(ssid_tlv->header.len)); in mwifiex_cmd_802_11_associate() 430 pos += sizeof(ssid_tlv->header) + le16_to_cpu(ssid_tlv->header.len); in mwifiex_cmd_802_11_associate() 438 pos += sizeof(phy_tlv->header) + le16_to_cpu(phy_tlv->header.len); in mwifiex_cmd_802_11_associate() 443 pos += sizeof(ss_tlv->header) + le16_to_cpu(ss_tlv->header.len); in mwifiex_cmd_802_11_associate() 473 pos += sizeof(auth_tlv->header) + le16_to_cpu(auth_tlv->header.len); in mwifiex_cmd_802_11_associate() [all …]
|
D | uap_event.c | 48 tlv_len = le16_to_cpu(tlv_hdr->header.len); in mwifiex_check_uap_capabilties() 53 switch (le16_to_cpu(tlv_hdr->header.type)) { in mwifiex_check_uap_capabilties() 123 if (le16_to_cpu(event->type) == TLV_TYPE_UAP_MGMT_FRAME) { in mwifiex_process_uap_event() 139 le16_to_cpu(event->len) - (u16)len; in mwifiex_process_uap_event() 205 ctrl = le16_to_cpu(*(__le16 *)adapter->event_body); in mwifiex_process_uap_event()
|
D | 11n.c | 40 uint16_t ht_ext_cap = le16_to_cpu(ht_cap->extended_ht_cap_info); in mwifiex_fill_cap_info() 116 uint16_t del_ba_param_set = le16_to_cpu(del_ba->del_ba_param_set); in mwifiex_ret_11n_delba() 163 u16 block_ack_param_set = le16_to_cpu(add_ba_rsp->block_ack_param_set); in mwifiex_ret_11n_addba_req() 165 add_ba_rsp->ssn = cpu_to_le16((le16_to_cpu(add_ba_rsp->ssn)) in mwifiex_ret_11n_addba_req() 174 if (le16_to_cpu(add_ba_rsp->status_code) != BA_RESULT_SUCCESS) { in mwifiex_ret_11n_addba_req() 341 le16_to_cpu(ht_cap->header.len)); in mwifiex_cmd_append_11n_tlv() 363 le16_to_cpu(ht_info->header.len)); in mwifiex_cmd_append_11n_tlv() 412 le16_to_cpu(bss_co_2040->header.len)); in mwifiex_cmd_append_11n_tlv() 427 le16_to_cpu(ext_cap->header.len)); in mwifiex_cmd_append_11n_tlv() 635 del_ba_param_set = le16_to_cpu(delba.del_ba_param_set); in mwifiex_send_delba() [all …]
|
D | 11ac.c | 123 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.rx_mcs_map); in mwifiex_fill_vht_cap_tlv() 146 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.tx_mcs_map); in mwifiex_fill_vht_cap_tlv() 196 le16_to_cpu(vht_cap->header.len)); in mwifiex_cmd_append_11ac_tlv() 216 le16_to_cpu(vht_op->header.len)); in mwifiex_cmd_append_11ac_tlv()
|
D | 11n_rxreorder.c | 38 if (le16_to_cpu(local_rx_pd->rx_pkt_type) == PKT_TYPE_AMSDU) { in mwifiex_11n_dispatch_amsdu_pkt() 44 skb_pull(skb, le16_to_cpu(local_rx_pd->rx_pkt_offset)); in mwifiex_11n_dispatch_amsdu_pkt() 45 skb_trim(skb, le16_to_cpu(local_rx_pd->rx_pkt_length)); in mwifiex_11n_dispatch_amsdu_pkt() 490 block_ack_param_set = le16_to_cpu(cmd_addba_req->block_ack_param_set); in mwifiex_cmd_11n_addba_rsp_gen() 502 win_size = (le16_to_cpu(add_ba_rsp->block_ack_param_set) in mwifiex_cmd_11n_addba_rsp_gen() 509 le16_to_cpu(cmd_addba_req->ssn)); in mwifiex_cmd_11n_addba_rsp_gen() 719 block_ack_param_set = le16_to_cpu(add_ba_rsp->block_ack_param_set); in mwifiex_ret_11n_addba_resp() 727 if (le16_to_cpu(add_ba_rsp->status_code) != BA_RESULT_SUCCESS) { in mwifiex_ret_11n_addba_resp()
|
D | usb.c | 389 id_vendor = le16_to_cpu(udev->descriptor.idVendor); in mwifiex_usb_probe() 390 id_product = le16_to_cpu(udev->descriptor.idProduct); in mwifiex_usb_probe() 391 bcd_device = le16_to_cpu(udev->descriptor.bcdDevice); in mwifiex_usb_probe() 392 bcd_usb = le16_to_cpu(udev->descriptor.bcdUSB); in mwifiex_usb_probe() 430 le16_to_cpu(epd->wMaxPacketSize), in mwifiex_usb_probe() 439 le16_to_cpu(epd->wMaxPacketSize), in mwifiex_usb_probe() 448 le16_to_cpu(epd->wMaxPacketSize), in mwifiex_usb_probe() 458 le16_to_cpu(epd->wMaxPacketSize), in mwifiex_usb_probe() 467 le16_to_cpu(epd->wMaxPacketSize), in mwifiex_usb_probe() 472 le16_to_cpu(epd->wMaxPacketSize); in mwifiex_usb_probe() [all …]
|
/linux-4.4.14/fs/ntfs/ |
D | index.c | 176 le16_to_cpu(actx->attr->data.resident.value_offset)); in ntfs_index_lookup() 185 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_index_lookup() 189 (u8*)ie + le16_to_cpu(ie->length) > index_end) in ntfs_index_lookup() 199 le16_to_cpu(ie->key_length) > in ntfs_index_lookup() 200 le16_to_cpu(ie->data.vi.data_offset) || in ntfs_index_lookup() 201 (u32)le16_to_cpu(ie->data.vi.data_offset) + in ntfs_index_lookup() 202 le16_to_cpu(ie->data.vi.data_length) > in ntfs_index_lookup() 203 le16_to_cpu(ie->length)) in ntfs_index_lookup() 206 if ((key_len == le16_to_cpu(ie->key_length)) && !memcmp(key, in ntfs_index_lookup() 218 le16_to_cpu(ie->data.vi.data_offset); in ntfs_index_lookup() [all …]
|
D | logfile.c | 95 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header() 101 if (usa_count != le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header() 107 usa_ofs = le16_to_cpu(rp->usa_ofs); in ntfs_check_restart_page_header() 122 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_page_header() 165 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_area() 185 ca_ofs = le16_to_cpu(ra->client_array_offset); in ntfs_check_restart_area() 197 ra_len = ca_ofs + le16_to_cpu(ra->log_clients) * in ntfs_check_restart_area() 200 ra_ofs + le16_to_cpu(ra->restart_area_length) > in ntfs_check_restart_area() 202 ra_len > le16_to_cpu(ra->restart_area_length)) { in ntfs_check_restart_area() 215 le16_to_cpu(ra->client_free_list) >= in ntfs_check_restart_area() [all …]
|
D | unistr.c | 109 c1 = le16_to_cpu(*name1++); in ntfs_collate_names() 110 c2 = le16_to_cpu(*name2++); in ntfs_collate_names() 113 c1 = le16_to_cpu(upcase[c1]); in ntfs_collate_names() 115 c2 = le16_to_cpu(upcase[c2]); in ntfs_collate_names() 129 c1 = le16_to_cpu(*name1); in ntfs_collate_names() 155 c1 = le16_to_cpu(s1[i]); in ntfs_ucsncmp() 156 c2 = le16_to_cpu(s2[i]); in ntfs_ucsncmp() 192 if ((c1 = le16_to_cpu(s1[i])) < upcase_size) in ntfs_ucsncasecmp() 193 c1 = le16_to_cpu(upcase[c1]); in ntfs_ucsncasecmp() 194 if ((c2 = le16_to_cpu(s2[i])) < upcase_size) in ntfs_ucsncasecmp() [all …]
|
D | mst.c | 48 usa_ofs = le16_to_cpu(b->usa_ofs); in post_read_mst_fixup() 50 usa_count = le16_to_cpu(b->usa_count) - 1; in post_read_mst_fixup() 87 usa_count = le16_to_cpu(b->usa_count) - 1; in post_read_mst_fixup() 134 usa_ofs = le16_to_cpu(b->usa_ofs); in pre_write_mst_fixup() 136 usa_count = le16_to_cpu(b->usa_count) - 1; in pre_write_mst_fixup() 183 u16 usa_ofs = le16_to_cpu(b->usa_ofs); in post_write_mst_fixup() 184 u16 usa_count = le16_to_cpu(b->usa_count) - 1; in post_write_mst_fixup()
|
D | dir.c | 127 le16_to_cpu(ctx->attr->data.resident.value_offset)); in ntfs_lookup_inode_by_name() 136 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_lookup_inode_by_name() 140 (u8*)ie + le16_to_cpu(ie->key_length) > in ntfs_lookup_inode_by_name() 305 vcn = sle64_to_cpup((sle64*)((u8*)ie + le16_to_cpu(ie->length) - 8)); in ntfs_lookup_inode_by_name() 392 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_lookup_inode_by_name() 396 (u8*)ie + le16_to_cpu(ie->key_length) > in ntfs_lookup_inode_by_name() 557 le16_to_cpu(ie->length) - 8)); in ntfs_lookup_inode_by_name() 678 le16_to_cpu(ctx->attr->data.resident.value_offset)); 687 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { 691 (u8*)ie + le16_to_cpu(ie->key_length) > [all …]
|
D | inode.c | 465 nr_links = le16_to_cpu(ctx->mrec->link_count); in ntfs_is_extended_system_file() 504 le16_to_cpu(attr->data.resident.value_offset)); in ntfs_is_extended_system_file() 603 vi->i_generation = ni->seq_no = le16_to_cpu(m->sequence_number); in ntfs_read_locked_inode() 614 set_nlink(vi, le16_to_cpu(m->link_count)); in ntfs_read_locked_inode() 665 le16_to_cpu(a->data.resident.value_offset)); in ntfs_read_locked_inode() 766 if ((u8*)a + le16_to_cpu(a->data.resident.value_offset) in ntfs_read_locked_inode() 775 memcpy(ni->attr_list, (u8*)a + le16_to_cpu( in ntfs_read_locked_inode() 814 if (unlikely(a->name_length && (le16_to_cpu(a->name_offset) >= in ntfs_read_locked_inode() 815 le16_to_cpu(a->data.resident.value_offset)))) { in ntfs_read_locked_inode() 839 le16_to_cpu(a->data.resident.value_offset)); in ntfs_read_locked_inode() [all …]
|
D | attrib.c | 136 !memcmp((u8*)a + le16_to_cpu(a->name_offset), in ntfs_map_runlist_nolock() 629 (ntfschar*)((u8*)a + le16_to_cpu(a->name_offset)), in ntfs_attr_find() 635 le16_to_cpu(a->name_offset)), in ntfs_attr_find() 649 le16_to_cpu(a->name_offset)), in ntfs_attr_find() 668 rc = memcmp(val, (u8*)a + le16_to_cpu( in ntfs_attr_find() 898 le16_to_cpu(ctx->al_entry->length)); in ntfs_external_attr_find() 911 le16_to_cpu(al_entry->length) > al_end) in ntfs_external_attr_find() 914 le16_to_cpu(al_entry->length)); in ntfs_external_attr_find() 968 (u8*)next_al_entry + le16_to_cpu( in ntfs_external_attr_find() 1022 le16_to_cpu(ctx->mrec->attrs_offset)); in ntfs_external_attr_find() [all …]
|
D | endian.h | 35 return le16_to_cpu((__force le16)x); in sle16_to_cpu() 50 return le16_to_cpu(*(__force le16*)x); in sle16_to_cpup()
|
D | mft.c | 287 if (likely(le16_to_cpu(m->sequence_number) == seq_no)) { in map_extent_mft_record() 323 if (seq_no && (le16_to_cpu(m->sequence_number) != seq_no)) { in map_extent_mft_record() 1432 le16_to_cpu(a->data.non_resident.mapping_pairs_offset)); in ntfs_mft_bitmap_extend_allocation_nolock() 1453 le16_to_cpu(a->data.non_resident.mapping_pairs_offset), in ntfs_mft_bitmap_extend_allocation_nolock() 1538 if (ntfs_mapping_pairs_build(vol, (u8*)a + le16_to_cpu( in ntfs_mft_bitmap_extend_allocation_nolock() 1540 old_alen - le16_to_cpu( in ntfs_mft_bitmap_extend_allocation_nolock() 1864 le16_to_cpu(a->data.non_resident.mapping_pairs_offset)); in ntfs_mft_data_extend_allocation_nolock() 1890 le16_to_cpu(a->data.non_resident.mapping_pairs_offset), in ntfs_mft_data_extend_allocation_nolock() 1970 if (ntfs_mapping_pairs_build(vol, (u8*)a + le16_to_cpu( in ntfs_mft_data_extend_allocation_nolock() 1972 old_alen - le16_to_cpu( in ntfs_mft_data_extend_allocation_nolock() [all …]
|
D | namei.c | 230 if (le16_to_cpu(a->data.resident.value_offset) + in ntfs_lookup() 233 fn = (FILE_NAME_ATTR*)((u8*)ctx->attr + le16_to_cpu( in ntfs_lookup() 338 le16_to_cpu(attr->data.resident.value_offset)); in ntfs_get_parent()
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | wq_enet_desc.h | 76 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; in wq_enet_desc_dec() 77 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec() 79 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> in wq_enet_desc_dec() 81 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec() 83 *offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 85 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 87 *cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 89 *fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 91 *vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 93 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
|
D | cq_enet_desc.h | 102 u16 completed_index_flags = le16_to_cpu(desc->completed_index_flags); in cq_enet_rq_desc_dec() 104 le16_to_cpu(desc->q_number_rss_type_flags); in cq_enet_rq_desc_dec() 105 u16 bytes_written_flags = le16_to_cpu(desc->bytes_written_flags); in cq_enet_rq_desc_dec() 133 *vlan = le16_to_cpu(desc->vlan); in cq_enet_rq_desc_dec() 136 *fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) & in cq_enet_rq_desc_dec() 151 *checksum = le16_to_cpu(desc->checksum_fcoe); in cq_enet_rq_desc_dec()
|
D | rq_enet_desc.h | 53 *length = le16_to_cpu(desc->length_type) & RQ_ENET_LEN_MASK; in rq_enet_desc_dec() 54 *type = (u8)((le16_to_cpu(desc->length_type) >> RQ_ENET_LEN_BITS) & in rq_enet_desc_dec()
|
D | cq_desc.h | 73 *q_number = le16_to_cpu(desc->q_number) & CQ_DESC_Q_NUM_MASK; in cq_desc_dec() 74 *completed_index = le16_to_cpu(desc->completed_index) & in cq_desc_dec()
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
D | wq_enet_desc.h | 78 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; in wq_enet_desc_dec() 79 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec() 81 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> in wq_enet_desc_dec() 83 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec() 85 *offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 87 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 89 *cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 91 *fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 93 *vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 95 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
|
D | cq_enet_desc.h | 120 completed_index_flags = le16_to_cpu(desc->completed_index_flags); in cq_enet_rq_desc_dec() 122 le16_to_cpu(desc->q_number_rss_type_flags); in cq_enet_rq_desc_dec() 123 bytes_written_flags = le16_to_cpu(desc->bytes_written_flags); in cq_enet_rq_desc_dec() 151 *vlan_tci = le16_to_cpu(desc->vlan); in cq_enet_rq_desc_dec() 154 *fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) & in cq_enet_rq_desc_dec() 160 *fcoe_eof = (u8)((le16_to_cpu(desc->checksum_fcoe) >> in cq_enet_rq_desc_dec() 169 *checksum = le16_to_cpu(desc->checksum_fcoe); in cq_enet_rq_desc_dec()
|
D | cq_desc.h | 75 *q_number = le16_to_cpu(desc->q_number) & CQ_DESC_Q_NUM_MASK; in cq_desc_dec() 76 *completed_index = le16_to_cpu(desc->completed_index) & in cq_desc_dec()
|
D | rq_enet_desc.h | 55 *length = le16_to_cpu(desc->length_type) & RQ_ENET_LEN_MASK; in rq_enet_desc_dec() 56 *type = (u8)((le16_to_cpu(desc->length_type) >> RQ_ENET_LEN_BITS) & in rq_enet_desc_dec()
|
/linux-4.4.14/drivers/scsi/snic/ |
D | wq_enet_desc.h | 76 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; in wq_enet_desc_dec() 77 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec() 79 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> in wq_enet_desc_dec() 81 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec() 83 *offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 85 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 87 *cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 89 *fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 91 *vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 93 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
|
D | cq_desc.h | 72 *q_number = le16_to_cpu(desc->q_number) & CQ_DESC_Q_NUM_MASK; in cq_desc_dec() 73 *completed_index = le16_to_cpu(desc->completed_index) & in cq_desc_dec()
|
/linux-4.4.14/drivers/staging/wlan-ng/ |
D | prism2sta.c | 372 qualmsg->link.data = le16_to_cpu(hw->qual.CQ_currBSS); in prism2sta_mlmerequest() 373 qualmsg->level.data = le16_to_cpu(hw->qual.ASL_currBSS); in prism2sta_mlmerequest() 374 qualmsg->noise.data = le16_to_cpu(hw->qual.ANL_currFC); in prism2sta_mlmerequest() 602 hw->ident_nic.id = le16_to_cpu(hw->ident_nic.id); in prism2sta_getcardinfo() 603 hw->ident_nic.variant = le16_to_cpu(hw->ident_nic.variant); in prism2sta_getcardinfo() 604 hw->ident_nic.major = le16_to_cpu(hw->ident_nic.major); in prism2sta_getcardinfo() 605 hw->ident_nic.minor = le16_to_cpu(hw->ident_nic.minor); in prism2sta_getcardinfo() 621 hw->ident_pri_fw.id = le16_to_cpu(hw->ident_pri_fw.id); in prism2sta_getcardinfo() 622 hw->ident_pri_fw.variant = le16_to_cpu(hw->ident_pri_fw.variant); in prism2sta_getcardinfo() 623 hw->ident_pri_fw.major = le16_to_cpu(hw->ident_pri_fw.major); in prism2sta_getcardinfo() [all …]
|
D | prism2fw.c | 593 le16_to_cpu(pda16[curroff + 1]) != HFA384x_PDR_END_OF_PDA) { in mkpdrlist() 596 if (le16_to_cpu(pda->rec[pda->nrec]->code) == in mkpdrlist() 600 nicid.id = le16_to_cpu(nicid.id); in mkpdrlist() 601 nicid.variant = le16_to_cpu(nicid.variant); in mkpdrlist() 602 nicid.major = le16_to_cpu(nicid.major); in mkpdrlist() 603 nicid.minor = le16_to_cpu(nicid.minor); in mkpdrlist() 605 if (le16_to_cpu(pda->rec[pda->nrec]->code) == in mkpdrlist() 609 rfid.id = le16_to_cpu(rfid.id); in mkpdrlist() 610 rfid.variant = le16_to_cpu(rfid.variant); in mkpdrlist() 611 rfid.bottom = le16_to_cpu(rfid.bottom); in mkpdrlist() [all …]
|
D | hfa384x_usb.c | 634 result->status = le16_to_cpu(cmdresp->status); in usbctlx_get_status() 635 result->resp0 = le16_to_cpu(cmdresp->resp0); in usbctlx_get_status() 636 result->resp1 = le16_to_cpu(cmdresp->resp1); in usbctlx_get_status() 637 result->resp2 = le16_to_cpu(cmdresp->resp2); in usbctlx_get_status() 649 result->rid = le16_to_cpu(rridresp->rid); in usbctlx_get_rridresult() 651 result->riddata_len = ((le16_to_cpu(rridresp->frmlen) - 1) * 2); in usbctlx_get_rridresult() 849 rridresult.rid = le16_to_cpu(ctlx->outbuf.rridreq.rid); in hfa384x_cb_rrid() 1302 le16_to_cpu(ctlx->outbuf.type), in hfa384x_usbctlx_complete_sync() 1903 hw->bufinfo.page = le16_to_cpu(hw->bufinfo.page); in hfa384x_drvr_flashdl_enable() 1904 hw->bufinfo.offset = le16_to_cpu(hw->bufinfo.offset); in hfa384x_drvr_flashdl_enable() [all …]
|
/linux-4.4.14/fs/hpfs/ |
D | map.c | 79 cpi = le16_to_cpu(cp->array[0].index); in hpfs_load_code_page() 88 if (le16_to_cpu(cpd->offs[cpi]) > 0x178) { in hpfs_load_code_page() 93 ptr = (unsigned char *)cpd + le16_to_cpu(cpd->offs[cpi]) + 6; in hpfs_load_code_page() 186 if (le16_to_cpu(fnode->btree.first_free) != in hpfs_map_fnode() 194 if (le16_to_cpu(fnode->ea_size_s) && (le16_to_cpu(fnode->ea_offs) < 0xc4 || in hpfs_map_fnode() 195 …le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fnode->acl_size_s) + le16_to_cpu(fnode->ea_size_s) > 0x2… in hpfs_map_fnode() 199 le16_to_cpu(fnode->ea_offs), le16_to_cpu(fnode->ea_size_s)); in hpfs_map_fnode() 239 if (le16_to_cpu(anode->btree.first_free) != in hpfs_map_anode() 285 …if (le16_to_cpu(de->length) > 292 || (le16_to_cpu(de->length) < 32) || (le16_to_cpu(de->length) & … in hpfs_map_dnode() 289 if (((31 + de->namelen + de->down*4 + 3) & ~3) != le16_to_cpu(de->length)) { in hpfs_map_dnode() [all …]
|
D | ea.c | 238 if (!le16_to_cpu(fnode->ea_offs)) { in hpfs_set_ea() 246 …if (le16_to_cpu(fnode->ea_offs) < 0xc4 || le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fnode->acl_siz… in hpfs_set_ea() 249 le16_to_cpu(fnode->ea_offs), le16_to_cpu(fnode->ea_size_s)); in hpfs_set_ea() 252 if ((le16_to_cpu(fnode->ea_size_s) || !le32_to_cpu(fnode->ea_size_l)) && in hpfs_set_ea() 253 …le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fnode->acl_size_s) + le16_to_cpu(fnode->ea_size_s) + str… in hpfs_set_ea() 261 fnode->ea_size_s = cpu_to_le16(le16_to_cpu(fnode->ea_size_s) + strlen(key) + size + 5); in hpfs_set_ea() 266 if (le16_to_cpu(fnode->ea_size_s) && !le32_to_cpu(fnode->ea_size_l)) { in hpfs_set_ea() 275 memcpy(data, fnode_ea(fnode), le16_to_cpu(fnode->ea_size_s)); in hpfs_set_ea() 276 fnode->ea_size_l = cpu_to_le32(le16_to_cpu(fnode->ea_size_s)); in hpfs_set_ea()
|
D | hpfs_fn.h | 109 return le32_to_cpu(*(__le32 *) ((void *) de + le16_to_cpu(de->length) - 4)); in de_down_pointer() 131 …CHKCOND(le16_to_cpu(de->length)>=0x20 && le16_to_cpu(de->length)<0x800,("HPFS: de_next_de: de->len… in de_next_de() 132 return (void *) de + le16_to_cpu(de->length); in de_next_de() 137 …return (struct extended_attribute *)((char *)fnode + le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fno… in fnode_ea() 142 … extended_attribute *)((char *)fnode + le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fnode->acl_size_s… in fnode_end_ea()
|
D | dnode.c | 149 if (le16_to_cpu(de->length) != 32) { in set_last_pointer() 207 d->first_free = cpu_to_le32(le32_to_cpu(d->first_free) - le16_to_cpu(de->length)); in hpfs_delete_de() 493 if (!(nde = kmalloc(le16_to_cpu(de->length), GFP_NOFS))) { in move_to_top() 498 memcpy(nde, de, le16_to_cpu(de->length)); in move_to_top() 588 *(dnode_secno *) ((void *) de + le16_to_cpu(de->length) - 4) = down; in delete_empty_dnode() 607 if (!(de_cp = kmalloc(le16_to_cpu(de->length), GFP_NOFS))) { in delete_empty_dnode() 611 memcpy(de_cp, de, le16_to_cpu(de->length)); in delete_empty_dnode() 668 *(__le32 *) ((void *) del + le16_to_cpu(del->length) - 4) = cpu_to_le32(down); in delete_empty_dnode() 670 if (!(de_cp = kmalloc(le16_to_cpu(de_prev->length), GFP_NOFS))) { in delete_empty_dnode() 677 memcpy(de_cp, de_prev, le16_to_cpu(de_prev->length)); in delete_empty_dnode() [all …]
|
/linux-4.4.14/drivers/iio/pressure/ |
D | bmp280.c | 170 var1 = (((adc_temp >> 3) - ((s32)le16_to_cpu(buf[T1]) << 1)) * in bmp280_compensate_temp() 171 ((s32)(s16)le16_to_cpu(buf[T2]))) >> 11; in bmp280_compensate_temp() 172 var2 = (((((adc_temp >> 4) - ((s32)le16_to_cpu(buf[T1]))) * in bmp280_compensate_temp() 173 ((adc_temp >> 4) - ((s32)le16_to_cpu(buf[T1])))) >> 12) * in bmp280_compensate_temp() 174 ((s32)(s16)le16_to_cpu(buf[T3]))) >> 14; in bmp280_compensate_temp() 203 var2 = var1 * var1 * (s64)(s16)le16_to_cpu(buf[P6]); in bmp280_compensate_press() 204 var2 += (var1 * (s64)(s16)le16_to_cpu(buf[P5])) << 17; in bmp280_compensate_press() 205 var2 += ((s64)(s16)le16_to_cpu(buf[P4])) << 35; in bmp280_compensate_press() 206 var1 = ((var1 * var1 * (s64)(s16)le16_to_cpu(buf[P3])) >> 8) + in bmp280_compensate_press() 207 ((var1 * (s64)(s16)le16_to_cpu(buf[P2])) << 12); in bmp280_compensate_press() [all …]
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
D | mpt3sas_warpdrive.c | 66 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _warpdrive_disable_ddio() 70 handle = le16_to_cpu(vol_pg1.DevHandle); in _warpdrive_disable_ddio() 97 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in mpt3sas_get_num_volumes() 102 handle = le16_to_cpu(vol_pg1.DevHandle); in mpt3sas_get_num_volumes() 195 le16_to_cpu(pd_pg0.DevHandle), in mpt3sas_init_warpdrive_properties() 200 raid_device->pd_handle[count] = le16_to_cpu(pd_pg0.DevHandle); in mpt3sas_init_warpdrive_properties() 213 le16_to_cpu(vol_pg0->BlockSize)) / 1024, in mpt3sas_init_warpdrive_properties() 214 le16_to_cpu(vol_pg0->BlockSize)); in mpt3sas_init_warpdrive_properties() 225 le16_to_cpu(vol_pg0->BlockSize)) / 1024); in mpt3sas_init_warpdrive_properties() 229 block_sz = le16_to_cpu(vol_pg0->BlockSize); in mpt3sas_init_warpdrive_properties() [all …]
|
D | mpt3sas_scsih.c | 344 EnclosureLogicalID) && slot_number == le16_to_cpu(boot_device-> in _scsih_srch_boot_encl_slot() 422 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_get_sas_address() 1498 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_display_sata_capabilities() 1506 flags = le16_to_cpu(sas_device_pg0.Flags); in _scsih_display_sata_capabilities() 1750 le16_to_cpu(pd_pg0.DevHandle)))) { in _scsih_get_volume_capabilities() 2281 ioc->name, le16_to_cpu(mpi_reply->IOCStatus), in mpt3sas_scsih_issue_tm() 3038 handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle); in _scsih_block_io_to_children_attached_directly() 3212 handle = le16_to_cpu(mpi_request_tm->DevHandle); in _scsih_tm_tr_complete() 3213 if (handle != le16_to_cpu(mpi_reply->DevHandle)) { in _scsih_tm_tr_complete() 3217 le16_to_cpu(mpi_reply->DevHandle), smid)); in _scsih_tm_tr_complete() [all …]
|
D | mpt3sas_transport.c | 161 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_set_identify() 420 ioc->name, le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_expander_report_manufacture() 422 if (le16_to_cpu(mpi_reply->ResponseDataLength) != in _transport_expander_report_manufacture() 886 mpt3sas_phy->attached_handle = le16_to_cpu(phy_pg0.AttachedDevHandle); in mpt3sas_transport_add_host_phy() 955 le16_to_cpu(expander_pg1.AttachedDevHandle); in mpt3sas_transport_add_expander_phy() 1223 ioc->name, le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_get_expander_phy_error_log() 1225 if (le16_to_cpu(mpi_reply->ResponseDataLength) != in _transport_get_expander_phy_error_log() 1300 le16_to_cpu(mpi_reply.IOCStatus), in _transport_get_linkerrors() 1557 ioc->name, le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_expander_phy_control() 1559 if (le16_to_cpu(mpi_reply->ResponseDataLength) != in _transport_expander_phy_control() [all …]
|
D | mpt3sas_ctl.c | 138 le16_to_cpu(scsi_request->IoFlags) & 0xF); in _ctl_display_some_debug() 190 le16_to_cpu(scsi_request->IoFlags) & 0xF); in _ctl_display_some_debug() 223 ioc->name, le16_to_cpu(mpi_reply->IOCStatus), in _ctl_display_some_debug() 236 le16_to_cpu(scsi_reply->DevHandle)); in _ctl_display_some_debug() 354 event = le16_to_cpu(mpi_reply->Event); in mpt3sas_ctl_add_to_event_log() 364 event_data_sz = le16_to_cpu(mpi_reply->EventDataLength)*4; in mpt3sas_ctl_add_to_event_log() 570 handle = le16_to_cpu(tm_request->DevHandle); in _ctl_set_task_mid() 593 desc, le16_to_cpu(tm_request->DevHandle), lun)); in _ctl_set_task_mid() 611 desc, le16_to_cpu(tm_request->DevHandle), lun, in _ctl_set_task_mid() 612 le16_to_cpu(tm_request->TaskMID))); in _ctl_set_task_mid() [all …]
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | wifi.h | 158 le16_to_cpu(_TO_DS_)) != 0) 169 le16_to_cpu(_FROM_DS_)) != 0) 183 le16_to_cpu(_MORE_FRAG_)) != 0) 194 le16_to_cpu(_RETRY_)) != 0) 205 le16_to_cpu(_PWRMGT_)) != 0) 216 le16_to_cpu(_MORE_DATA_)) != 0) 227 le16_to_cpu(_PRIVACY_)) != 0) 230 le16_to_cpu(_ORDER_)) != 0) 232 #define GetFrameType(pbuf) (le16_to_cpu(*(unsigned short *)(pbuf)) & \ 262 le16_to_cpu((unsigned short)0x000f)) | \ [all …]
|
/linux-4.4.14/include/linux/uwb/ |
D | spec.h | 312 return (le16_to_cpu(ie->drp_control) >> 0) & 0x7; in uwb_ie_drp_type() 317 return (le16_to_cpu(ie->drp_control) >> 3) & 0x7; in uwb_ie_drp_stream_index() 322 return (le16_to_cpu(ie->drp_control) >> 6) & 0x7; in uwb_ie_drp_reason_code() 327 return (le16_to_cpu(ie->drp_control) >> 9) & 0x1; in uwb_ie_drp_status() 332 return (le16_to_cpu(ie->drp_control) >> 10) & 0x1; in uwb_ie_drp_owner() 337 return (le16_to_cpu(ie->drp_control) >> 11) & 0x1; in uwb_ie_drp_tiebreaker() 342 return (le16_to_cpu(ie->drp_control) >> 12) & 0x1; in uwb_ie_drp_unsafe() 347 u16 drp_control = le16_to_cpu(ie->drp_control); in uwb_ie_drp_set_type() 354 u16 drp_control = le16_to_cpu(ie->drp_control); in uwb_ie_drp_set_stream_index() 362 u16 drp_control = le16_to_cpu(ie->drp_control); in uwb_ie_drp_set_reason_code() [all …]
|
/linux-4.4.14/fs/ext2/ |
D | ialloc.c | 215 if (le16_to_cpu(desc->bg_free_inodes_count) < avefreei) in find_group_dir() 218 (le16_to_cpu(desc->bg_free_blocks_count) > in find_group_dir() 219 le16_to_cpu(best_desc->bg_free_blocks_count))) { in find_group_dir() 294 if (le16_to_cpu(desc->bg_used_dirs_count) >= best_ndir) in find_group_orlov() 296 if (le16_to_cpu(desc->bg_free_inodes_count) < avefreei) in find_group_orlov() 298 if (le16_to_cpu(desc->bg_free_blocks_count) < avefreeb) in find_group_orlov() 301 best_ndir = le16_to_cpu(desc->bg_used_dirs_count); in find_group_orlov() 336 if (le16_to_cpu(desc->bg_used_dirs_count) >= max_dirs) in find_group_orlov() 338 if (le16_to_cpu(desc->bg_free_inodes_count) < min_inodes) in find_group_orlov() 340 if (le16_to_cpu(desc->bg_free_blocks_count) < min_blocks) in find_group_orlov() [all …]
|
D | super.c | 242 le16_to_cpu(es->s_def_resuid) != EXT2_DEF_RESUID) { in ext2_show_options() 247 le16_to_cpu(es->s_def_resgid) != EXT2_DEF_RESGID) { in ext2_show_options() 252 int def_errors = le16_to_cpu(es->s_errors); in ext2_show_options() 638 else if ((__s16) le16_to_cpu(es->s_max_mnt_count) >= 0 && in ext2_setup_super() 639 le16_to_cpu(es->s_mnt_count) >= in ext2_setup_super() 640 (unsigned short) (__s16) le16_to_cpu(es->s_max_mnt_count)) in ext2_setup_super() 650 if (!le16_to_cpu(es->s_max_mnt_count)) in ext2_setup_super() 850 sb->s_magic = le16_to_cpu(es->s_magic); in ext2_fill_super() 872 if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_PANIC) in ext2_fill_super() 874 else if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_CONTINUE) in ext2_fill_super() [all …]
|
D | xattr.c | 211 le16_to_cpu(entry->e_value_offs) + size > inode->i_sb->s_blocksize) in ext2_xattr_get() 221 memcpy(buffer, bh->b_data + le16_to_cpu(entry->e_value_offs), in ext2_xattr_get() 417 size_t offs = le16_to_cpu(here->e_value_offs); in ext2_xattr_set() 437 size_t offs = le16_to_cpu(last->e_value_offs); in ext2_xattr_set() 469 if (le16_to_cpu(here->e_value_offs) + size > in ext2_xattr_set() 539 size_t offs = le16_to_cpu(here->e_value_offs); in ext2_xattr_set() 563 size_t o = le16_to_cpu(last->e_value_offs); in ext2_xattr_set() 878 if (memcmp((char *)header1 + le16_to_cpu(entry1->e_value_offs), in ext2_xattr_cmp() 879 (char *)header2 + le16_to_cpu(entry2->e_value_offs), in ext2_xattr_cmp() 970 le16_to_cpu(entry->e_value_offs)); in ext2_xattr_hash_entry()
|
/linux-4.4.14/fs/ocfs2/ |
D | suballoc.c | 164 return (u32)le16_to_cpu(cl->cl_cpg) * (u32)le16_to_cpu(cl->cl_bpc); in ocfs2_bits_per_group() 199 if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) { in ocfs2_validate_gd_self() 202 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self() 203 le16_to_cpu(gd->bg_free_bits_count)); in ocfs2_validate_gd_self() 206 if (le16_to_cpu(gd->bg_bits) > (8 * le16_to_cpu(gd->bg_size))) { in ocfs2_validate_gd_self() 209 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self() 210 8 * le16_to_cpu(gd->bg_size)); in ocfs2_validate_gd_self() 231 max_bits = le16_to_cpu(di->id2.i_chain.cl_cpg) * le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_validate_gd_parent() 232 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent() 235 le16_to_cpu(gd->bg_bits)); in ocfs2_validate_gd_parent() [all …]
|
D | resize.c | 107 u16 cl_bpc = le16_to_cpu(cl->cl_bpc); in ocfs2_update_last_group_and_inode() 108 u16 cl_cpg = le16_to_cpu(cl->cl_cpg); in ocfs2_update_last_group_and_inode() 123 old_bg_clusters = le16_to_cpu(group->bg_bits) / cl_bpc; in ocfs2_update_last_group_and_inode() 151 chain = le16_to_cpu(group->bg_chain); in ocfs2_update_last_group_and_inode() 318 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_extend() 339 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend() 340 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend() 341 le16_to_cpu(fe->id2.i_chain.cl_cpg)) { in ocfs2_group_extend() 393 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group() 400 if (le16_to_cpu(gd->bg_chain) != input->chain) in ocfs2_check_new_group() [all …]
|
D | alloc.c | 602 depth = le16_to_cpu(path_root_el(path)->l_tree_depth); in ocfs2_reinit_path() 693 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH); in ocfs2_new_path() 697 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth); in ocfs2_new_path() 780 for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { in ocfs2_search_extent_list() 808 le16_to_cpu(ext->e_leaf_clusters)); in ocfs2_block_extent_contig() 819 le16_to_cpu(left->e_leaf_clusters); in ocfs2_extents_adjacent() 982 retval = le16_to_cpu(el->l_count) - le16_to_cpu(el->l_next_free_rec); in ocfs2_num_free_extents() 1092 i = le16_to_cpu(el->l_next_free_rec) - 1; in ocfs2_sum_rightmost_rec() 1135 rec = &el->l_recs[le16_to_cpu(el->l_next_free_rec) - 1]; in ocfs2_adjust_rightmost_branch() 1181 new_blocks = le16_to_cpu(el->l_tree_depth); in ocfs2_add_branch() [all …]
|
D | xattr.c | 919 for (i = 0 ; i < le16_to_cpu(header->xh_count); i++) { in ocfs2_xattr_list_entries() 926 le16_to_cpu(entry->xe_name_offset); in ocfs2_xattr_list_entries() 947 le16_to_cpu(di->i_xattr_inline_size)); in ocfs2_has_inline_xattr_value_outside() 949 for (i = 0; i < le16_to_cpu(xh->xh_count); i++) in ocfs2_has_inline_xattr_value_outside() 970 le16_to_cpu(di->i_xattr_inline_size)); in ocfs2_xattr_ibody_list() 997 if (!(le16_to_cpu(xb->xb_flags) & OCFS2_XATTR_INDEXED)) { in ocfs2_xattr_block_list() 1068 for (i = 0; i < le16_to_cpu(xs->header->xh_count); i++) { in ocfs2_xattr_find_entry() 1074 le16_to_cpu(entry->xe_name_offset)), in ocfs2_xattr_find_entry() 1155 (xs->end - le16_to_cpu(di->i_xattr_inline_size)); in ocfs2_xattr_ibody_get() 1168 le16_to_cpu(xs->here->xe_name_offset) + in ocfs2_xattr_ibody_get() [all …]
|
D | dir.c | 322 const int rlen = le16_to_cpu(de->rec_len); in ocfs2_check_dir_entry() 393 de_len = le16_to_cpu(de->rec_len); in ocfs2_search_dirblock() 815 for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { in ocfs2_dx_dir_lookup_rec() 838 *ret_clen = le16_to_cpu(rec->e_leaf_clusters); in ocfs2_dx_dir_lookup_rec() 952 le16_to_cpu(dx_leaf->dl_list.de_num_used), in ocfs2_dx_dir_search() 953 le16_to_cpu(dx_leaf->dl_list.de_count)); in ocfs2_dx_dir_search() 962 for (i = 0; i < le16_to_cpu(entry_list->de_num_used); i++) { in ocfs2_dx_dir_search() 1175 le16_to_cpu(de->rec_len)); in __ocfs2_delete_entry() 1181 i += le16_to_cpu(de->rec_len); in __ocfs2_delete_entry() 1183 de = (struct ocfs2_dir_entry *)((char *)de + le16_to_cpu(de->rec_len)); in __ocfs2_delete_entry() [all …]
|
D | extent_map.c | 238 ins.ei_clusters = le16_to_cpu(rec->e_leaf_clusters); in ocfs2_extent_map_insert_rec() 315 next_free = le16_to_cpu(el->l_next_free_rec); in ocfs2_last_eb_is_empty() 336 for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { in ocfs2_search_for_hole_index() 369 if (i == le16_to_cpu(el->l_next_free_rec) && eb_bh) { in ocfs2_figure_hole_clusters() 393 if (i == le16_to_cpu(el->l_next_free_rec)) { in ocfs2_figure_hole_clusters() 429 tree_height = le16_to_cpu(el->l_tree_depth); in ocfs2_get_clusters_nocache() 505 if (i == (le16_to_cpu(el->l_next_free_rec) - 1)) { in ocfs2_get_clusters_nocache() 541 *num_clusters = le16_to_cpu(rec->e_leaf_clusters) - coff; in ocfs2_relative_extent_offsets() 730 id_count = le16_to_cpu(di->id2.i_data.id_count); in ocfs2_fiemap_inline() 809 len_bytes = (u64)le16_to_cpu(rec.e_leaf_clusters) << osb->s_clustersize_bits; in ocfs2_fiemap() [all …]
|
D | refcounttree.c | 796 bit = le16_to_cpu(rb->rf_suballoc_bit); in ocfs2_remove_refcount_tree() 804 le16_to_cpu(rb->rf_suballoc_slot)); in ocfs2_remove_refcount_tree() 893 for (; i < le16_to_cpu(rb->rf_records.rl_used); i++) { in ocfs2_find_refcount_rec_in_rl() 912 if (i < le16_to_cpu(rb->rf_records.rl_used) && in ocfs2_find_refcount_rec_in_rl() 978 if (index < le16_to_cpu(el->l_next_free_rec) - 1) { in ocfs2_get_refcount_cpos_end() 1042 for (i = 0; i < le16_to_cpu(tmp_el->l_next_free_rec); i++) { in ocfs2_get_refcount_cpos_end() 1049 BUG_ON(i == le16_to_cpu(tmp_el->l_next_free_rec)); in ocfs2_get_refcount_cpos_end() 1112 for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { in ocfs2_get_refcount_rec() 1175 if (index < le16_to_cpu(rb->rf_records.rl_used) - 1) in ocfs2_refcount_rec_contig() 1203 if (index < le16_to_cpu(rb->rf_records.rl_used) - 2) in ocfs2_rotate_refcount_rec_left() [all …]
|
/linux-4.4.14/fs/cifs/ |
D | smb2misc.c | 138 le16_to_cpu(hdr->StructureSize)); in smb2_check_message() 142 command = le16_to_cpu(hdr->Command); in smb2_check_message() 153 le16_to_cpu(pdu->StructureSize2), command); in smb2_check_message() 156 && (le16_to_cpu(pdu->StructureSize2) != 44) in smb2_check_message() 157 && (le16_to_cpu(pdu->StructureSize2) != 36)) { in smb2_check_message() 160 le16_to_cpu(pdu->StructureSize2)); in smb2_check_message() 256 *off = le16_to_cpu( in smb2_get_data_area_len() 258 *len = le16_to_cpu( in smb2_get_data_area_len() 262 *off = le16_to_cpu( in smb2_get_data_area_len() 264 *len = le16_to_cpu( in smb2_get_data_area_len() [all …]
|
D | cifssmb.c | 456 server->sec_mode = le16_to_cpu(rsp->SecurityMode); in decode_lanman_negprot_rsp() 458 le16_to_cpu(rsp->MaxMpxCount), in decode_lanman_negprot_rsp() 461 server->maxBuf = le16_to_cpu(rsp->MaxBufSize); in decode_lanman_negprot_rsp() 464 if ((le16_to_cpu(rsp->RawMode) & RAW_ENABLE) == RAW_ENABLE) { in decode_lanman_negprot_rsp() 471 tmp = (__s16)le16_to_cpu(rsp->ServerTimeZone); in decode_lanman_negprot_rsp() 587 server->dialect = le16_to_cpu(pSMBr->DialectIndex); in CIFSSMBNegotiate() 613 server->maxReq = min_t(unsigned int, le16_to_cpu(pSMBr->MaxMpxCount), in CIFSSMBNegotiate() 621 server->timeAdj = (int)(__s16)le16_to_cpu(pSMBr->ServerTimeZone); in CIFSSMBNegotiate() 1082 + le16_to_cpu(pSMBr->t2.DataOffset)); in CIFSPOSIXCreate() 1084 *pOplock = le16_to_cpu(psx_rsp->OplockFlags); in CIFSPOSIXCreate() [all …]
|
D | smb2pdu.c | 88 __u16 parmsize = smb2_req_struct_sizes[le16_to_cpu(smb2_cmd)]; in smb2_hdr_assemble() 299 uint16_t com_code = le16_to_cpu(smb2_command); in small_smb2_init() 458 le16_to_cpu(rsp->DialectRevision)); in SMB2_negotiate() 462 server->dialect = le16_to_cpu(rsp->DialectRevision); in SMB2_negotiate() 472 server->sec_mode = le16_to_cpu(rsp->SecurityMode); in SMB2_negotiate() 775 le16_to_cpu(rsp->SecurityBufferOffset)) { in SMB2_sess_setup() 777 le16_to_cpu(rsp->SecurityBufferOffset)); in SMB2_sess_setup() 786 le16_to_cpu(rsp->SecurityBufferLength), ses); in SMB2_sess_setup() 800 ses->session_flags = le16_to_cpu(rsp->SessionFlags); in SMB2_sess_setup() 1120 name = le16_to_cpu(cc->NameOffset) + (char *)cc; in parse_lease_state() [all …]
|
D | cifsacl.c | 552 if (le16_to_cpu(pace->size) < 16) { in dump_ace() 553 cifs_dbg(VFS, "ACE too small %d\n", le16_to_cpu(pace->size)); in dump_ace() 557 if (end_of_acl < (char *)pace + le16_to_cpu(pace->size)) { in dump_ace() 567 pace->flags, le16_to_cpu(pace->size)); in dump_ace() 602 if (end_of_acl < (char *)pdacl + le16_to_cpu(pdacl->size)) { in parse_dacl() 608 le16_to_cpu(pdacl->revision), le16_to_cpu(pdacl->size), in parse_dacl() 664 acl_size = le16_to_cpu(ppace[i]->size); in parse_dacl() 815 sidsoffset = ndacloffset + le16_to_cpu(ndacl_ptr->size); in build_sec_desc()
|
/linux-4.4.14/drivers/net/wireless/orinoco/ |
D | scan.c | 34 rate = le16_to_cpu(rates[i]); in symbol_build_supp_rates() 90 len = le16_to_cpu(bss->a.essid_len); in orinoco_add_hostscan_result() 114 le16_to_cpu(bss->a.channel), IEEE80211_BAND_2GHZ); in orinoco_add_hostscan_result() 122 capability = le16_to_cpu(bss->a.capabilities); in orinoco_add_hostscan_result() 123 beacon_interval = le16_to_cpu(bss->a.beacon_interv); in orinoco_add_hostscan_result() 124 signal = SIGNAL_TO_MBM(le16_to_cpu(bss->a.level)); in orinoco_add_hostscan_result() 155 capability = le16_to_cpu(bss->capabilities); in orinoco_add_extscan_result() 156 beacon_interval = le16_to_cpu(bss->beacon_interval); in orinoco_add_extscan_result()
|
D | main.c | 643 status = le16_to_cpu(hdr.desc.status); in __orinoco_ev_txexc() 758 len = le16_to_cpu(desc->data_len); in orinoco_rx_monitor() 761 fc = le16_to_cpu(desc->frame_ctl); in orinoco_rx_monitor() 869 status = le16_to_cpu(desc->status); in __orinoco_ev_rx() 891 length = le16_to_cpu(desc->data_len); in __orinoco_ev_rx() 970 status = le16_to_cpu(desc->status); in orinoco_rx() 971 length = le16_to_cpu(desc->data_len); in orinoco_rx() 972 fc = le16_to_cpu(desc->frame_ctl); in orinoco_rx() 1431 len = HERMES_RECLEN_TO_BYTES(le16_to_cpu(info.len)); in __orinoco_ev_info() 1432 type = le16_to_cpu(info.type); in __orinoco_ev_info() [all …]
|
D | hermes_dld.c | 104 return le16_to_cpu(blk->len); in dblock_len() 132 return le16_to_cpu(pdi->id); in pdi_id() 139 return 2 * (le16_to_cpu(pdi->len) - 1); in pdi_len()
|
/linux-4.4.14/drivers/bluetooth/ |
D | btqca.c | 75 BT_DBG("%s: Patch :0x%08x", hdev->name, le16_to_cpu(ver->patch_ver)); in rome_patch_ver_req() 76 BT_DBG("%s: ROM :0x%08x", hdev->name, le16_to_cpu(ver->rome_ver)); in rome_patch_ver_req() 84 (le16_to_cpu(ver->rome_ver) & 0x0000ffff); in rome_patch_ver_req() 142 le16_to_cpu(tlv_patch->reserved1)); in rome_tlv_check_data() 144 le16_to_cpu(tlv_patch->product_id)); in rome_tlv_check_data() 146 le16_to_cpu(tlv_patch->rom_build)); in rome_tlv_check_data() 148 le16_to_cpu(tlv_patch->patch_version)); in rome_tlv_check_data() 150 le16_to_cpu(tlv_patch->reserved2)); in rome_tlv_check_data() 161 tag_id = le16_to_cpu(tlv_nvm->tag_id); in rome_tlv_check_data() 162 tag_len = le16_to_cpu(tlv_nvm->tag_len); in rome_tlv_check_data()
|
D | btbcm.c | 148 opcode = le16_to_cpu(cmd->opcode); in btbcm_patchram() 296 rev = le16_to_cpu(ver->hci_rev); in btbcm_initialize() 297 subver = le16_to_cpu(ver->lmp_subver); in btbcm_initialize() 351 rev = le16_to_cpu(ver->hci_rev); in btbcm_finalize() 352 subver = le16_to_cpu(ver->lmp_subver); in btbcm_finalize() 405 rev = le16_to_cpu(ver->hci_rev); in btbcm_setup_patchram() 406 subver = le16_to_cpu(ver->lmp_subver); in btbcm_setup_patchram() 488 rev = le16_to_cpu(ver->hci_rev); in btbcm_setup_patchram() 489 subver = le16_to_cpu(ver->lmp_subver); in btbcm_setup_patchram()
|
/linux-4.4.14/drivers/media/common/siano/ |
D | smsendian.c | 67 ver->chip_model = le16_to_cpu(ver->chip_model); in smsendian_handle_rx_message() 98 phdr->msg_type = le16_to_cpu(phdr->msg_type); in smsendian_handle_message_header() 99 phdr->msg_length = le16_to_cpu(phdr->msg_length); in smsendian_handle_message_header() 100 phdr->msg_flags = le16_to_cpu(phdr->msg_flags); in smsendian_handle_message_header()
|
D | smsir.c | 84 dev->input_id.vendor = le16_to_cpu(dev->udev->descriptor.idVendor); in sms_ir_init() 85 dev->input_id.product = le16_to_cpu(dev->udev->descriptor.idProduct); in sms_ir_init()
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
D | cmd.c | 36 copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); in lbs_cmd_copyback() 133 priv->regioncode = (le16_to_cpu(cmd.regioncode) >> 8) & 0xFF; in lbs_update_hw_spec() 135 priv->regioncode = le16_to_cpu(cmd.regioncode) & 0xFF; in lbs_update_hw_spec() 209 le16_to_cpu(cmd_config.hdr.size), in lbs_host_sleep_cfg() 295 le16_to_cpu(cmd.error), le16_to_cpu(cmd.offset), in lbs_cmd_802_11_sleep_params() 296 le16_to_cpu(cmd.stabletime), cmd.calcontrol, in lbs_cmd_802_11_sleep_params() 299 sp->sp_error = le16_to_cpu(cmd.error); in lbs_cmd_802_11_sleep_params() 300 sp->sp_offset = le16_to_cpu(cmd.offset); in lbs_cmd_802_11_sleep_params() 301 sp->sp_stabletime = le16_to_cpu(cmd.stabletime); in lbs_cmd_802_11_sleep_params() 304 sp->sp_reserved = le16_to_cpu(cmd.reserved); in lbs_cmd_802_11_sleep_params() [all …]
|
D | cmdresp.c | 84 curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); in lbs_process_command_response() 85 respcmd = le16_to_cpu(resp->command); in lbs_process_command_response() 86 result = le16_to_cpu(resp->result); in lbs_process_command_response() 89 respcmd, le16_to_cpu(resp->seqnum), len); in lbs_process_command_response() 95 le16_to_cpu(resp->seqnum), in lbs_process_command_response() 96 le16_to_cpu(priv->cur_cmd->cmdbuf->seqnum)); in lbs_process_command_response() 115 le16_to_cpu(resp->command)); in lbs_process_command_response() 127 u16 action = le16_to_cpu(psmode->action); in lbs_process_command_response()
|
D | tx.c | 141 lbs_deb_hex(LBS_DEB_TX, "Tx Data", (u8 *) p802x_hdr, le16_to_cpu(txpd->tx_packet_length)); in lbs_hard_start_xmit() 143 memcpy(&txpd[1], p802x_hdr, le16_to_cpu(txpd->tx_packet_length)); in lbs_hard_start_xmit()
|
/linux-4.4.14/arch/parisc/lib/ |
D | io.c | 353 outw(le16_to_cpu(l >> 16), port); in outsw() 354 outw(le16_to_cpu(l & 0xffff), port); in outsw() 357 outw(le16_to_cpu(*(unsigned short*)p), port); in outsw() 363 outw(le16_to_cpu(*(unsigned short*)p), port); in outsw() 371 outw(le16_to_cpu(l >> 16), port); in outsw() 372 outw(le16_to_cpu(l & 0xffff), port); in outsw() 375 outw(le16_to_cpu(*(unsigned short *)p), port); in outsw() 391 outw(le16_to_cpu(l | l2 >> 8), port); in outsw() 395 outw (le16_to_cpu(l | l2>>8), port); in outsw()
|
/linux-4.4.14/include/linux/usb/ |
D | input.h | 20 id->vendor = le16_to_cpu(dev->descriptor.idVendor); in usb_to_input_id() 21 id->product = le16_to_cpu(dev->descriptor.idProduct); in usb_to_input_id() 22 id->version = le16_to_cpu(dev->descriptor.bcdDevice); in usb_to_input_id()
|
D | wusb.h | 210 return le16_to_cpu(dn->attributes) & 0xff; in wusb_dn_connect_prev_dev_addr() 215 return (le16_to_cpu(dn->attributes) >> 8) & 0x1; in wusb_dn_connect_new_connection() 220 return (le16_to_cpu(dn->attributes) >> 9) & 0x03; in wusb_dn_connect_beacon_behavior()
|
/linux-4.4.14/net/mac80211/ |
D | vht.c | 77 le16_to_cpu(sdata->u.mgd.vht_capa_mask.supp_mcs.rx_mcs_map); in ieee80211_apply_vhtcap_overrides() 78 rxmcs_n = le16_to_cpu(sdata->u.mgd.vht_capa.supp_mcs.rx_mcs_map); in ieee80211_apply_vhtcap_overrides() 80 rxmcs_cap = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ieee80211_apply_vhtcap_overrides() 83 le16_to_cpu(sdata->u.mgd.vht_capa_mask.supp_mcs.tx_mcs_map); in ieee80211_apply_vhtcap_overrides() 84 txmcs_n = le16_to_cpu(sdata->u.mgd.vht_capa.supp_mcs.tx_mcs_map); in ieee80211_apply_vhtcap_overrides() 86 txmcs_cap = le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ieee80211_apply_vhtcap_overrides() 235 own_rx = le16_to_cpu(own_cap.vht_mcs.rx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap() 238 own_tx = le16_to_cpu(own_cap.vht_mcs.tx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap() 241 peer_rx = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap() 244 peer_tx = le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap() [all …]
|
D | debugfs_sta.c | 106 le16_to_cpu(sta->last_seq_ctrl[i])); in sta_last_seq_ctrl_read() 278 if (le16_to_cpu(htc->mcs.rx_highest)) { in sta_ht_capa_read() 281 le16_to_cpu(htc->mcs.rx_highest)); in sta_ht_capa_read() 305 le16_to_cpu(vhtc->vht_mcs.rx_mcs_map)); in sta_vht_capa_read() 309 le16_to_cpu(vhtc->vht_mcs.rx_highest)); in sta_vht_capa_read() 311 le16_to_cpu(vhtc->vht_mcs.tx_mcs_map)); in sta_vht_capa_read() 315 le16_to_cpu(vhtc->vht_mcs.tx_highest)); in sta_vht_capa_read()
|
/linux-4.4.14/fs/jfs/ |
D | jfs_xtree.c | 71 if ((le16_to_cpu((P)->header.nextindex) < XTENTRYSTART) || \ 72 (le16_to_cpu((P)->header.nextindex) > \ 73 le16_to_cpu((P)->header.maxentry)) || \ 74 (le16_to_cpu((P)->header.maxentry) > \ 293 le16_to_cpu(p->header.nextindex)) { in xtSearch() 309 le16_to_cpu(p->header.nextindex)) { in xtSearch() 376 lim = le16_to_cpu(p->header.nextindex) - XTENTRYSTART; in xtSearch() 425 if (index < le16_to_cpu(p->header.nextindex)-1) in xtSearch() 442 if (base < le16_to_cpu(p->header.nextindex)) in xtSearch() 608 nextindex = le16_to_cpu(p->header.nextindex); in xtInsert() [all …]
|
D | jfs_unicode.c | 44 codepage->uni2char(le16_to_cpu(from[i]), in jfs_strfromUCS_le() 54 if (unlikely(le16_to_cpu(from[i]) & 0xff00)) { in jfs_strfromUCS_le() 61 le16_to_cpu(from[i])); in jfs_strfromUCS_le() 68 to[i] = (char) (le16_to_cpu(from[i])); in jfs_strfromUCS_le()
|
/linux-4.4.14/drivers/net/wimax/i2400m/ |
D | control.c | 127 if (le16_to_cpu(tlv->type) != tlv_type) /* Not our type? skip */ in i2400m_tlv_match() 130 && le16_to_cpu(tlv->length) + sizeof(*tlv) != tlv_size) { in i2400m_tlv_match() 131 size_t size = le16_to_cpu(tlv->length) + sizeof(*tlv); in i2400m_tlv_match() 175 + le16_to_cpu(tlv_pos->length) + sizeof(*tlv_pos); in i2400m_tlv_buffer_walk() 192 type = le16_to_cpu(tlv_pos->type); in i2400m_tlv_buffer_walk() 193 length = le16_to_cpu(tlv_pos->length); in i2400m_tlv_buffer_walk() 286 enum i2400m_ms status = le16_to_cpu(l3l4_hdr->status); in i2400m_msg_check_status() 486 size_t tlv_size = le16_to_cpu(l3l4_hdr->length); in i2400m_report_state_hook() 523 msg_type = le16_to_cpu(l3l4_hdr->type); in i2400m_report_hook() 574 ack_type = le16_to_cpu(l3l4_hdr->type); in i2400m_msg_ack_hook() [all …]
|
D | tx.c | 538 return le16_to_cpu(msg_hdr->num_pls) < I2400M_TX_PLD_MAX; in i2400m_tx_fits() 624 num_pls = le16_to_cpu(tx_msg->num_pls); in i2400m_tx_close() 644 + le16_to_cpu(tx_msg->num_pls) * sizeof(tx_msg->pld[0]); in i2400m_tx_close() 781 unsigned num_pls = le16_to_cpu(tx_msg->num_pls); in i2400m_tx() 788 tx_msg->num_pls = le16_to_cpu(num_pls+1); in i2400m_tx()
|
/linux-4.4.14/drivers/isdn/hardware/mISDN/ |
D | hfcpci.c | 355 le16_to_cpu(bzr->za[MAX_B_FRAMES].z1)); in hfcpci_clear_fifo_rx() 383 le16_to_cpu(bzt->za[MAX_B_FRAMES].z1), in hfcpci_clear_fifo_tx() 384 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2), in hfcpci_clear_fifo_tx() 397 le16_to_cpu(bzt->za[MAX_B_FRAMES].z1), in hfcpci_clear_fifo_tx() 398 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2)); in hfcpci_clear_fifo_tx() 415 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */ in hfcpci_empty_bfifo() 420 (*(bdata + (le16_to_cpu(zp->z1) - B_SUB_VAL)))) { in hfcpci_empty_bfifo() 438 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo() 442 le16_to_cpu(zp->z2); /* maximum */ in hfcpci_empty_bfifo() 444 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL); in hfcpci_empty_bfifo() [all …]
|
/linux-4.4.14/drivers/net/usb/ |
D | cdc_ncm.c | 296 NCM_PARM_ATTR(bmNtbFormatsSupported, "0x%04x", le16_to_cpu); 298 NCM_PARM_ATTR(wNdpInDivisor, "%u", le16_to_cpu); 299 NCM_PARM_ATTR(wNdpInPayloadRemainder, "%u", le16_to_cpu); 300 NCM_PARM_ATTR(wNdpInAlignment, "%u", le16_to_cpu); 302 NCM_PARM_ATTR(wNdpOutDivisor, "%u", le16_to_cpu); 303 NCM_PARM_ATTR(wNdpOutPayloadRemainder, "%u", le16_to_cpu); 304 NCM_PARM_ATTR(wNdpOutAlignment, "%u", le16_to_cpu); 305 NCM_PARM_ATTR(wNtbOutMaxDatagrams, "%u", le16_to_cpu); 433 return le16_to_cpu(ctx->mbim_desc->wMaxSegmentSize); in cdc_ncm_max_dgram_size() 435 return le16_to_cpu(ctx->ether_desc->wMaxSegmentSize); in cdc_ncm_max_dgram_size() [all …]
|
/linux-4.4.14/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 99 u16 fc = le16_to_cpu(hdr->frame_ctl); in rtllib_frag_cache_get() 100 u16 sc = le16_to_cpu(hdr->seq_ctl); in rtllib_frag_cache_get() 111 tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & RTLLIB_QCTL_TID; in rtllib_frag_cache_get() 116 tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & RTLLIB_QCTL_TID; in rtllib_frag_cache_get() 170 u16 fc = le16_to_cpu(hdr->frame_ctl); in rtllib_frag_cache_invalidate() 171 u16 sc = le16_to_cpu(hdr->seq_ctl); in rtllib_frag_cache_invalidate() 181 tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & RTLLIB_QCTL_TID; in rtllib_frag_cache_invalidate() 186 tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & RTLLIB_QCTL_TID; in rtllib_frag_cache_invalidate() 262 fc = le16_to_cpu(hdr->frame_ctl); in rtllib_is_eapol_frame() 311 hdrlen = rtllib_get_hdrlen(le16_to_cpu(hdr->frame_ctl)); in rtllib_rx_frame_decrypt() [all …]
|
/linux-4.4.14/drivers/net/wireless/p54/ |
D | eeprom.c | 291 rawpower, le16_to_cpu(point->val_qpsk)); in p54_get_maxpower() 293 rawpower, le16_to_cpu(point->val_bpsk)); in p54_get_maxpower() 295 rawpower, le16_to_cpu(point->val_16qam)); in p54_get_maxpower() 297 rawpower, le16_to_cpu(point->val_64qam)); in p54_get_maxpower() 364 freq = le16_to_cpu(priv->iq_autocal[i].freq); in p54_generate_channel_lists() 566 entry[i].freq = le16_to_cpu(cal[i].freq); in p54_parse_rssical() 567 entry[i].mul = (s16) le16_to_cpu(cal[i].mul); in p54_parse_rssical() 568 entry[i].add = (s16) le16_to_cpu(cal[i].add); in p54_parse_rssical() 585 entry[i].mul = (s16) le16_to_cpu(cal[i].mul); in p54_parse_rssical() 586 entry[i].add = (s16) le16_to_cpu(cal[i].add); in p54_parse_rssical() [all …]
|
D | txrx.c | 57 le16_to_cpu(hdr->flags), le16_to_cpu(hdr->len), in p54_dump_tx_queue() 58 le32_to_cpu(hdr->req_id), le16_to_cpu(hdr->type), in p54_dump_tx_queue() 331 u16 freq = le16_to_cpu(hdr->freq); in p54_rx_data() 381 skb_trim(skb, le16_to_cpu(hdr->len)); in p54_rx_data() 498 le16_to_cpu(eeprom->v2.len)); in p54_rx_eeprom_readback() 501 le16_to_cpu(eeprom->v1.len)); in p54_rx_eeprom_readback() 608 u16 event = le16_to_cpu(trap->event); in p54_rx_trap() 609 u16 freq = le16_to_cpu(trap->frequency); in p54_rx_trap() 644 switch (le16_to_cpu(hdr->type)) { in p54_rx_control() 662 le16_to_cpu(hdr->type)); in p54_rx_control() [all …]
|
/linux-4.4.14/net/decnet/ |
D | dn_nsp_in.c | 88 le16_to_cpu(cb->src), in dn_log_martian() 89 le16_to_cpu(cb->dst), in dn_log_martian() 90 le16_to_cpu(cb->src_port), in dn_log_martian() 91 le16_to_cpu(cb->dst_port)); in dn_log_martian() 145 if ((ack = le16_to_cpu(*ptr)) & 0x8000) { in dn_process_ack() 159 if ((ack = le16_to_cpu(*ptr)) & 0x8000) { in dn_process_ack() 249 cb->segsize = le16_to_cpu(msg->segsize); in dn_find_listener() 356 cb->segsize = le16_to_cpu(*(__le16 *)ptr); in dn_nsp_conn_conf() 408 reason = le16_to_cpu(*(__le16 *)skb->data); in dn_nsp_disc_init() 475 reason = le16_to_cpu(*(__le16 *)skb->data); in dn_nsp_disc_conf() [all …]
|
D | af_decnet.c | 170 return &dn_sk_hash[le16_to_cpu(scp->addrloc) & DN_SK_HASH_MASK]; in dn_find_list() 183 sk_for_each(sk, &dn_sk_hash[le16_to_cpu(port) & DN_SK_HASH_MASK]) { in check_port() 257 for(i = 0; i < le16_to_cpu(addr->sdn_objnamel); i++) { in listen_hash() 299 *buf++ = le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username() 300 memcpy(buf, sdn->sdn_objname, le16_to_cpu(sdn->sdn_objnamel)); in dn_sockaddr2username() 301 len = 3 + le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username() 306 *buf++ = le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username() 307 memcpy(buf, sdn->sdn_objname, le16_to_cpu(sdn->sdn_objnamel)); in dn_sockaddr2username() 308 len = 7 + le16_to_cpu(sdn->sdn_objnamel); in dn_sockaddr2username() 364 len -= le16_to_cpu(sdn->sdn_objnamel); in dn_username2sockaddr() [all …]
|
D | dn_route.c | 530 le16_to_cpu(cb->src), le16_to_cpu(cb->dst), in dn_route_rx_packet() 634 __u16 len = le16_to_cpu(*(__le16 *)skb->data); in dn_route_rcv() 838 le16_to_cpu(cb->src), le16_to_cpu(cb->dst)); in dn_rt_bug_out() 850 le16_to_cpu(cb->src), le16_to_cpu(cb->dst)); in dn_rt_bug() 911 __u16 tmp = le16_to_cpu(addr1) ^ le16_to_cpu(addr2); in dn_match_addr() 984 " iif=%d oif=%d\n", le16_to_cpu(oldflp->daddr), in dn_route_output_slow() 985 le16_to_cpu(oldflp->saddr), in dn_route_output_slow() 1061 le16_to_cpu(fld.daddr), le16_to_cpu(fld.saddr), in dn_route_output_slow() 1844 dn_addr2asc(le16_to_cpu(rt->rt_daddr), buf1), in dn_rt_cache_seq_show() 1845 dn_addr2asc(le16_to_cpu(rt->rt_saddr), buf2), in dn_rt_cache_seq_show()
|
/linux-4.4.14/net/bluetooth/ |
D | a2mp.c | 127 if (le16_to_cpu(hdr->len) < sizeof(*rej)) in a2mp_command_rej() 130 BT_DBG("ident %d reason %d", hdr->ident, le16_to_cpu(rej->reason)); in a2mp_command_rej() 141 u16 len = le16_to_cpu(hdr->len); in a2mp_discover_req() 152 ext_feat = le16_to_cpu(req->ext_feat); in a2mp_discover_req() 154 BT_DBG("mtu %d efm 0x%4.4x", le16_to_cpu(req->mtu), ext_feat); in a2mp_discover_req() 201 u16 len = le16_to_cpu(hdr->len); in a2mp_discover_rsp() 212 ext_feat = le16_to_cpu(rsp->ext_feat); in a2mp_discover_rsp() 214 BT_DBG("mtu %d efm 0x%4.4x", le16_to_cpu(rsp->mtu), ext_feat); in a2mp_discover_rsp() 306 if (le16_to_cpu(hdr->len) < sizeof(*req)) in a2mp_getinfo_req() 346 if (le16_to_cpu(hdr->len) < sizeof(*rsp)) in a2mp_getinfo_rsp() [all …]
|
/linux-4.4.14/fs/squashfs/ |
D | inode.c | 63 err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->uid), &i_uid); in squashfs_new_inode() 67 err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->guid), &i_gid); in squashfs_new_inode() 77 inode->i_mode = le16_to_cpu(sqsh_ino->mode); in squashfs_new_inode() 139 type = le16_to_cpu(sqshb_ino->inode_type); in squashfs_read_inode() 240 inode->i_size = le16_to_cpu(sqsh_ino->file_size); in squashfs_read_inode() 245 squashfs_i(inode)->offset = le16_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 252 le16_to_cpu(sqsh_ino->offset)); in squashfs_read_inode() 270 squashfs_i(inode)->offset = le16_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 273 squashfs_i(inode)->dir_idx_cnt = le16_to_cpu(sqsh_ino->i_count); in squashfs_read_inode() 279 le16_to_cpu(sqsh_ino->offset)); in squashfs_read_inode()
|
D | super.c | 134 le16_to_cpu(sblk->s_major), in squashfs_fill_super() 135 le16_to_cpu(sblk->s_minor), in squashfs_fill_super() 136 le16_to_cpu(sblk->compression)); in squashfs_fill_super() 163 msblk->block_log = le16_to_cpu(sblk->block_log); in squashfs_fill_super() 179 flags = le16_to_cpu(sblk->flags); in squashfs_fill_super() 190 TRACE("Number of ids %d\n", le16_to_cpu(sblk->no_ids)); in squashfs_fill_super() 248 le16_to_cpu(sblk->no_ids)); in squashfs_fill_super()
|
D | dir.c | 188 size = le16_to_cpu(dire->size) + 1; in squashfs_readdir() 206 ((short) le16_to_cpu(dire->inode_number)); in squashfs_readdir() 207 type = le16_to_cpu(dire->type); in squashfs_readdir()
|
D | namei.c | 196 size = le16_to_cpu(dire->size) + 1; in squashfs_lookup() 216 off = le16_to_cpu(dire->offset); in squashfs_lookup() 218 (short) le16_to_cpu(dire->inode_number); in squashfs_lookup()
|
D | xattr.c | 68 name_size = le16_to_cpu(entry.size); in squashfs_listxattr() 69 handler = squashfs_xattr_handler(le16_to_cpu(entry.type)); in squashfs_listxattr() 144 name_size = le16_to_cpu(entry.size); in squashfs_xattr_get() 145 type = le16_to_cpu(entry.type); in squashfs_xattr_get()
|
/linux-4.4.14/fs/udf/ |
D | misc.c | 221 *ident = le16_to_cpu(tag_p->tagIdent); in udf_read_tagged() 241 le16_to_cpu(tag_p->descVersion), block); in udf_read_tagged() 246 if (le16_to_cpu(tag_p->descCRCLength) + sizeof(struct tag) > sb->s_blocksize || in udf_read_tagged() 247 le16_to_cpu(tag_p->descCRC) == crc_itu_t(0, in udf_read_tagged() 249 le16_to_cpu(tag_p->descCRCLength))) in udf_read_tagged() 253 le16_to_cpu(tag_p->descCRC), in udf_read_tagged() 254 le16_to_cpu(tag_p->descCRCLength)); in udf_read_tagged()
|
D | super.c | 654 int write_rev = le16_to_cpu(lvidiu->minUDFWriteRev); in udf_remount_fs() 925 le16_to_cpu(ts->year), ts->month, ts->day, ts->hour, in udf_load_pvoldesc() 926 ts->minute, le16_to_cpu(ts->typeAndTimezone)); in udf_load_pvoldesc() 1053 UDF_SB(sb)->s_serial_number = le16_to_cpu(fset->descTag.tagSerialNum); in udf_load_fileset() 1253 le16_to_cpu(vat20->lengthHeader); in udf_load_vat() 1289 partitionNumber = le16_to_cpu(p->partitionNumber); in udf_load_partdesc() 1380 sdata->s_packet_len = le16_to_cpu(spm->packetLength); in udf_load_sparable_map() 1404 sizeof(*st) + le16_to_cpu(st->reallocationTableLen) > in udf_load_sparable_map() 1458 map->s_volumeseqnum = le16_to_cpu(gpm1->volSeqNum); in udf_load_logicalvol() 1459 map->s_partition_num = le16_to_cpu(gpm1->partitionNum); in udf_load_logicalvol() [all …]
|
D | directory.c | 144 le16_to_cpu(cfi->lengthOfImpUse) + 3) & ~3; in udf_fileident_read() 176 le16_to_cpu(fi->descTag.tagIdent)); in udf_get_fileident() 186 fi->lengthFileIdent + le16_to_cpu(fi->lengthOfImpUse); in udf_get_fileident()
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
D | libipw_rx.c | 44 u16 fc = le16_to_cpu(hdr->frame_control); in libipw_monitor_rx() 97 sc = le16_to_cpu(hdr->seq_ctl); in libipw_frag_cache_get() 147 sc = le16_to_cpu(hdr->seq_ctl); in libipw_frag_cache_invalidate() 243 fc = le16_to_cpu(hdr->frame_ctl); in libipw_is_eapol_frame() 282 hdrlen = libipw_get_hdrlen(le16_to_cpu(hdr->frame_ctl)); in libipw_rx_frame_decrypt() 314 hdrlen = libipw_get_hdrlen(le16_to_cpu(hdr->frame_ctl)); in libipw_rx_frame_decrypt_msdu() 362 fc = le16_to_cpu(hdr->frame_ctl); in libipw_rx() 365 sc = le16_to_cpu(hdr->seq_ctl); in libipw_rx() 853 fc = le16_to_cpu(hdr->frame_ctl); in libipw_rx_any() 1034 txop = le16_to_cpu(ac_params->tx_op_limit) * 32; in libipw_qos_convert_ac_to_parameters() [all …]
|
/linux-4.4.14/sound/usb/ |
D | quirks.c | 190 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in create_fixed_stream_quirk() 472 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in create_uaxx_quirk() 579 if (le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_OLD || in snd_usb_extigy_boot_quirk() 580 le16_to_cpu(get_cfg_desc(config)->wTotalLength) == EXTIGY_FIRMWARE_SIZE_NEW) { in snd_usb_extigy_boot_quirk() 596 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_extigy_boot_quirk() 806 fwsize = le16_to_cpu(get_cfg_desc(config)->wTotalLength); in snd_usb_mbox2_boot_quirk() 845 le16_to_cpu(get_cfg_desc(config)->wTotalLength)); in snd_usb_mbox2_boot_quirk() 989 u32 id = USB_ID(le16_to_cpu(dev->descriptor.idVendor), in snd_usb_apply_boot_quirk() 990 le16_to_cpu(dev->descriptor.idProduct)); in snd_usb_apply_boot_quirk() 1203 if ((le16_to_cpu(ep->chip->dev->descriptor.idVendor) == 0x23ba) && in snd_usb_endpoint_start_quirk() [all …]
|
D | format.c | 462 brate = le16_to_cpu(fmt->wMaxBitRate); in parse_audio_format_ii() 463 framesize = le16_to_cpu(fmt->wSamplesPerFrame); in parse_audio_format_ii() 471 brate = le16_to_cpu(fmt->wMaxBitRate); in parse_audio_format_ii() 472 framesize = le16_to_cpu(fmt->wSamplesPerFrame); in parse_audio_format_ii()
|
/linux-4.4.14/drivers/usb/wusbcore/ |
D | wa-rpipe.c | 173 u8 index = le16_to_cpu(rpipe->descr.wRPipeIndex); in rpipe_destroy() 330 __rpipe_reset(wa, le16_to_cpu(rpipe->descr.wRPipeIndex)); in rpipe_aim() 332 le16_to_cpu(rpipe->descr.wRequests)); in rpipe_aim() 352 le16_to_cpu(rpipe->descr.wRPipeIndex), in rpipe_aim() 380 le16_to_cpu(rpipe->descr.wRPipeIndex)); in rpipe_aim() 456 le16_to_cpu(rpipe->descr.wRPipeIndex)); in rpipe_get_by_ep() 474 le16_to_cpu(rpipe->descr.wRPipeIndex)); in rpipe_get_by_ep() 486 wa->rpipes = le16_to_cpu(wa->wa_descr->wNumRPipes); in wa_rpipes_create() 523 u16 index = le16_to_cpu(rpipe->descr.wRPipeIndex); in rpipe_ep_disable() 544 u16 index = le16_to_cpu(rpipe->descr.wRPipeIndex); in rpipe_clear_feature_stalled()
|
/linux-4.4.14/drivers/mtd/ |
D | nftlmount.c | 105 if (le16_to_cpu(h1.EraseMark | h1.EraseMark1) != ERASE_MARK) { in find_boot_record() 108 le16_to_cpu(h1.EraseMark), le16_to_cpu(h1.EraseMark1)); in find_boot_record() 177 nftl->nb_boot_blocks = le16_to_cpu(mh->FirstPhysicalEUN); in find_boot_record() 197 nftl->nb_blocks = le16_to_cpu(mh->NumEraseUnits) + le16_to_cpu(mh->FirstPhysicalEUN); in find_boot_record() 320 erase_mark = le16_to_cpu ((uci.EraseMark | uci.EraseMark1)); in NFTL_formatblock() 507 erase_mark = le16_to_cpu ((h1.EraseMark | h1.EraseMark1)); in check_and_mark_free_block() 566 return le16_to_cpu((uci.FoldMark | uci.FoldMark1)); in get_fold_mark() 614 logical_block = le16_to_cpu ((h0.VirtUnitNum | h0.SpareVirtUnitNum)); in NFTL_mount() 615 rep_block = le16_to_cpu ((h0.ReplUnitNum | h0.SpareReplUnitNum)); in NFTL_mount() 617 erase_mark = le16_to_cpu ((h1.EraseMark | h1.EraseMark1)); in NFTL_mount() [all …]
|
D | ftl.c | 185 (header.NumTransferUnits >= le16_to_cpu(header.NumEraseUnits))) { in scan_header() 208 part->DataUnits = le16_to_cpu(part->header.NumEraseUnits) - in build_maps() 223 for (i = 0; i < le16_to_cpu(part->header.NumEraseUnits); i++) { in build_maps() 224 offset = ((i + le16_to_cpu(part->header.FirstPhysicalEUN)) in build_maps() 235 if (hdr_ok && (le16_to_cpu(header.LogicalEUN) < part->DataUnits) && in build_maps() 236 (part->EUNInfo[le16_to_cpu(header.LogicalEUN)].Offset == 0xffffffff)) { in build_maps() 237 part->EUNInfo[le16_to_cpu(header.LogicalEUN)].Offset = offset; in build_maps() 238 part->EUNInfo[le16_to_cpu(header.LogicalEUN)].EraseCount = in build_maps() 247 if (hdr_ok && (le16_to_cpu(header.LogicalEUN) == 0xffff)) { in build_maps() 263 (xvalid+xtrans != le16_to_cpu(header.NumEraseUnits))) { in build_maps()
|
/linux-4.4.14/drivers/net/wireless/libertas_tf/ |
D | cmd.c | 52 copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); in lbtf_cmd_copyback() 120 priv->regioncode = le16_to_cpu(cmd.regioncode) & 0xFF; in lbtf_update_hw_spec() 230 le16_to_cpu(cmdnode->cmdbuf->command)); in lbtf_queue_cmd() 252 cmdsize = le16_to_cpu(cmd->size); in lbtf_submit_command() 253 command = le16_to_cpu(cmd->command); in lbtf_submit_command() 256 command, le16_to_cpu(cmd->seqnum), cmdsize); in lbtf_submit_command() 595 le16_to_cpu(cmd->command)); in lbtf_execute_next_command() 736 curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); in lbtf_process_rx_command() 737 respcmd = le16_to_cpu(resp->command); in lbtf_process_rx_command() 738 result = le16_to_cpu(resp->result); in lbtf_process_rx_command() [all …]
|
/linux-4.4.14/drivers/net/wireless/prism54/ |
D | oid_mgt.c | 292 bss->age = le16_to_cpu(bss->age); in mgt_le_to_cpu() 293 bss->channel = le16_to_cpu(bss->channel); in mgt_le_to_cpu() 294 bss->capinfo = le16_to_cpu(bss->capinfo); in mgt_le_to_cpu() 295 bss->rates = le16_to_cpu(bss->rates); in mgt_le_to_cpu() 296 bss->basic_rates = le16_to_cpu(bss->basic_rates); in mgt_le_to_cpu() 310 freq->nr = le16_to_cpu(freq->nr); in mgt_le_to_cpu() 312 freq->mhz[i] = le16_to_cpu(freq->mhz[i]); in mgt_le_to_cpu() 317 mlme->id = le16_to_cpu(mlme->id); in mgt_le_to_cpu() 318 mlme->state = le16_to_cpu(mlme->state); in mgt_le_to_cpu() 319 mlme->code = le16_to_cpu(mlme->code); in mgt_le_to_cpu() [all …]
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_uac1.c | 373 le16_to_cpu(data)); in f_audio_complete() 388 u8 id = ((le16_to_cpu(ctrl->wIndex) >> 8) & 0xFF); in audio_set_intf_req() 389 u16 len = le16_to_cpu(ctrl->wLength); in audio_set_intf_req() 390 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_set_intf_req() 425 u8 id = ((le16_to_cpu(ctrl->wIndex) >> 8) & 0xFF); in audio_get_intf_req() 426 u16 len = le16_to_cpu(ctrl->wLength); in audio_get_intf_req() 427 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_get_intf_req() 461 u16 ep = le16_to_cpu(ctrl->wIndex); in audio_set_endpoint_req() 462 u16 len = le16_to_cpu(ctrl->wLength); in audio_set_endpoint_req() 463 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_set_endpoint_req() [all …]
|
/linux-4.4.14/drivers/usb/storage/ |
D | usual-tables.c | 113 vid = le16_to_cpu(udev->descriptor.idVendor); in usb_usual_ignore_device() 114 pid = le16_to_cpu(udev->descriptor.idProduct); in usb_usual_ignore_device() 115 bcd = le16_to_cpu(udev->descriptor.bcdDevice); in usb_usual_ignore_device()
|
D | uas-detect.h | 96 if (le16_to_cpu(udev->descriptor.idVendor) == 0x174c && in uas_use_uas_driver() 97 (le16_to_cpu(udev->descriptor.idProduct) == 0x5106 || in uas_use_uas_driver() 98 le16_to_cpu(udev->descriptor.idProduct) == 0x55aa)) { in uas_use_uas_driver()
|
D | usb.c | 287 u16 bcdDevice = le16_to_cpu(us->pusb_dev->descriptor.bcdDevice); in fill_inquiry_response() 442 le16_to_cpu(us->pusb_dev->descriptor.idVendor), in associate_dev() 443 le16_to_cpu(us->pusb_dev->descriptor.idProduct), in associate_dev() 444 le16_to_cpu(us->pusb_dev->descriptor.bcdDevice)); in associate_dev() 473 u16 vid = le16_to_cpu(udev->descriptor.idVendor); in usb_stor_adjust_quirks() 474 u16 pid = le16_to_cpu(udev->descriptor.idProduct); in usb_stor_adjust_quirks() 609 le16_to_cpu(dev->descriptor.idVendor), in get_device_info() 610 le16_to_cpu(dev->descriptor.idProduct), in get_device_info() 640 le16_to_cpu(ddesc->idVendor), in get_device_info() 641 le16_to_cpu(ddesc->idProduct), in get_device_info() [all …]
|
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/ |
D | event.c | 168 le16_to_cpu(mbox->rx_ba_role_id_bitmap), in wl18xx_process_mailbox_events() 169 le16_to_cpu(mbox->rx_ba_allowed_bitmap)); in wl18xx_process_mailbox_events() 173 le16_to_cpu(mbox->bss_loss_bitmap)); in wl18xx_process_mailbox_events() 177 le16_to_cpu(mbox->channel_switch_role_id_bitmap), in wl18xx_process_mailbox_events()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | tx.c | 89 if (!(le16_to_cpu(ba_trig->tx_bar) & BIT(tid))) in iwl_mvm_bar_check_trigger() 127 u16 control = le16_to_cpu(bar->control); in iwl_mvm_set_tx_cmd() 128 u16 ssn = le16_to_cpu(bar->start_seq_num); in iwl_mvm_set_tx_cmd() 233 le16_to_cpu(fc)); in iwl_mvm_set_tx_cmd_rate() 677 u16 sequence = le16_to_cpu(pkt->hdr.sequence); in iwl_mvm_rx_tx_cmd_single() 682 u32 status = le16_to_cpu(tx_resp->status.status); in iwl_mvm_rx_tx_cmd_single() 691 seq_ctl = le16_to_cpu(tx_resp->seq_ctl); in iwl_mvm_rx_tx_cmd_single() 736 seq_ctl = le16_to_cpu(hdr->seq_ctrl); in iwl_mvm_rx_tx_cmd_single() 744 le16_to_cpu(tx_resp->wireless_media_time); in iwl_mvm_rx_tx_cmd_single() 894 u16 fstatus = le16_to_cpu(frame_status[i].status); in iwl_mvm_rx_tx_cmd_agg_dbg() [all …]
|
D | nvm.c | 145 ret = le16_to_cpu(nvm_resp->status); in iwl_nvm_read_chunk() 146 bytes_read = le16_to_cpu(nvm_resp->length); in iwl_nvm_read_chunk() 147 offset_read = le16_to_cpu(nvm_resp->offset); in iwl_nvm_read_chunk() 445 2 * NVM_WORD1_LEN(le16_to_cpu(file_sec->word1)); in iwl_mvm_read_external_nvm() 446 section_id = NVM_WORD2_ID(le16_to_cpu(file_sec->word2)); in iwl_mvm_read_external_nvm() 449 le16_to_cpu(file_sec->word2)); in iwl_mvm_read_external_nvm() 451 le16_to_cpu(file_sec->word1)); in iwl_mvm_read_external_nvm() 660 mcc = le16_to_cpu(mcc_resp->mcc); in iwl_mvm_update_mcc()
|
D | fw.c | 431 alive_data->valid = le16_to_cpu(palive1->status) == in iwl_alive_fn() 435 le16_to_cpu(palive1->status), palive1->ver_type, in iwl_alive_fn() 450 alive_data->valid = le16_to_cpu(palive2->status) == in iwl_alive_fn() 457 le16_to_cpu(palive2->status), palive2->ver_type, in iwl_alive_fn() 476 alive_data->valid = le16_to_cpu(palive->status) == in iwl_alive_fn() 483 le16_to_cpu(palive->status), palive->ver_type, in iwl_alive_fn() 857 u16 occurrences = le16_to_cpu(trigger->occurrences); in iwl_mvm_fw_dbg_collect_trig() 929 le16_to_cpu(cmd->len), cmd->data); in iwl_mvm_start_fw_dbg_conf() 934 ptr += le16_to_cpu(cmd->len); in iwl_mvm_start_fw_dbg_conf()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 1282 le16_to_cpu(mbx->status), le16_to_cpu(mbx->state_flags), in qla2x00_mbx_iocb_entry() 1283 le16_to_cpu(mbx->status_flags)); in qla2x00_mbx_iocb_entry() 1291 status = le16_to_cpu(mbx->status); in qla2x00_mbx_iocb_entry() 1293 le16_to_cpu(mbx->mb0) == MBS_COMMAND_COMPLETE) in qla2x00_mbx_iocb_entry() 1295 if (!status && le16_to_cpu(mbx->mb0) == MBS_COMMAND_COMPLETE) { in qla2x00_mbx_iocb_entry() 1300 le16_to_cpu(mbx->mb1)); in qla2x00_mbx_iocb_entry() 1305 if (le16_to_cpu(mbx->mb1) & BIT_0) in qla2x00_mbx_iocb_entry() 1307 else if (le16_to_cpu(mbx->mb1) & BIT_1) in qla2x00_mbx_iocb_entry() 1313 data[0] = le16_to_cpu(mbx->mb0); in qla2x00_mbx_iocb_entry() 1316 data[1] = le16_to_cpu(mbx->mb1); in qla2x00_mbx_iocb_entry() [all …]
|
D | qla_sup.c | 614 chksum += le16_to_cpu(*wptr++); in qla2xxx_find_flt_start() 625 *start = (le16_to_cpu(fltl->start_hi) << 16 | in qla2xxx_find_flt_start() 626 le16_to_cpu(fltl->start_lo)) >> 2; in qla2xxx_find_flt_start() 699 le16_to_cpu(flt->version), le16_to_cpu(flt->length), in qla2xxx_get_flt_info() 700 le16_to_cpu(flt->checksum)); in qla2xxx_get_flt_info() 704 cnt = (sizeof(struct qla_flt_header) + le16_to_cpu(flt->length)) >> 1; in qla2xxx_get_flt_info() 706 chksum += le16_to_cpu(*wptr++); in qla2xxx_get_flt_info() 710 le16_to_cpu(flt->version), le16_to_cpu(flt->length), in qla2xxx_get_flt_info() 711 le16_to_cpu(flt->checksum)); in qla2xxx_get_flt_info() 716 cnt = le16_to_cpu(flt->length) / sizeof(struct qla_flt_region); in qla2xxx_get_flt_info() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | fwdesc.h | 244 le16_to_cpu(desc->length) >= CARL9170FW_DESC_HEAD_SIZE && \ 245 le16_to_cpu(desc->length) < CARL9170FW_DESC_MAX_LENGTH; \ 246 desc = (void *)((unsigned long)desc + le16_to_cpu(desc->length))) 263 (le16_to_cpu(head->length) >= min_len)) in carl9170fw_desc_cmp()
|
D | fw.c | 72 pos_length = le16_to_cpu(pos->length); in carl9170_fw_verify_descs() 298 ar->fw.offset = le16_to_cpu(otus_desc->miniboot_size); in carl9170_fw() 331 ar->fw.rx_size = le16_to_cpu(otus_desc->rx_max_frame_len); in carl9170_fw() 334 ar->fw.mem_block_size = le16_to_cpu(otus_desc->tx_frag_len); in carl9170_fw() 347 ar->fw.beacon_max_len = le16_to_cpu(otus_desc->bcn_len); in carl9170_fw()
|
/linux-4.4.14/drivers/mtd/chips/ |
D | cfi_probe.c | 186 cfi->cfiq->P_ID = le16_to_cpu(cfi->cfiq->P_ID); in cfi_chip_setup() 188 cfi->cfiq->P_ADR = le16_to_cpu(cfi->cfiq->P_ADR); in cfi_chip_setup() 189 cfi->cfiq->A_ID = le16_to_cpu(cfi->cfiq->A_ID); in cfi_chip_setup() 190 cfi->cfiq->A_ADR = le16_to_cpu(cfi->cfiq->A_ADR); in cfi_chip_setup() 191 cfi->cfiq->InterfaceDesc = le16_to_cpu(cfi->cfiq->InterfaceDesc); in cfi_chip_setup() 192 cfi->cfiq->MaxBufWriteSize = le16_to_cpu(cfi->cfiq->MaxBufWriteSize); in cfi_chip_setup()
|
/linux-4.4.14/drivers/soc/qcom/ |
D | smem.c | 275 return p + sizeof(*e) + le16_to_cpu(e->padding_hdr) + in private_entry_next() 283 return p + sizeof(*e) + le16_to_cpu(e->padding_hdr); in entry_to_item() 315 if (le16_to_cpu(hdr->item) == item) in qcom_smem_alloc_private() 474 if (le16_to_cpu(e->item) == item) { in qcom_smem_get_private() 477 le16_to_cpu(e->padding_data); in qcom_smem_get_private() 595 host0 = le16_to_cpu(entry->host0); in qcom_smem_enumerate_partitions() 596 host1 = le16_to_cpu(entry->host1); in qcom_smem_enumerate_partitions() 627 host0 = le16_to_cpu(header->host0); in qcom_smem_enumerate_partitions() 628 host1 = le16_to_cpu(header->host1); in qcom_smem_enumerate_partitions()
|
/linux-4.4.14/drivers/uwb/ |
D | ie.c | 137 } else if (result < sizeof(*get_ie) + le16_to_cpu(get_ie->wIELength)) { in uwb_rc_get_ie() 140 sizeof(*get_ie) + le16_to_cpu(get_ie->wIELength)); in uwb_rc_get_ie() 164 sizeof(*cmd) + le16_to_cpu(cmd->wIELength), in uwb_rc_set_ie() 238 length = le16_to_cpu(rc->ies->wIELength); in uwb_rc_ie_add_one() 335 size_t len = le16_to_cpu(uwb_rc->ies->wIELength); in uwb_rc_ie_cache_rm()
|
D | hwa-rc.c | 136 ielength = le16_to_cpu(be->wBeaconInfoLength); in hwarc_filter_evt_beacon_WUSB_0100() 196 ielength = le16_to_cpu(da->wIELength); in hwarc_filter_evt_drp_avail_WUSB_0100() 268 ielength = le16_to_cpu(drpev->wIELength); in hwarc_filter_evt_drp_WUSB_0100() 356 ielength = le16_to_cpu(orgcmd->wIELength); in hwarc_filter_cmd_set_drp_ie_WUSB_0100() 397 int cmd = le16_to_cpu(rccb->wCommand); in hwarc_filter_cmd_WUSB_0100() 457 rceb->bEventType, le16_to_cpu(rceb->wEvent), in hwarc_get_event_size() 462 size = core_size + le16_to_cpu(*(__le16 *)ptr); in hwarc_get_event_size() 504 int event = le16_to_cpu(rceb->wEvent); in hwarc_filter_event_WUSB_0100() 768 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in hwarc_get_version()
|
D | neh.c | 393 rceb->bEventType, le16_to_cpu(rceb->wEvent), in uwb_rc_notif() 420 rceb->bEventType, le16_to_cpu(rceb->wEvent), in uwb_rc_neh_grok_event() 433 rceb->bEventType, le16_to_cpu(rceb->wEvent), in uwb_rc_neh_grok_event() 504 le16_to_cpu(rceb->wEvent), in uwb_rc_neh_grok() 520 rceb->bEventType, le16_to_cpu(rceb->wEvent), in uwb_rc_neh_grok()
|
D | beacon.c | 132 if (le16_to_cpu(rc->ies->wIELength) > 0) { in uwb_rc_beacon() 448 be->wBPSTOffset = le16_to_cpu(be->wBPSTOffset); in uwbd_evt_handle_rc_beacon() 449 be->wBeaconInfoLength = le16_to_cpu(be->wBeaconInfoLength); in uwbd_evt_handle_rc_beacon() 485 "(FIXME: action?)\n", le16_to_cpu(bs->wNewBeaconSize)); in uwbd_evt_handle_rc_beacon_size() 557 iesize = le16_to_cpu(bpoiec->wBPOIELength); in uwbd_evt_handle_rc_bpoie_change()
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_mbx.c | 456 ha->ip_config.tcp_options = le16_to_cpu(init_fw_cb->ipv4_tcp_opts); in qla4xxx_update_local_ip() 457 ha->ip_config.ipv4_options = le16_to_cpu(init_fw_cb->ipv4_ip_opts); in qla4xxx_update_local_ip() 461 le16_to_cpu(init_fw_cb->eth_mtu_size); in qla4xxx_update_local_ip() 462 ha->ip_config.ipv4_port = le16_to_cpu(init_fw_cb->ipv4_port); in qla4xxx_update_local_ip() 465 ha->ip_config.ipv6_options = le16_to_cpu(init_fw_cb->ipv6_opts); in qla4xxx_update_local_ip() 467 le16_to_cpu(init_fw_cb->ipv6_addtl_opts); in qla4xxx_update_local_ip() 469 le16_to_cpu(init_fw_cb->ipv6_tcp_opts); in qla4xxx_update_local_ip() 497 ha->ip_config.def_timeout = le16_to_cpu(init_fw_cb->def_timeout); in qla4xxx_update_local_ip() 499 ha->ip_config.iscsi_options = le16_to_cpu(init_fw_cb->iscsi_opts); in qla4xxx_update_local_ip() 501 le16_to_cpu(init_fw_cb->iscsi_max_pdu_size); in qla4xxx_update_local_ip() [all …]
|
/linux-4.4.14/fs/ubifs/ |
D | commit.c | 545 d->old_zroot_level = le16_to_cpu(idx->level); in dbg_old_index_check_init() 613 child_cnt = le16_to_cpu(idx->child_cnt); in dbg_check_old_index() 621 if (le16_to_cpu(idx->level) != d->old_zroot_level) { in dbg_check_old_index() 630 last_level = le16_to_cpu(idx->level) + 1; in dbg_check_old_index() 636 if (le16_to_cpu(idx->level) != last_level - 1) { in dbg_check_old_index() 666 if (le16_to_cpu(idx->level) == 0) { in dbg_check_old_index() 680 if (iip + 1 < le16_to_cpu(idx->child_cnt)) { in dbg_check_old_index() 694 last_level = le16_to_cpu(idx->level); in dbg_check_old_index() 701 if (iip + 1 < le16_to_cpu(idx->child_cnt)) { in dbg_check_old_index()
|
/linux-4.4.14/sound/usb/usx2y/ |
D | usbusx2y.c | 362 le16_to_cpu(device->descriptor.idVendor), in usX2Y_create_card() 363 le16_to_cpu(device->descriptor.idProduct), in usX2Y_create_card() 381 if (le16_to_cpu(device->descriptor.idVendor) != 0x1604 || in usX2Y_usb_probe() 382 (le16_to_cpu(device->descriptor.idProduct) != USB_ID_US122 && in usX2Y_usb_probe() 383 le16_to_cpu(device->descriptor.idProduct) != USB_ID_US224 && in usX2Y_usb_probe() 384 le16_to_cpu(device->descriptor.idProduct) != USB_ID_US428)) in usX2Y_usb_probe()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
D | ucode.c | 67 cmd.cap_pin1 = le16_to_cpu(xtal_calib[0]); in iwl_set_Xtal_calib() 68 cmd.cap_pin2 = le16_to_cpu(xtal_calib[1]); in iwl_set_Xtal_calib() 83 le16_to_cpu(cmd.radio_sensor_offset)); in iwl_set_temperature_offset_calib() 103 le16_to_cpu(cmd.radio_sensor_offset_high)); in iwl_set_temperature_offset_calib_v2() 105 le16_to_cpu(cmd.radio_sensor_offset_low)); in iwl_set_temperature_offset_calib_v2() 107 le16_to_cpu(cmd.burntVoltageRef)); in iwl_set_temperature_offset_calib_v2()
|
D | rx.c | 136 le16_to_cpu(err_resp->bad_cmd_seq_num), in iwlagn_rx_reply_error() 158 le16_to_cpu(csa->channel)); in iwlagn_rx_csa() 162 le16_to_cpu(csa->channel)); in iwlagn_rx_csa() 211 u16 status = le16_to_cpu(beacon->beacon_notify_hdr.status.status); in iwlagn_rx_beacon_notif() 655 u16 fc = le16_to_cpu(hdr->frame_control); in iwlagn_set_decrypted_flag() 890 len = le16_to_cpu(amsdu->byte_count); in iwlagn_rx_reply_rx() 916 ieee80211_channel_to_frequency(le16_to_cpu(phy_res->channel), in iwlagn_rx_reply_rx() 948 (le16_to_cpu(phy_res->phy_flags) & RX_RES_PHY_FLAGS_ANTENNA_MSK) in iwlagn_rx_reply_rx() 990 u32 len = le16_to_cpu(noa_notif->noa_attribute.length); in iwlagn_rx_noa_notification()
|
D | rxon.c | 325 beacon_int = le16_to_cpu(ctx->timing.beacon_interval); in iwl_send_rxon_timing() 334 beacon_int = le16_to_cpu(ctx->timing.beacon_interval); in iwl_send_rxon_timing() 352 le16_to_cpu(ctx->timing.beacon_interval), in iwl_send_rxon_timing() 354 le16_to_cpu(ctx->timing.atim_window)); in iwl_send_rxon_timing() 725 if ((le16_to_cpu(ctx->staging.channel) == channel) && in iwl_set_rxon_channel() 814 if (le16_to_cpu(rxon->assoc_id) > 2007) { in iwl_check_rxon_cmd() 844 errors, le16_to_cpu(rxon->channel)); in iwl_check_rxon_cmd() 922 le16_to_cpu(rxon->channel)); in iwl_print_rx_config_cmd() 935 le16_to_cpu(rxon->assoc_id)); in iwl_print_rx_config_cmd() 1099 le16_to_cpu(priv->switch_channel)); in iwlagn_commit_rxon() [all …]
|
D | tx.c | 949 u32 status = le16_to_cpu(tx_resp->status.status); in iwl_rx_reply_tx_agg() 981 u16 fstatus = le16_to_cpu(frame_status[i].status); in iwl_rx_reply_tx_agg() 1109 u16 status = le16_to_cpu(tx_resp->status.status); in iwlagn_set_tx_status() 1134 u16 sequence = le16_to_cpu(pkt->hdr.sequence); in iwlagn_rx_reply_tx() 1139 u32 status = le16_to_cpu(tx_resp->status.status); in iwlagn_rx_reply_tx() 1169 u16 next_reclaimed = le16_to_cpu(tx_resp->seq_ctl); in iwlagn_rx_reply_tx() 1265 le16_to_cpu(tx_resp->seq_ctl)); in iwlagn_rx_reply_tx() 1296 u16 scd_flow = le16_to_cpu(ba_resp->scd_flow); in iwlagn_rx_reply_compressed_ba() 1300 u16 ba_resp_scd_ssn = le16_to_cpu(ba_resp->scd_ssn); in iwlagn_rx_reply_compressed_ba() 1350 ba_resp->tid, le16_to_cpu(ba_resp->seq_ctl), in iwlagn_rx_reply_compressed_ba()
|
/linux-4.4.14/drivers/usb/dwc3/ |
D | ep0.c | 322 u32 windex = le16_to_cpu(wIndex_le); in dwc3_wIndex_to_dep() 411 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_handle_feature() 412 wIndex = le16_to_cpu(ctrl->wIndex); in dwc3_ep0_handle_feature() 516 addr = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_address() 558 cfg = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_config() 625 dwc->u2sel = le16_to_cpu(timing.u2sel); in dwc3_ep0_set_sel_cmpl() 626 dwc->u2pel = le16_to_cpu(timing.u2pel); in dwc3_ep0_set_sel_cmpl() 658 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_sel() 659 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel() 690 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_isoch_delay() [all …]
|
D | trace.h | 101 le16_to_cpu(__entry->wValue), le16_to_cpu(__entry->wIndex), 102 le16_to_cpu(__entry->wLength)
|
/linux-4.4.14/net/caif/ |
D | caif_usb.c | 141 le16_to_cpu(usbdev->descriptor.idVendor), in cfusbl_device_notify() 142 le16_to_cpu(usbdev->descriptor.idProduct)); in cfusbl_device_notify() 145 if (!(le16_to_cpu(usbdev->descriptor.idVendor) == STE_USB_VID && in cfusbl_device_notify() 146 le16_to_cpu(usbdev->descriptor.idProduct) == STE_USB_PID_CAIF)) in cfusbl_device_notify()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 355 for (i = 0; i < le16_to_cpu(prsp->num_rds_rings); i++) { in qlcnic_82xx_fw_cmd_create_rx_ctx() 364 for (i = 0; i < le16_to_cpu(prsp->num_sds_rings); i++) { in qlcnic_82xx_fw_cmd_create_rx_ctx() 377 recv_ctx->context_id = le16_to_cpu(prsp->context_id); in qlcnic_82xx_fw_cmd_create_rx_ctx() 497 tx_ring->ctx_id = le16_to_cpu(prsp->context_id); in qlcnic_82xx_fw_cmd_create_tx_ctx() 876 npar_info->pci_func = le16_to_cpu(nic_info->pci_func); in qlcnic_82xx_get_nic_info() 877 npar_info->op_mode = le16_to_cpu(nic_info->op_mode); in qlcnic_82xx_get_nic_info() 878 npar_info->min_tx_bw = le16_to_cpu(nic_info->min_tx_bw); in qlcnic_82xx_get_nic_info() 879 npar_info->max_tx_bw = le16_to_cpu(nic_info->max_tx_bw); in qlcnic_82xx_get_nic_info() 880 npar_info->phys_port = le16_to_cpu(nic_info->phys_port); in qlcnic_82xx_get_nic_info() 881 npar_info->switch_mode = le16_to_cpu(nic_info->switch_mode); in qlcnic_82xx_get_nic_info() [all …]
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
D | wifi.h | 219 (le16_to_cpu(*(__le16 *)(pbuf)) & (BIT(3) | BIT(2))) 221 #define GetFrameSubType(pbuf) (le16_to_cpu(*(__le16 *)(pbuf)) & (BIT(7) |\ 232 (le16_to_cpu(*(__le16 *)((size_t)(pbuf) + 22)) >> 4) 235 (le16_to_cpu(*(__le16 *)((size_t)(pbuf) + 22)) & 0x0f) 251 #define GetPriority(pbuf) ((le16_to_cpu(*(__le16 *)(pbuf))) & 0xf) 259 #define GetAckpolicy(pbuf) (((le16_to_cpu(*(__le16 *)pbuf)) >> 5) & 0x3) 261 #define GetAMsdu(pbuf) (((le16_to_cpu(*(__le16 *)pbuf)) >> 7) & 0x1) 263 #define GetAid(pbuf) (le16_to_cpu(*(__le16 *)((size_t)(pbuf) + 2)) & 0x3fff) 494 (((*(unsigned short *)(pbuf)) & le16_to_cpu(_ORDER_)) != 0)
|
D | rtl8188e_hal.h | 72 ((le16_to_cpu(_pFwHdr->signature)&0xFFF0) == 0x92C0 || \ 73 (le16_to_cpu(_pFwHdr->signature)&0xFFF0) == 0x88C0 || \ 74 (le16_to_cpu(_pFwHdr->signature)&0xFFF0) == 0x2300 || \ 75 (le16_to_cpu(_pFwHdr->signature)&0xFFF0) == 0x88E0)
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
D | hostap_proc.c | 360 le16_to_cpu(scanres->chid), in prism2_scan_results_proc_show() 361 (s16) le16_to_cpu(scanres->anl), in prism2_scan_results_proc_show() 362 (s16) le16_to_cpu(scanres->sl), in prism2_scan_results_proc_show() 363 le16_to_cpu(scanres->beacon_interval), in prism2_scan_results_proc_show() 364 le16_to_cpu(scanres->capability), in prism2_scan_results_proc_show() 365 le16_to_cpu(scanres->rate), in prism2_scan_results_proc_show() 367 le16_to_cpu(scanres->atim)); in prism2_scan_results_proc_show() 378 len = le16_to_cpu(scanres->ssid_len); in prism2_scan_results_proc_show()
|
D | hostap_info.c | 26 local->comm_tallies.name += le16_to_cpu(tallies->name) in prism2_info_commtallies16() 226 dev->name, req.bssid, le16_to_cpu(req.channel)); in prism2_host_roaming() 321 copy_len = result_size = le16_to_cpu(*pos); in prism2_info_hostscanresults() 379 switch (le16_to_cpu(info->type)) { in hostap_info_process() 401 local->dev->name, le16_to_cpu(info->len), in hostap_info_process() 402 le16_to_cpu(info->type)); in hostap_info_process()
|
D | hostap_download.c | 160 len = le16_to_cpu(pda[pos]); in prism2_pda_ok() 161 pdr = le16_to_cpu(pda[pos + 1]); in prism2_pda_ok() 619 le16_to_cpu(dlbuffer.len), in prism2_download_nonvolatile() 620 le16_to_cpu(dlbuffer.page), in prism2_download_nonvolatile() 621 le16_to_cpu(dlbuffer.offset)); in prism2_download_nonvolatile() 623 bufaddr = (le16_to_cpu(dlbuffer.page) << 7) + le16_to_cpu(dlbuffer.offset); in prism2_download_nonvolatile()
|
D | hostap_80211_rx.c | 36 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_rx_80211() 48 printk(" dur=0x%04x seq=0x%04x\n", le16_to_cpu(hdr->duration_id), in hostap_dump_rx_80211() 49 le16_to_cpu(hdr->seq_ctrl)); in hostap_dump_rx_80211() 92 fc = le16_to_cpu(fhdr->frame_control); in prism2_rx_80211() 259 sc = le16_to_cpu(hdr->seq_ctrl); in prism2_frag_cache_get() 310 sc = le16_to_cpu(hdr->seq_ctrl); in prism2_frag_cache_invalidate() 453 bss->capab_info = le16_to_cpu(mgmt->u.beacon.capab_info); in hostap_rx_sta_beacon() 620 fc = le16_to_cpu(hdr->frame_control); in hostap_is_eapol_frame() 753 fc = le16_to_cpu(hdr->frame_control); in hostap_80211_rx() 756 sc = le16_to_cpu(hdr->seq_ctrl); in hostap_80211_rx()
|
/linux-4.4.14/drivers/usb/usbip/ |
D | stub_rx.c | 66 value = le16_to_cpu(req->wValue); in is_reset_device_cmd() 67 index = le16_to_cpu(req->wIndex); in is_reset_device_cmd() 93 target_endp = le16_to_cpu(req->wIndex) & 0x000f; in tweak_clear_halt_cmd() 96 target_dir = le16_to_cpu(req->wIndex) & 0x0080; in tweak_clear_halt_cmd() 124 alternate = le16_to_cpu(req->wValue); in tweak_set_interface_cmd() 125 interface = le16_to_cpu(req->wIndex); in tweak_set_interface_cmd() 152 config = le16_to_cpu(req->wValue); in tweak_set_configuration_cmd()
|
/linux-4.4.14/drivers/staging/vt6655/ |
D | dpc.c | 57 frame_size = le16_to_cpu(*((__le16 *)(skb->data + 2))); in vnt_rx_data() 146 frame_size = le16_to_cpu(curr_rd->rd1.req_count) in vnt_receive_frame() 147 - le16_to_cpu(curr_rd->rd0.res_count); in vnt_receive_frame()
|
/linux-4.4.14/drivers/media/usb/dvb-usb/ |
D | dibusb-common.c | 261 if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_LITEON && in dibusb_dib3000mc_frontend_attach() 262 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == in dibusb_dib3000mc_frontend_attach() 300 if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_LITEON && in dibusb_dib3000mc_tuner_attach() 301 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == USB_PID_LITEON_DVB_T_WARM) { in dibusb_dib3000mc_tuner_attach() 313 } else if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_DIBCOM && in dibusb_dib3000mc_tuner_attach() 314 le16_to_cpu(adap->dev->udev->descriptor.idProduct) == USB_PID_DIBCOM_MOD3001_WARM) { in dibusb_dib3000mc_tuner_attach()
|
D | dvb-usb-init.c | 187 if (props->devices[i].cold_ids[j]->idVendor == le16_to_cpu(udev->descriptor.idVendor) && in dvb_usb_find_device() 188 props->devices[i].cold_ids[j]->idProduct == le16_to_cpu(udev->descriptor.idProduct)) { in dvb_usb_find_device() 200 if (props->devices[i].warm_ids[j]->idVendor == le16_to_cpu(udev->descriptor.idVendor) && in dvb_usb_find_device() 201 props->devices[i].warm_ids[j]->idProduct == le16_to_cpu(udev->descriptor.idProduct)) { in dvb_usb_find_device()
|
D | gp8psk.c | 167 int gp_product_id = le16_to_cpu(d->udev->descriptor.idProduct); in gp8psk_power_ctrl() 212 int gp_product_id = le16_to_cpu(d->udev->descriptor.idProduct); in gp8psk_bcm4500_reload() 248 le16_to_cpu(udev->descriptor.idProduct)); in gp8psk_usb_probe()
|
/linux-4.4.14/fs/reiserfs/ |
D | reiserfs.h | 151 #define sb_blocksize(sbp) (le16_to_cpu((sbp)->s_v1.s_blocksize)) 153 #define sb_oid_maxsize(sbp) (le16_to_cpu((sbp)->s_v1.s_oid_maxsize)) 155 #define sb_oid_cursize(sbp) (le16_to_cpu((sbp)->s_v1.s_oid_cursize)) 157 #define sb_umount_state(sbp) (le16_to_cpu((sbp)->s_v1.s_umount_state)) 159 #define sb_fs_state(sbp) (le16_to_cpu((sbp)->s_v1.s_fs_state)) 165 #define sb_tree_height(sbp) (le16_to_cpu((sbp)->s_v1.s_tree_height)) 167 #define sb_bmap_nr(sbp) (le16_to_cpu((sbp)->s_v1.s_bmap_nr)) 169 #define sb_version(sbp) (le16_to_cpu((sbp)->s_v1.s_version)) 172 #define sb_mnt_count(sbp) (le16_to_cpu((sbp)->s_mnt_count)) 176 (le16_to_cpu((sbp)->s_v1.s_reserved_for_journal)) [all …]
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | esas2r_flash.c | 252 le16_to_cpu(pi->header_offset)); in fix_bios() 258 ((u8 *)pi + le16_to_cpu(pi->pnp_offset)); in fix_bios() 288 le16_to_cpu( in fix_efi() 291 thislen = (u32)le16_to_cpu(bh->image_length) * 512; in fix_efi() 603 type = le16_to_cpu(*pw--); in chk_cfg() 604 size = le16_to_cpu(*pw--); in chk_cfg() 633 u16 hdroffset = le16_to_cpu(bi->header_offset); in chk_boot() 636 if (bi->signature != le16_to_cpu(0xaa55) in chk_boot() 650 || le16_to_cpu(bh->struct_length) < in chk_boot() 676 cksum = cksum + le16_to_cpu(*pw); in calc_fi_checksum() [all …]
|
/linux-4.4.14/fs/nilfs2/ |
D | the_nilfs.c | 124 dat_entry_size = le16_to_cpu(sbp[0]->s_dat_entry_size); in nilfs_load_super_root() 125 checkpoint_size = le16_to_cpu(sbp[0]->s_checkpoint_size); in nilfs_load_super_root() 126 segment_usage_size = le16_to_cpu(sbp[0]->s_segment_usage_size); in nilfs_load_super_root() 395 le16_to_cpu(sbp->s_minor_rev_level), in nilfs_store_disk_layout() 399 nilfs->ns_sbsize = le16_to_cpu(sbp->s_bytes); in nilfs_store_disk_layout() 403 nilfs->ns_inode_size = le16_to_cpu(sbp->s_inode_size); in nilfs_store_disk_layout() 443 if (!sbp || le16_to_cpu(sbp->s_magic) != NILFS_SUPER_MAGIC) in nilfs_valid_sb() 445 bytes = le16_to_cpu(sbp->s_bytes); in nilfs_valid_sb() 639 nilfs->ns_mount_state = le16_to_cpu(sbp->s_state); in init_nilfs()
|
/linux-4.4.14/fs/befs/ |
D | endian.h | 54 return le16_to_cpu((__force __le16)n); in fs16_to_cpu() 77 run.start = le16_to_cpu((__force __le16)n.start); in fsrun_to_cpu() 78 run.len = le16_to_cpu((__force __le16)n.len); in fsrun_to_cpu()
|
/linux-4.4.14/drivers/media/usb/as102/ |
D | as10x_cmd.c | 202 le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.signal_strength); in as10x_cmd_get_tune_status() 203 pstatus->PER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.PER); in as10x_cmd_get_tune_status() 204 pstatus->BER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.BER); in as10x_cmd_get_tune_status() 262 ptps->cell_ID = le16_to_cpu((__force __le16)prsp->body.get_tps.rsp.tps.cell_ID); in as10x_cmd_get_tps() 319 le16_to_cpu((__force __le16)prsp->body.get_demod_stats.rsp.stats.mer); in as10x_cmd_get_demod_stats() 408 (le16_to_cpu(prsp->body.common.rsp.proc_id) == proc_id)) { in as10x_rsp_parse()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
D | ampdu.c | 537 fbr_iscck = !(le16_to_cpu(txh->XtraFrameTypes) & 0x03); in brcms_c_ampdu_add_frame() 583 uint fifo = le16_to_cpu(txh->TxFrameID) & TXFID_QUEUE_MASK; in brcms_c_ampdu_add_frame() 614 mcl = le16_to_cpu(txh->MacTxControlLow); in brcms_c_ampdu_add_frame() 663 fifo = le16_to_cpu(txh->TxFrameID) & TXFID_QUEUE_MASK; in brcms_c_ampdu_finalize() 666 mcl = le16_to_cpu(txh->MacTxControlLow); in brcms_c_ampdu_finalize() 677 fbr_iscck = ((le16_to_cpu(txh->XtraFrameTypes) & 0x3) == 0); in brcms_c_ampdu_finalize() 689 mcl = le16_to_cpu(txh->MacTxControlLow); in brcms_c_ampdu_finalize() 731 fbr_iscck = !(le16_to_cpu(txh->XtraFrameTypes) & 0x03); in brcms_c_ampdu_finalize() 777 mch = le16_to_cpu(txh->MacTxControlHigh); in brcms_c_ampdu_finalize() 941 mcl = le16_to_cpu(txh->MacTxControlLow); in brcms_c_ampdu_dotxstatus_complete() [all …]
|
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/ |
D | event.c | 106 le16_to_cpu(mbox->sta_tx_retry_exceeded)); in wl12xx_process_mailbox_events() 110 le16_to_cpu(mbox->sta_aging_status)); in wl12xx_process_mailbox_events()
|
/linux-4.4.14/drivers/input/tablet/ |
D | acecad.c | 214 le16_to_cpu(dev->descriptor.idVendor), in usb_acecad_probe() 215 le16_to_cpu(dev->descriptor.idProduct)); in usb_acecad_probe() 225 le16_to_cpu(dev->descriptor.idVendor), in usb_acecad_probe() 226 le16_to_cpu(dev->descriptor.idProduct)); in usb_acecad_probe()
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | xmit.c | 452 phystat0 = le16_to_cpu(rxhdr->phy_status0); in b43legacy_rx() 453 phystat3 = le16_to_cpu(rxhdr->phy_status3); in b43legacy_rx() 455 macstat = le16_to_cpu(rxhdr->mac_status); in b43legacy_rx() 456 mactime = le16_to_cpu(rxhdr->mac_time); in b43legacy_rx() 457 chanstat = le16_to_cpu(rxhdr->channel); in b43legacy_rx() 616 status.cookie = le16_to_cpu(hw->cookie); in b43legacy_handle_hwtxstatus() 617 status.seq = le16_to_cpu(hw->seq); in b43legacy_handle_hwtxstatus()
|
/linux-4.4.14/drivers/iio/magnetometer/ |
D | bmc150_magn.c | 368 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_x() 390 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_y() 412 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_z() 413 u16 z1 = le16_to_cpu(tregs->z1); in bmc150_magn_compensate_z() 414 s16 z2 = le16_to_cpu(tregs->z2); in bmc150_magn_compensate_z() 415 s16 z3 = le16_to_cpu(tregs->z3); in bmc150_magn_compensate_z() 416 s16 z4 = le16_to_cpu(tregs->z4); in bmc150_magn_compensate_z() 441 raw_x = (s16)le16_to_cpu(values[AXIS_X]) >> BMC150_MAGN_SHIFT_XY_L; in bmc150_magn_read_xyz() 442 raw_y = (s16)le16_to_cpu(values[AXIS_Y]) >> BMC150_MAGN_SHIFT_XY_L; in bmc150_magn_read_xyz() 443 raw_z = (s16)le16_to_cpu(values[AXIS_Z]) >> BMC150_MAGN_SHIFT_Z_L; in bmc150_magn_read_xyz() [all …]
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
D | saa7164-bus.c | 297 msg->size = le16_to_cpu((__force __le16)msg->size); in saa7164_bus_set() 299 msg->controlselector = le16_to_cpu((__force __le16)msg->controlselector); in saa7164_bus_set() 393 msg_tmp.size = le16_to_cpu((__force __le16)msg_tmp.size); in saa7164_bus_get() 395 msg_tmp.controlselector = le16_to_cpu((__force __le16)msg_tmp.controlselector); in saa7164_bus_get() 478 msg->size = le16_to_cpu((__force __le16)msg->size); in saa7164_bus_get() 480 msg->controlselector = le16_to_cpu((__force __le16)msg->controlselector); in saa7164_bus_get()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_common.c | 305 u16 len = le16_to_cpu(aq_desc->datalen); in i40e_debug_aq() 314 le16_to_cpu(aq_desc->opcode), in i40e_debug_aq() 315 le16_to_cpu(aq_desc->flags), in i40e_debug_aq() 316 le16_to_cpu(aq_desc->datalen), in i40e_debug_aq() 317 le16_to_cpu(aq_desc->retval)); in i40e_debug_aq() 976 *flags = le16_to_cpu(cmd_data->command_flags); in i40e_aq_mac_address_read() 1830 hw_link_info->max_frame_size = le16_to_cpu(resp->max_frame_size); in i40e_aq_get_link_info() 1933 vsi_ctx->seid = le16_to_cpu(resp->seid); in i40e_aq_add_vsi() 1934 vsi_ctx->vsi_number = le16_to_cpu(resp->vsi_number); in i40e_aq_add_vsi() 1935 vsi_ctx->vsis_allocated = le16_to_cpu(resp->vsi_used); in i40e_aq_add_vsi() [all …]
|
/linux-4.4.14/drivers/hid/i2c-hid/ |
D | i2c-hid.c | 243 u16 readRegister = le16_to_cpu(ihid->hdesc.wDataRegister); in i2c_hid_get_report() 282 u16 dataRegister = le16_to_cpu(ihid->hdesc.wDataRegister); in i2c_hid_set_or_send_report() 283 u16 outputRegister = le16_to_cpu(ihid->hdesc.wOutputRegister); in i2c_hid_set_or_send_report() 284 u16 maxOutputLength = le16_to_cpu(ihid->hdesc.wMaxOutputLength); in i2c_hid_set_or_send_report() 382 int size = le16_to_cpu(ihid->hdesc.wMaxInputLength); in i2c_hid_get_input() 650 rsize = le16_to_cpu(hdesc->wReportDescLength); in i2c_hid_parse() 834 if (le16_to_cpu(hdesc->bcdVersion) != 0x0100) { in i2c_hid_fetch_hid_descriptor() 837 le16_to_cpu(hdesc->bcdVersion)); in i2c_hid_fetch_hid_descriptor() 842 dsize = le16_to_cpu(hdesc->wHIDDescLength); in i2c_hid_fetch_hid_descriptor() 1029 hid->version = le16_to_cpu(ihid->hdesc.bcdVersion); in i2c_hid_probe() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | wmi.c | 335 d_status = le16_to_cpu(data->info.status); in wmi_evt_rx_mgmt() 342 le16_to_cpu(fc)); in wmi_evt_rx_mgmt() 356 u16 cap = le16_to_cpu(rx_mgmt_frame->u.beacon.capab_info); in wmi_evt_rx_mgmt() 357 u16 bi = le16_to_cpu(rx_mgmt_frame->u.beacon.beacon_int); in wmi_evt_rx_mgmt() 508 u16 reason_code = le16_to_cpu(evt->protocol_reason_status); in wmi_evt_disconnect() 529 u16 eapol_len = le16_to_cpu(evt->eapol_len); in wmi_evt_eapol_rx() 617 txdata->agg_timeout = le16_to_cpu(evt->ba_timeout); in wmi_evt_ba_status() 757 len = le16_to_cpu(hdr.len); in wmi_recv_cmd() 759 le16_to_cpu(hdr.seq), len, le16_to_cpu(hdr.type), in wmi_recv_cmd() 781 u16 id = le16_to_cpu(wmi->id); in wmi_recv_cmd() [all …]
|
/linux-4.4.14/fs/qnx4/ |
D | inode.c | 84 u16 nxtnt = le16_to_cpu(qnx4_inode->di_num_xtnts); in qnx4_block_map() 296 inode->i_mode = le16_to_cpu(raw_inode->di_mode); in qnx4_iget() 297 i_uid_write(inode, (uid_t)le16_to_cpu(raw_inode->di_uid)); in qnx4_iget() 298 i_gid_write(inode, (gid_t)le16_to_cpu(raw_inode->di_gid)); in qnx4_iget() 299 set_nlink(inode, le16_to_cpu(raw_inode->di_nlink)); in qnx4_iget()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | acl.c | 64 d->e_tag = le16_to_cpu(s->e_tag); in lustre_ext_acl_le_to_cpu() 65 d->e_perm = le16_to_cpu(s->e_perm); in lustre_ext_acl_le_to_cpu() 82 d->e_tag = le16_to_cpu(s->e_tag); in lustre_posix_acl_le_to_cpu() 83 d->e_perm = le16_to_cpu(s->e_perm); in lustre_posix_acl_le_to_cpu() 190 switch (le16_to_cpu(header->a_entries[i].e_tag)) { in lustre_posix_acl_xattr_filter()
|
/linux-4.4.14/drivers/net/wireless/ |
D | airo.c | 1333 ai->micstats.enabled = (le16_to_cpu(mic_rid.state) & 0x00FF) ? 1 : 0; in micinit() 2055 if (le16_to_cpu(status) & 2) /* Too many retries */ in get_tx_error() 2057 if (le16_to_cpu(status) & 4) /* Transmit lifetime exceeded */ in get_tx_error() 2059 if (le16_to_cpu(status) & 8) /* Aid fail */ in get_tx_error() 2061 if (le16_to_cpu(status) & 0x10) /* MAC disabled */ in get_tx_error() 2063 if (le16_to_cpu(status) & 0x20) /* Association lost */ in get_tx_error() 2069 if ((le16_to_cpu(status) & 2) || in get_tx_error() 2070 (le16_to_cpu(status) & 4)) { in get_tx_error() 2877 ((le16_to_cpu(cap_rid.softVer) >> 8) & 0xF), in _init_airo_card() 2878 (le16_to_cpu(cap_rid.softVer) & 0xFF), in _init_airo_card() [all …]
|
D | at76c50x-usb.c | 1026 wiphy_name(priv->hw->wiphy), le16_to_cpu(m->beacon_period), in at76_dump_mib_mac_mgmt() 1027 le16_to_cpu(m->CFP_max_duration), in at76_dump_mib_mac_mgmt() 1028 le16_to_cpu(m->medium_occupancy_limit), in at76_dump_mib_mac_mgmt() 1029 le16_to_cpu(m->station_id), le16_to_cpu(m->ATIM_window), in at76_dump_mib_mac_mgmt() 1064 le16_to_cpu(m->frag_threshold), le16_to_cpu(m->rts_threshold), in at76_dump_mib_mac() 1065 le16_to_cpu(m->cwmin), le16_to_cpu(m->cwmax), in at76_dump_mib_mac() 1067 m->scan_channel, le16_to_cpu(m->probe_delay), in at76_dump_mib_mac() 1068 le16_to_cpu(m->min_channel_time), in at76_dump_mib_mac() 1069 le16_to_cpu(m->max_channel_time), in at76_dump_mib_mac() 1070 le16_to_cpu(m->listen_interval), in at76_dump_mib_mac() [all …]
|
D | zd1201.c | 234 framelen = le16_to_cpu(*(__le16*)&data[4]); in zd1201_usbrx() 235 infotype = le16_to_cpu(*(__le16*)&data[6]); in zd1201_usbrx() 240 linkstatus = le16_to_cpu(*(__le16*)&data[8]); in zd1201_usbrx() 260 short status = le16_to_cpu(*(__le16*)(data+8)); in zd1201_usbrx() 298 copylen = le16_to_cpu(*(__le16*)&data[i+2]); in zd1201_usbrx() 320 fc = le16_to_cpu(*(__le16 *)&data[datalen-16]); in zd1201_usbrx() 321 seq = le16_to_cpu(*(__le16 *)&data[datalen-24]); in zd1201_usbrx() 433 code = le16_to_cpu(*(__le16*)(&zd->rxdata[4])); in zd1201_getconfig() 434 rid_fid = le16_to_cpu(*(__le16*)(&zd->rxdata[6])); in zd1201_getconfig() 435 length = le16_to_cpu(*(__le16*)(&zd->rxdata[8])); in zd1201_getconfig() [all …]
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | fw_common.h | 43 ((le16_to_cpu(_pfwhdr->signature)&0xFFF0) == 0x92C0 ||\ 44 (le16_to_cpu(_pfwhdr->signature)&0xFFF0) == 0x88C0)
|
/linux-4.4.14/drivers/nvme/host/ |
D | lightnvm.c | 253 dst->num_pg = le16_to_cpu(src->num_pg); in init_grps() 254 dst->num_blk = le16_to_cpu(src->num_blk); in init_grps() 255 dst->fpg_sz = le16_to_cpu(src->fpg_sz); in init_grps() 256 dst->csecs = le16_to_cpu(src->csecs); in init_grps() 257 dst->sos = le16_to_cpu(src->sos); in init_grps() 268 dst->cpar = le16_to_cpu(src->cpar); in init_grps() 393 if (le16_to_cpu(bb_tbl->verid) != 1) { in nvme_nvm_get_bb_tbl()
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 51 u16 fc = le16_to_cpu(hdr->frame_ctl); in ieee80211_monitor_rx() 100 u16 fc = le16_to_cpu(hdr->frame_ctl); in ieee80211_frag_cache_get() 101 u16 sc = le16_to_cpu(hdr->seq_ctl); in ieee80211_frag_cache_get() 111 tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID; in ieee80211_frag_cache_get() 116 tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID; in ieee80211_frag_cache_get() 168 u16 fc = le16_to_cpu(hdr->frame_ctl); in ieee80211_frag_cache_invalidate() 169 u16 sc = le16_to_cpu(hdr->seq_ctl); in ieee80211_frag_cache_invalidate() 178 tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID; in ieee80211_frag_cache_invalidate() 183 tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID; in ieee80211_frag_cache_invalidate() 308 fc = le16_to_cpu(hdr->frame_ctl); in ieee80211_is_eapol_frame() [all …]
|
/linux-4.4.14/drivers/media/usb/go7007/ |
D | go7007-loader.c | 61 vendor = le16_to_cpu(usbdev->descriptor.idVendor); in go7007_loader_probe() 62 product = le16_to_cpu(usbdev->descriptor.idProduct); in go7007_loader_probe()
|
/linux-4.4.14/include/linux/byteorder/ |
D | generic.h | 90 #define le16_to_cpu __le16_to_cpu macro 145 *var = cpu_to_le16(le16_to_cpu(*var) + val); in le16_add_cpu()
|
/linux-4.4.14/drivers/hid/ |
D | hid-uclogic.c | 831 params[UCLOGIC_PH_ID_X_LM] = le16_to_cpu(buf[UCLOGIC_PRM_X_LM]); in uclogic_tablet_enable() 832 params[UCLOGIC_PH_ID_Y_LM] = le16_to_cpu(buf[UCLOGIC_PRM_Y_LM]); in uclogic_tablet_enable() 834 le16_to_cpu(buf[UCLOGIC_PRM_PRESSURE_LM]); in uclogic_tablet_enable() 835 resolution = le16_to_cpu(buf[UCLOGIC_PRM_RESOLUTION]); in uclogic_tablet_enable()
|
D | hid-elo.c | 188 u16 fw_lvl = le16_to_cpu(dev->descriptor.bcdDevice); in elo_broken_firmware() 199 child_vid = le16_to_cpu(child->descriptor.idVendor); in elo_broken_firmware() 200 child_pid = le16_to_cpu(child->descriptor.idProduct); in elo_broken_firmware()
|
/linux-4.4.14/fs/bfs/ |
D | dir.c | 57 le16_to_cpu(de->ino), in bfs_readdir() 140 unsigned long ino = (unsigned long)le16_to_cpu(de->ino); in bfs_lookup() 186 if (!bh || (le16_to_cpu(de->ino) != inode->i_ino)) in bfs_unlink() 230 if (!old_bh || (le16_to_cpu(old_de->ino) != old_inode->i_ino)) in bfs_rename() 351 if (le16_to_cpu(de->ino) && in bfs_find_entry()
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lov_pack.c | 64 le16_to_cpu(lmm->lmm_stripe_count), in lov_dump_lmm_common() 65 le16_to_cpu(lmm->lmm_layout_gen)); in lov_dump_lmm_common() 92 le16_to_cpu(lmm->lmm_stripe_count)); in lov_dump_lmm_v1() 100 le16_to_cpu(lmm->lmm_stripe_count)); in lov_dump_lmm_v3() 173 stripe_count = le16_to_cpu((*lmmp)->lmm_stripe_count); in lov_packmd()
|
/linux-4.4.14/drivers/net/wireless/rsi/ |
D | rsi_mgmt.h | 266 return (le16_to_cpu(*(__le16 *)&addr[offset]) & 0x7000) >> 12; in rsi_get_queueno() 271 return (le16_to_cpu(*(__le16 *)&addr[offset])) & 0x0fff; in rsi_get_length() 276 return le16_to_cpu(*((__le16 *)&addr[offset + 4])) & 0x00ff; in rsi_get_extended_desc()
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-i2c.c | 784 switch (le16_to_cpu(dev_config->chip_conf) >> 4 & 0x3) { in em28xx_i2c_eeprom() 805 if (le16_to_cpu(dev_config->chip_conf) & 1 << 3) in em28xx_i2c_eeprom() 808 if (le16_to_cpu(dev_config->chip_conf) & 1 << 2) in em28xx_i2c_eeprom() 811 switch (le16_to_cpu(dev_config->chip_conf) & 0x3) { in em28xx_i2c_eeprom() 827 le16_to_cpu(dev_config->string1), in em28xx_i2c_eeprom() 828 le16_to_cpu(dev_config->string2), in em28xx_i2c_eeprom() 829 le16_to_cpu(dev_config->string3)); in em28xx_i2c_eeprom()
|
/linux-4.4.14/drivers/mfd/ |
D | dln2.c | 272 handle = le16_to_cpu(hdr->handle); in dln2_rx() 273 id = le16_to_cpu(hdr->id); in dln2_rx() 274 echo = le16_to_cpu(hdr->echo); in dln2_rx() 275 size = le16_to_cpu(hdr->size); in dln2_rx() 482 size = le16_to_cpu(rsp->hdr.size); in _dln2_transfer() 489 if (le16_to_cpu(rsp->result) > 0x80) { in _dln2_transfer() 491 handle, le16_to_cpu(rsp->result)); in _dln2_transfer()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_dbg.c | 1658 pr_err("wqicb->len = 0x%x\n", le16_to_cpu(wqicb->len)); in ql_dump_wqicb() 1659 pr_err("wqicb->flags = %x\n", le16_to_cpu(wqicb->flags)); in ql_dump_wqicb() 1661 le16_to_cpu(wqicb->cq_id_rss)); in ql_dump_wqicb() 1662 pr_err("wqicb->rid = 0x%x\n", le16_to_cpu(wqicb->rid)); in ql_dump_wqicb() 1710 pr_err("ricb->mask = 0x%.04x\n", le16_to_cpu(ricb->mask)); in ql_dump_ricb() 1728 pr_err("cqicb->len = %d\n", le16_to_cpu(cqicb->len)); in ql_dump_cqicb() 1734 le16_to_cpu(cqicb->pkt_delay)); in ql_dump_cqicb() 1736 le16_to_cpu(cqicb->irq_delay)); in ql_dump_cqicb() 1740 le16_to_cpu(cqicb->lbq_buf_size)); in ql_dump_cqicb() 1742 le16_to_cpu(cqicb->lbq_len)); in ql_dump_cqicb() [all …]
|
/linux-4.4.14/drivers/usb/host/ |
D | hwa-hc.c | 579 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in wa_fill_descr() 608 if (le16_to_cpu(wa_descr->bcdWAVersion) > 0x0100) in wa_fill_descr() 610 (le16_to_cpu(wa_descr->bcdWAVersion) & 0xff00) >> 8, in wa_fill_descr() 611 le16_to_cpu(wa_descr->bcdWAVersion) & 0x00ff); in wa_fill_descr() 653 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in hwahc_security_create() 656 le16_to_cpu(usb_dev->actconfig->desc.wTotalLength), in hwahc_security_create() 669 needed = le16_to_cpu(secd->wTotalLength); in hwahc_security_create() 678 top = (void *) secd + le16_to_cpu(secd->wTotalLength); in hwahc_security_create()
|
/linux-4.4.14/drivers/usb/isp1760/ |
D | isp1760-udc.c | 217 *(u16 *)buf = le16_to_cpu(readw(udc->regs + DC_DATAPORT)); in isp1760_udc_receive() 472 ep = isp1760_udc_find_ep(udc, le16_to_cpu(req->wIndex)); in isp1760_udc_get_status() 540 u16 index = le16_to_cpu(req->wIndex); in isp1760_ep0_setup_standard() 584 u16 index = le16_to_cpu(req->wIndex); in isp1760_ep0_setup_standard() 615 return isp1760_udc_set_address(udc, le16_to_cpu(req->wValue)); in isp1760_ep0_setup_standard() 687 udc->ep0_length = le16_to_cpu(req.r.wLength); in isp1760_ep0_setup() 694 le16_to_cpu(req.r.wValue), le16_to_cpu(req.r.wIndex), in isp1760_ep0_setup() 695 le16_to_cpu(req.r.wLength)); in isp1760_ep0_setup() 727 le16_to_cpu(desc->wMaxPacketSize) > ep->maxpacket) { in isp1760_ep_enable() 732 le16_to_cpu(desc->wMaxPacketSize), ep->maxpacket); in isp1760_ep_enable() [all …]
|
/linux-4.4.14/block/partitions/ |
D | msdos.c | 247 max_nparts = le16_to_cpu(v->v_nparts) > 8 ? SOLARIS_X86_NUMSLICE : 8; in parse_solaris_x86() 292 if (le16_to_cpu(l->d_npartitions) < max_partitions) in parse_bsd() 293 max_partitions = le16_to_cpu(l->d_npartitions); in parse_bsd() 313 if (le16_to_cpu(l->d_npartitions) > max_partitions) { in parse_bsd() 315 le16_to_cpu(l->d_npartitions) - max_partitions); in parse_bsd()
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | trace.h | 274 le16_to_cpu(__entry->rxwi.frag_sn), 275 le16_to_cpu(__entry->rxwi.rate), 304 le16_to_cpu(__entry->h.flags), 305 le16_to_cpu(__entry->h.rate_ctl), 307 le16_to_cpu(__entry->h.len_ctl))
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | sur40.c | 266 int bb_size_x = le16_to_cpu(blob->bb_size_x); in sur40_report_blob() 267 int bb_size_y = le16_to_cpu(blob->bb_size_y); in sur40_report_blob() 269 int pos_x = le16_to_cpu(blob->pos_x); in sur40_report_blob() 270 int pos_y = le16_to_cpu(blob->pos_y); in sur40_report_blob() 272 int ctr_x = le16_to_cpu(blob->ctr_x); in sur40_report_blob() 273 int ctr_y = le16_to_cpu(blob->ctr_y); in sur40_report_blob() 335 need_blobs = le16_to_cpu(header->count); in sur40_poll()
|
/linux-4.4.14/drivers/uwb/i1480/dfu/ |
D | dfu.c | 72 if (le16_to_cpu(rceb->wEvent) != expected_event) { in i1480_rceb_check() 76 le16_to_cpu(rceb->wEvent), expected_event); in i1480_rceb_check()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | vmk80xx.c | 180 size = le16_to_cpu(devpriv->ep_tx->wMaxPacketSize); in vmk80xx_do_bulk_msg() 202 le16_to_cpu(ep->wMaxPacketSize), NULL, in vmk80xx_read_packet() 223 le16_to_cpu(ep->wMaxPacketSize), NULL, in vmk80xx_write_packet() 233 size = le16_to_cpu(devpriv->ep_tx->wMaxPacketSize); in vmk80xx_reset_device() 687 size = le16_to_cpu(devpriv->ep_rx->wMaxPacketSize); in vmk80xx_alloc_usb_buffers() 692 size = le16_to_cpu(devpriv->ep_tx->wMaxPacketSize); in vmk80xx_alloc_usb_buffers()
|
/linux-4.4.14/fs/exofs/ |
D | dir.c | 102 rec_len = le16_to_cpu(p->rec_len); in exofs_check_page() 189 return (struct exofs_dir_entry *)((char *)p + le16_to_cpu(p->rec_len)); in exofs_next_entry() 296 ctx->pos += le16_to_cpu(de->rec_len); in exofs_readdir() 404 unsigned len = le16_to_cpu(de->rec_len); in exofs_set_link() 472 rec_len = le16_to_cpu(de->rec_len); in exofs_add_link() 526 unsigned to = ((char *)dir - kaddr) + le16_to_cpu(dir->rec_len); in exofs_delete_entry()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 326 adapter->phy.link_speed = le16_to_cpu(evt->qos_link_speed) * 10; in be_async_grp5_qos_speed_process() 337 adapter->pvid = le16_to_cpu(evt->tag) & VLAN_VID_MASK; in be_async_grp5_pvid_state_process() 396 adapter->qnq_vid = le16_to_cpu(evt->vlan_tag); in be_async_dbg_evt_process() 969 eqo->q.id = le16_to_cpu(resp->eq_id); in be_cmd_eq_create() 971 (ver == 2) ? le16_to_cpu(resp->msix_idx) : eqo->idx; in be_cmd_eq_create() 1155 cq->id = le16_to_cpu(resp->cq_id); in be_cmd_cq_create() 1230 mccq->id = le16_to_cpu(resp->id); in be_cmd_mccq_ext_create() 1274 mccq->id = le16_to_cpu(resp->id); in be_cmd_mccq_org_create() 1333 txq->id = le16_to_cpu(resp->cid); in be_cmd_txq_create() 1378 rxq->id = le16_to_cpu(resp->id); in be_cmd_rxq_create() [all …]
|