/linux-6.6.21/net/core/ |
D | gen_estimator.c | 81 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.6.21/drivers/clk/ |
D | clk-sp7021.c | 56 unsigned long brate; /* base rate, TODO: replace brate with muldiv */ member 408 fbdiv = DIV_ROUND_CLOSEST(rate, clk->brate); in sp_pll_calc_div() 430 ret = sp_pll_calc_div(clk, rate) * clk->brate; in sp_pll_round_rate() 475 ret = clk->brate * fbdiv; in sp_pll_recalc_rate() 553 unsigned long brate, int shift, int width, in sp_pll_register() argument 575 pll->brate = brate; in sp_pll_register()
|
/linux-6.6.21/sound/usb/ |
D | format.c | 734 int brate, framesize, ret; in parse_audio_format_ii() local 759 brate = le16_to_cpu(fmt->wMaxBitRate); in parse_audio_format_ii() 761 usb_audio_info(chip, "found format II with max.bitrate = %d, frame size=%d\n", brate, framesize); in parse_audio_format_ii() 768 brate = le16_to_cpu(fmt->wMaxBitRate); in parse_audio_format_ii() 770 usb_audio_info(chip, "found format II with max.bitrate = %d, frame size=%d\n", brate, framesize); in parse_audio_format_ii()
|
/linux-6.6.21/drivers/media/platform/qcom/venus/ |
D | venc_ctrls.c | 75 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()
|
D | venc.c | 667 struct hfi_bitrate brate; in venc_set_properties() local 832 brate.bitrate = bitrate; in venc_set_properties() 833 brate.layer_id = 0; in venc_set_properties() 835 ret = hfi_session_set_property(inst, ptype, &brate); in venc_set_properties() 858 brate.bitrate = bitrate; in venc_set_properties() 859 brate.layer_id = 0; in venc_set_properties() 861 ret = hfi_session_set_property(inst, ptype, &brate); in venc_set_properties()
|
D | hfi_cmds.c | 605 struct hfi_bitrate *in = pdata, *brate = prop_data; in pkt_session_set_property_1x() local 607 brate->bitrate = in->bitrate; in pkt_session_set_property_1x() 608 brate->layer_id = in->layer_id; in pkt_session_set_property_1x() 609 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*brate); in pkt_session_set_property_1x()
|
/linux-6.6.21/drivers/staging/rtl8723bs/hal/ |
D | hal_com.c | 298 u8 i, is_brate, brate; in HalSetBrateCfg() local 303 brate = mBratesOS[i] & 0x7f; in HalSetBrateCfg() 306 switch (brate) { in HalSetBrateCfg()
|
/linux-6.6.21/sound/soc/intel/atom/ |
D | sst-mfld-dsp.h | 351 u32 brate; /* Use the hard coded value. */ member
|
/linux-6.6.21/net/mac80211/ |
D | ibss.c | 452 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()
|
D | util.c | 2296 int brate; in ieee80211_sta_get_rates() local 2301 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate, in ieee80211_sta_get_rates() 2304 if (brate == own_rate) { in ieee80211_sta_get_rates() 4017 int brate, rate, i, j, count = 0; in ieee80211_parse_bitrates() local 4029 brate = DIV_ROUND_UP(br->bitrate, (1 << shift) * 5); in ieee80211_parse_bitrates() 4030 if (brate == rate) { in ieee80211_parse_bitrates()
|
D | sta_info.c | 2422 u16 brate; in sta_stats_decode_rate() local 2432 brate = sband->bitrates[rate_idx].bitrate; in sta_stats_decode_rate() 2439 rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift); in sta_stats_decode_rate()
|
D | cfg.c | 837 u16 brate; in sta_set_rate_info_tx() local 842 brate = sband->bitrates[rate->idx].bitrate; in sta_set_rate_info_tx() 843 rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift); in sta_set_rate_info_tx()
|
D | mlme.c | 3926 int brate; in ieee80211_get_rates() local 3930 brate = DIV_ROUND_UP(br->bitrate, (1 << shift) * 5); in ieee80211_get_rates() 3931 if (brate == rate) { in ieee80211_get_rates()
|
/linux-6.6.21/drivers/net/wireless/cisco/ |
D | airo.c | 6089 u8 brate = 0; in airo_set_rate() local 6099 brate = cap_rid.supportedRates[vwrq->value]; in airo_set_rate() 6107 brate = normvalue; in airo_set_rate() 6120 brate = cap_rid.supportedRates[i - 1]; in airo_set_rate() 6123 if (brate == 0) { in airo_set_rate() 6134 if (local->config.rates[i] == brate) in airo_set_rate() 6141 local->config.rates[0] = brate; in airo_set_rate()
|