/drivers/gpu/drm/ |
H A D | drm_hashtab.c | 41 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) argument 45 ht->order = order; 46 ht->table = NULL; 47 if (size <= PAGE_SIZE / sizeof(*ht->table)) 48 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); 50 ht->table = vzalloc(size*sizeof(*ht->table)); 51 if (!ht->table) { 59 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigne argument 76 drm_ht_find_key(struct drm_open_hash *ht, unsigned long key) argument 97 drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item) argument 129 drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, unsigned long seed, int bits, int shift, unsigned long add) argument 154 drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item) argument 168 drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) argument 180 drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item) argument 187 drm_ht_remove(struct drm_open_hash *ht) argument [all...] |
/drivers/gpu/drm/ttm/ |
H A D | ttm_object.c | 250 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; local 261 ret = drm_ht_find_item(ht, base->hash.key, &hash); 288 ret = drm_ht_insert_item(ht, &ref->hash); 316 struct drm_open_hash *ht; local 319 ht = &tfile->ref_hash[ref->ref_type]; 320 (void)drm_ht_remove_item(ht, &ref->hash); 336 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; local 342 ret = drm_ht_find_item(ht, key, &hash);
|
/drivers/staging/zcache/ |
H A D | tmem.c | 224 unsigned int ht, tmp; local 226 for (ht = 0; ht < ARRAY_SIZE(tmem_objnode_tree_h2max); ht++) { 227 tmp = ht * OBJNODE_TREE_MAP_SHIFT; 229 tmem_objnode_tree_h2max[ht] = ~0UL; 231 tmem_objnode_tree_h2max[ht] = 473 unsigned int ht) 477 if (ht == 0) 481 if (ht 471 tmem_objnode_node_destroy(struct tmem_obj *obj, struct tmem_objnode *objnode, unsigned int ht) argument [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-agn-rxon.c | 118 if (ctx->ht.enabled) 527 ctx->ht.extension_chan_offset = 529 ctx->ht.is_40mhz = true; 531 ctx->ht.extension_chan_offset = 533 ctx->ht.is_40mhz = true; 535 ctx->ht.extension_chan_offset = 537 ctx->ht.is_40mhz = false; 591 if (ctx->ht.enabled != conf_is_ht(conf)) 592 ctx->ht.enabled = conf_is_ht(conf); 594 if (ctx->ht [all...] |
H A D | iwl-core.c | 254 if (!ctx->ht.enabled || !ctx->ht.is_40mhz) 271 ctx->ht.extension_chan_offset); 529 if (!ctx->ht.enabled) { 537 /* FIXME: if the definition of ht.protection changed, the "translation" 540 rxon->flags |= cpu_to_le32(ctx->ht.protection << RXON_FLG_HT_OPERATING_MODE_POS); 549 if (ctx->ht.protection == IEEE80211_HT_OP_MODE_PROTECTION_20MHZ) { 552 switch (ctx->ht.extension_chan_offset) { 562 switch (ctx->ht.extension_chan_offset) { 586 le32_to_cpu(rxon->flags), ctx->ht [all...] |
H A D | iwl-debugfs.c | 944 struct statistics_rx_ht_phy *ht, *accum_ht, *delta_ht, *max_ht; local 964 ht = &priv->statistics.rx_ofdm_ht; 1312 le32_to_cpu(ht->plcp_err), accum_ht->plcp_err, 1316 le32_to_cpu(ht->overrun_err), accum_ht->overrun_err, 1320 le32_to_cpu(ht->early_overrun_err), 1326 le32_to_cpu(ht->crc32_good), accum_ht->crc32_good, 1330 le32_to_cpu(ht->crc32_err), accum_ht->crc32_err, 1334 le32_to_cpu(ht->mh_format_err), 1339 le32_to_cpu(ht->agg_crc32_good), 1344 le32_to_cpu(ht [all...] |
/drivers/video/matrox/ |
H A D | matroxfb_misc.c | 191 unsigned int hd, hs, he, hbe, ht; local 242 ht = m->HTotal >> 3; 251 ht >>= 1; 260 ht <<= 1; 266 ht = ht - 1; 272 /* G200 cannot work with (ht & 7) == 6 */ 273 if (((ht & 0x07) == 0x06) || ((ht & 0x0F) == 0x04)) 274 ht [all...] |
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00queue.c | 315 txdesc->u.ht.mpdu_density = 319 txdesc->u.ht.wcid = sta_priv->wcid; 322 txdesc->u.ht.ba_size = 7; /* FIXME: What value is needed? */ 328 txdesc->u.ht.stbc = 1; 335 txdesc->u.ht.mcs = txrate->idx; 341 if (tx_info->control.sta && txdesc->u.ht.mcs > 7 && 348 txdesc->u.ht.mcs = rt2x00_get_rate_mcs(hwrate->mcs); 350 txdesc->u.ht.mcs |= 0x08; 382 txdesc->u.ht.txop = TXOP_BACKOFF; 384 txdesc->u.ht [all...] |
H A D | rt2x00dev.c | 878 &spec->ht, sizeof(spec->ht)); 896 &spec->ht, sizeof(spec->ht));
|
H A D | rt2x00queue.h | 325 } ht; member in union:txentry_desc::__anon3701
|
H A D | rt2800lib.c | 477 txdesc->u.ht.mpdu_density); 478 rt2x00_set_field32(&word, TXWI_W0_TX_OP, txdesc->u.ht.txop); 479 rt2x00_set_field32(&word, TXWI_W0_MCS, txdesc->u.ht.mcs); 484 rt2x00_set_field32(&word, TXWI_W0_STBC, txdesc->u.ht.stbc); 493 rt2x00_set_field32(&word, TXWI_W1_BW_WIN_SIZE, txdesc->u.ht.ba_size); 496 txdesc->key_idx : txdesc->u.ht.wcid); 4572 spec->ht.ht_supported = true; 4574 spec->ht.ht_supported = false; 4576 spec->ht.cap = 4583 spec->ht [all...] |
/drivers/staging/ramster/ |
H A D | tmem.c | 225 unsigned int ht, tmp; local 227 for (ht = 0; ht < ARRAY_SIZE(tmem_objnode_tree_h2max); ht++) { 228 tmp = ht * OBJNODE_TREE_MAP_SHIFT; 230 tmem_objnode_tree_h2max[ht] = ~0UL; 232 tmem_objnode_tree_h2max[ht] = 476 unsigned int ht) 480 if (ht == 0) 484 if (ht 474 tmem_objnode_node_destroy(struct tmem_obj *obj, struct tmem_objnode *objnode, unsigned int ht) argument [all...] |
/drivers/staging/speakup/ |
H A D | main.c | 1490 speakup_console[vc->vc_num]->ht.cy = vc->vc_y; 1506 hi = speakup_console[vc_num]->ht.highsize[bi]; 1509 if (speakup_console[vc_num]->ht.highsize[bi] == 0) { 1510 speakup_console[vc_num]->ht.rpos[bi] = vc->vc_pos; 1511 speakup_console[vc_num]->ht.rx[bi] = vc->vc_x; 1512 speakup_console[vc_num]->ht.ry[bi] = vc->vc_y; 1516 speakup_console[vc_num]->ht.highbuf[bi][hi] = ic[i]; 1519 if (speakup_console[vc_num]->ht.highbuf[bi][hi - 1] != 1521 speakup_console[vc_num]->ht.highbuf[bi][hi] = 1528 speakup_console[vc_num]->ht [all...] |
H A D | spk_types.h | 77 struct spk_highlight_color_track ht; member in struct:st_spk_t
|
/drivers/video/ |
H A D | asiliantfb.c | 179 unsigned ht = (p->var.left_margin + p->var.xres + p->var.right_margin + p->var.hsync_len) / 8; local 193 write_cr(0x00, (ht - 5) & 0xff); 196 write_cr(0x03, ((ht - 1) & 0x1f) | 0x80); 198 write_cr(0x05, (((ht - 1) & 0x20) <<2) | (he & 0x1f)); 199 write_cr(0x3c, (ht - 1) & 0xc0); 214 write_cr(0x38, ((ht - 5) & 0x100) >> 8);
|
H A D | jz4740_fb.c | 358 uint16_t ht, vt; local 374 ht = hde + mode->right_margin; 428 mode->refresh = rate / vt / ht; 431 rate = mode->refresh * (vt + 2 * mode->xres) * ht; 433 rate = mode->refresh * vt * ht; 464 writel((ht << 16) | vt, jzfb->base + JZ_REG_LCD_VAT);
|
H A D | tdfxfb.c | 569 u32 hd, hs, he, ht, hbs, hbe; local 602 ht = (htotal >> 3) - 1; 604 hbe = ht; 661 reg.crt[0x00] = ht - 4; 686 reg.ext[0x00] = (((ht & 0x100) >> 8) |
|
/drivers/net/wireless/iwlegacy/ |
H A D | 4965-debug.c | 74 struct stats_rx_ht_phy *ht, *accum_ht, *delta_ht, *max_ht; local 93 ht = &il->_4965.stats.rx.ofdm_ht; 425 le32_to_cpu(ht->plcp_err), accum_ht->plcp_err, 429 le32_to_cpu(ht->overrun_err), accum_ht->overrun_err, 433 le32_to_cpu(ht->early_overrun_err), 438 le32_to_cpu(ht->crc32_good), accum_ht->crc32_good, 442 le32_to_cpu(ht->crc32_err), accum_ht->crc32_err, 446 le32_to_cpu(ht->mh_format_err), accum_ht->mh_format_err, 450 le32_to_cpu(ht->agg_crc32_good), accum_ht->agg_crc32_good, 454 le32_to_cpu(ht [all...] |
H A D | common.c | 2338 if (il->ht.enabled) 3527 if (!il->ht.enabled || !il->ht.is_40mhz) 3544 il->ht.extension_chan_offset); 3798 if (!il->ht.enabled) { 3807 cpu_to_le32(il->ht.protection << RXON_FLG_HT_OPERATING_MODE_POS); 3816 if (il->ht.protection == IEEE80211_HT_OP_MODE_PROTECTION_20MHZ) { 3819 switch (il->ht.extension_chan_offset) { 3830 switch (il->ht.extension_chan_offset) { 3856 il->ht [all...] |
/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 105 #define __MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ 115 .htotal = ht, \ 135 #define MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ 137 __MODE(f, hd, vd, ht, vt, hsynp, vsynp, subc, scale, \
|
/drivers/net/wireless/b43/ |
H A D | phy_ht.c | 331 dev->phy.ht = phy_ht; 339 struct b43_phy_ht *phy_ht = phy->ht; 471 struct b43_phy_ht *phy_ht = phy->ht; 474 phy->ht = NULL;
|
H A D | phy_common.h | 222 struct b43_phy_ht *ht; member in struct:b43_phy::__anon3258
|
/drivers/block/aoe/ |
H A D | aoecmd.c | 441 struct aoetgt *ht = *d->htgt; local 443 f = ht->frames; 444 e = f + ht->nframes; 456 ht->nout--; 461 memset(ht->ifs, 0, sizeof ht->ifs);
|
/drivers/video/intelfb/ |
H A D | intelfbhw.c | 1053 u32 *vs, *vb, *vt, *hs, *hb, *ht, *ss, *pipe_conf; local 1068 ht = &hw->htotal_b; 1080 ht = &hw->htotal_a; 1240 *ht = (htotal << HTOTAL_SHIFT) | (hactive << HACTIVE_SHIFT); 1286 const u32 *hs, *ht, *hb, *vs, *vt, *vb, *ss; local 1313 ht = &hw->htotal_b; 1337 ht = &hw->htotal_a; 1427 OUTREG(htotal_reg, *ht);
|
/drivers/video/mbx/ |
H A D | mbxfb.c | 238 ushort hbps, ht, hfps, has; local 291 ht = hfps + var->right_margin; 298 write_reg_dly((Dht01_Hbps(hbps) | Dht01_Ht(ht)), DHT01);
|