Home
last modified time | relevance | path

Searched refs:data_rate (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_bw.c695 unsigned int data_rate = 0; in intel_bw_crtc_data_rate() local
706 data_rate += crtc_state->data_rate[plane_id]; in intel_bw_crtc_data_rate()
709 data_rate += crtc_state->data_rate_y[plane_id]; in intel_bw_crtc_data_rate()
712 return data_rate; in intel_bw_crtc_data_rate()
733 bw_state->data_rate[crtc->pipe] = in intel_bw_crtc_update()
740 bw_state->data_rate[crtc->pipe], in intel_bw_crtc_update()
759 unsigned int data_rate = 0; in intel_bw_data_rate() local
763 data_rate += bw_state->data_rate[pipe]; in intel_bw_data_rate()
766 data_rate = DIV_ROUND_UP(data_rate * 105, 100); in intel_bw_data_rate()
768 return data_rate; in intel_bw_data_rate()
[all …]
Dintel_bw.h51 unsigned int data_rate[I915_MAX_PIPES]; member
/linux-6.6.21/drivers/iio/adc/
Dti-ads1015.c83 const int *data_rate; member
235 unsigned int data_rate; member
398 const int *data_rate = data->chip->data_rate; in ads1015_get_adc_result() local
410 dr = data->channel_data[chan].data_rate; in ads1015_get_adc_result()
433 conv_time = DIV_ROUND_UP(USEC_PER_SEC, data_rate[dr_old]); in ads1015_get_adc_result()
434 conv_time += DIV_ROUND_UP(USEC_PER_SEC, data_rate[dr]); in ads1015_get_adc_result()
501 if (data->chip->data_rate[i] == rate) { in ads1015_set_data_rate()
502 data->channel_data[chan].data_rate = i; in ads1015_set_data_rate()
528 *vals = data->chip->data_rate; in ads1015_read_avail()
584 idx = data->channel_data[chan->address].data_rate; in ads1015_read_raw()
[all …]
Dti-ads131e08.c97 unsigned int data_rate; member
249 static int ads131e08_set_data_rate(struct ads131e08_state *st, int data_rate) in ads131e08_set_data_rate() argument
254 if (ads131e08_data_rate_tbl[i].rate == data_rate) in ads131e08_set_data_rate()
275 st->data_rate = data_rate; in ads131e08_set_data_rate()
277 ADS131E08_NUM_DATA_BYTES(st->data_rate) * in ads131e08_set_data_rate()
491 channel->channel * ADS131E08_NUM_DATA_BYTES(st->data_rate); in ads131e08_read_direct()
493 num_bits = ADS131E08_NUM_DATA_BITS(st->data_rate); in ads131e08_read_direct()
531 *value2 = ADS131E08_NUM_DATA_BITS(st->data_rate) - 1; in ads131e08_read_raw()
536 *value = st->data_rate; in ads131e08_read_raw()
629 unsigned int num_bytes = ADS131E08_NUM_DATA_BYTES(st->data_rate); in ads131e08_trigger_handler()
/linux-6.6.21/drivers/phy/mediatek/
Dphy-mtk-mipi-dsi-mt8183.c54 dev_dbg(mipi_tx->dev, "enable: %u bps\n", mipi_tx->data_rate); in mtk_mipi_tx_pll_enable()
56 if (mipi_tx->data_rate >= 2000000000) { in mtk_mipi_tx_pll_enable()
59 } else if (mipi_tx->data_rate >= 1000000000) { in mtk_mipi_tx_pll_enable()
62 } else if (mipi_tx->data_rate >= 500000000) { in mtk_mipi_tx_pll_enable()
65 } else if (mipi_tx->data_rate > 250000000) { in mtk_mipi_tx_pll_enable()
68 } else if (mipi_tx->data_rate >= 125000000) { in mtk_mipi_tx_pll_enable()
81 pcw = div_u64(((u64)mipi_tx->data_rate * txdiv) << 24, 26000000); in mtk_mipi_tx_pll_enable()
Dphy-mtk-mipi-dsi-mt8173.c129 dev_dbg(mipi_tx->dev, "prepare: %u Hz\n", mipi_tx->data_rate); in mtk_mipi_tx_pll_prepare()
131 if (mipi_tx->data_rate >= 500000000) { in mtk_mipi_tx_pll_prepare()
135 } else if (mipi_tx->data_rate >= 250000000) { in mtk_mipi_tx_pll_prepare()
139 } else if (mipi_tx->data_rate >= 125000000) { in mtk_mipi_tx_pll_prepare()
143 } else if (mipi_tx->data_rate > 62000000) { in mtk_mipi_tx_pll_prepare()
147 } else if (mipi_tx->data_rate >= 50000000) { in mtk_mipi_tx_pll_prepare()
196 pcw = div_u64(((u64)mipi_tx->data_rate * 2 * txdiv) << 24, 26000000); in mtk_mipi_tx_pll_prepare()
Dphy-mtk-mipi-dsi.c20 mipi_tx->data_rate = rate; in mtk_mipi_tx_pll_set_rate()
30 return mipi_tx->data_rate; in mtk_mipi_tx_pll_recalc_rate()
Dphy-mtk-mipi-dsi.h29 u32 data_rate; member
/linux-6.6.21/drivers/char/hw_random/
Doptee-rng.c65 u32 data_rate; member
131 if (wait && pvt_data->data_rate) { in optee_rng_read()
134 msleep((1000 * (max - read)) / pvt_data->data_rate); in optee_rng_read()
200 pvt_data.data_rate = param[0].u.value.a; in get_optee_rng_info()
/linux-6.6.21/drivers/media/dvb-frontends/
Dsi21xx.c352 u32 sym_rate, data_rate; in si21xx_set_symbolrate() local
361 data_rate = srate; in si21xx_set_symbolrate()
366 sym_rate = sym_rate + ((data_rate % 100) * 0x800000) / in si21xx_set_symbolrate()
368 data_rate /= 100; in si21xx_set_symbolrate()
727 int data_rate; in si21xx_set_frontend() local
748 data_rate = c->symbol_rate / 100; in si21xx_set_frontend()
751 + (data_rate * 135)) / 200; in si21xx_set_frontend()
754 + (data_rate * 135)) / 200; in si21xx_set_frontend()
/linux-6.6.21/drivers/staging/rtl8192e/
Drtllib_tx.c343 if (tcb_desc->data_rate == 2) in rtllib_query_ShortPreambleMode()
384 if ((tcb_desc->data_rate & 0x80) == 0) in rtllib_query_BandwidthMode()
883 tcb_desc->data_rate = in rtllib_xmit_inter()
887 tcb_desc->data_rate = ieee->basic_rate; in rtllib_xmit_inter()
900 tcb_desc->data_rate = ieee->basic_rate; in rtllib_xmit_inter()
902 tcb_desc->data_rate = rtllib_current_rate(ieee); in rtllib_xmit_inter()
907 tcb_desc->data_rate = in rtllib_xmit_inter()
911 tcb_desc->data_rate = MGN_1M; in rtllib_xmit_inter()
/linux-6.6.21/drivers/gpu/drm/radeon/
Drv740_dpm.c97 u16 data_rate; in rv740_get_dll_speed() local
104 data_rate = (u16)(memory_clock * factor / 1000); in rv740_get_dll_speed()
106 if (data_rate < dll_speed_table[0].max) { in rv740_get_dll_speed()
108 if (data_rate > dll_speed_table[i].min && in rv740_get_dll_speed()
109 data_rate <= dll_speed_table[i].max) in rv740_get_dll_speed()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Djoin.c161 priv->data_rate); in mwifiex_get_common_rates()
165 if ((*ptr & 0x7f) == priv->data_rate) { in mwifiex_get_common_rates()
174 priv->data_rate); in mwifiex_get_common_rates()
955 memset(adhoc_start->data_rate, 0, sizeof(adhoc_start->data_rate)); in mwifiex_cmd_802_11_ad_hoc_start()
956 mwifiex_get_active_data_rates(priv, adhoc_start->data_rate); in mwifiex_cmd_802_11_ad_hoc_start()
968 for (i = 0; i < sizeof(adhoc_start->data_rate); i++) in mwifiex_cmd_802_11_ad_hoc_start()
969 if (!adhoc_start->data_rate[i]) in mwifiex_cmd_802_11_ad_hoc_start()
976 &adhoc_start->data_rate, priv->curr_bss_params.num_of_rates); in mwifiex_cmd_802_11_ad_hoc_start()
979 adhoc_start->data_rate); in mwifiex_cmd_802_11_ad_hoc_start()
/linux-6.6.21/include/linux/
Dsynclink.h29 compat_ulong_t data_rate; member
/linux-6.6.21/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c64 pattrib->data_rate = (u8)prxreport->rx_rate; in update_recvframe_attrib()
92 .data_rate = 0x00, in update_recvframe_phyinfo()
127 pkt_info.data_rate = pattrib->data_rate; in update_recvframe_phyinfo()
Dodm_HWConfig.c115 is_cck_rate = pkt_info->data_rate <= DESC_RATE11M; in odm_rx_phy_status_parsing()
276 isCCKrate = ((pPktinfo->data_rate <= DESC_RATE11M)) ? true : false; in odm_Process_RSSIForDM()
277 pDM_Odm->RxRate = pPktinfo->data_rate; in odm_Process_RSSIForDM()
Dhal_com.c907 isCCKrate = psample_pkt_rssi->data_rate <= DESC_RATE11M; in rtw_dump_raw_rssi_info()
931 psample_pkt_rssi->data_rate = pattrib->data_rate; in rtw_store_phy_info()
932 isCCKrate = pattrib->data_rate <= DESC_RATE11M; in rtw_store_phy_info()
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dcore.c614 desc_info->data_rate = rtw89_core_get_mgmt_rate(rtwdev, tx_req, chan); in rtw89_core_tx_update_mgmt_info()
618 desc_info->data_rate, chan->channel, chan->band_type, in rtw89_core_tx_update_mgmt_info()
1105 FIELD_PREP(RTW89_TXWD_BODY7_DATA_RATE, desc_info->data_rate); in rtw89_build_txwd_body7_v1()
1113 FIELD_PREP(RTW89_TXWD_INFO0_DATA_RATE, desc_info->data_rate) | in rtw89_build_txwd_info0()
1482 u16 data_rate; in rtw89_core_rx_ppdu_match() local
1485 data_rate = desc_info->data_rate; in rtw89_core_rx_ppdu_match()
1486 data_rate_mode = rtw89_get_data_rate_mode(rtwdev, data_rate); in rtw89_core_rx_ppdu_match()
1488 rate_idx = rtw89_get_data_not_ht_idx(rtwdev, data_rate); in rtw89_core_rx_ppdu_match()
1491 rate_idx = rtw89_get_data_ht_mcs(rtwdev, data_rate); in rtw89_core_rx_ppdu_match()
1493 rate_idx = rtw89_get_data_mcs(rtwdev, data_rate); in rtw89_core_rx_ppdu_match()
[all …]
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c353 if (tcb_desc->data_rate == 2) {//// 1M can only use Long Preamble. 11B spec in ieee80211_qurey_ShortPreambleMode()
394 if ((tcb_desc->data_rate & 0x80) == 0) // If using legacy rate, it shall use 20MHz channel. in ieee80211_query_BandwidthMode()
806 tcb_desc->data_rate = ieee->basic_rate; in ieee80211_xmit()
808 tcb_desc->data_rate = CURRENT_RATE(ieee->mode, ieee->rate, ieee->HTCurrentOperaRate); in ieee80211_xmit()
/linux-6.6.21/include/linux/input/
Dadxl34x.h196 u8 data_rate; member
/linux-6.6.21/drivers/input/misc/
Dadxl34x.c224 .data_rate = 8,
541 return sprintf(buf, "%u\n", RATE(ac->pdata.data_rate)); in adxl34x_rate_show()
558 ac->pdata.data_rate = RATE(val); in adxl34x_rate_store()
560 ac->pdata.data_rate | in adxl34x_rate_store()
851 AC_WRITE(ac, BW_RATE, RATE(ac->pdata.data_rate) | in adxl34x_probe()
/linux-6.6.21/drivers/iio/proximity/
Dirsd200.c323 int data_rate; in irsd200_write_timer() local
330 ret = irsd200_read_data_rate(data, &data_rate); in irsd200_write_timer()
335 regval = val * data_rate + (val2 * data_rate) / 1000000; in irsd200_write_timer()
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Drtw_recv.h106 u8 data_rate; member
155 u8 data_rate; member
/linux-6.6.21/drivers/gpu/drm/kmb/
Dkmb_dsi.c1358 u64 data_rate; in kmb_dsi_mode_set() local
1381 data_rate = ((((u32)mode->crtc_vtotal * (u32)mode->crtc_htotal) * in kmb_dsi_mode_set()
1386 (u32)data_rate, mipi_tx_init_cfg.active_lanes); in kmb_dsi_mode_set()
1391 if (data_rate < 800) { in kmb_dsi_mode_set()
1393 mipi_tx_init_cfg.lane_rate_mbps = data_rate * 2; in kmb_dsi_mode_set()
1395 mipi_tx_init_cfg.lane_rate_mbps = data_rate; in kmb_dsi_mode_set()
/linux-6.6.21/drivers/tty/
Dsynclink_gt.c335 .data_rate = 9600,
438 static void set_rate(struct slgt_info *info, u32 data_rate);
841 if (info->params.data_rate) { in wait_until_sent()
1077 tmp_params.data_rate = (compat_ulong_t)info->params.data_rate; in get_params32()
1108 info->params.data_rate = tmp_params.data_rate; in set_params32()
2474 info->params.data_rate = tty_get_baud_rate(info->port.tty); in change_params()
2476 if (info->params.data_rate) { in change_params()
2478 info->params.data_rate; in change_params()
4122 if ((rd_reg32(info, JCR) & BIT8) && info->params.data_rate && in async_mode()
4123 ((info->base_clock < (info->params.data_rate * 16)) || in async_mode()
[all …]

123