Home
last modified time | relevance | path

Searched refs:ht (Results 1 – 84 of 84) sorted by relevance

/linux-4.1.27/lib/
Drhashtable.c35 static u32 head_hashfn(struct rhashtable *ht, in head_hashfn() argument
39 return rht_head_hashfn(ht, tbl, he, ht->p); in head_hashfn()
45 int lockdep_rht_mutex_is_held(struct rhashtable *ht) in lockdep_rht_mutex_is_held() argument
47 return (debug_locks) ? lockdep_is_held(&ht->mutex) : 1; in lockdep_rht_mutex_is_held()
63 static int alloc_bucket_locks(struct rhashtable *ht, struct bucket_table *tbl, in alloc_bucket_locks() argument
74 size = roundup_pow_of_two(nr_pcpus * ht->p.locks_mul); in alloc_bucket_locks()
111 static struct bucket_table *bucket_table_alloc(struct rhashtable *ht, in bucket_table_alloc() argument
130 if (alloc_bucket_locks(ht, tbl, gfp) < 0) { in bucket_table_alloc()
140 INIT_RHT_NULLS_HEAD(tbl->buckets[i], ht, i); in bucket_table_alloc()
145 static struct bucket_table *rhashtable_last_table(struct rhashtable *ht, in rhashtable_last_table() argument
[all …]
Dtest_rhashtable.c50 static int __init test_rht_lookup(struct rhashtable *ht) in test_rht_lookup() argument
59 obj = rhashtable_lookup_fast(ht, &key, test_rht_params); in test_rht_lookup()
80 static void test_bucket_stats(struct rhashtable *ht, bool quiet) in test_bucket_stats() argument
87 tbl = rht_dereference_rcu(ht->tbl, ht); in test_bucket_stats()
114 total, atomic_read(&ht->nelems), TEST_ENTRIES); in test_bucket_stats()
116 if (total != atomic_read(&ht->nelems) || total != TEST_ENTRIES) in test_bucket_stats()
120 static int __init test_rhashtable(struct rhashtable *ht) in test_rhashtable() argument
145 err = rhashtable_insert_fast(ht, &obj->node, test_rht_params); in test_rhashtable()
153 test_bucket_stats(ht, true); in test_rhashtable()
154 test_rht_lookup(ht); in test_rhashtable()
[all …]
/linux-4.1.27/include/linux/
Drhashtable.h87 struct rhashtable *ht; member
173 struct rhashtable *ht; member
180 static inline unsigned long rht_marker(const struct rhashtable *ht, u32 hash) in rht_marker() argument
182 return NULLS_MARKER(ht->p.nulls_base + hash); in rht_marker()
185 #define INIT_RHT_NULLS_HEAD(ptr, ht, hash) \ argument
186 ((ptr) = (typeof(ptr)) rht_marker(ht, hash))
198 static inline void *rht_obj(const struct rhashtable *ht, in rht_obj() argument
201 return (char *)he - ht->p.head_offset; in rht_obj()
211 struct rhashtable *ht, const struct bucket_table *tbl, in rht_key_hashfn() argument
218 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
[all …]
Dhashtable.h29 static inline void __hash_init(struct hlist_head *ht, unsigned int sz) in __hash_init() argument
34 INIT_HLIST_HEAD(&ht[i]); in __hash_init()
76 static inline bool __hash_empty(struct hlist_head *ht, unsigned int sz) in __hash_empty() argument
81 if (!hlist_empty(&ht[i])) in __hash_empty()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_hashtab.c41 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) in drm_ht_create() argument
45 ht->order = order; in drm_ht_create()
46 ht->table = NULL; in drm_ht_create()
47 if (size <= PAGE_SIZE / sizeof(*ht->table)) in drm_ht_create()
48 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); in drm_ht_create()
50 ht->table = vzalloc(size*sizeof(*ht->table)); in drm_ht_create()
51 if (!ht->table) { in drm_ht_create()
59 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) in drm_ht_verbose_list() argument
66 hashed_key = hash_long(key, ht->order); in drm_ht_verbose_list()
68 h_list = &ht->table[hashed_key]; in drm_ht_verbose_list()
[all …]
/linux-4.1.27/net/sched/
Dcls_u32.c85 struct tc_u_knode __rcu *ht[1]; member
112 struct tc_u_hnode *ht = rcu_dereference_bh(tp->root); in u32_classify() local
124 n = rcu_dereference_bh(ht->ht[sel]); in u32_classify()
164 ht = rcu_dereference_bh(n->ht_down); in u32_classify()
165 if (!ht) { in u32_classify()
198 ht = rcu_dereference_bh(n->ht_down); in u32_classify()
200 if (ht->divisor) { in u32_classify()
207 sel = ht->divisor & u32_hash_fold(*data, &n->sel, in u32_classify()
240 ht = rcu_dereference_bh(n->ht_up); in u32_classify()
255 struct tc_u_hnode *ht; in u32_lookup_ht() local
[all …]
Dcls_rsvp.h73 struct rsvp_session __rcu *ht[256]; member
84 struct rsvp_filter __rcu *ht[16 + 1]; member
175 for (s = rcu_dereference_bh(head->ht[h1]); s; in rsvp_classify()
188 for (f = rcu_dereference_bh(s->ht[h2]); f; in rsvp_classify()
213 for (f = rcu_dereference_bh(s->ht[16]); f; in rsvp_classify()
234 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_replace()
236 for (ins = &s->ht[h2], pins = rtnl_dereference(*ins); ; in rsvp_replace()
263 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_get()
265 for (f = rtnl_dereference(s->ht[h2]); f; in rsvp_get()
304 if (rcu_access_pointer(data->ht[h1])) in rsvp_destroy()
[all …]
Dcls_fw.c36 struct fw_filter __rcu *ht[HTSIZE]; member
70 for (f = rcu_dereference_bh(head->ht[fw_hash(id)]); f; in fw_classify()
106 f = rtnl_dereference(head->ht[fw_hash(handle)]); in fw_get()
141 if (rcu_access_pointer(head->ht[h])) in fw_destroy()
146 while ((f = rtnl_dereference(head->ht[h])) != NULL) { in fw_destroy()
147 RCU_INIT_POINTER(head->ht[h], in fw_destroy()
168 fp = &head->ht[fw_hash(f->id)]; in fw_delete()
281 fp = &head->ht[fw_hash(fnew->id)]; in fw_change()
324 RCU_INIT_POINTER(f->next, head->ht[fw_hash(handle)]); in fw_change()
325 rcu_assign_pointer(head->ht[fw_hash(handle)], f); in fw_change()
[all …]
Dcls_route.c46 struct route4_filter __rcu *ht[16 + 16 + 1]; member
170 for (f = rcu_dereference_bh(b->ht[route4_hash_from(id)]); in route4_classify()
176 for (f = rcu_dereference_bh(b->ht[route4_hash_iif(iif)]); in route4_classify()
182 for (f = rcu_dereference_bh(b->ht[route4_hash_wild()]); in route4_classify()
250 for (f = rtnl_dereference(b->ht[h2]); in route4_get()
303 while ((f = rtnl_dereference(b->ht[h2])) != NULL) { in route4_destroy()
307 RCU_INIT_POINTER(b->ht[h2], next); in route4_destroy()
337 fp = &b->ht[from_hash(h >> 16)]; in route4_delete()
358 rt = rtnl_dereference(b->ht[i]); in route4_delete()
442 for (fp = rtnl_dereference(b->ht[h2]); in route4_set_parms()
[all …]
Dsch_sfq.c129 sfq_index *ht; /* Hash table ('divisor' slots) */ member
344 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_drop()
388 x = q->ht[hash]; in sfq_enqueue()
394 q->ht[hash] = x; in sfq_enqueue()
527 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_dequeue()
577 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_rehash()
583 sfq_index x = q->ht[hash]; in sfq_rehash()
595 q->ht[hash] = x; in sfq_rehash()
727 sfq_free(q->ht); in sfq_destroy()
763 q->ht = sfq_alloc(sizeof(q->ht[0]) * q->divisor); in sfq_init()
[all …]
/linux-4.1.27/kernel/
Dsmpboot.c86 struct smp_hotplug_thread *ht; member
108 struct smp_hotplug_thread *ht = td->ht; in smpboot_thread_fn() local
116 if (ht->cleanup) in smpboot_thread_fn()
117 ht->cleanup(td->cpu, cpu_online(td->cpu)); in smpboot_thread_fn()
125 if (ht->park && td->status == HP_THREAD_ACTIVE) { in smpboot_thread_fn()
127 ht->park(td->cpu); in smpboot_thread_fn()
142 if (ht->setup) in smpboot_thread_fn()
143 ht->setup(td->cpu); in smpboot_thread_fn()
150 if (ht->unpark) in smpboot_thread_fn()
151 ht->unpark(td->cpu); in smpboot_thread_fn()
[all …]
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_crypto.h68 struct cfs_crypto_hash_type *ht; in cfs_crypto_hash_type() local
71 ht = &hash_types[hash_alg]; in cfs_crypto_hash_type()
72 if (ht->cht_name) in cfs_crypto_hash_type()
73 return ht; in cfs_crypto_hash_type()
81 const struct cfs_crypto_hash_type *ht; in cfs_crypto_hash_name() local
83 ht = cfs_crypto_hash_type(hash_alg); in cfs_crypto_hash_name()
84 if (ht) in cfs_crypto_hash_name()
85 return ht->cht_name; in cfs_crypto_hash_name()
92 const struct cfs_crypto_hash_type *ht; in cfs_crypto_hash_digestsize() local
94 ht = cfs_crypto_hash_type(hash_alg); in cfs_crypto_hash_digestsize()
[all …]
/linux-4.1.27/include/drm/
Ddrm_hashtab.h52 extern int drm_ht_create(struct drm_open_hash *ht, unsigned int order);
53 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item);
54 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
57 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **ite…
59 extern void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key);
60 extern int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key);
61 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
62 extern void drm_ht_remove(struct drm_open_hash *ht);
Ddrm_modes.h83 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \ argument
86 .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \
/linux-4.1.27/net/hsr/
Dhsr_main.h71 static inline u16 get_hsr_tag_path(struct hsr_tag *ht) in get_hsr_tag_path() argument
73 return ntohs(ht->path_and_LSDU_size) >> 12; in get_hsr_tag_path()
76 static inline u16 get_hsr_tag_LSDU_size(struct hsr_tag *ht) in get_hsr_tag_LSDU_size() argument
78 return ntohs(ht->path_and_LSDU_size) & 0x0FFF; in get_hsr_tag_LSDU_size()
81 static inline void set_hsr_tag_path(struct hsr_tag *ht, u16 path) in set_hsr_tag_path() argument
83 ht->path_and_LSDU_size = htons( in set_hsr_tag_path()
84 (ntohs(ht->path_and_LSDU_size) & 0x0FFF) | (path << 12)); in set_hsr_tag_path()
87 static inline void set_hsr_tag_LSDU_size(struct hsr_tag *ht, u16 LSDU_size) in set_hsr_tag_LSDU_size() argument
89 ht->path_and_LSDU_size = htons( in set_hsr_tag_LSDU_size()
90 (ntohs(ht->path_and_LSDU_size) & 0xF000) | in set_hsr_tag_LSDU_size()
/linux-4.1.27/net/netfilter/
Dxt_hashlimit.c127 hash_dst(const struct xt_hashlimit_htable *ht, const struct dsthash_dst *dst) in hash_dst() argument
131 ht->rnd); in hash_dst()
138 return reciprocal_scale(hash, ht->cfg.size); in hash_dst()
142 dsthash_find(const struct xt_hashlimit_htable *ht, in dsthash_find() argument
146 u_int32_t hash = hash_dst(ht, dst); in dsthash_find()
148 if (!hlist_empty(&ht->hash[hash])) { in dsthash_find()
149 hlist_for_each_entry_rcu(ent, &ht->hash[hash], node) in dsthash_find()
160 dsthash_alloc_init(struct xt_hashlimit_htable *ht, in dsthash_alloc_init() argument
165 spin_lock(&ht->lock); in dsthash_alloc_init()
170 ent = dsthash_find(ht, dst); in dsthash_alloc_init()
[all …]
Dnft_hash.c28 struct rhashtable ht; member
85 he = rhashtable_lookup_fast(&priv->ht, &arg, nft_hash_params); in nft_hash_lookup()
108 he = rhashtable_lookup_fast(&priv->ht, &arg, nft_hash_params); in nft_hash_update()
115 if (rhashtable_lookup_insert_key(&priv->ht, &arg, &he->node, in nft_hash_update()
139 return rhashtable_lookup_insert_key(&priv->ht, &arg, &he->node, in nft_hash_insert()
164 he = rhashtable_lookup_fast(&priv->ht, &arg, nft_hash_params); in nft_hash_deactivate()
182 rhashtable_remove_fast(&priv->ht, &he->node, nft_hash_params); in nft_hash_remove()
195 err = rhashtable_walk_init(&priv->ht, &hti); in nft_hash_walk()
251 err = rhashtable_walk_init(&priv->ht, &hti); in nft_hash_gc()
274 rhashtable_remove_fast(&priv->ht, &he->node, nft_hash_params); in nft_hash_gc()
[all …]
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_object.c234 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_lookup() local
238 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_lookup()
256 struct drm_open_hash *ht = &tdev->object_hash; in ttm_base_object_lookup_for_ref() local
260 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_lookup_for_ref()
286 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_ref_object_exists() local
291 if (unlikely(drm_ht_find_item_rcu(ht, base->hash.key, &hash) != 0)) in ttm_ref_object_exists()
323 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_add() local
337 ret = drm_ht_find_item_rcu(ht, base->hash.key, &hash); in ttm_ref_object_add()
365 ret = drm_ht_insert_item_rcu(ht, &ref->hash); in ttm_ref_object_add()
393 struct drm_open_hash *ht; in ttm_ref_object_release() local
[all …]
/linux-4.1.27/drivers/clk/pxa/
Dclk-pxa27x.c152 unsigned int t, ht; in clk_pxa27x_cpll_get_rate() local
158 ht = clkcfg & (1 << 2); in clk_pxa27x_cpll_get_rate()
224 unsigned int t, ht, b, osc_forced; in clk_pxa27x_core_get_rate() local
230 ht = clkcfg & (1 << 2); in clk_pxa27x_core_get_rate()
235 if (ht) in clk_pxa27x_core_get_rate()
244 unsigned int t, ht, b, osc_forced; in clk_pxa27x_core_get_parent() local
253 ht = clkcfg & (1 << 2); in clk_pxa27x_core_get_parent()
256 if (ht || t) in clk_pxa27x_core_get_parent()
/linux-4.1.27/arch/mips/kernel/
Dkgdb.c231 struct hard_trap_info *ht; in compute_signal() local
233 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in compute_signal()
234 if (ht->tt == tt) in compute_signal()
235 return ht->signo; in compute_signal()
Dptrace.c243 u16 ht[NUM_WATCH_REGS]; in ptrace_set_watch_regs() local
264 __get_user(ht[i], &addr->WATCH_STYLE.watchhi[i]); in ptrace_set_watch_regs()
265 if (ht[i] & ~0xff8) in ptrace_set_watch_regs()
274 child->thread.watch.mips3264.watchhi[i] = ht[i]; in ptrace_set_watch_regs()
/linux-4.1.27/arch/powerpc/kernel/
Dkgdb.c95 struct hard_trap_info *ht; in computeSignal() local
97 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in computeSignal()
98 if (ht->tt == tt) in computeSignal()
99 return ht->signo; in computeSignal()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Drxon.c185 if (ctx->ht.enabled) in iwlagn_update_qos()
627 if (!ctx->ht.enabled) { in _iwl_set_rxon_ht()
638 rxon->flags |= cpu_to_le32(ctx->ht.protection << in _iwl_set_rxon_ht()
648 if (ctx->ht.protection == in _iwl_set_rxon_ht()
655 switch (ctx->ht.extension_chan_offset) { in _iwl_set_rxon_ht()
670 switch (ctx->ht.extension_chan_offset) { in _iwl_set_rxon_ht()
699 le32_to_cpu(rxon->flags), ctx->ht.protection, in _iwl_set_rxon_ht()
700 ctx->ht.extension_chan_offset); in _iwl_set_rxon_ht()
1162 ctx->ht.extension_chan_offset = in iwlagn_config_ht40()
1164 ctx->ht.is_40mhz = true; in iwlagn_config_ht40()
[all …]
Dmac80211.c990 ctx->ht.is_40mhz = false; in iwlagn_mac_channel_switch()
991 ctx->ht.extension_chan_offset = IEEE80211_HT_PARAM_CHA_SEC_NONE; in iwlagn_mac_channel_switch()
994 ctx->ht.extension_chan_offset = IEEE80211_HT_PARAM_CHA_SEC_BELOW; in iwlagn_mac_channel_switch()
995 ctx->ht.is_40mhz = true; in iwlagn_mac_channel_switch()
998 ctx->ht.extension_chan_offset = IEEE80211_HT_PARAM_CHA_SEC_ABOVE; in iwlagn_mac_channel_switch()
999 ctx->ht.is_40mhz = true; in iwlagn_mac_channel_switch()
Ddebugfs.c730 struct statistics_rx_ht_phy *ht, *accum_ht, *delta_ht, *max_ht; in iwl_dbgfs_ucode_rx_stats_read() local
748 ht = &priv->statistics.rx_ofdm_ht; in iwl_dbgfs_ucode_rx_stats_read()
1096 le32_to_cpu(ht->plcp_err), accum_ht->plcp_err, in iwl_dbgfs_ucode_rx_stats_read()
1100 le32_to_cpu(ht->overrun_err), accum_ht->overrun_err, in iwl_dbgfs_ucode_rx_stats_read()
1104 le32_to_cpu(ht->early_overrun_err), in iwl_dbgfs_ucode_rx_stats_read()
1110 le32_to_cpu(ht->crc32_good), accum_ht->crc32_good, in iwl_dbgfs_ucode_rx_stats_read()
1114 le32_to_cpu(ht->crc32_err), accum_ht->crc32_err, in iwl_dbgfs_ucode_rx_stats_read()
1118 le32_to_cpu(ht->mh_format_err), in iwl_dbgfs_ucode_rx_stats_read()
1123 le32_to_cpu(ht->agg_crc32_good), in iwl_dbgfs_ucode_rx_stats_read()
1128 le32_to_cpu(ht->agg_mpdu_cnt), in iwl_dbgfs_ucode_rx_stats_read()
[all …]
Dsta.c178 if (!ctx->ht.enabled || !ctx->ht.is_40mhz) in iwl_is_ht40_tx_allowed()
841 if (ctx->ht.enabled) in is_lq_table_valid()
Ddev.h537 } ht; member
/linux-4.1.27/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c191 unsigned int hd, hs, he, hbe, ht; in matroxfb_vgaHWinit() local
242 ht = m->HTotal >> 3; in matroxfb_vgaHWinit()
251 ht >>= 1; in matroxfb_vgaHWinit()
260 ht <<= 1; in matroxfb_vgaHWinit()
266 ht = ht - 1; in matroxfb_vgaHWinit()
273 if (((ht & 0x07) == 0x06) || ((ht & 0x0F) == 0x04)) in matroxfb_vgaHWinit()
274 ht++; in matroxfb_vgaHWinit()
275 hbe = ht; in matroxfb_vgaHWinit()
282 hw->CRTCEXT[5] = (hs + he - ht) >> 1; in matroxfb_vgaHWinit()
288 hw->CRTCEXT[1] = (((ht - 4) & 0x100) >> 8) | in matroxfb_vgaHWinit()
[all …]
Dmatroxfb_maven.c722 static int maven_find_exact_clocks(unsigned int ht, unsigned int vt, in maven_find_exact_clocks() argument
736 unsigned int h = ht + 2 + x; in maven_find_exact_clocks()
/linux-4.1.27/drivers/staging/speakup/
Dmain.c1517 speakup_console[vc->vc_num]->ht.cy = vc->vc_y; in do_handle_cursor()
1533 hi = speakup_console[vc_num]->ht.highsize[bi]; in update_color_buffer()
1536 if (speakup_console[vc_num]->ht.highsize[bi] == 0) { in update_color_buffer()
1537 speakup_console[vc_num]->ht.rpos[bi] = vc->vc_pos; in update_color_buffer()
1538 speakup_console[vc_num]->ht.rx[bi] = vc->vc_x; in update_color_buffer()
1539 speakup_console[vc_num]->ht.ry[bi] = vc->vc_y; in update_color_buffer()
1543 speakup_console[vc_num]->ht.highbuf[bi][hi] = ic[i]; in update_color_buffer()
1546 if (speakup_console[vc_num]->ht.highbuf[bi][hi - 1] != in update_color_buffer()
1548 speakup_console[vc_num]->ht.highbuf[bi][hi] = in update_color_buffer()
1555 speakup_console[vc_num]->ht.highsize[bi] = hi; in update_color_buffer()
[all …]
Dspk_types.h78 struct spk_highlight_color_track ht; member
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00queue.c311 txdesc->u.ht.mpdu_density = in rt2x00queue_create_tx_descriptor_ht()
315 txdesc->u.ht.wcid = sta_priv->wcid; in rt2x00queue_create_tx_descriptor_ht()
323 txdesc->u.ht.mcs = txrate->idx; in rt2x00queue_create_tx_descriptor_ht()
329 if (sta && txdesc->u.ht.mcs > 7 && in rt2x00queue_create_tx_descriptor_ht()
333 txdesc->u.ht.mcs = rt2x00_get_rate_mcs(hwrate->mcs); in rt2x00queue_create_tx_descriptor_ht()
335 txdesc->u.ht.mcs |= 0x08; in rt2x00queue_create_tx_descriptor_ht()
340 txdesc->u.ht.txop = TXOP_SIFS; in rt2x00queue_create_tx_descriptor_ht()
342 txdesc->u.ht.txop = TXOP_BACKOFF; in rt2x00queue_create_tx_descriptor_ht()
348 txdesc->u.ht.ba_size = 7; /* FIXME: What value is needed? */ in rt2x00queue_create_tx_descriptor_ht()
354 txdesc->u.ht.stbc = 1; in rt2x00queue_create_tx_descriptor_ht()
[all …]
Drt2x00dev.c985 &spec->ht, sizeof(spec->ht)); in rt2x00lib_probe_hw_modes()
1003 &spec->ht, sizeof(spec->ht)); in rt2x00lib_probe_hw_modes()
Drt2x00queue.h323 } ht; member
Drt2800lib.c730 txdesc->u.ht.mpdu_density); in rt2800_write_tx_data()
731 rt2x00_set_field32(&word, TXWI_W0_TX_OP, txdesc->u.ht.txop); in rt2800_write_tx_data()
732 rt2x00_set_field32(&word, TXWI_W0_MCS, txdesc->u.ht.mcs); in rt2800_write_tx_data()
737 rt2x00_set_field32(&word, TXWI_W0_STBC, txdesc->u.ht.stbc); in rt2800_write_tx_data()
746 rt2x00_set_field32(&word, TXWI_W1_BW_WIN_SIZE, txdesc->u.ht.ba_size); in rt2800_write_tx_data()
749 txdesc->key_idx : txdesc->u.ht.wcid); in rt2800_write_tx_data()
7603 spec->ht.ht_supported = true; in rt2800_probe_hw_mode()
7605 spec->ht.ht_supported = false; in rt2800_probe_hw_mode()
7607 spec->ht.cap = in rt2800_probe_hw_mode()
7614 spec->ht.cap |= IEEE80211_HT_CAP_TX_STBC; in rt2800_probe_hw_mode()
[all …]
Drt2x00.h414 struct ieee80211_sta_ht_cap ht; member
/linux-4.1.27/drivers/i2c/busses/
Di2c-designware-platdrv.c163 u32 clk_freq, ht = 0; in dw_i2c_probe() local
191 "i2c-sda-hold-time-ns", &ht); in dw_i2c_probe()
240 if (!dev->sda_hold_time && ht) { in dw_i2c_probe()
243 dev->sda_hold_time = div_u64((u64)ic_clk * ht + 500000, in dw_i2c_probe()
/linux-4.1.27/drivers/video/fbdev/
Dasiliantfb.c179 unsigned ht = (p->var.left_margin + p->var.xres + p->var.right_margin + p->var.hsync_len) / 8; in asiliant_set_timing() local
193 write_cr(0x00, (ht - 5) & 0xff); in asiliant_set_timing()
196 write_cr(0x03, ((ht - 1) & 0x1f) | 0x80); in asiliant_set_timing()
198 write_cr(0x05, (((ht - 1) & 0x20) <<2) | (he & 0x1f)); in asiliant_set_timing()
199 write_cr(0x3c, (ht - 1) & 0xc0); in asiliant_set_timing()
214 write_cr(0x38, ((ht - 5) & 0x100) >> 8); in asiliant_set_timing()
Djz4740_fb.c358 uint16_t ht, vt; in jzfb_set_par() local
374 ht = hde + mode->right_margin; in jzfb_set_par()
428 mode->refresh = rate / vt / ht; in jzfb_set_par()
431 rate = mode->refresh * (vt + 2 * mode->xres) * ht; in jzfb_set_par()
433 rate = mode->refresh * vt * ht; in jzfb_set_par()
464 writel((ht << 16) | vt, jzfb->base + JZ_REG_LCD_VAT); in jzfb_set_par()
Dtdfxfb.c568 u32 hd, hs, he, ht, hbs, hbe; in tdfxfb_set_par() local
601 ht = (htotal >> 3) - 1; in tdfxfb_set_par()
603 hbe = ht; in tdfxfb_set_par()
660 reg.crt[0x00] = ht - 4; in tdfxfb_set_par()
685 reg.ext[0x00] = (((ht & 0x100) >> 8) | in tdfxfb_set_par()
Dimsttfb.c310 __u16 hes, heb, hsb, ht, ves, veb, vsb, vt, vil; member
509 init->ht = init->hsb + htp; in compute_imstt_regvals_ibm()
707 write_reg_le32(par->dc_regs, HT, init->ht); in set_imstt_regvals()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
D4965-debug.c74 struct stats_rx_ht_phy *ht, *accum_ht, *delta_ht, *max_ht; in il4965_ucode_rx_stats_read() local
93 ht = &il->_4965.stats.rx.ofdm_ht; in il4965_ucode_rx_stats_read()
425 le32_to_cpu(ht->plcp_err), accum_ht->plcp_err, in il4965_ucode_rx_stats_read()
429 le32_to_cpu(ht->overrun_err), accum_ht->overrun_err, in il4965_ucode_rx_stats_read()
433 le32_to_cpu(ht->early_overrun_err), in il4965_ucode_rx_stats_read()
438 le32_to_cpu(ht->crc32_good), accum_ht->crc32_good, in il4965_ucode_rx_stats_read()
442 le32_to_cpu(ht->crc32_err), accum_ht->crc32_err, in il4965_ucode_rx_stats_read()
446 le32_to_cpu(ht->mh_format_err), accum_ht->mh_format_err, in il4965_ucode_rx_stats_read()
450 le32_to_cpu(ht->agg_crc32_good), accum_ht->agg_crc32_good, in il4965_ucode_rx_stats_read()
454 le32_to_cpu(ht->agg_mpdu_cnt), accum_ht->agg_mpdu_cnt, in il4965_ucode_rx_stats_read()
[all …]
Dcommon.c2391 if (il->ht.enabled) in il_is_lq_table_valid()
3584 if (!il->ht.enabled || !il->ht.is_40mhz) in il_is_ht40_tx_allowed()
3601 il->ht.extension_chan_offset); in il_is_ht40_tx_allowed()
3855 if (!il->ht.enabled) { in _il_set_rxon_ht()
3864 cpu_to_le32(il->ht.protection << RXON_FLG_HT_OPERATING_MODE_POS); in _il_set_rxon_ht()
3873 if (il->ht.protection == IEEE80211_HT_OP_MODE_PROTECTION_20MHZ) { in _il_set_rxon_ht()
3876 switch (il->ht.extension_chan_offset) { in _il_set_rxon_ht()
3887 switch (il->ht.extension_chan_offset) { in _il_set_rxon_ht()
3913 il->ht.protection, il->ht.extension_chan_offset); in _il_set_rxon_ht()
5012 if (il->ht.enabled) in il_update_qos()
[all …]
D4965-mac.c6112 il->ht.is_40mhz = false; in il4965_mac_channel_switch()
6113 il->ht.extension_chan_offset = IEEE80211_HT_PARAM_CHA_SEC_NONE; in il4965_mac_channel_switch()
6116 il->ht.extension_chan_offset = IEEE80211_HT_PARAM_CHA_SEC_BELOW; in il4965_mac_channel_switch()
6117 il->ht.is_40mhz = true; in il4965_mac_channel_switch()
6120 il->ht.extension_chan_offset = IEEE80211_HT_PARAM_CHA_SEC_ABOVE; in il4965_mac_channel_switch()
6121 il->ht.is_40mhz = true; in il4965_mac_channel_switch()
Dcommon.h1233 } ht; member
D4965-rs.c646 !il->ht.non_gf_sta_present; in il4965_rs_use_green()
/linux-4.1.27/net/netlink/
Ddiag.c106 struct rhashtable *ht = &tbl->hash; in __netlink_diag_dump() local
107 const struct bucket_table *htbl = rht_dereference_rcu(ht->tbl, ht); in __netlink_diag_dump()
/linux-4.1.27/drivers/net/wireless/b43/
Dphy_ht.c211 struct b43_phy_ht *htphy = dev->phy.ht; in b43_phy_ht_pa_override()
350 struct b43_phy_ht *phy_ht = dev->phy.ht; in b43_phy_ht_stop_playback()
390 struct b43_phy_ht *phy_ht = dev->phy.ht; in b43_phy_ht_run_samples()
548 struct b43_phy_ht *phy_ht = dev->phy.ht; in b43_phy_ht_tx_power_ctl()
588 struct b43_phy_ht *phy_ht = dev->phy.ht; in b43_phy_ht_tx_power_ctl_idle_tssi()
636 struct b43_phy_ht *phy_ht = dev->phy.ht; in b43_phy_ht_tx_power_ctl_setup()
861 dev->phy.ht = phy_ht; in b43_phy_ht_op_allocate()
869 struct b43_phy_ht *phy_ht = phy->ht; in b43_phy_ht_op_prepare_structs()
884 struct b43_phy_ht *phy_ht = dev->phy.ht; in b43_phy_ht_op_init()
1028 struct b43_phy_ht *phy_ht = phy->ht; in b43_phy_ht_op_free()
[all …]
Dphy_common.h222 struct b43_phy_ht *ht; member
/linux-4.1.27/arch/powerpc/platforms/maple/
Dpci.c574 struct device_node *ht = NULL; in maple_pci_init() local
598 ht = np; in maple_pci_init()
605 if (ht && maple_add_bridge(ht) != 0) in maple_pci_init()
606 of_node_put(ht); in maple_pci_init()
/linux-4.1.27/include/net/
Draw.h35 struct hlist_head ht[RAW_HTABLE_SIZE]; member
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs.c666 struct mvm_statistics_rx_ht_phy *ht; in iwl_dbgfs_fw_rx_stats_read() local
677 ht = &mvm->rx_stats.ofdm_ht; in iwl_dbgfs_fw_rx_stats_read()
754 PRINT_STATS_LE32(ht, plcp_err); in iwl_dbgfs_fw_rx_stats_read()
755 PRINT_STATS_LE32(ht, overrun_err); in iwl_dbgfs_fw_rx_stats_read()
756 PRINT_STATS_LE32(ht, early_overrun_err); in iwl_dbgfs_fw_rx_stats_read()
757 PRINT_STATS_LE32(ht, crc32_good); in iwl_dbgfs_fw_rx_stats_read()
758 PRINT_STATS_LE32(ht, crc32_err); in iwl_dbgfs_fw_rx_stats_read()
759 PRINT_STATS_LE32(ht, mh_format_err); in iwl_dbgfs_fw_rx_stats_read()
760 PRINT_STATS_LE32(ht, agg_crc32_good); in iwl_dbgfs_fw_rx_stats_read()
761 PRINT_STATS_LE32(ht, agg_mpdu_cnt); in iwl_dbgfs_fw_rx_stats_read()
[all …]
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
Dmain.c425 .ht = {
508 .ht = {
1226 (priv->conf.ht.mode != HT_MODE_WIDE) && in wl18xx_is_mimo_supported()
1227 (priv->conf.ht.mode != HT_MODE_SISO20); in wl18xx_is_mimo_supported()
1887 priv->conf.ht.mode = HT_MODE_DEFAULT; in wl18xx_setup()
1889 priv->conf.ht.mode = HT_MODE_WIDE; in wl18xx_setup()
1891 priv->conf.ht.mode = HT_MODE_SISO20; in wl18xx_setup()
1898 if (priv->conf.ht.mode == HT_MODE_DEFAULT) { in wl18xx_setup()
1913 } else if (priv->conf.ht.mode == HT_MODE_WIDE) { in wl18xx_setup()
1918 } else if (priv->conf.ht.mode == HT_MODE_SISO20) { in wl18xx_setup()
Dconf.h134 struct wl18xx_ht_settings ht; member
/linux-4.1.27/net/mac80211/
Drc80211_minstrel_ht.h110 struct minstrel_ht_sta ht; member
DMakefile10 ht.o agg-tx.o agg-rx.o \
Drc80211_minstrel_ht_debugfs.c111 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_stats_open()
261 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_stats_csv_open()
Drc80211_minstrel_ht.c703 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_tx_status()
1005 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_get_rate()
1097 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_update_caps()
1320 struct minstrel_ht_sta *mi = &msp->ht; in minstrel_ht_get_expected_throughput()
/linux-4.1.27/drivers/gpu/drm/i2c/
Dch7006_mode.c105 #define __MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument
115 .htotal = ht, \
135 #define MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument
137 __MODE(f, hd, vd, ht, vt, hsynp, vsynp, subc, scale, \
/linux-4.1.27/net/ipv4/
Draw.c101 head = &h->ht[inet_sk(sk)->inet_num & (RAW_HTABLE_SIZE - 1)]; in raw_hash_sk()
176 head = &raw_v4_hashinfo.ht[hash]; in raw_v4_input()
211 raw_sk = sk_head(&raw_v4_hashinfo.ht[hash]); in raw_local_deliver()
294 raw_sk = sk_head(&raw_v4_hashinfo.ht[hash]); in raw_icmp_error()
943 sk_for_each(sk, &state->h->ht[state->bucket]) in raw_get_first()
963 sk = sk_head(&state->h->ht[state->bucket]); in raw_get_next()
/linux-4.1.27/arch/powerpc/platforms/powermac/
Dpci.c884 struct device_node *ht = NULL; in pmac_pci_init() local
905 ht = np; in pmac_pci_init()
914 if (ht && pmac_add_bridge(ht) != 0) in pmac_pci_init()
915 of_node_put(ht); in pmac_pci_init()
/linux-4.1.27/arch/arm/mach-pxa/
Dpxa27x.c88 int cccr_a, t, ht, b; in pxa27x_get_clk_frequency_khz() local
96 ht = clkcfg & (1 << 2); in pxa27x_get_clk_frequency_khz()
/linux-4.1.27/net/decnet/
Ddn_table.c144 struct dn_fib_node **ht, **old_ht; in dn_rehash_zone() local
164 ht = kcalloc(new_divisor, sizeof(struct dn_fib_node*), GFP_KERNEL); in dn_rehash_zone()
165 if (ht == NULL) in dn_rehash_zone()
170 dz->dz_hash = ht; in dn_rehash_zone()
/linux-4.1.27/fs/gfs2/
Ddir.c1887 char *ht; in leaf_dealloc() local
1897 ht = kzalloc(size, GFP_NOFS | __GFP_NOWARN); in leaf_dealloc()
1898 if (ht == NULL) in leaf_dealloc()
1899 ht = __vmalloc(size, GFP_NOFS | __GFP_NOWARN | __GFP_ZERO, in leaf_dealloc()
1901 if (!ht) in leaf_dealloc()
1961 error = gfs2_dir_write_data(dip, ht, index * sizeof(u64), size); in leaf_dealloc()
1988 kvfree(ht); in leaf_dealloc()
/linux-4.1.27/drivers/video/fbdev/intelfb/
Dintelfbhw.c1053 u32 *vs, *vb, *vt, *hs, *hb, *ht, *ss, *pipe_conf; in intelfbhw_mode_to_hw() local
1068 ht = &hw->htotal_b; in intelfbhw_mode_to_hw()
1080 ht = &hw->htotal_a; in intelfbhw_mode_to_hw()
1239 *ht = (htotal << HTOTAL_SHIFT) | (hactive << HACTIVE_SHIFT); in intelfbhw_mode_to_hw()
1285 const u32 *hs, *ht, *hb, *vs, *vt, *vb, *ss; in intelfbhw_program_mode() local
1312 ht = &hw->htotal_b; in intelfbhw_program_mode()
1336 ht = &hw->htotal_a; in intelfbhw_program_mode()
1426 OUTREG(htotal_reg, *ht); in intelfbhw_program_mode()
/linux-4.1.27/arch/mips/include/asm/txx9/
Dtx3927.h79 endian_def_b4(unused0, ht, mlt, cls);
/linux-4.1.27/drivers/video/fbdev/mbx/
Dmbxfb.c237 ushort hbps, ht, hfps, has; in mbxfb_set_par() local
290 ht = hfps + var->right_margin; in mbxfb_set_par()
297 write_reg_dly((Dht01_Hbps(hbps) | Dht01_Ht(ht)), DHT01); in mbxfb_set_par()
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_drv.h281 u32 ht; member
Dast_mode.c179 adjusted_mode->crtc_htotal = vbios_mode->enh_table->ht; in ast_get_vbios_mode_info()
181 adjusted_mode->crtc_hblank_end = vbios_mode->enh_table->ht - hborder; in ast_get_vbios_mode_info()
/linux-4.1.27/net/ipv6/
Draw.c173 sk = sk_head(&raw_v6_hashinfo.ht[hash]); in ipv6_raw_deliver()
234 raw_sk = sk_head(&raw_v6_hashinfo.ht[nexthdr & (RAW_HTABLE_SIZE - 1)]); in raw6_local_deliver()
369 sk = sk_head(&raw_v6_hashinfo.ht[hash]); in raw6_icmp_error()
/linux-4.1.27/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c449 unsigned long hsp, vsp, ht, vt; in mb862xxfb_init_fbinfo() local
473 ht = ((inreg(disp, GC_HTP) & 0xfff0000) >> 16) + 1; in mb862xxfb_init_fbinfo()
475 fbi->var.left_margin = ht - hsp - fbi->var.hsync_len; in mb862xxfb_init_fbinfo()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dacx.c1402 acx->tid_bitmap = wl->conf.ht.tx_ba_tid_bitmap; in wl12xx_acx_set_ba_initiator_policy()
1403 acx->win_size = wl->conf.ht.tx_ba_win_size; in wl12xx_acx_set_ba_initiator_policy()
1404 acx->inactivity_timeout = wl->conf.ht.inactivity_timeout; in wl12xx_acx_set_ba_initiator_policy()
1438 acx->win_size = wl->conf.ht.rx_ba_win_size; in wl12xx_acx_set_ba_receiver_session()
Dconf.h1376 struct conf_ht_setting ht; member
Dmain.c6180 wl->hw->max_rx_aggregation_subframes = wl->conf.ht.rx_ba_win_size; in wl1271_init_ieee80211()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c3722 bool band_2gig = false, band_5gig = false, ht = false; in ath6kl_cfg80211_init() local
3757 ht = true; in ath6kl_cfg80211_init()
3762 ht = true; in ath6kl_cfg80211_init()
3767 ht = true; in ath6kl_cfg80211_init()
3782 if (!(ht && in ath6kl_cfg80211_init()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dmac.c4696 u8 ht = 0xff, i; in ath10k_default_bitrate_mask() local
4718 if (mask->control[band].ht_mcs[i] != ht) in ath10k_default_bitrate_mask()
4781 int legacy = 0, ht = 0, vht = 0, i; in ath10k_bitrate_mask_correct() local
4792 ht += ath10k_check_single_mask(mask->control[band].ht_mcs[i]); in ath10k_bitrate_mask_correct()
4793 if (ht > 1) in ath10k_bitrate_mask_correct()
4803 if ((legacy + ht + vht) != 1) in ath10k_bitrate_mask_correct()
4806 if (ht) in ath10k_bitrate_mask_correct()
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
Dsmd.c127 bss_params->ht = sta->ht_cap.ht_supported; in wcn36xx_smd_set_bss_ht_params()
1095 msg_body.bss_params.ht = orig->bss_params.ht; in wcn36xx_smd_config_bss_v1()
Dhal.h1620 u8 ht; member
1757 u8 ht; member
/linux-4.1.27/Documentation/x86/x86_64/
Dboot-options.txt156 acpi=ht Use ACPI boot table parsing, but don't enable ACPI
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-pci-defs.h287 uint32_t ht:8; member
293 uint32_t ht:8;
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddispc.c3111 unsigned long ht, vt; in dispc_mgr_set_timings() local
3129 ht = timings->pixelclock / xtot; in dispc_mgr_set_timings()
3139 DSSDBG("hsync %luHz, vsync %luHz\n", ht, vt); in dispc_mgr_set_timings()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_p4.c1292 PMU_FORMAT_ATTR(ht, "config:63" );
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/
Dmain.c295 .ht = {
/linux-4.1.27/Documentation/filesystems/
Dproc.txt468 ht - area uses huge tlb pages