/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | process_pptables_v1_0.c | 182 record->us_vdd = le16_to_cpu(atom_record->usVdd); in get_vddc_lookup_table() 183 record->us_cac_low = le16_to_cpu(atom_record->usCACLow); in get_vddc_lookup_table() 184 record->us_cac_mid = le16_to_cpu(atom_record->usCACMid); in get_vddc_lookup_table() 185 record->us_cac_high = le16_to_cpu(atom_record->usCACHigh); in get_vddc_lookup_table() 213 = le16_to_cpu(atom_ppm_table->usCpuCoreNumber); in get_platform_power_management_table() 254 le16_to_cpu(powerplay_table->usUlvVoltageOffset); in init_dpm_2_parameters() 261 le16_to_cpu(powerplay_table->usPowerControlLimit); in init_dpm_2_parameters() 280 le16_to_cpu(powerplay_table->usVddcLookupTableOffset)); in init_dpm_2_parameters() 289 le16_to_cpu(powerplay_table->usVddgfxLookupTableOffset)); in init_dpm_2_parameters() 298 (((unsigned long)powerplay_table) + le16_to_cpu(powerplay_tabl in init_dpm_2_parameters() [all...] |
H A D | vega10_processpptables.c | 73 le16_to_cpu(powerplay_table->usStateArrayOffset)); in check_powerplay_tables() 130 le16_to_cpu(powerplay_table->usThermalControllerOffset)); in init_thermal_controller() 165 le16_to_cpu(powerplay_table->usFanTableOffset)); in init_thermal_controller() 177 le16_to_cpu(fan_table_v1->usFanOutputSensitivity); in init_thermal_controller() 179 le16_to_cpu(fan_table_v1->usFanRPMMax); in init_thermal_controller() 181 le16_to_cpu(fan_table_v1->usThrottlingRPM); in init_thermal_controller() 183 le16_to_cpu(fan_table_v1->usFanAcousticLimit); in init_thermal_controller() 185 le16_to_cpu(fan_table_v1->usTargetTemperature); in init_thermal_controller() 187 le16_to_cpu(fan_table_v1->usMinimumPWMLimit); in init_thermal_controller() 189 le16_to_cpu(fan_table_v in init_thermal_controller() [all...] |
H A D | processpptables.c | 55 if (le16_to_cpu(powerplay_table->usTableSize) >= in get_vce_table_offset() 64 le16_to_cpu(powerplay_table3->usExtendendedHeaderOffset)); in get_vce_table_offset() 65 if (le16_to_cpu(extended_header->usSize) >= in get_vce_table_offset() 67 vce_table_offset = le16_to_cpu(extended_header->usVCETableOffset); in get_vce_table_offset() 157 if (le16_to_cpu(powerplay_table->usTableSize) >= in get_uvd_table_offset() 165 le16_to_cpu(powerplay_table3->usExtendendedHeaderOffset)); in get_uvd_table_offset() 166 if (le16_to_cpu(extended_header->usSize) >= in get_uvd_table_offset() 168 uvd_table_offset = le16_to_cpu(extended_header->usUVDTableOffset); in get_uvd_table_offset() 222 if (le16_to_cpu(powerplay_table->usTableSize) >= in get_samu_table_offset() 230 le16_to_cpu(powerplay_table in get_samu_table_offset() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | process_pptables_v1_0.c | 186 record->us_vdd = le16_to_cpu(atom_record->usVdd); in get_vddc_lookup_table() 187 record->us_cac_low = le16_to_cpu(atom_record->usCACLow); in get_vddc_lookup_table() 188 record->us_cac_mid = le16_to_cpu(atom_record->usCACMid); in get_vddc_lookup_table() 189 record->us_cac_high = le16_to_cpu(atom_record->usCACHigh); in get_vddc_lookup_table() 217 = le16_to_cpu(atom_ppm_table->usCpuCoreNumber); in get_platform_power_management_table() 258 le16_to_cpu(powerplay_table->usUlvVoltageOffset); in init_dpm_2_parameters() 265 le16_to_cpu(powerplay_table->usPowerControlLimit); in init_dpm_2_parameters() 284 le16_to_cpu(powerplay_table->usVddcLookupTableOffset)); in init_dpm_2_parameters() 293 le16_to_cpu(powerplay_table->usVddgfxLookupTableOffset)); in init_dpm_2_parameters() 302 (((unsigned long)powerplay_table) + le16_to_cpu(powerplay_tabl in init_dpm_2_parameters() [all...] |
H A D | vega10_processpptables.c | 74 le16_to_cpu(powerplay_table->usStateArrayOffset)); in check_powerplay_tables() 131 le16_to_cpu(powerplay_table->usThermalControllerOffset)); in init_thermal_controller() 166 le16_to_cpu(powerplay_table->usFanTableOffset)); in init_thermal_controller() 178 le16_to_cpu(fan_table_v1->usFanOutputSensitivity); in init_thermal_controller() 180 le16_to_cpu(fan_table_v1->usFanRPMMax); in init_thermal_controller() 182 le16_to_cpu(fan_table_v1->usThrottlingRPM); in init_thermal_controller() 184 le16_to_cpu(fan_table_v1->usFanAcousticLimit); in init_thermal_controller() 186 le16_to_cpu(fan_table_v1->usTargetTemperature); in init_thermal_controller() 188 le16_to_cpu(fan_table_v1->usMinimumPWMLimit); in init_thermal_controller() 190 le16_to_cpu(fan_table_v in init_thermal_controller() [all...] |
H A D | processpptables.c | 55 if (le16_to_cpu(powerplay_table->usTableSize) >= in get_vce_table_offset() 64 le16_to_cpu(powerplay_table3->usExtendendedHeaderOffset)); in get_vce_table_offset() 65 if (le16_to_cpu(extended_header->usSize) >= in get_vce_table_offset() 67 vce_table_offset = le16_to_cpu(extended_header->usVCETableOffset); in get_vce_table_offset() 157 if (le16_to_cpu(powerplay_table->usTableSize) >= in get_uvd_table_offset() 165 le16_to_cpu(powerplay_table3->usExtendendedHeaderOffset)); in get_uvd_table_offset() 166 if (le16_to_cpu(extended_header->usSize) >= in get_uvd_table_offset() 168 uvd_table_offset = le16_to_cpu(extended_header->usUVDTableOffset); in get_uvd_table_offset() 222 if (le16_to_cpu(powerplay_table->usTableSize) >= in get_samu_table_offset() 230 le16_to_cpu(powerplay_table in get_samu_table_offset() [all...] |
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | ext4_extents.h | 98 (sizeof(struct ext4_extent) * le16_to_cpu((hdr)->eh_max))) 167 (le16_to_cpu((__path__)->p_hdr->eh_entries) \ 168 < le16_to_cpu((__path__)->p_hdr->eh_max)) 170 (EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1) 172 (EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1) 174 ((le16_to_cpu((__hdr__)->eh_max)) ? \ 175 ((EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1)) \ 178 ((le16_to_cpu((__hdr__)->eh_max)) ? \ 179 ((EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1)) : 0) 193 return le16_to_cpu(ext_inode_hd in ext_depth() [all...] |
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | ext4_extents.h | 98 (sizeof(struct ext4_extent) * le16_to_cpu((hdr)->eh_max))) 167 (le16_to_cpu((__path__)->p_hdr->eh_entries) \ 168 < le16_to_cpu((__path__)->p_hdr->eh_max)) 170 (EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1) 172 (EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1) 174 ((le16_to_cpu((__hdr__)->eh_max)) ? \ 175 ((EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1)) \ 178 ((le16_to_cpu((__hdr__)->eh_max)) ? \ 179 ((EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1)) \ 194 return le16_to_cpu(ext_inode_hd in ext_depth() [all...] |
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | smb2misc.c | 100 *off = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferOffset); in smb2_get_data_area_len() 101 *len = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferLength); in smb2_get_data_area_len() 104 *off = le16_to_cpu(((struct smb2_tree_connect_req *)hdr)->PathOffset); in smb2_get_data_area_len() 105 *len = le16_to_cpu(((struct smb2_tree_connect_req *)hdr)->PathLength); in smb2_get_data_area_len() 110 le16_to_cpu(((struct smb2_create_req *)hdr)->NameOffset); in smb2_get_data_area_len() 112 le16_to_cpu(((struct smb2_create_req *)hdr)->NameLength); in smb2_get_data_area_len() 131 *off = le16_to_cpu(((struct smb2_query_info_req *)hdr)->InputBufferOffset); in smb2_get_data_area_len() 135 *off = le16_to_cpu(((struct smb2_set_info_req *)hdr)->BufferOffset); in smb2_get_data_area_len() 139 *off = le16_to_cpu(((struct smb2_read_req *)hdr)->ReadChannelInfoOffset); in smb2_get_data_area_len() 140 *len = le16_to_cpu(((struc in smb2_get_data_area_len() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A 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(hd in radeon_ucode_print_gfx_hdr() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A 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(hd in radeon_ucode_print_gfx_hdr() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | legacy_dpm.c | 173 adev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in amdgpu_get_platform_caps() 174 adev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in amdgpu_get_platform_caps() 199 amdgpu_table->entries[i].clk = le16_to_cpu(entry->usClockLow) | in amdgpu_parse_clk_voltage_dep_table() 201 amdgpu_table->entries[i].v = le16_to_cpu(entry->usVoltage); in amdgpu_parse_clk_voltage_dep_table() 237 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table() 241 le16_to_cpu(power_info->pplib3.usFanTableOffset)); in amdgpu_parse_extended_power_table() 243 adev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); in amdgpu_parse_extended_power_table() 244 adev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); in amdgpu_parse_extended_power_table() 245 adev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); in amdgpu_parse_extended_power_table() 246 adev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_inf in amdgpu_parse_extended_power_table() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.c | 52 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 53 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 54 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 55 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 56 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 57 i2c.y_data_reg = le16_to_cpu(gpio->usDataY_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 58 i2c.a_clk_reg = le16_to_cpu(gpio->usClkA_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 59 i2c.a_data_reg = le16_to_cpu(gpio->usDataA_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 184 gpio.reg = le16_to_cpu(pin->usGpioPin_AIndex); in amdgpu_atombios_lookup_gpio() 283 le16_to_cpu(obj_heade in amdgpu_atombios_has_dce_engine_info() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmdresp.c | 57 switch (le16_to_cpu(resp->command)) { in mwifiex_process_cmdresp_error() 62 resp->result, le16_to_cpu(pm->action)); in mwifiex_process_cmdresp_error() 64 if (le16_to_cpu(pm->action) == EN_AUTO_PS && in mwifiex_process_cmdresp_error() 65 (le16_to_cpu(pm->params.ps_bitmap) & BITMAP_STA_PS) && in mwifiex_process_cmdresp_error() 115 priv->data_rssi_last = le16_to_cpu(rssi_info_rsp->data_rssi_last); in mwifiex_ret_802_11_rssi_info() 116 priv->data_nf_last = le16_to_cpu(rssi_info_rsp->data_nf_last); in mwifiex_ret_802_11_rssi_info() 118 priv->data_rssi_avg = le16_to_cpu(rssi_info_rsp->data_rssi_avg); in mwifiex_ret_802_11_rssi_info() 119 priv->data_nf_avg = le16_to_cpu(rssi_info_rsp->data_nf_avg); in mwifiex_ret_802_11_rssi_info() 121 priv->bcn_rssi_last = le16_to_cpu(rssi_info_rsp->bcn_rssi_last); in mwifiex_ret_802_11_rssi_info() 122 priv->bcn_nf_last = le16_to_cpu(rssi_info_rs in mwifiex_ret_802_11_rssi_info() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmdresp.c | 45 switch (le16_to_cpu(resp->command)) { in mwifiex_process_cmdresp_error() 50 resp->result, le16_to_cpu(pm->action)); in mwifiex_process_cmdresp_error() 52 if (le16_to_cpu(pm->action) == EN_AUTO_PS && in mwifiex_process_cmdresp_error() 53 (le16_to_cpu(pm->params.ps_bitmap) & BITMAP_STA_PS) && in mwifiex_process_cmdresp_error() 103 priv->data_rssi_last = le16_to_cpu(rssi_info_rsp->data_rssi_last); in mwifiex_ret_802_11_rssi_info() 104 priv->data_nf_last = le16_to_cpu(rssi_info_rsp->data_nf_last); in mwifiex_ret_802_11_rssi_info() 106 priv->data_rssi_avg = le16_to_cpu(rssi_info_rsp->data_rssi_avg); in mwifiex_ret_802_11_rssi_info() 107 priv->data_nf_avg = le16_to_cpu(rssi_info_rsp->data_nf_avg); in mwifiex_ret_802_11_rssi_info() 109 priv->bcn_rssi_last = le16_to_cpu(rssi_info_rsp->bcn_rssi_last); in mwifiex_ret_802_11_rssi_info() 110 priv->bcn_nf_last = le16_to_cpu(rssi_info_rs in mwifiex_ret_802_11_rssi_info() [all...] |
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | index.c | 162 le16_to_cpu(actx->attr->data.resident.value_offset)); in ntfs_index_lookup() 171 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_index_lookup() 175 (u8*)ie + le16_to_cpu(ie->length) > index_end) in ntfs_index_lookup() 185 le16_to_cpu(ie->key_length) > in ntfs_index_lookup() 186 le16_to_cpu(ie->data.vi.data_offset) || in ntfs_index_lookup() 187 (u32)le16_to_cpu(ie->data.vi.data_offset) + in ntfs_index_lookup() 188 le16_to_cpu(ie->data.vi.data_length) > in ntfs_index_lookup() 189 le16_to_cpu(ie->length)) in ntfs_index_lookup() 192 if ((key_len == le16_to_cpu(ie->key_length)) && !memcmp(key, in ntfs_index_lookup() 204 le16_to_cpu(i in ntfs_index_lookup() [all...] |
H A D | logfile.c | 82 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header() 88 if (usa_count != le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header() 94 usa_ofs = le16_to_cpu(rp->usa_ofs); in ntfs_check_restart_page_header() 109 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_page_header() 152 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_area() 172 ca_ofs = le16_to_cpu(ra->client_array_offset); in ntfs_check_restart_area() 184 ra_len = ca_ofs + le16_to_cpu(ra->log_clients) * in ntfs_check_restart_area() 187 ra_ofs + le16_to_cpu(ra->restart_area_length) > in ntfs_check_restart_area() 189 ra_len > le16_to_cpu(ra->restart_area_length)) { in ntfs_check_restart_area() 202 le16_to_cpu(r in ntfs_check_restart_area() [all...] |
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | index.c | 162 le16_to_cpu(actx->attr->data.resident.value_offset)); in ntfs_index_lookup() 171 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_index_lookup() 175 (u8*)ie + le16_to_cpu(ie->length) > index_end) in ntfs_index_lookup() 185 le16_to_cpu(ie->key_length) > in ntfs_index_lookup() 186 le16_to_cpu(ie->data.vi.data_offset) || in ntfs_index_lookup() 187 (u32)le16_to_cpu(ie->data.vi.data_offset) + in ntfs_index_lookup() 188 le16_to_cpu(ie->data.vi.data_length) > in ntfs_index_lookup() 189 le16_to_cpu(ie->length)) in ntfs_index_lookup() 192 if ((key_len == le16_to_cpu(ie->key_length)) && !memcmp(key, in ntfs_index_lookup() 204 le16_to_cpu(i in ntfs_index_lookup() [all...] |
H A D | logfile.c | 82 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header() 88 if (usa_count != le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header() 94 usa_ofs = le16_to_cpu(rp->usa_ofs); in ntfs_check_restart_page_header() 109 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_page_header() 152 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_area() 172 ca_ofs = le16_to_cpu(ra->client_array_offset); in ntfs_check_restart_area() 184 ra_len = ca_ofs + le16_to_cpu(ra->log_clients) * in ntfs_check_restart_area() 187 ra_ofs + le16_to_cpu(ra->restart_area_length) > in ntfs_check_restart_area() 189 ra_len > le16_to_cpu(ra->restart_area_length)) { in ntfs_check_restart_area() 202 le16_to_cpu(r in ntfs_check_restart_area() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.c | 52 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 53 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 54 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 55 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 56 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 57 i2c.y_data_reg = le16_to_cpu(gpio->usDataY_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 58 i2c.a_clk_reg = le16_to_cpu(gpio->usClkA_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 59 i2c.a_data_reg = le16_to_cpu(gpio->usDataA_RegisterIndex); in amdgpu_atombios_get_bus_rec_for_i2c_gpio() 184 gpio.reg = le16_to_cpu(pin->usGpioPin_AIndex); in amdgpu_atombios_lookup_gpio() 283 le16_to_cpu(obj_heade in amdgpu_atombios_has_dce_engine_info() [all...] |
/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | otg_productlist.h | 46 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted() 47 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd)) in is_targeted() 51 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted() 52 le16_to_cpu(dev->descriptor.idProduct) == 0x0200)) in is_targeted() 60 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) in is_targeted() 64 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) in is_targeted() 70 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() 74 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() 97 le16_to_cpu(dev->descriptor.idVendor), in is_targeted() 98 le16_to_cpu(de in is_targeted() [all...] |
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | otg_productlist.h | 46 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted() 47 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd)) in is_targeted() 51 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted() 52 le16_to_cpu(dev->descriptor.idProduct) == 0x0200)) in is_targeted() 60 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) in is_targeted() 64 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) in is_targeted() 70 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() 74 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() 97 le16_to_cpu(dev->descriptor.idVendor), in is_targeted() 98 le16_to_cpu(de in is_targeted() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | nand_onfi.c | 47 len = le16_to_cpu(p->ext_param_page_length) * 16; in nand_flash_detect_ext_param_page() 64 != le16_to_cpu(ep->crc))) { in nand_flash_detect_ext_param_page() 189 if (crc == le16_to_cpu(pbuf[i].crc)) { in nand_onfi_detect() 207 if (crc != le16_to_cpu(pbuf->crc)) { in nand_onfi_detect() 219 val = le16_to_cpu(p->revision); in nand_onfi_detect() 256 memorg->oobsize = le16_to_cpu(p->spare_bytes_per_page); in nand_onfi_detect() 268 if (le16_to_cpu(p->features) & ONFI_FEATURE_16_BIT_BUS) in nand_onfi_detect() 279 (le16_to_cpu(p->features) & ONFI_FEATURE_EXT_PARAM_PAGE)) { in nand_onfi_detect() 298 if (le16_to_cpu(p->opt_cmd) & ONFI_OPT_CMD_SET_GET_FEATURES) { in nand_onfi_detect() 306 if (le16_to_cpu( in nand_onfi_detect() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A 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(des in wq_enet_desc_dec() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
H A 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(des in wq_enet_desc_dec() [all...] |