/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 | 904 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()
|
D | hal_rx.h | 97 u8 gi; member
|
D | core.h | 324 u64 gi[ATH11K_COUNTER_TYPE_MAX][ATH11K_GI_NUM]; member
|
D | dp_rx.c | 2692 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()
|
D | mac.c | 1057 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/ |
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/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 | 3544 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 …]
|
D | debugfs_sta.c | 711 stats->gi[j][0], stats->gi[j][1]); in ath10k_dbg_sta_dump_tx_stats()
|
D | core.h | 504 u64 gi[ATH10K_COUNTER_TYPE_MAX][ATH10K_GI_NUM]; member
|
D | mac.c | 2338 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/ |
D | mac.c | 461 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()
|
D | mcu.h | 146 u8 gi; member
|
D | mcu.c | 447 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()
|