Home
last modified time | relevance | path

Searched refs:gi (Results 1 – 20 of 20) sorted by relevance

/drivers/usb/gadget/
Dconfigfs.c262 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_show() local
266 mutex_lock(&gi->lock); in gadget_dev_desc_UDC_show()
267 udc_name = gi->composite.gadget_driver.udc_name; in gadget_dev_desc_UDC_show()
269 mutex_unlock(&gi->lock); in gadget_dev_desc_UDC_show()
274 static int unregister_gadget(struct gadget_info *gi) in unregister_gadget() argument
278 if (!gi->composite.gadget_driver.udc_name) in unregister_gadget()
281 ret = usb_gadget_unregister_driver(&gi->composite.gadget_driver); in unregister_gadget()
284 kfree(gi->composite.gadget_driver.udc_name); in unregister_gadget()
285 gi->composite.gadget_driver.udc_name = NULL; in unregister_gadget()
292 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_store() local
[all …]
/drivers/net/wireless/ath/ath11k/
Ddebugfs_sta.c21 int gi, mcs, bw, nss; in ath11k_debugfs_sta_add_tx_stats() local
27 gi = FIELD_GET(RATE_INFO_FLAGS_SHORT_GI, arsta->txrate.flags); in ath11k_debugfs_sta_add_tx_stats()
89 STATS_OP_FMT(AMPDU).gi[0][gi] += in ath11k_debugfs_sta_add_tx_stats()
95 STATS_OP_FMT(AMPDU).gi[1][gi] += in ath11k_debugfs_sta_add_tx_stats()
103 STATS_OP_FMT(SUCC).gi[0][gi] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats()
107 STATS_OP_FMT(SUCC).gi[1][gi] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats()
111 STATS_OP_FMT(FAIL).gi[0][gi] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats()
115 STATS_OP_FMT(FAIL).gi[1][gi] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats()
119 STATS_OP_FMT(RETRY).gi[0][gi] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats()
123 STATS_OP_FMT(RETRY).gi[1][gi] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats()
[all …]
Dhal_rx.c904 ppdu_info->gi = info1 & HAL_RX_HT_SIG_INFO_INFO1_GI; in ath11k_hal_rx_parse_mon_status_tlv()
963 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv()
967 ppdu_info->gi = HAL_RX_GI_0_4_US; in ath11k_hal_rx_parse_mon_status_tlv()
1017 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv()
1020 ppdu_info->gi = HAL_RX_GI_1_6_US; in ath11k_hal_rx_parse_mon_status_tlv()
1024 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv()
1026 ppdu_info->gi = HAL_RX_GI_3_2_US; in ath11k_hal_rx_parse_mon_status_tlv()
1053 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv()
1056 ppdu_info->gi = HAL_RX_GI_1_6_US; in ath11k_hal_rx_parse_mon_status_tlv()
1059 ppdu_info->gi = HAL_RX_GI_3_2_US; in ath11k_hal_rx_parse_mon_status_tlv()
Dhal_rx.h97 u8 gi; member
Dcore.h324 u64 gi[ATH11K_COUNTER_TYPE_MAX][ATH11K_GI_NUM]; member
Ddp_rx.c2692 if (ppdu_info->gi < HAL_RX_GI_MAX) in ath11k_dp_rx_update_peer_stats()
2693 rx_stats->gi_count[ppdu_info->gi] += num_msdu; in ath11k_dp_rx_update_peer_stats()
Dmac.c1057 if (arvif->bitrate_mask.control[band].gi != NL80211_TXRATE_FORCE_LGI) { in ath11k_peer_assoc_h_ht()
5712 sgi = mask->control[band].gi; in ath11k_mac_op_set_bitrate_mask()
/drivers/media/dvb-frontends/
Dlgs8gxx.c358 static int lgs8gxx_autolock_gi(struct lgs8gxx_state *priv, u8 gi, u8 cpn, in lgs8gxx_autolock_gi() argument
365 if (gi == GI_945) in lgs8gxx_autolock_gi()
367 else if (gi == GI_595) in lgs8gxx_autolock_gi()
369 else if (gi == GI_420) in lgs8gxx_autolock_gi()
375 t1 |= gi; in lgs8gxx_autolock_gi()
381 lgs8gxx_write_reg(priv, 0x04, gi); in lgs8gxx_autolock_gi()
399 u8 *detected_param, u8 *gi) in lgs8gxx_auto_detect() argument
459 *gi = tmp_gi; in lgs8gxx_auto_detect()
471 u8 gi = 0x2; in lgs8gxx_auto_lock() local
474 err = lgs8gxx_auto_detect(priv, &detected_param, &gi); in lgs8gxx_auto_lock()
[all …]
/drivers/net/wireless/marvell/mwifiex/
Dcfp.c202 u8 gi = 0; in mwifiex_index_to_acs_data_rate() local
211 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
214 rate = ac_mcs_rate_nss2[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
216 rate = ac_mcs_rate_nss1[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
222 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
225 if (gi == 1) in mwifiex_index_to_acs_data_rate()
231 rate = mcs_rate[2 * (1 - bw) + gi][index]; in mwifiex_index_to_acs_data_rate()
/drivers/gpu/drm/nouveau/dispnv50/
Dheadc57d.c129 u16 ri = 0, gi = 0, bi = 0, i; in headc57d_olut_load_8() local
133 gi = (drm_color_lut_extract(in->green, 16) - g) / 4; in headc57d_olut_load_8()
139 writew(g + gi * i, mem + 2); in headc57d_olut_load_8()
/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_dvbt2.h299 enum cxd2880_dvbt2_guard gi; member
363 enum cxd2880_dvbt2_guard gi; member
Dcxd2880_top.c846 (mode_tbl[l1pre.fft_mode] * (1024 + gi_tbl[l1pre.gi])) * in cxd2880_set_ber_per_period_t2()
1656 switch (l1pre.gi) { in cxd2880_get_frontend_t2()
1681 l1pre.gi); in cxd2880_get_frontend_t2()
Dcxd2880_tnrdmd_dvbt2_mon.c259 l1_pre->gi = (enum cxd2880_dvbt2_guard)(data[5] & 0x07); in cxd2880_tnrdmd_dvbt2_mon_l1_pre()
499 ofdm->gi = (enum cxd2880_dvbt2_guard)((data[1] & 0x70) >> 4); in cxd2880_tnrdmd_dvbt2_mon_ofdm()
/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c3544 int idx, ht_idx, gi, mcs, bw, nss; in ath10k_accumulate_per_peer_tx_stats() local
3552 gi = test_bit(ATH10K_RATE_INFO_FLAGS_SGI_BIT, &flags); in ath10k_accumulate_per_peer_tx_stats()
3558 idx += bw * 2 + gi; in ath10k_accumulate_per_peer_tx_stats()
3605 STATS_OP_FMT(AMPDU).gi[0][gi] += in ath10k_accumulate_per_peer_tx_stats()
3613 STATS_OP_FMT(AMPDU).gi[1][gi] += in ath10k_accumulate_per_peer_tx_stats()
3624 STATS_OP_FMT(SUCC).gi[0][gi] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3628 STATS_OP_FMT(SUCC).gi[1][gi] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3632 STATS_OP_FMT(FAIL).gi[0][gi] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3636 STATS_OP_FMT(FAIL).gi[1][gi] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3640 STATS_OP_FMT(RETRY).gi[0][gi] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
[all …]
Ddebugfs_sta.c711 stats->gi[j][0], stats->gi[j][1]); in ath10k_dbg_sta_dump_tx_stats()
Dcore.h504 u64 gi[ATH10K_COUNTER_TYPE_MAX][ATH10K_GI_NUM]; member
Dmac.c2338 if (arvif->bitrate_mask.control[band].gi != NL80211_TXRATE_FORCE_LGI) { in ath10k_peer_assoc_h_ht()
8263 sgi = mask->control[band].gi; in ath10k_mac_op_set_bitrate_mask()
/drivers/net/wireless/mediatek/mt76/mt7915/
Dmac.c461 u8 gi = FIELD_GET(MT_CRXV_HT_SHORT_GI, v2); in mt7915_mac_fill_rx() local
503 if (gi <= NL80211_RATE_INFO_HE_GI_3_2) in mt7915_mac_fill_rx()
504 status->he_gi = gi; in mt7915_mac_fill_rx()
537 if (mode < MT_PHY_TYPE_HE_SU && gi) in mt7915_mac_fill_rx()
Dmcu.h146 u8 gi; member
Dmcu.c447 if (ra->gi) in mt7915_mcu_tx_rate_cal()
453 if (ra->gi) in mt7915_mcu_tx_rate_cal()
460 rate->he_gi = ra->gi; in mt7915_mcu_tx_rate_cal()