/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
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_table->usPPMTableOffset)); in init_dpm_2_parameters() [all …]
|
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_v1->usTargetGfxClk); in init_thermal_controller() [all …]
|
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_table3->usExtendendedHeaderOffset)); in get_samu_table_offset() [all …]
|
/linux-6.1.9/fs/ext4/ |
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_hdr(inode)->eh_depth); in ext_depth() [all …]
|
/linux-6.1.9/fs/ksmbd/ |
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() 117 *off = le16_to_cpu(((struct smb2_create_req *)hdr)->NameOffset); in smb2_get_data_area_len() 118 *len = le16_to_cpu(((struct smb2_create_req *)hdr)->NameLength); in smb2_get_data_area_len() 122 *off = le16_to_cpu(((struct smb2_query_info_req *)hdr)->InputBufferOffset); in smb2_get_data_area_len() 126 *off = le16_to_cpu(((struct smb2_set_info_req *)hdr)->BufferOffset); in smb2_get_data_area_len() 130 *off = le16_to_cpu(((struct smb2_read_req *)hdr)->ReadChannelInfoOffset); in smb2_get_data_area_len() 131 *len = le16_to_cpu(((struct smb2_read_req *)hdr)->ReadChannelInfoLength); in smb2_get_data_area_len() [all …]
|
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
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_rsp->bcn_nf_last); in mwifiex_ret_802_11_rssi_info() [all …]
|
/linux-6.1.9/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 | 834 radeon_table->entries[i].clk = le16_to_cpu(entry->usClockLow) | in r600_parse_clk_voltage_dep_table() 836 radeon_table->entries[i].v = le16_to_cpu(entry->usVoltage); in r600_parse_clk_voltage_dep_table() 859 rdev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in r600_get_platform_caps() 860 rdev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in r600_get_platform_caps() 890 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table() 894 le16_to_cpu(power_info->pplib3.usFanTableOffset)); in r600_parse_extended_power_table() 896 rdev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); in r600_parse_extended_power_table() 897 rdev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); in r600_parse_extended_power_table() 898 rdev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); in r600_parse_extended_power_table() 899 rdev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); in r600_parse_extended_power_table() [all …]
|
D | radeon_atombios.c | 54 if ((le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0018) || in radeon_lookup_i2c_gpio_quirks() 55 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0019) || in radeon_lookup_i2c_gpio_quirks() 56 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x001a)) { in radeon_lookup_i2c_gpio_quirks() 65 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1936) && in radeon_lookup_i2c_gpio_quirks() 78 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1fda) && in radeon_lookup_i2c_gpio_quirks() 90 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 91 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 92 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 93 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 94 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/ |
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_info->fan.usPWMMin); in amdgpu_parse_extended_power_table() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
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_header->usDisplayPathTableOffset)); in amdgpu_atombios_has_dce_engine_info() [all …]
|
/linux-6.1.9/drivers/usb/core/ |
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(dev->descriptor.idProduct)); in is_targeted()
|
/linux-6.1.9/fs/ntfs/ |
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(ie->data.vi.data_offset); in ntfs_index_lookup() [all …]
|
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(ra->client_free_list) >= in ntfs_check_restart_area() [all …]
|
D | unistr.c | 95 c1 = le16_to_cpu(*name1++); in ntfs_collate_names() 96 c2 = le16_to_cpu(*name2++); in ntfs_collate_names() 99 c1 = le16_to_cpu(upcase[c1]); in ntfs_collate_names() 101 c2 = le16_to_cpu(upcase[c2]); in ntfs_collate_names() 115 c1 = le16_to_cpu(*name1); in ntfs_collate_names() 141 c1 = le16_to_cpu(s1[i]); in ntfs_ucsncmp() 142 c2 = le16_to_cpu(s2[i]); in ntfs_ucsncmp() 178 if ((c1 = le16_to_cpu(s1[i])) < upcase_size) in ntfs_ucsncasecmp() 179 c1 = le16_to_cpu(upcase[c1]); in ntfs_ucsncasecmp() 180 if ((c2 = le16_to_cpu(s2[i])) < upcase_size) in ntfs_ucsncasecmp() [all …]
|
D | mst.c | 34 usa_ofs = le16_to_cpu(b->usa_ofs); in post_read_mst_fixup() 36 usa_count = le16_to_cpu(b->usa_count) - 1; in post_read_mst_fixup() 73 usa_count = le16_to_cpu(b->usa_count) - 1; in post_read_mst_fixup() 120 usa_ofs = le16_to_cpu(b->usa_ofs); in pre_write_mst_fixup() 122 usa_count = le16_to_cpu(b->usa_count) - 1; in pre_write_mst_fixup() 169 u16 usa_ofs = le16_to_cpu(b->usa_ofs); in post_write_mst_fixup() 170 u16 usa_count = le16_to_cpu(b->usa_count) - 1; in post_write_mst_fixup()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
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() 190 if (crc == le16_to_cpu(pbuf[i].crc)) { in nand_onfi_detect() 208 if (crc != le16_to_cpu(pbuf->crc)) { in nand_onfi_detect() 220 val = le16_to_cpu(p->revision); in nand_onfi_detect() 257 memorg->oobsize = le16_to_cpu(p->spare_bytes_per_page); in nand_onfi_detect() 269 if (le16_to_cpu(p->features) & ONFI_FEATURE_16_BIT_BUS) in nand_onfi_detect() 280 (le16_to_cpu(p->features) & ONFI_FEATURE_EXT_PARAM_PAGE)) { in nand_onfi_detect() 299 if (le16_to_cpu(p->opt_cmd) & ONFI_OPT_CMD_SET_GET_FEATURES) { in nand_onfi_detect() 314 onfi->tPROG = le16_to_cpu(p->t_prog); in nand_onfi_detect() [all …]
|
/linux-6.1.9/drivers/scsi/snic/ |
D | wq_enet_desc.h | 62 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; in wq_enet_desc_dec() 63 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec() 65 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> in wq_enet_desc_dec() 67 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec() 69 *offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 71 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 73 *cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 75 *fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 77 *vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 79 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
|
/linux-6.1.9/drivers/scsi/fnic/ |
D | wq_enet_desc.h | 64 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; in wq_enet_desc_dec() 65 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec() 67 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> in wq_enet_desc_dec() 69 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec() 71 *offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 73 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 75 *cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 77 *fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 79 *vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 81 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
|
/linux-6.1.9/drivers/net/ethernet/cisco/enic/ |
D | wq_enet_desc.h | 65 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; in wq_enet_desc_dec() 66 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec() 68 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> in wq_enet_desc_dec() 70 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec() 72 *offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 74 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 76 *cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 78 *fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 80 *vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec() 82 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser.c | 154 le16_to_cpu(bp->object_info_tbl.v1_1->usConnectorObjectTableOffset)); in bios_parser_get_connectors_number() 167 + le16_to_cpu(bp->object_info_tbl.v1_1->usConnectorObjectTableOffset); in bios_parser_get_connector_id() 183 id = le16_to_cpu(tbl->asObjects[i].usObjectID); in bios_parser_get_connector_id() 235 offset = le16_to_cpu(object->usRecordOffset) in bios_parser_get_i2c_info() 298 offset = le16_to_cpu(object->usRecordOffset) in bios_parser_get_device_tag_record() 360 device_type_from_device_id(le16_to_cpu(device_tag->usDeviceID)); in bios_parser_get_device_tag() 438 le16_to_cpu(firmware_info->usReferenceClock) * 10; in get_firmware_info_v1_4() 440 le16_to_cpu(firmware_info->usMinPixelClockPLL_Input) * 10; in get_firmware_info_v1_4() 442 le16_to_cpu(firmware_info->usMaxPixelClockPLL_Input) * 10; in get_firmware_info_v1_4() 489 le16_to_cpu(firmwareInfo->usCoreReferenceClock) * 10; in get_firmware_info_v2_1() [all …]
|
/linux-6.1.9/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() 173 le16_to_cpu(pd_pg0.DevHandle) == in mpt3sas_init_warpdrive_properties() 185 le16_to_cpu(pd_pg0.DevHandle), in mpt3sas_init_warpdrive_properties() 190 raid_device->pd_handle[count] = le16_to_cpu(pd_pg0.DevHandle); in mpt3sas_init_warpdrive_properties() 201 le16_to_cpu(vol_pg0->BlockSize)) / 1024, in mpt3sas_init_warpdrive_properties() 202 le16_to_cpu(vol_pg0->BlockSize)); in mpt3sas_init_warpdrive_properties() 212 le16_to_cpu(vol_pg0->BlockSize)) / 1024); in mpt3sas_init_warpdrive_properties() [all …]
|
/linux-6.1.9/fs/hpfs/ |
D | map.c | 80 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() 196 …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() 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-6.1.9/fs/ocfs2/ |
D | suballoc.c | 146 return (u32)le16_to_cpu(cl->cl_cpg) * (u32)le16_to_cpu(cl->cl_bpc); in ocfs2_bits_per_group() 181 if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) { in ocfs2_validate_gd_self() 184 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self() 185 le16_to_cpu(gd->bg_free_bits_count)); in ocfs2_validate_gd_self() 188 if (le16_to_cpu(gd->bg_bits) > (8 * le16_to_cpu(gd->bg_size))) { in ocfs2_validate_gd_self() 191 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self() 192 8 * le16_to_cpu(gd->bg_size)); in ocfs2_validate_gd_self() 213 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() 214 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent() 217 le16_to_cpu(gd->bg_bits)); in ocfs2_validate_gd_parent() [all …]
|
/linux-6.1.9/drivers/net/wireless/ti/wl18xx/ |
D | event.c | 134 le16_to_cpu(mbox->time_sync_tsf_high_msb), in wl18xx_process_mailbox_events() 135 le16_to_cpu(mbox->time_sync_tsf_high_lsb), in wl18xx_process_mailbox_events() 136 le16_to_cpu(mbox->time_sync_tsf_low_msb), in wl18xx_process_mailbox_events() 137 le16_to_cpu(mbox->time_sync_tsf_low_lsb)); in wl18xx_process_mailbox_events() 164 le16_to_cpu(mbox->rx_ba_role_id_bitmap), in wl18xx_process_mailbox_events() 165 le16_to_cpu(mbox->rx_ba_allowed_bitmap)); in wl18xx_process_mailbox_events() 169 le16_to_cpu(mbox->bss_loss_bitmap)); in wl18xx_process_mailbox_events() 173 le16_to_cpu(mbox->channel_switch_role_id_bitmap), in wl18xx_process_mailbox_events() 185 le16_to_cpu(mbox->tx_retry_exceeded_bitmap)); in wl18xx_process_mailbox_events() 189 le16_to_cpu(mbox->inactive_sta_bitmap)); in wl18xx_process_mailbox_events()
|