/linux/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy.c | 53 const unsigned long bit_rate = clk_req->bitclk_rate; in msm_dsi_dphy_timing_calc() local 58 s32 pcnt1 = (bit_rate > 1200000000) ? 15 : 10; in msm_dsi_dphy_timing_calc() 60 s32 pcnt3 = (bit_rate > 180000000) ? 10 : 40; in msm_dsi_dphy_timing_calc() 64 if (!bit_rate || !esc_rate) in msm_dsi_dphy_timing_calc() 67 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc() 148 const unsigned long bit_rate = clk_req->bitclk_rate; in msm_dsi_dphy_timing_calc_v2() local 163 if (!bit_rate || !esc_rate) in msm_dsi_dphy_timing_calc_v2() 170 timing->hs_prep_dly_ckln = (bit_rate > 100000000) ? 0 : 3; in msm_dsi_dphy_timing_calc_v2() 172 timing->hs_prep_dly = (bit_rate > 120000000) ? 0 : 1; in msm_dsi_dphy_timing_calc_v2() 178 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v2() [all …]
|
/linux/drivers/media/platform/st/sti/hva/ |
H A D | hva-h264.c | 305 u32 bit_rate; member 650 td->bit_rate = ctrls->bitrate; in hva_h264_prepare_task() 668 td->bit_rate /= time_per_frame->numerator; in hva_h264_prepare_task() 669 td->bit_rate *= time_per_frame->denominator; in hva_h264_prepare_task() 670 td->bit_rate /= td->framerate_num; in hva_h264_prepare_task() 685 if (td->bit_rate > max_bitrate) { in hva_h264_prepare_task() 688 pctx->name, td->bit_rate, max_bitrate); in hva_h264_prepare_task() 689 td->bit_rate = max_bitrate; in hva_h264_prepare_task() 716 td->bit_rate) in hva_h264_prepare_task() 717 td->delay = 1000 * (td->cpb_buffer_size / td->bit_rate); in hva_h264_prepare_task()
|
/linux/drivers/staging/media/av7110/ |
H A D | dvb_filter.c | 51 ai->bit_rate = ac3_bitrates[frame >> 1] * 1000; in dvb_filter_get_ac3info() 64 (int)ai->bit_rate / 1000, (int)ai->frequency, (int)ai->framesize); in dvb_filter_get_ac3info()
|
H A D | dvb_filter.h | 154 u32 bit_rate; member 227 u32 bit_rate; member
|
/linux/sound/soc/sprd/ |
H A D | sprd-pcm-compress.c | 297 compr_params.rate = params->codec.bit_rate; in sprd_platform_compr_set_params() 632 codec->descriptor[0].bit_rate[0] = 320; in sprd_platform_compr_get_codec_caps() 633 codec->descriptor[0].bit_rate[1] = 128; in sprd_platform_compr_get_codec_caps() 643 codec->descriptor[1].bit_rate[0] = 320; in sprd_platform_compr_get_codec_caps() 644 codec->descriptor[1].bit_rate[1] = 128; in sprd_platform_compr_get_codec_caps()
|
/linux/net/bluetooth/rfcomm/ |
H A D | core.c | 997 u8 bit_rate, u8 data_bits, u8 stop_bits, in rfcomm_send_rpn() argument 1008 s, cr, dlci, bit_rate, data_bits, stop_bits, parity, in rfcomm_send_rpn() 1022 rpn->bit_rate = bit_rate; in rfcomm_send_rpn() 1489 u8 bit_rate = 0; in rfcomm_recv_rpn() local 1499 dlci, cr, len, rpn->bit_rate, rpn->line_settings, rpn->flow_ctrl, in rfcomm_recv_rpn() 1507 bit_rate = RFCOMM_RPN_BR_9600; in rfcomm_recv_rpn() 1521 bit_rate = rpn->bit_rate; in rfcomm_recv_rpn() 1522 if (bit_rate > RFCOMM_RPN_BR_230400) { in rfcomm_recv_rpn() 1523 BT_DBG("RPN bit rate mismatch 0x%x", bit_rate); in rfcomm_recv_rpn() 1524 bit_rate = RFCOMM_RPN_BR_9600; in rfcomm_recv_rpn() [all …]
|
/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-samsung-hdptx.c | 198 u32 bit_rate; member 229 u32 bit_rate; member 775 if (rate == ropll_tmds_cfg[i].bit_rate) { in rk_hdptx_ropll_tmds_cmn_config() 984 u32 bit_rate = rate / 100; in rk_hdptx_phy_clk_round_rate() local 991 if (bit_rate == ropll_tmds_cfg[i].bit_rate) in rk_hdptx_phy_clk_round_rate() 995 !rk_hdptx_phy_clk_pll_calc(bit_rate, NULL)) in rk_hdptx_phy_clk_round_rate()
|
/linux/sound/soc/intel/atom/sst/ |
H A D | sst_drv_interface.c | 394 .descriptor[0].bit_rate[0] = 320, 395 .descriptor[0].bit_rate[1] = 192, 411 .descriptor[1].bit_rate[0] = 320, 412 .descriptor[1].bit_rate[1] = 192,
|
/linux/include/uapi/sound/ |
H A D | compress_params.h | 366 __u32 bit_rate[MAX_NUM_BITRATES]; member 406 __u32 bit_rate; member
|
/linux/include/net/bluetooth/ |
H A D | rfcomm.h | 134 u8 bit_rate; member 229 u8 bit_rate, u8 data_bits, u8 stop_bits,
|
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | fw.c | 117 static u16 get_max_amsdu_len(u32 bit_rate) in get_max_amsdu_len() argument 120 if (bit_rate < 550) in get_max_amsdu_len() 124 if (bit_rate < 1800) in get_max_amsdu_len() 128 if (bit_rate < 4000) in get_max_amsdu_len() 132 if (bit_rate < 7000) in get_max_amsdu_len() 150 u32 bit_rate; in rtw_fw_ra_report_iter() local 189 bit_rate = cfg80211_calculate_bitrate(&si->ra_report.txrate); in rtw_fw_ra_report_iter() 192 si->ra_report.bit_rate = bit_rate; in rtw_fw_ra_report_iter() 194 sta->deflink.agg.max_rc_amsdu_len = get_max_amsdu_len(bit_rate); in rtw_fw_ra_report_iter()
|
/linux/sound/pci/asihpi/ |
H A D | hpifunc.c | 66 pMF->bit_rate = pF->bit_rate; in hpi_format_to_msg() 76 pF->bit_rate = pMF->bit_rate; in hpi_msg_to_format() 285 u32 sample_rate, u32 bit_rate, u32 attributes) in hpi_format_create() argument 342 fmt.bit_rate = bit_rate; in hpi_format_create() 346 fmt.bit_rate = channels * sample_rate * 2; in hpi_format_create() 350 fmt.bit_rate = channels * sample_rate * 4; in hpi_format_create() 353 fmt.bit_rate = channels * sample_rate; in hpi_format_create() 356 fmt.bit_rate = 0; in hpi_format_create() 408 bytes_per_second = pF->bit_rate / 8L; in hpi_stream_estimate_buffer_size()
|
H A D | hpi.h | 1115 u32 bit_rate; /**< for MPEG */ member 1706 u32 sample_rate, u32 bit_rate, u32 attributes);
|
H A D | hpi_internal.h | 567 u32 bit_rate; /**< for MPEG */ member
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6asm-dai.c | 168 .descriptor[0].bit_rate[0] = 320, 169 .descriptor[0].bit_rate[1] = 128, 739 wma_cfg.bytes_per_sec = codec->bit_rate / 8; in __q6asm_dai_compr_set_codec_params() 801 alac_cfg.avg_bit_rate = codec->bit_rate; in __q6asm_dai_compr_set_codec_params()
|
H A D | q6apm-dai.c | 44 .descriptor[0].bit_rate[0] = 320, 45 .descriptor[0].bit_rate[1] = 128,
|
/linux/sound/soc/bcm/ |
H A D | cygnus-ssp.c | 540 unsigned int bit_rate; in cygnus_ssp_set_clocks() local 543 bit_rate = aio->bit_per_frame * aio->lrclk; in cygnus_ssp_set_clocks() 550 if ((aio->mclk % bit_rate) != 0) in cygnus_ssp_set_clocks() 553 ratio = aio->mclk / bit_rate; in cygnus_ssp_set_clocks()
|
/linux/drivers/media/platform/chips-media/wave5/ |
H A D | wave5-vpuapi.h | 580 u32 bit_rate; /* target bitrate in bps */ member 827 unsigned int bit_rate; member
|
H A D | wave5-hw.c | 1798 vpu_write_reg(inst->dev, W5_CMD_ENC_SEQ_RC_TARGET_RATE, p_open_param->bit_rate); in wave5_vpu_enc_init_seq() 2536 if (open_param->bit_rate <= (int)open_param->frame_rate_info) { in wave5_vpu_enc_check_param_valid() 2539 open_param->bit_rate, (int)open_param->frame_rate_info); in wave5_vpu_enc_check_param_valid() 2591 if (open_param->bit_rate > MAX_BIT_RATE) { in wave5_vpu_enc_check_open_param() 2593 open_param->bit_rate, MAX_BIT_RATE); in wave5_vpu_enc_check_open_param()
|
H A D | wave5-vpu-enc.c | 770 inst->bit_rate = ctrl->val; in wave5_vpu_enc_s_ctrl() 1162 open_param->bit_rate = inst->bit_rate; in wave5_set_enc_openparam()
|
H A D | wave5-vpuapi.c | 810 if (p_enc_info->open_param.bit_rate == 0 && inst->std == W_HEVC_ENC) { in wave5_check_enc_param()
|
/linux/net/nfc/nci/ |
H A D | ntf.c | 158 nfcf_poll->bit_rate = *data++; in nci_extract_rf_params_nfcf_passive_poll() 162 nfcf_poll->bit_rate, nfcf_poll->sensf_res_len); in nci_extract_rf_params_nfcf_passive_poll()
|
/linux/include/net/nfc/ |
H A D | nci.h | 443 __u8 bit_rate; member
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | phy.c | 27 u32 bit_rate = report->bit_rate; in get_max_amsdu_len() local 30 if (bit_rate < 550) in get_max_amsdu_len() 38 if (bit_rate < 1800) in get_max_amsdu_len() 42 if (bit_rate < 4000) in get_max_amsdu_len() 46 if (bit_rate < 7000) in get_max_amsdu_len() 2657 ra_report->bit_rate = cfg80211_calculate_bitrate(&ra_report->txrate); in rtw89_phy_c2h_ra_rpt_iter()
|
/linux/drivers/media/dvb-frontends/ |
H A D | drxk_hard.c | 2010 u32 bit_rate = 0; in mpegts_dto_setup() local 2022 bit_rate = max_bit_rate; in mpegts_dto_setup() 2023 if (bit_rate > 75900000UL) { /* max is 75.9 Mb/s */ in mpegts_dto_setup() 2024 bit_rate = 75900000UL; in mpegts_dto_setup() 2033 * 1000) / bit_rate); in mpegts_dto_setup()
|