Home
last modified time | relevance | path

Searched refs:brate (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/net/core/
Dgen_estimator.c81 u64 rate, brate; in est_timer() local
87 brate = (b_bytes - est->last_bytes) << (10 - est->intvl_log); in est_timer()
88 brate = (brate >> est->ewma_log) - (est->avbps >> est->ewma_log); in est_timer()
94 est->avbps += brate; in est_timer()
/linux-6.1.9/drivers/staging/r8188eu/hal/
Dhal_com.c92 u8 i, is_brate, brate; in HalSetBrateCfg() local
96 brate = brates[i] & 0x7f; in HalSetBrateCfg()
99 switch (brate) { in HalSetBrateCfg()
/linux-6.1.9/sound/usb/
Dformat.c709 int brate, framesize, ret; in parse_audio_format_ii() local
734 brate = le16_to_cpu(fmt->wMaxBitRate); in parse_audio_format_ii()
736 usb_audio_info(chip, "found format II with max.bitrate = %d, frame size=%d\n", brate, framesize); in parse_audio_format_ii()
743 brate = le16_to_cpu(fmt->wMaxBitRate); in parse_audio_format_ii()
745 usb_audio_info(chip, "found format II with max.bitrate = %d, frame size=%d\n", brate, framesize); in parse_audio_format_ii()
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dvenc_ctrls.c75 struct hfi_bitrate brate; in venc_op_s_ctrl() local
91 brate.bitrate = ctr->bitrate; in venc_op_s_ctrl()
92 brate.layer_id = 0; in venc_op_s_ctrl()
94 ret = hfi_session_set_property(inst, ptype, &brate); in venc_op_s_ctrl()
Dvenc.c616 struct hfi_bitrate brate; in venc_set_properties() local
780 brate.bitrate = bitrate; in venc_set_properties()
781 brate.layer_id = 0; in venc_set_properties()
783 ret = hfi_session_set_property(inst, ptype, &brate); in venc_set_properties()
806 brate.bitrate = bitrate; in venc_set_properties()
807 brate.layer_id = 0; in venc_set_properties()
809 ret = hfi_session_set_property(inst, ptype, &brate); in venc_set_properties()
Dhfi_cmds.c604 struct hfi_bitrate *in = pdata, *brate = prop_data; in pkt_session_set_property_1x() local
606 brate->bitrate = in->bitrate; in pkt_session_set_property_1x()
607 brate->layer_id = in->layer_id; in pkt_session_set_property_1x()
608 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*brate); in pkt_session_set_property_1x()
/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Dhal_com.c298 u8 i, is_brate, brate; in HalSetBrateCfg() local
303 brate = mBratesOS[i] & 0x7f; in HalSetBrateCfg()
306 switch (brate) { in HalSetBrateCfg()
/linux-6.1.9/sound/soc/intel/atom/
Dsst-mfld-dsp.h351 u32 brate; /* Use the hard coded value. */ member
/linux-6.1.9/net/mac80211/
Dibss.c452 int brate; in ieee80211_sta_join_ibss() local
457 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate, in ieee80211_sta_join_ibss()
459 if (brate == rate) { in ieee80211_sta_join_ibss()
Dutil.c2190 int brate; in ieee80211_sta_get_rates() local
2195 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate, in ieee80211_sta_get_rates()
2198 if (brate == own_rate) { in ieee80211_sta_get_rates()
3745 int brate, rate, i, j, count = 0; in ieee80211_parse_bitrates() local
3757 brate = DIV_ROUND_UP(br->bitrate, (1 << shift) * 5); in ieee80211_parse_bitrates()
3758 if (brate == rate) { in ieee80211_parse_bitrates()
Dsta_info.c2350 u16 brate; in sta_stats_decode_rate() local
2360 brate = sband->bitrates[rate_idx].bitrate; in sta_stats_decode_rate()
2367 rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift); in sta_stats_decode_rate()
Dcfg.c834 u16 brate; in sta_set_rate_info_tx() local
839 brate = sband->bitrates[rate->idx].bitrate; in sta_set_rate_info_tx()
840 rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift); in sta_set_rate_info_tx()
Dmlme.c3852 int brate; in ieee80211_get_rates() local
3856 brate = DIV_ROUND_UP(br->bitrate, (1 << shift) * 5); in ieee80211_get_rates()
3857 if (brate == rate) { in ieee80211_get_rates()
/linux-6.1.9/drivers/net/wireless/cisco/
Dairo.c6079 u8 brate = 0; in airo_set_rate() local
6089 brate = cap_rid.supportedRates[vwrq->value]; in airo_set_rate()
6097 brate = normvalue; in airo_set_rate()
6110 brate = cap_rid.supportedRates[i - 1]; in airo_set_rate()
6113 if (brate == 0) { in airo_set_rate()
6124 if (local->config.rates[i] == brate) in airo_set_rate()
6131 local->config.rates[0] = brate; in airo_set_rate()