Home
last modified time | relevance | path

Searched refs:bit_rate (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c51 const unsigned long bit_rate = clk_req->bitclk_rate; in msm_dsi_dphy_timing_calc() local
56 s32 pcnt1 = (bit_rate > 1200000000) ? 15 : 10; in msm_dsi_dphy_timing_calc()
58 s32 pcnt3 = (bit_rate > 180000000) ? 10 : 40; in msm_dsi_dphy_timing_calc()
62 if (!bit_rate || !esc_rate) in msm_dsi_dphy_timing_calc()
65 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc()
146 const unsigned long bit_rate = clk_req->bitclk_rate; in msm_dsi_dphy_timing_calc_v2() local
161 if (!bit_rate || !esc_rate) in msm_dsi_dphy_timing_calc_v2()
168 timing->hs_prep_dly_ckln = (bit_rate > 100000000) ? 0 : 3; in msm_dsi_dphy_timing_calc_v2()
170 timing->hs_prep_dly = (bit_rate > 120000000) ? 0 : 1; in msm_dsi_dphy_timing_calc_v2()
176 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v2()
[all …]
/Linux-v5.4/drivers/media/platform/sti/hva/
Dhva-h264.c305 u32 bit_rate; member
648 td->bit_rate = ctrls->bitrate; in hva_h264_prepare_task()
666 td->bit_rate /= time_per_frame->numerator; in hva_h264_prepare_task()
667 td->bit_rate *= time_per_frame->denominator; in hva_h264_prepare_task()
668 td->bit_rate /= td->framerate_num; in hva_h264_prepare_task()
683 if (td->bit_rate > max_bitrate) { in hva_h264_prepare_task()
686 pctx->name, td->bit_rate, max_bitrate); in hva_h264_prepare_task()
687 td->bit_rate = max_bitrate; in hva_h264_prepare_task()
714 td->bit_rate) in hva_h264_prepare_task()
715 td->delay = 1000 * (td->cpb_buffer_size / td->bit_rate); in hva_h264_prepare_task()
/Linux-v5.4/drivers/staging/pi433/
Dpi433_if.h57 __u16 bit_rate; member
105 __u16 bit_rate; member
Drf69.h25 int rf69_set_bit_rate(struct spi_device *spi, u16 bit_rate);
Drf69.c221 int rf69_set_bit_rate(struct spi_device *spi, u16 bit_rate) in rf69_set_bit_rate() argument
231 if (bit_rate < bit_rate_min) { in rf69_set_bit_rate()
237 bit_rate_reg = (F_OSC / bit_rate); in rf69_set_bit_rate()
Dpi433_if.c167 ret = rf69_set_bit_rate(dev->spi, rx_cfg->bit_rate); in rf69_set_rx_cfg()
290 ret = rf69_set_bit_rate(dev->spi, tx_cfg->bit_rate); in rf69_set_tx_cfg()
962 instance->tx_cfg.bit_rate = 4711; in pi433_open()
/Linux-v5.4/drivers/media/pci/ttpci/
Ddvb_filter.c50 ai->bit_rate = ac3_bitrates[frame >> 1]*1000; in dvb_filter_get_ac3info()
53 printk(KERN_CONT " BRate: %d kb/s", (int) ai->bit_rate/1000); in dvb_filter_get_ac3info()
Ddvb_filter.h158 u32 bit_rate; member
230 u32 bit_rate; member
/Linux-v5.4/sound/soc/sprd/
Dsprd-pcm-compress.c299 compr_params.rate = params->codec.bit_rate; in sprd_platform_compr_set_params()
635 codec->descriptor[0].bit_rate[0] = 320; in sprd_platform_compr_get_codec_caps()
636 codec->descriptor[0].bit_rate[1] = 128; in sprd_platform_compr_get_codec_caps()
646 codec->descriptor[1].bit_rate[0] = 320; in sprd_platform_compr_get_codec_caps()
647 codec->descriptor[1].bit_rate[1] = 128; in sprd_platform_compr_get_codec_caps()
/Linux-v5.4/include/uapi/sound/
Dcompress_params.h355 __u32 bit_rate[MAX_NUM_BITRATES]; member
395 __u32 bit_rate; member
/Linux-v5.4/net/bluetooth/rfcomm/
Dcore.c960 u8 bit_rate, u8 data_bits, u8 stop_bits, in rfcomm_send_rpn() argument
971 s, cr, dlci, bit_rate, data_bits, stop_bits, parity, in rfcomm_send_rpn()
985 rpn->bit_rate = bit_rate; in rfcomm_send_rpn()
1452 u8 bit_rate = 0; in rfcomm_recv_rpn() local
1462 dlci, cr, len, rpn->bit_rate, rpn->line_settings, rpn->flow_ctrl, in rfcomm_recv_rpn()
1470 bit_rate = RFCOMM_RPN_BR_9600; in rfcomm_recv_rpn()
1484 bit_rate = rpn->bit_rate; in rfcomm_recv_rpn()
1485 if (bit_rate > RFCOMM_RPN_BR_230400) { in rfcomm_recv_rpn()
1486 BT_DBG("RPN bit rate mismatch 0x%x", bit_rate); in rfcomm_recv_rpn()
1487 bit_rate = RFCOMM_RPN_BR_9600; in rfcomm_recv_rpn()
[all …]
/Linux-v5.4/sound/soc/intel/atom/sst/
Dsst_drv_interface.c400 .descriptor[0].bit_rate[0] = 320,
401 .descriptor[0].bit_rate[1] = 192,
417 .descriptor[1].bit_rate[0] = 320,
418 .descriptor[1].bit_rate[1] = 192,
/Linux-v5.4/include/net/bluetooth/
Drfcomm.h135 u8 bit_rate; member
230 u8 bit_rate, u8 data_bits, u8 stop_bits,
/Linux-v5.4/sound/pci/asihpi/
Dhpifunc.c66 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()
Dhpi.h1115 u32 bit_rate; /**< for MPEG */ member
1722 u32 sample_rate, u32 bit_rate, u32 attributes);
Dhpi_internal.h567 u32 bit_rate; /**< for MPEG */ member
/Linux-v5.4/sound/soc/bcm/
Dcygnus-ssp.c550 unsigned int bit_rate; in cygnus_ssp_set_clocks() local
553 bit_rate = aio->bit_per_frame * aio->lrclk; in cygnus_ssp_set_clocks()
560 if ((aio->mclk % bit_rate) != 0) in cygnus_ssp_set_clocks()
563 ratio = aio->mclk / bit_rate; in cygnus_ssp_set_clocks()
/Linux-v5.4/net/nfc/nci/
Dntf.c138 nfcf_poll->bit_rate = *data++; in nci_extract_rf_params_nfcf_passive_poll()
142 nfcf_poll->bit_rate, nfcf_poll->sensf_res_len); in nci_extract_rf_params_nfcf_passive_poll()
/Linux-v5.4/include/net/nfc/
Dnci.h409 __u8 bit_rate; member
/Linux-v5.4/sound/soc/qcom/qdsp6/
Dq6asm-dai.c165 .descriptor[0].bit_rate[0] = 320,
166 .descriptor[0].bit_rate[1] = 128,
/Linux-v5.4/drivers/staging/pi433/Documentation/
Dpi433.txt79 bit_rate
170 bit_rate
/Linux-v5.4/drivers/media/dvb-frontends/
Ddrxk_hard.c2041 u32 bit_rate = 0; in mpegts_dto_setup() local
2053 bit_rate = max_bit_rate; in mpegts_dto_setup()
2054 if (bit_rate > 75900000UL) { /* max is 75.9 Mb/s */ in mpegts_dto_setup()
2055 bit_rate = 75900000UL; in mpegts_dto_setup()
2064 * 1000) / bit_rate); in mpegts_dto_setup()
/Linux-v5.4/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c3016 u32 bit_rate = 0; in ctrl_set_cfg_mpeg_output() local
3056 bit_rate = in ctrl_set_cfg_mpeg_output()
3060 frac28(bit_rate, common_attr->sys_clock_freq * 1000); in ctrl_set_cfg_mpeg_output()