| /linux/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_table->usPPMTableOffset)); 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_v1->usTargetGfxClk); 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_table3->usExtendendedHeaderOffset)); in get_samu_table_offset() [all …]
|
| /linux/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_rsp->bcn_nf_last); in mwifiex_ret_802_11_rssi_info() [all …]
|
| H A D | ie.c | 41 mask = le16_to_cpu(priv->mgmt_ie[i].mgmt_subtype_mask); in mwifiex_ie_get_autoidx() 42 len = le16_to_cpu(ie->ie_length); in mwifiex_ie_get_autoidx() 77 input_len = le16_to_cpu(ie_list->len); in mwifiex_update_autoindex_ies() 84 tlv_len = le16_to_cpu(ie->ie_length); in mwifiex_update_autoindex_ies() 89 index = le16_to_cpu(ie->ie_index); in mwifiex_update_autoindex_ies() 90 mask = le16_to_cpu(ie->mgmt_subtype_mask); in mwifiex_update_autoindex_ies() 100 memcpy(tmp, &ie->ie_buffer, le16_to_cpu(ie->ie_length)); in mwifiex_update_autoindex_ies() 123 le16_to_cpu( in mwifiex_update_autoindex_ies() 161 le16_to_cpu(beacon_ie->ie_length); in mwifiex_update_uap_custom_ie() 168 le16_to_cpu(pr_ie->ie_length); in mwifiex_update_uap_custom_ie() [all …]
|
| H A D | cmdevt.c | 132 le16_to_cpu(host_cmd->command), in mwifiex_recycle_cmd_node() 186 cmd_code = le16_to_cpu(host_cmd->command); in mwifiex_dnld_cmd_to_fw() 188 cmd_size = le16_to_cpu(host_cmd->size); in mwifiex_dnld_cmd_to_fw() 231 cmd_size, le16_to_cpu(host_cmd->seq_num)); in mwifiex_dnld_cmd_to_fw() 317 le16_to_cpu(sleep_cfm_buf->command), in mwifiex_dnld_sleep_confirm_cmd() 318 le16_to_cpu(sleep_cfm_buf->action), in mwifiex_dnld_sleep_confirm_cmd() 319 le16_to_cpu(sleep_cfm_buf->size), in mwifiex_dnld_sleep_confirm_cmd() 320 le16_to_cpu(sleep_cfm_buf->seq_num)); in mwifiex_dnld_sleep_confirm_cmd() 322 le16_to_cpu(sleep_cfm_buf->size)); in mwifiex_dnld_sleep_confirm_cmd() 358 if (!le16_to_cpu(sleep_cfm_buf->resp_ctrl)) in mwifiex_dnld_sleep_confirm_cmd() [all …]
|
| /linux/fs/smb/server/ |
| H A D | smb2misc.c | 99 *off = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferOffset); in smb2_get_data_area_len() 100 *len = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferLength); in smb2_get_data_area_len() 104 le16_to_cpu(((struct smb2_tree_connect_req *)hdr)->PathOffset), in smb2_get_data_area_len() 106 *len = le16_to_cpu(((struct smb2_tree_connect_req *)hdr)->PathLength); in smb2_get_data_area_len() 112 le16_to_cpu(((struct smb2_create_req *)hdr)->NameOffset), in smb2_get_data_area_len() 115 le16_to_cpu(((struct smb2_create_req *)hdr)->NameLength); in smb2_get_data_area_len() 135 le16_to_cpu(((struct smb2_query_info_req *)hdr)->InputBufferOffset), in smb2_get_data_area_len() 141 le16_to_cpu(((struct smb2_set_info_req *)hdr)->BufferOffset), in smb2_get_data_area_len() 146 *off = le16_to_cpu(((struct smb2_read_req *)hdr)->ReadChannelInfoOffset); in smb2_get_data_area_len() 147 *len = le16_to_cpu(((struct smb2_read_req *)hdr)->ReadChannelInfoLength); in smb2_get_data_area_len() [all …]
|
| /linux/fs/ext4/ |
| H A D | ext4_extents.h | 91 (sizeof(struct ext4_extent) * le16_to_cpu((hdr)->eh_max))) 160 (le16_to_cpu((__path__)->p_hdr->eh_entries) \ 161 < le16_to_cpu((__path__)->p_hdr->eh_max)) 163 (EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1) 165 (EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1) 167 ((le16_to_cpu((__hdr__)->eh_max)) ? \ 168 ((EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1)) \ 171 ((le16_to_cpu((__hdr__)->eh_max)) ? \ 172 ((EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1)) \ 187 return le16_to_cpu(ext_inode_hdr(inode)->eh_depth); in ext_depth() [all …]
|
| /linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
| H A D | legacy_dpm.c | 147 adev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in amdgpu_get_platform_caps() 148 adev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in amdgpu_get_platform_caps() 173 amdgpu_table->entries[i].clk = le16_to_cpu(entry->usClockLow) | in amdgpu_parse_clk_voltage_dep_table() 175 amdgpu_table->entries[i].v = le16_to_cpu(entry->usVoltage); in amdgpu_parse_clk_voltage_dep_table() 211 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table() 215 le16_to_cpu(power_info->pplib3.usFanTableOffset)); in amdgpu_parse_extended_power_table() 217 adev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); in amdgpu_parse_extended_power_table() 218 adev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); in amdgpu_parse_extended_power_table() 219 adev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); in amdgpu_parse_extended_power_table() 220 adev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); in amdgpu_parse_extended_power_table() [all …]
|
| /linux/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(hdr->header_version_minor); in radeon_ucode_print_gfx_hdr() [all …]
|
| H A 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 …]
|
| H A D | radeon_atombios.c | 55 if ((le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0018) || in radeon_lookup_i2c_gpio_quirks() 56 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0019) || in radeon_lookup_i2c_gpio_quirks() 57 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x001a)) { in radeon_lookup_i2c_gpio_quirks() 66 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1936) && in radeon_lookup_i2c_gpio_quirks() 79 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1fda) && in radeon_lookup_i2c_gpio_quirks() 91 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 92 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 93 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 94 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 95 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() [all …]
|
| /linux/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(dev->descriptor.idProduct)); in is_targeted()
|
| /linux/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(p->opt_cmd) & ONFI_OPT_CMD_READ_CACHE) in nand_onfi_detect() [all …]
|
| /linux/drivers/scsi/snic/ |
| H A 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/drivers/scsi/fnic/ |
| H A 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/drivers/net/ethernet/cisco/enic/ |
| H A 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/drivers/gpu/drm/amd/display/dc/bios/ |
| H A D | bios_parser.c | 155 le16_to_cpu(bp->object_info_tbl.v1_1->usConnectorObjectTableOffset)); in bios_parser_get_connectors_number() 168 + le16_to_cpu(bp->object_info_tbl.v1_1->usConnectorObjectTableOffset); in bios_parser_get_connector_id() 182 id = le16_to_cpu(tbl->asObjects[i].usObjectID); in bios_parser_get_connector_id() 234 offset = le16_to_cpu(object->usRecordOffset) in bios_parser_get_i2c_info() 297 offset = le16_to_cpu(object->usRecordOffset) in bios_parser_get_device_tag_record() 359 device_type_from_device_id(le16_to_cpu(device_tag->usDeviceID)); in bios_parser_get_device_tag() 437 le16_to_cpu(firmware_info->usReferenceClock) * 10; in get_firmware_info_v1_4() 439 le16_to_cpu(firmware_info->usMinPixelClockPLL_Input) * 10; in get_firmware_info_v1_4() 441 le16_to_cpu(firmware_info->usMaxPixelClockPLL_Input) * 10; in get_firmware_info_v1_4() 446 info->max_pixel_clock = le16_to_cpu(firmware_info->usMaxPixelClock) * 10; in get_firmware_info_v1_4() [all …]
|
| /linux/fs/hpfs/ |
| H A 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/drivers/scsi/mpt3sas/ |
| H A 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() 172 le16_to_cpu(pd_pg0.DevHandle) == in mpt3sas_init_warpdrive_properties() 184 le16_to_cpu(pd_pg0.DevHandle), in mpt3sas_init_warpdrive_properties() 189 raid_device->pd_handle[count] = le16_to_cpu(pd_pg0.DevHandle); in mpt3sas_init_warpdrive_properties() 200 le16_to_cpu(vol_pg0->BlockSize)) / 1024, in mpt3sas_init_warpdrive_properties() 201 le16_to_cpu(vol_pg0->BlockSize)); in mpt3sas_init_warpdrive_properties() 211 le16_to_cpu(vol_pg0->BlockSize)) / 1024); in mpt3sas_init_warpdrive_properties() [all …]
|
| /linux/include/soc/fsl/ |
| H A D | dpaa2-fd.h | 184 return !!((le16_to_cpu(fd->simple.format_offset) >> in dpaa2_fd_short_len() 220 return le16_to_cpu(fd->simple.format_offset) & FD_OFFSET_MASK; in dpaa2_fd_get_offset() 243 return (enum dpaa2_fd_format)((le16_to_cpu(fd->simple.format_offset) in dpaa2_fd_get_format() 268 return le16_to_cpu(fd->simple.bpid) & FD_BPID_MASK; in dpaa2_fd_get_bpid() 327 return !!((le16_to_cpu(sg->format_offset) >> SG_SHORT_LEN_FLAG_SHIFT) in dpaa2_sg_short_len() 363 return le16_to_cpu(sg->format_offset) & SG_OFFSET_MASK; in dpaa2_sg_get_offset() 387 return (enum dpaa2_sg_format)((le16_to_cpu(sg->format_offset) in dpaa2_sg_get_format() 411 return le16_to_cpu(sg->bpid) & SG_BPID_MASK; in dpaa2_sg_get_bpid() 433 return !!(le16_to_cpu(sg->format_offset) >> SG_FINAL_FLAG_SHIFT); in dpaa2_sg_is_final() 562 return !!((le16_to_cpu(fle->format_offset) >> in dpaa2_fl_short_len() [all …]
|
| /linux/drivers/net/wireless/ti/wl18xx/ |
| H A 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()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| H A D | hclgevf_mbx.c | 168 u16 vf_mbx_msg_subcode = le16_to_cpu(req->msg.vf_mbx_msg_subcode); in hclgevf_handle_mbx_response() 169 u16 vf_mbx_msg_code = le16_to_cpu(req->msg.vf_mbx_msg_code); in hclgevf_handle_mbx_response() 171 u16 resp_status = le16_to_cpu(req->msg.resp_status); in hclgevf_handle_mbx_response() 172 u16 match_id = le16_to_cpu(req->match_id); in hclgevf_handle_mbx_response() 211 le16_to_cpu(req->msg.code)); in hclgevf_handle_mbx_msg() 244 flag = le16_to_cpu(crq->desc[crq->next_to_use].flag); in hclgevf_mbx_handler() 245 code = le16_to_cpu(req->msg.code); in hclgevf_mbx_handler() 326 opcode = le16_to_cpu(msg_q[0]); in hclgevf_mbx_async_handler() 330 link_status = le16_to_cpu(link_info->link_status); in hclgevf_mbx_async_handler() 332 duplex = (u8)le16_to_cpu(link_info->duplex); in hclgevf_mbx_async_handler() [all …]
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-ep0.c | 60 cfg = le16_to_cpu(ctrl->wValue); in cdnsp_ep0_set_config() 93 addr = le16_to_cpu(ctrl->wValue); in cdnsp_ep0_set_address() 107 pdev->device_address = le16_to_cpu(ctrl->wValue); in cdnsp_ep0_set_address() 172 ep_sts = cdnsp_w_index_to_ep_index(le16_to_cpu(ctrl->wIndex)); in cdnsp_ep0_handle_status() 213 switch (le16_to_cpu(ctrl->wValue)) { in cdnsp_ep0_handle_feature_device() 238 tmode = le16_to_cpu(ctrl->wIndex); in cdnsp_ep0_handle_feature_device() 270 wValue = le16_to_cpu(ctrl->wValue); in cdnsp_ep0_handle_feature_intf() 271 wIndex = le16_to_cpu(ctrl->wIndex); in cdnsp_ep0_handle_feature_intf() 304 wValue = le16_to_cpu(ctrl->wValue); in cdnsp_ep0_handle_feature_endpoint() 305 pep = &pdev->eps[cdnsp_w_index_to_ep_index(le16_to_cpu(ctrl->wIndex))]; in cdnsp_ep0_handle_feature_endpoint() [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_hwrm.c | 73 sentinel = bnge_cal_sentinel(ctx, le16_to_cpu(req->req_type)); in __hwrm_ctx_get() 76 (u32)le16_to_cpu(req->req_type)); in __hwrm_ctx_get() 135 req_type = le16_to_cpu(internal_req->req_type); in bnge_hwrm_req_replace() 160 (u32)le16_to_cpu(input->req_type)); in bnge_hwrm_req_hold() 264 u32 ring = le16_to_cpu(req->cmpl_ring); in bnge_hwrm_req_dbg() 265 u32 type = le16_to_cpu(req->req_type); in bnge_hwrm_req_dbg() 266 u32 tgt = le16_to_cpu(req->target_id); in bnge_hwrm_req_dbg() 267 u32 seq = le16_to_cpu(req->seq_id); in bnge_hwrm_req_dbg() 306 req_type = le16_to_cpu(ctx->req->req_type); in __hwrm_send_ctx() 353 if (le16_to_cpu(ctx->req->cmpl_ring) != INVALID_HW_RING_ID) { in __hwrm_send_ctx() [all …]
|