/linux-master/drivers/usb/core/ |
H A D | otg_productlist.h | 46 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && 47 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd)) 51 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && 52 le16_to_cpu(dev->descriptor.idProduct) == 0x0200)) 60 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) 64 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) 70 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) 74 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) 97 le16_to_cpu(dev->descriptor.idVendor), 98 le16_to_cpu(de [all...] |
/linux-master/include/linux/usb/ |
H A D | input.h | 17 id->vendor = le16_to_cpu(dev->descriptor.idVendor); 18 id->product = le16_to_cpu(dev->descriptor.idProduct); 19 id->version = le16_to_cpu(dev->descriptor.bcdDevice);
|
/linux-master/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 [all...] |
/linux-master/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); 183 record->us_cac_low = le16_to_cpu(atom_record->usCACLow); 184 record->us_cac_mid = le16_to_cpu(atom_record->usCACMid); 185 record->us_cac_high = le16_to_cpu(atom_record->usCACHigh); 213 = le16_to_cpu(atom_ppm_table->usCpuCoreNumber); 254 le16_to_cpu(powerplay_table->usUlvVoltageOffset); 261 le16_to_cpu(powerplay_table->usPowerControlLimit); 280 le16_to_cpu(powerplay_table->usVddcLookupTableOffset)); 289 le16_to_cpu(powerplay_table->usVddgfxLookupTableOffset)); 298 (((unsigned long)powerplay_table) + le16_to_cpu(powerplay_tabl [all...] |
H A D | vega10_processpptables.c | 73 le16_to_cpu(powerplay_table->usStateArrayOffset)); 130 le16_to_cpu(powerplay_table->usThermalControllerOffset)); 165 le16_to_cpu(powerplay_table->usFanTableOffset)); 177 le16_to_cpu(fan_table_v1->usFanOutputSensitivity); 179 le16_to_cpu(fan_table_v1->usFanRPMMax); 181 le16_to_cpu(fan_table_v1->usThrottlingRPM); 183 le16_to_cpu(fan_table_v1->usFanAcousticLimit); 185 le16_to_cpu(fan_table_v1->usTargetTemperature); 187 le16_to_cpu(fan_table_v1->usMinimumPWMLimit); 189 le16_to_cpu(fan_table_v [all...] |
H A D | processpptables.c | 55 if (le16_to_cpu(powerplay_table->usTableSize) >= 64 le16_to_cpu(powerplay_table3->usExtendendedHeaderOffset)); 65 if (le16_to_cpu(extended_header->usSize) >= 67 vce_table_offset = le16_to_cpu(extended_header->usVCETableOffset); 157 if (le16_to_cpu(powerplay_table->usTableSize) >= 165 le16_to_cpu(powerplay_table3->usExtendendedHeaderOffset)); 166 if (le16_to_cpu(extended_header->usSize) >= 168 uvd_table_offset = le16_to_cpu(extended_header->usUVDTableOffset); 222 if (le16_to_cpu(powerplay_table->usTableSize) >= 230 le16_to_cpu(powerplay_table [all...] |
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | wq_enet_desc.h | 65 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; 66 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & 68 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> 70 *header_length = le16_to_cpu(desc->header_length_flags) & 72 *offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >> 74 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> 76 *cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >> 78 *fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >> 80 *vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >> 82 *vlan_tag = le16_to_cpu(des [all...] |
H A D | cq_desc.h | 62 *q_number = le16_to_cpu(desc->q_number) & CQ_DESC_Q_NUM_MASK; 63 *completed_index = le16_to_cpu(desc->completed_index) &
|
H A D | rq_enet_desc.h | 42 *length = le16_to_cpu(desc->length_type) & RQ_ENET_LEN_MASK; 43 *type = (u8)((le16_to_cpu(desc->length_type) >> RQ_ENET_LEN_BITS) &
|
/linux-master/drivers/scsi/fnic/ |
H A D | wq_enet_desc.h | 64 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; 65 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & 67 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> 69 *header_length = le16_to_cpu(desc->header_length_flags) & 71 *offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >> 73 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> 75 *cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >> 77 *fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >> 79 *vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >> 81 *vlan_tag = le16_to_cpu(des [all...] |
H A D | cq_desc.h | 61 *q_number = le16_to_cpu(desc->q_number) & CQ_DESC_Q_NUM_MASK; 62 *completed_index = le16_to_cpu(desc->completed_index) &
|
/linux-master/drivers/scsi/snic/ |
H A D | wq_enet_desc.h | 62 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; 63 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & 65 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> 67 *header_length = le16_to_cpu(desc->header_length_flags) & 69 *offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >> 71 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> 73 *cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >> 75 *fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >> 77 *vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >> 79 *vlan_tag = le16_to_cpu(des [all...] |
/linux-master/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)); 36 DRM_DEBUG("header_version_minor: %u\n", le16_to_cpu(hdr->header_version_minor)); 37 DRM_DEBUG("ip_version_major: %u\n", le16_to_cpu(hdr->ip_version_major)); 38 DRM_DEBUG("ip_version_minor: %u\n", le16_to_cpu(hdr->ip_version_minor)); 48 uint16_t version_major = le16_to_cpu(hdr->header_version_major); 49 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); 69 uint16_t version_major = le16_to_cpu(hdr->header_version_major); 70 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); 87 uint16_t version_major = le16_to_cpu(hdr->header_version_major); 88 uint16_t version_minor = le16_to_cpu(hd [all...] |
/linux-master/fs/smb/server/ |
H A D | smb2misc.c | 100 *off = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferOffset); 101 *len = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferLength); 105 le16_to_cpu(((struct smb2_tree_connect_req *)hdr)->PathOffset), 107 *len = le16_to_cpu(((struct smb2_tree_connect_req *)hdr)->PathLength); 113 le16_to_cpu(((struct smb2_create_req *)hdr)->NameOffset), 116 le16_to_cpu(((struct smb2_create_req *)hdr)->NameLength); 136 le16_to_cpu(((struct smb2_query_info_req *)hdr)->InputBufferOffset), 142 le16_to_cpu(((struct smb2_set_info_req *)hdr)->BufferOffset), 147 *off = le16_to_cpu(((struct smb2_read_req *)hdr)->ReadChannelInfoOffset); 148 *len = le16_to_cpu(((struc [all...] |
/linux-master/fs/ntfs3/ |
H A D | upcase.c | 47 diff1 = le16_to_cpu(*s1) - le16_to_cpu(*s2); 59 diff2 = upcase_unicode_char(upcase, le16_to_cpu(*s1)) - 60 upcase_unicode_char(upcase, le16_to_cpu(*s2)); 84 diff1 = *s1 - le16_to_cpu(*s2); 97 upcase_unicode_char(upcase, le16_to_cpu(*s2));
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | trace.h | 28 le16_to_cpu(sap_cmd->len) + sizeof(*sap_cmd)) 36 le16_to_cpu(sap_cmd->len) + sizeof(*sap_cmd)); 38 __entry->type = le16_to_cpu(sap_cmd->type); 39 __entry->len = le16_to_cpu(sap_cmd->len);
|
/linux-master/drivers/media/common/siano/ |
H A D | smsendian.c | 56 ver->chip_model = le16_to_cpu((__force __le16)ver->chip_model); 87 phdr->msg_type = le16_to_cpu((__force __le16)phdr->msg_type); 88 phdr->msg_length = le16_to_cpu((__force __le16)phdr->msg_length); 89 phdr->msg_flags = le16_to_cpu((__force __le16)phdr->msg_flags);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.c | 52 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex); 53 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex); 54 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex); 55 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex); 56 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex); 57 i2c.y_data_reg = le16_to_cpu(gpio->usDataY_RegisterIndex); 58 i2c.a_clk_reg = le16_to_cpu(gpio->usClkA_RegisterIndex); 59 i2c.a_data_reg = le16_to_cpu(gpio->usDataA_RegisterIndex); 184 gpio.reg = le16_to_cpu(pin->usGpioPin_AIndex); 283 le16_to_cpu(obj_heade [all...] |
/linux-master/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); 174 adev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); 199 amdgpu_table->entries[i].clk = le16_to_cpu(entry->usClockLow) | 201 amdgpu_table->entries[i].v = le16_to_cpu(entry->usVoltage); 237 if (le16_to_cpu(power_info->pplib.usTableSize) >= 241 le16_to_cpu(power_info->pplib3.usFanTableOffset)); 243 adev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); 244 adev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); 245 adev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); 246 adev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_inf [all...] |
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmdresp.c | 45 switch (le16_to_cpu(resp->command)) { 50 resp->result, le16_to_cpu(pm->action)); 52 if (le16_to_cpu(pm->action) == EN_AUTO_PS && 53 (le16_to_cpu(pm->params.ps_bitmap) & BITMAP_STA_PS) && 103 priv->data_rssi_last = le16_to_cpu(rssi_info_rsp->data_rssi_last); 104 priv->data_nf_last = le16_to_cpu(rssi_info_rsp->data_nf_last); 106 priv->data_rssi_avg = le16_to_cpu(rssi_info_rsp->data_rssi_avg); 107 priv->data_nf_avg = le16_to_cpu(rssi_info_rsp->data_nf_avg); 109 priv->bcn_rssi_last = le16_to_cpu(rssi_info_rsp->bcn_rssi_last); 110 priv->bcn_nf_last = le16_to_cpu(rssi_info_rs [all...] |
/linux-master/drivers/mtd/nand/raw/ |
H A D | nand_onfi.c | 47 len = le16_to_cpu(p->ext_param_page_length) * 16; 64 != le16_to_cpu(ep->crc))) { 189 if (crc == le16_to_cpu(pbuf[i].crc)) { 207 if (crc != le16_to_cpu(pbuf->crc)) { 219 val = le16_to_cpu(p->revision); 256 memorg->oobsize = le16_to_cpu(p->spare_bytes_per_page); 268 if (le16_to_cpu(p->features) & ONFI_FEATURE_16_BIT_BUS) 279 (le16_to_cpu(p->features) & ONFI_FEATURE_EXT_PARAM_PAGE)) { 298 if (le16_to_cpu(p->opt_cmd) & ONFI_OPT_CMD_SET_GET_FEATURES) { 306 if (le16_to_cpu( [all...] |
/linux-master/drivers/usb/storage/ |
H A D | uas-detect.h | 98 if (le16_to_cpu(udev->descriptor.idVendor) == 0x174c && 99 (le16_to_cpu(udev->descriptor.idProduct) == 0x5106 || 100 le16_to_cpu(udev->descriptor.idProduct) == 0x55aa)) { 116 if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bc2) 126 if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bda && 127 le16_to_cpu(udev->descriptor.idProduct) == 0x9210 &&
|
/linux-master/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_warpdrive.c | 66 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & 70 handle = le16_to_cpu(vol_pg1.DevHandle); 97 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & 102 handle = le16_to_cpu(vol_pg1.DevHandle); 172 le16_to_cpu(pd_pg0.DevHandle) == 184 le16_to_cpu(pd_pg0.DevHandle), 189 raid_device->pd_handle[count] = le16_to_cpu(pd_pg0.DevHandle); 200 le16_to_cpu(vol_pg0->BlockSize)) / 1024, 201 le16_to_cpu(vol_pg0->BlockSize)); 211 le16_to_cpu(vol_pg [all...] |
/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ptp.h | 27 if (unlikely(le16_to_cpu(cqe->fast_path_regular.pars_flags.flags) & 29 if (likely(le16_to_cpu(cqe->fast_path_regular.pars_flags.flags)
|
/linux-master/drivers/staging/rtl8712/ |
H A D | wifi.h | 104 #define GetFrameType(pbuf) (le16_to_cpu(*(__le16 *)(pbuf)) & \ 114 #define GetFrameSubType(pbuf) (le16_to_cpu(*(__le16 *)(pbuf)) & \ 125 #define GetSequence(pbuf) (le16_to_cpu(*(__le16 *)\ 128 #define GetFragNum(pbuf) (le16_to_cpu(*(__le16 *)((addr_t)\ 133 cpu_to_le16((le16_to_cpu(*(__le16 *)((addr_t)(pbuf) + 22)) & \ 141 #define GetPriority(pbuf) ((le16_to_cpu(*(__le16 *)(pbuf))) & 0xf) 147 #define GetAckpolicy(pbuf) (((le16_to_cpu(*(__le16 *)pbuf)) >> 5) & 0x3) 149 #define GetAMsdu(pbuf) (((le16_to_cpu(*(__le16 *)pbuf)) >> 7) & 0x1)
|