/drivers/usb/gadget/ |
D | configfs.c | 262 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/ |
D | debugfs_sta.c | 21 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 …]
|
D | hal_rx.c | 867 ppdu_info->gi = info1 & HAL_RX_HT_SIG_INFO_INFO1_GI; in ath11k_hal_rx_parse_mon_status_tlv() 926 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv() 930 ppdu_info->gi = HAL_RX_GI_0_4_US; in ath11k_hal_rx_parse_mon_status_tlv() 980 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv() 983 ppdu_info->gi = HAL_RX_GI_1_6_US; in ath11k_hal_rx_parse_mon_status_tlv() 987 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv() 989 ppdu_info->gi = HAL_RX_GI_3_2_US; in ath11k_hal_rx_parse_mon_status_tlv() 1016 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv() 1019 ppdu_info->gi = HAL_RX_GI_1_6_US; in ath11k_hal_rx_parse_mon_status_tlv() 1022 ppdu_info->gi = HAL_RX_GI_3_2_US; in ath11k_hal_rx_parse_mon_status_tlv()
|
D | hal_rx.h | 97 u8 gi; member
|
D | core.h | 341 u64 gi[ATH11K_COUNTER_TYPE_MAX][ATH11K_GI_NUM]; member
|
D | dp_rx.c | 2730 if (ppdu_info->gi < HAL_RX_GI_MAX) in ath11k_dp_rx_update_peer_stats() 2731 rx_stats->gi_count[ppdu_info->gi] += num_msdu; in ath11k_dp_rx_update_peer_stats()
|
D | mac.c | 1101 if (arvif->bitrate_mask.control[band].gi != NL80211_TXRATE_FORCE_LGI) { in ath11k_peer_assoc_h_ht() 5979 sgi = mask->control[band].gi; in ath11k_mac_op_set_bitrate_mask()
|
/drivers/media/dvb-frontends/ |
D | lgs8gxx.c | 358 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/ |
D | cfp.c | 202 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/net/wireless/mediatek/mt76/mt7921/ |
D | mcu.c | 325 u8 gi = 0; in mt7921_mcu_tx_rate_parse() local 335 gi = peer->g16; in mt7921_mcu_tx_rate_parse() 338 gi = peer->g8; in mt7921_mcu_tx_rate_parse() 341 gi = peer->g4; in mt7921_mcu_tx_rate_parse() 344 gi = peer->g2; in mt7921_mcu_tx_rate_parse() 348 gi = txmode >= MT_PHY_TYPE_HE_SU ? in mt7921_mcu_tx_rate_parse() 349 FIELD_GET(MT_WTBL_RATE_HE_GI, gi) : in mt7921_mcu_tx_rate_parse() 350 FIELD_GET(MT_WTBL_RATE_GI, gi); in mt7921_mcu_tx_rate_parse() 371 if (gi) in mt7921_mcu_tx_rate_parse() 377 if (gi) in mt7921_mcu_tx_rate_parse() [all …]
|
D | mac.c | 509 u8 stbc, gi; in mt7921_mac_fill_rx() local 543 gi = FIELD_GET(MT_PRXV_SGI, v0); in mt7921_mac_fill_rx() 581 if (gi <= NL80211_RATE_INFO_HE_GI_3_2) in mt7921_mac_fill_rx() 582 status->he_gi = gi; in mt7921_mac_fill_rx() 616 if (mode < MT_PHY_TYPE_HE_SU && gi) in mt7921_mac_fill_rx()
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | headc57d.c | 129 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/ |
D | cxd2880_dvbt2.h | 299 enum cxd2880_dvbt2_guard gi; member 363 enum cxd2880_dvbt2_guard gi; member
|
D | cxd2880_top.c | 846 (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()
|
D | cxd2880_tnrdmd_dvbt2_mon.c | 259 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/ |
D | htt_rx.c | 3542 int idx, ht_idx, gi, mcs, bw, nss; in ath10k_accumulate_per_peer_tx_stats() local 3550 gi = test_bit(ATH10K_RATE_INFO_FLAGS_SGI_BIT, &flags); in ath10k_accumulate_per_peer_tx_stats() 3556 idx += bw * 2 + gi; in ath10k_accumulate_per_peer_tx_stats() 3603 STATS_OP_FMT(AMPDU).gi[0][gi] += in ath10k_accumulate_per_peer_tx_stats() 3611 STATS_OP_FMT(AMPDU).gi[1][gi] += in ath10k_accumulate_per_peer_tx_stats() 3622 STATS_OP_FMT(SUCC).gi[0][gi] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats() 3626 STATS_OP_FMT(SUCC).gi[1][gi] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats() 3630 STATS_OP_FMT(FAIL).gi[0][gi] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats() 3634 STATS_OP_FMT(FAIL).gi[1][gi] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats() 3638 STATS_OP_FMT(RETRY).gi[0][gi] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() [all …]
|
D | debugfs_sta.c | 711 stats->gi[j][0], stats->gi[j][1]); in ath10k_dbg_sta_dump_tx_stats()
|
D | core.h | 509 u64 gi[ATH10K_COUNTER_TYPE_MAX][ATH10K_GI_NUM]; member
|
D | mac.c | 2350 if (arvif->bitrate_mask.control[band].gi != NL80211_TXRATE_FORCE_LGI) { in ath10k_peer_assoc_h_ht() 8374 sgi = mask->control[band].gi; in ath10k_mac_op_set_bitrate_mask()
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.h | 191 u8 gi; member 207 u8 gi; member
|
D | mac.c | 506 u8 gi = FIELD_GET(MT_CRXV_HT_SHORT_GI, v2); in mt7915_mac_fill_rx() local 548 if (gi <= NL80211_RATE_INFO_HE_GI_3_2) in mt7915_mac_fill_rx() 549 status->he_gi = gi; in mt7915_mac_fill_rx() 582 if (mode < MT_PHY_TYPE_HE_SU && gi) in mt7915_mac_fill_rx()
|
D | mcu.c | 522 if (ra->gi) in mt7915_mcu_tx_rate_parse() 530 if (ra->gi) in mt7915_mcu_tx_rate_parse() 537 if (ra->gi > NL80211_RATE_INFO_HE_GI_3_2 || rate->mcs > 11) in mt7915_mcu_tx_rate_parse() 540 rate->he_gi = ra->gi; in mt7915_mcu_tx_rate_parse() 4028 if (res->gi) in mt7915_mcu_get_rx_rate() 4038 if (res->gi) in mt7915_mcu_get_rx_rate() 4045 if (res->gi > NL80211_RATE_INFO_HE_GI_3_2 || rate->mcs > 11) { in mt7915_mcu_get_rx_rate() 4049 rate->he_gi = res->gi; in mt7915_mcu_get_rx_rate()
|
D | main.c | 988 if (mask->control[band].gi == NL80211_TXRATE_FORCE_LGI) in mt7915_set_bitrate_mask()
|