Home
last modified time | relevance | path

Searched refs:le16_to_cpu (Results 1 – 25 of 1348) sorted by relevance

12345678910>>...54

/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega10_processpptables.c72 le16_to_cpu(powerplay_table->usStateArrayOffset)); in check_powerplay_tables()
128 le16_to_cpu(powerplay_table->usThermalControllerOffset)); in init_thermal_controller()
163 le16_to_cpu(powerplay_table->usFanTableOffset)); in init_thermal_controller()
175 le16_to_cpu(fan_table_v1->usFanOutputSensitivity); in init_thermal_controller()
177 le16_to_cpu(fan_table_v1->usFanRPMMax); in init_thermal_controller()
179 le16_to_cpu(fan_table_v1->usThrottlingRPM); in init_thermal_controller()
181 le16_to_cpu(fan_table_v1->usFanAcousticLimit); in init_thermal_controller()
183 le16_to_cpu(fan_table_v1->usTargetTemperature); in init_thermal_controller()
185 le16_to_cpu(fan_table_v1->usMinimumPWMLimit); in init_thermal_controller()
187 le16_to_cpu(fan_table_v1->usTargetGfxClk); in init_thermal_controller()
[all …]
Dprocesspptables.c53 if (le16_to_cpu(powerplay_table->usTableSize) >= in get_vce_table_offset()
62 le16_to_cpu(powerplay_table3->usExtendendedHeaderOffset)); in get_vce_table_offset()
63 if (le16_to_cpu(extended_header->usSize) >= in get_vce_table_offset()
65 vce_table_offset = le16_to_cpu(extended_header->usVCETableOffset); in get_vce_table_offset()
155 if (le16_to_cpu(powerplay_table->usTableSize) >= in get_uvd_table_offset()
163 le16_to_cpu(powerplay_table3->usExtendendedHeaderOffset)); in get_uvd_table_offset()
164 if (le16_to_cpu(extended_header->usSize) >= in get_uvd_table_offset()
166 uvd_table_offset = le16_to_cpu(extended_header->usUVDTableOffset); in get_uvd_table_offset()
220 if (le16_to_cpu(powerplay_table->usTableSize) >= in get_samu_table_offset()
228 le16_to_cpu(powerplay_table3->usExtendendedHeaderOffset)); in get_samu_table_offset()
[all …]
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c58 switch (le16_to_cpu(resp->command)) { in mwifiex_process_cmdresp_error()
63 resp->result, le16_to_cpu(pm->action)); in mwifiex_process_cmdresp_error()
65 if (le16_to_cpu(pm->action) == EN_AUTO_PS && in mwifiex_process_cmdresp_error()
66 (le16_to_cpu(pm->params.ps_bitmap) & BITMAP_STA_PS) && in mwifiex_process_cmdresp_error()
116 priv->data_rssi_last = le16_to_cpu(rssi_info_rsp->data_rssi_last); in mwifiex_ret_802_11_rssi_info()
117 priv->data_nf_last = le16_to_cpu(rssi_info_rsp->data_nf_last); in mwifiex_ret_802_11_rssi_info()
119 priv->data_rssi_avg = le16_to_cpu(rssi_info_rsp->data_rssi_avg); in mwifiex_ret_802_11_rssi_info()
120 priv->data_nf_avg = le16_to_cpu(rssi_info_rsp->data_nf_avg); in mwifiex_ret_802_11_rssi_info()
122 priv->bcn_rssi_last = le16_to_cpu(rssi_info_rsp->bcn_rssi_last); in mwifiex_ret_802_11_rssi_info()
123 priv->bcn_nf_last = le16_to_cpu(rssi_info_rsp->bcn_nf_last); in mwifiex_ret_802_11_rssi_info()
[all …]
Die.c53 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( in mwifiex_update_autoindex_ies()
173 le16_to_cpu(beacon_ie->ie_length); in mwifiex_update_uap_custom_ie()
180 le16_to_cpu(pr_ie->ie_length); in mwifiex_update_uap_custom_ie()
[all …]
/Linux-v4.19/fs/ext4/
Dext4_extents.h98 (sizeof(struct ext4_extent) * le16_to_cpu((hdr)->eh_max)))
154 (le16_to_cpu((__path__)->p_hdr->eh_entries) \
155 < le16_to_cpu((__path__)->p_hdr->eh_max))
157 (EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1)
159 (EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1)
161 (EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1)
163 (EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1)
177 return le16_to_cpu(ext_inode_hdr(inode)->eh_depth); in ext_depth()
183 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_unwritten()
190 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_unwritten()
[all …]
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_ucode.c35 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 …]
Dr600_dpm.c835 radeon_table->entries[i].clk = le16_to_cpu(entry->usClockLow) | in r600_parse_clk_voltage_dep_table()
837 radeon_table->entries[i].v = le16_to_cpu(entry->usVoltage); in r600_parse_clk_voltage_dep_table()
860 rdev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in r600_get_platform_caps()
861 rdev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in r600_get_platform_caps()
891 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
895 le16_to_cpu(power_info->pplib3.usFanTableOffset)); in r600_parse_extended_power_table()
897 rdev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); in r600_parse_extended_power_table()
898 rdev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); in r600_parse_extended_power_table()
899 rdev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); in r600_parse_extended_power_table()
900 rdev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); in r600_parse_extended_power_table()
[all …]
Dradeon_atombios.c57 if ((le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0018) || in radeon_lookup_i2c_gpio_quirks()
58 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0019) || in radeon_lookup_i2c_gpio_quirks()
59 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x001a)) { in radeon_lookup_i2c_gpio_quirks()
68 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1936) && in radeon_lookup_i2c_gpio_quirks()
81 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1fda) && in radeon_lookup_i2c_gpio_quirks()
93 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()
94 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()
95 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()
96 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()
97 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.c51 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio()
52 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio()
53 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio()
54 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio()
55 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio()
56 i2c.y_data_reg = le16_to_cpu(gpio->usDataY_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio()
57 i2c.a_clk_reg = le16_to_cpu(gpio->usClkA_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio()
58 i2c.a_data_reg = le16_to_cpu(gpio->usDataA_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio()
183 gpio.reg = le16_to_cpu(pin->usGpioPin_AIndex); in amdgpu_atombios_lookup_gpio()
282 le16_to_cpu(obj_header->usDisplayPathTableOffset)); in amdgpu_atombios_has_dce_engine_info()
[all …]
Damdgpu_dpm.c296 amdgpu_table->entries[i].clk = le16_to_cpu(entry->usClockLow) | in amdgpu_parse_clk_voltage_dep_table()
298 amdgpu_table->entries[i].v = le16_to_cpu(entry->usVoltage); in amdgpu_parse_clk_voltage_dep_table()
321 adev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in amdgpu_get_platform_caps()
322 adev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in amdgpu_get_platform_caps()
354 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
358 le16_to_cpu(power_info->pplib3.usFanTableOffset)); in amdgpu_parse_extended_power_table()
360 adev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); in amdgpu_parse_extended_power_table()
361 adev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); in amdgpu_parse_extended_power_table()
362 adev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); in amdgpu_parse_extended_power_table()
363 adev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); in amdgpu_parse_extended_power_table()
[all …]
Damdgpu_ucode.c35 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 …]
/Linux-v4.19/drivers/usb/core/
Dotg_whitelist.h50 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted()
51 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd)) in is_targeted()
55 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted()
56 le16_to_cpu(dev->descriptor.idProduct) == 0x0200)) in is_targeted()
64 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) in is_targeted()
68 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) in is_targeted()
74 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
78 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
101 le16_to_cpu(dev->descriptor.idVendor), in is_targeted()
102 le16_to_cpu(dev->descriptor.idProduct)); in is_targeted()
/Linux-v4.19/fs/ntfs/
Dindex.c176 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 …]
Dlogfile.c96 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
102 if (usa_count != le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
108 usa_ofs = le16_to_cpu(rp->usa_ofs); in ntfs_check_restart_page_header()
123 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_page_header()
166 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_area()
186 ca_ofs = le16_to_cpu(ra->client_array_offset); in ntfs_check_restart_area()
198 ra_len = ca_ofs + le16_to_cpu(ra->log_clients) * in ntfs_check_restart_area()
201 ra_ofs + le16_to_cpu(ra->restart_area_length) > in ntfs_check_restart_area()
203 ra_len > le16_to_cpu(ra->restart_area_length)) { in ntfs_check_restart_area()
216 le16_to_cpu(ra->client_free_list) >= in ntfs_check_restart_area()
[all …]
Dunistr.c109 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 …]
Dmst.c48 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()
/Linux-v4.19/drivers/scsi/snic/
Dwq_enet_desc.h76 *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()
/Linux-v4.19/drivers/net/ethernet/cisco/enic/
Dwq_enet_desc.h78 *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()
/Linux-v4.19/drivers/scsi/fnic/
Dwq_enet_desc.h76 *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()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser.c163 le16_to_cpu(bp->object_info_tbl.v1_1->usConnectorObjectTableOffset)); in bios_parser_get_connectors_number()
175 + le16_to_cpu(bp->object_info_tbl.v1_1->usEncoderObjectTableOffset); in bios_parser_get_encoder_id()
181 const uint16_t id = le16_to_cpu(tbl->asObjects[i].usObjectID); in bios_parser_get_encoder_id()
199 + le16_to_cpu(bp->object_info_tbl.v1_1->usConnectorObjectTableOffset); in bios_parser_get_connector_id()
215 id = le16_to_cpu(tbl->asObjects[i].usObjectID); in bios_parser_get_connector_id()
300 offset = le16_to_cpu(object->usRecordOffset) in bios_parser_get_i2c_info()
338 while ((address + le16_to_cpu(header->usStructureSize)) > voltage_current_object) { in get_voltage_ddc_info_v1()
369 while ((address + le16_to_cpu(header->usStructureSize)) > voltage_current_object) { in get_voltage_ddc_info_v3()
383 voltage_current_object += le16_to_cpu(object->sHeader.usSize); in get_voltage_ddc_info_v3()
464 offset = le16_to_cpu(bp->object_info_tbl.v1_1->usConnectorObjectTableOffset);
[all …]
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_warpdrive.c66 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()
180 le16_to_cpu(pd_pg0.DevHandle) == in mpt3sas_init_warpdrive_properties()
196 le16_to_cpu(pd_pg0.DevHandle), in mpt3sas_init_warpdrive_properties()
201 raid_device->pd_handle[count] = le16_to_cpu(pd_pg0.DevHandle); in mpt3sas_init_warpdrive_properties()
214 le16_to_cpu(vol_pg0->BlockSize)) / 1024, in mpt3sas_init_warpdrive_properties()
215 le16_to_cpu(vol_pg0->BlockSize)); in mpt3sas_init_warpdrive_properties()
226 le16_to_cpu(vol_pg0->BlockSize)) / 1024); in mpt3sas_init_warpdrive_properties()
[all …]
/Linux-v4.19/fs/hpfs/
Dmap.c80 cpi = le16_to_cpu(cp->array[0].index); in hpfs_load_code_page()
89 if (le16_to_cpu(cpd->offs[cpi]) > 0x178) { in hpfs_load_code_page()
94 ptr = (unsigned char *)cpd + le16_to_cpu(cpd->offs[cpi]) + 6; in hpfs_load_code_page()
187 if (le16_to_cpu(fnode->btree.first_free) != in hpfs_map_fnode()
195 if (le16_to_cpu(fnode->ea_size_s) && (le16_to_cpu(fnode->ea_offs) < 0xc4 || in hpfs_map_fnode()
196le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fnode->acl_size_s) + le16_to_cpu(fnode->ea_size_s) > 0x2… in hpfs_map_fnode()
200 le16_to_cpu(fnode->ea_offs), le16_to_cpu(fnode->ea_size_s)); in hpfs_map_fnode()
240 if (le16_to_cpu(anode->btree.first_free) != in hpfs_map_anode()
286 …if (le16_to_cpu(de->length) > 292 || (le16_to_cpu(de->length) < 32) || (le16_to_cpu(de->length) & … in hpfs_map_dnode()
290 if (((31 + de->namelen + de->down*4 + 3) & ~3) != le16_to_cpu(de->length)) { in hpfs_map_dnode()
[all …]
/Linux-v4.19/fs/ocfs2/
Dsuballoc.c162 return (u32)le16_to_cpu(cl->cl_cpg) * (u32)le16_to_cpu(cl->cl_bpc); in ocfs2_bits_per_group()
197 if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) { in ocfs2_validate_gd_self()
200 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
201 le16_to_cpu(gd->bg_free_bits_count)); in ocfs2_validate_gd_self()
204 if (le16_to_cpu(gd->bg_bits) > (8 * le16_to_cpu(gd->bg_size))) { in ocfs2_validate_gd_self()
207 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
208 8 * le16_to_cpu(gd->bg_size)); in ocfs2_validate_gd_self()
229 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()
230 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent()
233 le16_to_cpu(gd->bg_bits)); in ocfs2_validate_gd_parent()
[all …]
/Linux-v4.19/include/linux/uwb/
Dspec.h312 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-v4.19/fs/ext2/
Dialloc.c216 if (le16_to_cpu(desc->bg_free_inodes_count) < avefreei) in find_group_dir()
219 (le16_to_cpu(desc->bg_free_blocks_count) > in find_group_dir()
220 le16_to_cpu(best_desc->bg_free_blocks_count))) { in find_group_dir()
295 if (le16_to_cpu(desc->bg_used_dirs_count) >= best_ndir) in find_group_orlov()
297 if (le16_to_cpu(desc->bg_free_inodes_count) < avefreei) in find_group_orlov()
299 if (le16_to_cpu(desc->bg_free_blocks_count) < avefreeb) in find_group_orlov()
302 best_ndir = le16_to_cpu(desc->bg_used_dirs_count); in find_group_orlov()
337 if (le16_to_cpu(desc->bg_used_dirs_count) >= max_dirs) in find_group_orlov()
339 if (le16_to_cpu(desc->bg_free_inodes_count) < min_inodes) in find_group_orlov()
341 if (le16_to_cpu(desc->bg_free_blocks_count) < min_blocks) in find_group_orlov()
[all …]

12345678910>>...54