/linux-3.4.99/fs/ext4/ |
D | ext4_extents.h | 170 (le16_to_cpu((__path__)->p_hdr->eh_entries) \ 171 < le16_to_cpu((__path__)->p_hdr->eh_max)) 173 (EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1) 175 (EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1) 177 (EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1) 179 (EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1) 193 return le16_to_cpu(ext_inode_hdr(inode)->eh_depth); in ext_depth() 205 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_uninitialized() 212 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_uninitialized() 217 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ? in ext4_ext_get_actual_len() [all …]
|
/linux-3.4.99/fs/ntfs/ |
D | index.c | 176 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 …]
|
D | logfile.c | 95 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header() 101 if (usa_count != le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header() 107 usa_ofs = le16_to_cpu(rp->usa_ofs); in ntfs_check_restart_page_header() 122 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_page_header() 165 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_area() 185 ca_ofs = le16_to_cpu(ra->client_array_offset); in ntfs_check_restart_area() 197 ra_len = ca_ofs + le16_to_cpu(ra->log_clients) * in ntfs_check_restart_area() 200 ra_ofs + le16_to_cpu(ra->restart_area_length) > in ntfs_check_restart_area() 202 ra_len > le16_to_cpu(ra->restart_area_length)) { in ntfs_check_restart_area() 215 le16_to_cpu(ra->client_free_list) >= in ntfs_check_restart_area() [all …]
|
D | unistr.c | 109 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 …]
|
D | mst.c | 48 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-3.4.99/drivers/net/wireless/mwifiex/ |
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() 128 priv->data_rssi_last = le16_to_cpu(rssi_info_rsp->data_rssi_last); in mwifiex_ret_802_11_rssi_info() 129 priv->data_nf_last = le16_to_cpu(rssi_info_rsp->data_nf_last); in mwifiex_ret_802_11_rssi_info() 131 priv->data_rssi_avg = le16_to_cpu(rssi_info_rsp->data_rssi_avg); in mwifiex_ret_802_11_rssi_info() 132 priv->data_nf_avg = le16_to_cpu(rssi_info_rsp->data_nf_avg); in mwifiex_ret_802_11_rssi_info() 134 priv->bcn_rssi_last = le16_to_cpu(rssi_info_rsp->bcn_rssi_last); in mwifiex_ret_802_11_rssi_info() 135 priv->bcn_nf_last = le16_to_cpu(rssi_info_rsp->bcn_nf_last); in mwifiex_ret_802_11_rssi_info() [all …]
|
/linux-3.4.99/drivers/usb/core/ |
D | otg_whitelist.h | 58 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted() 59 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd)) in is_targeted() 67 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) in is_targeted() 71 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) in is_targeted() 77 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() 81 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() 104 le16_to_cpu(dev->descriptor.idVendor), in is_targeted() 105 le16_to_cpu(dev->descriptor.idProduct)); in is_targeted()
|
/linux-3.4.99/drivers/scsi/fnic/ |
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(desc->vlan_tag); in wq_enet_desc_dec()
|
D | cq_enet_desc.h | 102 u16 completed_index_flags = le16_to_cpu(desc->completed_index_flags); in cq_enet_rq_desc_dec() 104 le16_to_cpu(desc->q_number_rss_type_flags); in cq_enet_rq_desc_dec() 105 u16 bytes_written_flags = le16_to_cpu(desc->bytes_written_flags); in cq_enet_rq_desc_dec() 133 *vlan = le16_to_cpu(desc->vlan); in cq_enet_rq_desc_dec() 136 *fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) & in cq_enet_rq_desc_dec() 151 *checksum = le16_to_cpu(desc->checksum_fcoe); in cq_enet_rq_desc_dec()
|
/linux-3.4.99/drivers/net/ethernet/cisco/enic/ |
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(desc->vlan_tag); in wq_enet_desc_dec()
|
D | cq_enet_desc.h | 120 completed_index_flags = le16_to_cpu(desc->completed_index_flags); in cq_enet_rq_desc_dec() 122 le16_to_cpu(desc->q_number_rss_type_flags); in cq_enet_rq_desc_dec() 123 bytes_written_flags = le16_to_cpu(desc->bytes_written_flags); in cq_enet_rq_desc_dec() 151 *vlan_tci = le16_to_cpu(desc->vlan); in cq_enet_rq_desc_dec() 154 *fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) & in cq_enet_rq_desc_dec() 160 *fcoe_eof = (u8)((le16_to_cpu(desc->checksum_fcoe) >> in cq_enet_rq_desc_dec() 169 *checksum = le16_to_cpu(desc->checksum_fcoe); in cq_enet_rq_desc_dec()
|
/linux-3.4.99/drivers/staging/wlan-ng/ |
D | prism2sta.c | 402 qualmsg->link.data = le16_to_cpu(hw->qual.CQ_currBSS); in prism2sta_mlmerequest() 403 qualmsg->level.data = le16_to_cpu(hw->qual.ASL_currBSS); in prism2sta_mlmerequest() 404 qualmsg->noise.data = le16_to_cpu(hw->qual.ANL_currFC); in prism2sta_mlmerequest() 633 hw->ident_nic.id = le16_to_cpu(hw->ident_nic.id); in prism2sta_getcardinfo() 634 hw->ident_nic.variant = le16_to_cpu(hw->ident_nic.variant); in prism2sta_getcardinfo() 635 hw->ident_nic.major = le16_to_cpu(hw->ident_nic.major); in prism2sta_getcardinfo() 636 hw->ident_nic.minor = le16_to_cpu(hw->ident_nic.minor); in prism2sta_getcardinfo() 652 hw->ident_pri_fw.id = le16_to_cpu(hw->ident_pri_fw.id); in prism2sta_getcardinfo() 653 hw->ident_pri_fw.variant = le16_to_cpu(hw->ident_pri_fw.variant); in prism2sta_getcardinfo() 654 hw->ident_pri_fw.major = le16_to_cpu(hw->ident_pri_fw.major); in prism2sta_getcardinfo() [all …]
|
/linux-3.4.99/fs/hpfs/ |
D | map.c | 61 cpi = le16_to_cpu(cp->array[0].index); in hpfs_load_code_page() 70 if (le16_to_cpu(cpd->offs[cpi]) > 0x178) { in hpfs_load_code_page() 75 ptr = (unsigned char *)cpd + le16_to_cpu(cpd->offs[cpi]) + 6; in hpfs_load_code_page() 142 if (le16_to_cpu(fnode->btree.first_free) != in hpfs_map_fnode() 150 if (le16_to_cpu(fnode->ea_size_s) && (le16_to_cpu(fnode->ea_offs) < 0xc4 || in hpfs_map_fnode() 151 …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() 155 le16_to_cpu(fnode->ea_offs), le16_to_cpu(fnode->ea_size_s)); in hpfs_map_fnode() 195 if (le16_to_cpu(anode->btree.first_free) != in hpfs_map_anode() 241 …if (le16_to_cpu(de->length) > 292 || (le16_to_cpu(de->length) < 32) || (le16_to_cpu(de->length) & … in hpfs_map_dnode() 245 if (((31 + de->namelen + de->down*4 + 3) & ~3) != le16_to_cpu(de->length)) { in hpfs_map_dnode() [all …]
|
D | hpfs_fn.h | 103 return le32_to_cpu(*(dnode_secno *) ((void *) de + le16_to_cpu(de->length) - 4)); in de_down_pointer() 125 …CHKCOND(le16_to_cpu(de->length)>=0x20 && le16_to_cpu(de->length)<0x800,("HPFS: de_next_de: de->len… in de_next_de() 126 return (void *) de + le16_to_cpu(de->length); in de_next_de() 131 …return (struct extended_attribute *)((char *)fnode + le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fno… in fnode_ea() 136 … extended_attribute *)((char *)fnode + le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fnode->acl_size_s… in fnode_end_ea()
|
/linux-3.4.99/drivers/gpu/drm/radeon/ |
D | radeon_atombios.c | 77 if ((le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0018) || in radeon_lookup_i2c_gpio_quirks() 78 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0019) || in radeon_lookup_i2c_gpio_quirks() 79 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x001a)) { in radeon_lookup_i2c_gpio_quirks() 88 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1936) && in radeon_lookup_i2c_gpio_quirks() 101 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1fda) && in radeon_lookup_i2c_gpio_quirks() 113 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 114 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 115 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 116 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() 117 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio() [all …]
|
/linux-3.4.99/include/linux/uwb/ |
D | spec.h | 311 return (le16_to_cpu(ie->drp_control) >> 0) & 0x7; in uwb_ie_drp_type() 316 return (le16_to_cpu(ie->drp_control) >> 3) & 0x7; in uwb_ie_drp_stream_index() 321 return (le16_to_cpu(ie->drp_control) >> 6) & 0x7; in uwb_ie_drp_reason_code() 326 return (le16_to_cpu(ie->drp_control) >> 9) & 0x1; in uwb_ie_drp_status() 331 return (le16_to_cpu(ie->drp_control) >> 10) & 0x1; in uwb_ie_drp_owner() 336 return (le16_to_cpu(ie->drp_control) >> 11) & 0x1; in uwb_ie_drp_tiebreaker() 341 return (le16_to_cpu(ie->drp_control) >> 12) & 0x1; in uwb_ie_drp_unsafe() 346 u16 drp_control = le16_to_cpu(ie->drp_control); in uwb_ie_drp_set_type() 353 u16 drp_control = le16_to_cpu(ie->drp_control); in uwb_ie_drp_set_stream_index() 361 u16 drp_control = le16_to_cpu(ie->drp_control); in uwb_ie_drp_set_reason_code() [all …]
|
/linux-3.4.99/drivers/staging/rtl8712/ |
D | wifi.h | 169 le16_to_cpu(_TO_DS_)) != 0) 182 le16_to_cpu(_FROM_DS_)) != 0) 198 le16_to_cpu(_MORE_FRAG_)) != 0) 211 le16_to_cpu(_RETRY_)) != 0) 224 le16_to_cpu(_PWRMGT_)) != 0) 237 le16_to_cpu(_MORE_DATA_)) != 0) 250 le16_to_cpu(_PRIVACY_)) != 0) 259 le16_to_cpu(_ORDER_)) != 0) 261 #define GetFrameType(pbuf) (le16_to_cpu(*(unsigned short *)(pbuf)) & \ 295 le16_to_cpu(~(0x000f))) | \ [all …]
|
/linux-3.4.99/fs/ocfs2/ |
D | suballoc.c | 172 return (u32)le16_to_cpu(cl->cl_cpg) * (u32)le16_to_cpu(cl->cl_bpc); in ocfs2_bits_per_group() 212 if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) { in ocfs2_validate_gd_self() 216 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self() 217 le16_to_cpu(gd->bg_free_bits_count)); in ocfs2_validate_gd_self() 221 if (le16_to_cpu(gd->bg_bits) > (8 * le16_to_cpu(gd->bg_size))) { in ocfs2_validate_gd_self() 225 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self() 226 8 * le16_to_cpu(gd->bg_size)); in ocfs2_validate_gd_self() 250 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() 251 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent() 254 le16_to_cpu(gd->bg_bits)); in ocfs2_validate_gd_parent() [all …]
|
D | resize.c | 102 u16 cl_bpc = le16_to_cpu(cl->cl_bpc); in ocfs2_update_last_group_and_inode() 103 u16 cl_cpg = le16_to_cpu(cl->cl_cpg); in ocfs2_update_last_group_and_inode() 146 chain = le16_to_cpu(group->bg_chain); in ocfs2_update_last_group_and_inode() 315 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_extend() 336 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend() 337 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend() 338 le16_to_cpu(fe->id2.i_chain.cl_cpg)) { in ocfs2_group_extend() 390 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group() 397 if (le16_to_cpu(gd->bg_chain) != input->chain) in ocfs2_check_new_group() 401 le16_to_cpu(gd->bg_chain), input->chain); in ocfs2_check_new_group() [all …]
|
D | alloc.c | 602 depth = le16_to_cpu(path_root_el(path)->l_tree_depth); in ocfs2_reinit_path() 693 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH); in ocfs2_new_path() 697 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth); in ocfs2_new_path() 780 for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { in ocfs2_search_extent_list() 808 le16_to_cpu(ext->e_leaf_clusters)); in ocfs2_block_extent_contig() 819 le16_to_cpu(left->e_leaf_clusters); in ocfs2_extents_adjacent() 984 retval = le16_to_cpu(el->l_count) - le16_to_cpu(el->l_next_free_rec); in ocfs2_num_free_extents() 1094 i = le16_to_cpu(el->l_next_free_rec) - 1; in ocfs2_sum_rightmost_rec() 1137 rec = &el->l_recs[le16_to_cpu(el->l_next_free_rec) - 1]; in ocfs2_adjust_rightmost_branch() 1183 new_blocks = le16_to_cpu(el->l_tree_depth); in ocfs2_add_branch() [all …]
|
/linux-3.4.99/fs/ext2/ |
D | ialloc.c | 217 if (le16_to_cpu(desc->bg_free_inodes_count) < avefreei) in find_group_dir() 220 (le16_to_cpu(desc->bg_free_blocks_count) > in find_group_dir() 221 le16_to_cpu(best_desc->bg_free_blocks_count))) { in find_group_dir() 296 if (le16_to_cpu(desc->bg_used_dirs_count) >= best_ndir) in find_group_orlov() 298 if (le16_to_cpu(desc->bg_free_inodes_count) < avefreei) in find_group_orlov() 300 if (le16_to_cpu(desc->bg_free_blocks_count) < avefreeb) in find_group_orlov() 303 best_ndir = le16_to_cpu(desc->bg_used_dirs_count); in find_group_orlov() 338 if (le16_to_cpu(desc->bg_used_dirs_count) >= max_dirs) in find_group_orlov() 340 if (le16_to_cpu(desc->bg_free_inodes_count) < min_inodes) in find_group_orlov() 342 if (le16_to_cpu(desc->bg_free_blocks_count) < min_blocks) in find_group_orlov() [all …]
|
/linux-3.4.99/drivers/net/wireless/orinoco/ |
D | scan.c | 34 rate = le16_to_cpu(rates[i]); in symbol_build_supp_rates() 90 len = le16_to_cpu(bss->a.essid_len); in orinoco_add_hostscan_result() 113 freq = ieee80211_dsss_chan_to_freq(le16_to_cpu(bss->a.channel)); in orinoco_add_hostscan_result() 121 capability = le16_to_cpu(bss->a.capabilities); in orinoco_add_hostscan_result() 122 beacon_interval = le16_to_cpu(bss->a.beacon_interv); in orinoco_add_hostscan_result() 123 signal = SIGNAL_TO_MBM(le16_to_cpu(bss->a.level)); in orinoco_add_hostscan_result() 153 capability = le16_to_cpu(bss->capabilities); in orinoco_add_extscan_result() 154 beacon_interval = le16_to_cpu(bss->beacon_interval); in orinoco_add_extscan_result()
|
/linux-3.4.99/fs/ext3/ |
D | ialloc.c | 231 if (le16_to_cpu(desc->bg_used_dirs_count) >= best_ndir) in find_group_orlov() 233 if (le16_to_cpu(desc->bg_free_inodes_count) < avefreei) in find_group_orlov() 235 if (le16_to_cpu(desc->bg_free_blocks_count) < avefreeb) in find_group_orlov() 238 best_ndir = le16_to_cpu(desc->bg_used_dirs_count); in find_group_orlov() 264 if (le16_to_cpu(desc->bg_used_dirs_count) >= max_dirs) in find_group_orlov() 266 if (le16_to_cpu(desc->bg_free_inodes_count) < min_inodes) in find_group_orlov() 268 if (le16_to_cpu(desc->bg_free_blocks_count) < min_blocks) in find_group_orlov() 279 if (le16_to_cpu(desc->bg_free_inodes_count) >= avefreei) in find_group_orlov() 307 if (desc && le16_to_cpu(desc->bg_free_inodes_count) && in find_group_other() 308 le16_to_cpu(desc->bg_free_blocks_count)) in find_group_other() [all …]
|
/linux-3.4.99/drivers/media/dvb/siano/ |
D | smsendian.c | 67 ver->ChipModel = le16_to_cpu(ver->ChipModel); in smsendian_handle_rx_message() 98 phdr->msgType = le16_to_cpu(phdr->msgType); in smsendian_handle_message_header() 99 phdr->msgLength = le16_to_cpu(phdr->msgLength); in smsendian_handle_message_header() 100 phdr->msgFlags = le16_to_cpu(phdr->msgFlags); in smsendian_handle_message_header()
|
/linux-3.4.99/drivers/net/wireless/libertas/ |
D | cmd.c | 36 copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); in lbs_cmd_copyback() 133 priv->regioncode = (le16_to_cpu(cmd.regioncode) >> 8) & 0xFF; in lbs_update_hw_spec() 135 priv->regioncode = le16_to_cpu(cmd.regioncode) & 0xFF; in lbs_update_hw_spec() 209 le16_to_cpu(cmd_config.hdr.size), in lbs_host_sleep_cfg() 295 le16_to_cpu(cmd.error), le16_to_cpu(cmd.offset), in lbs_cmd_802_11_sleep_params() 296 le16_to_cpu(cmd.stabletime), cmd.calcontrol, in lbs_cmd_802_11_sleep_params() 299 sp->sp_error = le16_to_cpu(cmd.error); in lbs_cmd_802_11_sleep_params() 300 sp->sp_offset = le16_to_cpu(cmd.offset); in lbs_cmd_802_11_sleep_params() 301 sp->sp_stabletime = le16_to_cpu(cmd.stabletime); in lbs_cmd_802_11_sleep_params() 304 sp->sp_reserved = le16_to_cpu(cmd.reserved); in lbs_cmd_802_11_sleep_params() [all …]
|