Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_bw.c338 unsigned int data_rate = 0; in intel_bw_crtc_data_rate() local
349 data_rate += crtc_state->data_rate[plane_id]; in intel_bw_crtc_data_rate()
352 return data_rate; in intel_bw_crtc_data_rate()
361 bw_state->data_rate[crtc->pipe] = in intel_bw_crtc_update()
368 bw_state->data_rate[crtc->pipe], in intel_bw_crtc_update()
387 unsigned int data_rate = 0; in intel_bw_data_rate() local
391 data_rate += bw_state->data_rate[pipe]; in intel_bw_data_rate()
393 return data_rate; in intel_bw_data_rate()
465 unsigned int data_rate = crtc_state->data_rate[plane_id]; in skl_bw_calc_min_cdclk() local
485 crtc_bw->used_bw[slice_id] += data_rate; in skl_bw_calc_min_cdclk()
[all …]
Dintel_bw.h40 unsigned int data_rate[I915_MAX_PIPES]; member
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_mt8183_mipi_tx.c52 dev_dbg(mipi_tx->dev, "enable: %u bps\n", mipi_tx->data_rate); in mtk_mipi_tx_pll_enable()
54 if (mipi_tx->data_rate >= 2000000000) { in mtk_mipi_tx_pll_enable()
57 } else if (mipi_tx->data_rate >= 1000000000) { in mtk_mipi_tx_pll_enable()
60 } else if (mipi_tx->data_rate >= 500000000) { in mtk_mipi_tx_pll_enable()
63 } else if (mipi_tx->data_rate > 250000000) { in mtk_mipi_tx_pll_enable()
66 } else if (mipi_tx->data_rate >= 125000000) { in mtk_mipi_tx_pll_enable()
79 pcw = div_u64(((u64)mipi_tx->data_rate * txdiv) << 24, 26000000); in mtk_mipi_tx_pll_enable()
Dmtk_mt8173_mipi_tx.c122 dev_dbg(mipi_tx->dev, "prepare: %u Hz\n", mipi_tx->data_rate); in mtk_mipi_tx_pll_prepare()
124 if (mipi_tx->data_rate >= 500000000) { in mtk_mipi_tx_pll_prepare()
128 } else if (mipi_tx->data_rate >= 250000000) { in mtk_mipi_tx_pll_prepare()
132 } else if (mipi_tx->data_rate >= 125000000) { in mtk_mipi_tx_pll_prepare()
136 } else if (mipi_tx->data_rate > 62000000) { in mtk_mipi_tx_pll_prepare()
140 } else if (mipi_tx->data_rate >= 50000000) { in mtk_mipi_tx_pll_prepare()
185 pcw = div_u64(((u64)mipi_tx->data_rate * 2 * txdiv) << 24, in mtk_mipi_tx_pll_prepare()
Dmtk_mipi_tx.h31 u32 data_rate; member
Dmtk_mipi_tx.c44 mipi_tx->data_rate = rate; in mtk_mipi_tx_pll_set_rate()
54 return mipi_tx->data_rate; in mtk_mipi_tx_pll_recalc_rate()
/kernel/linux/linux-5.10/drivers/iio/adc/
Dti-ads1015.c226 unsigned int data_rate; member
248 unsigned int *data_rate; member
360 dr = data->channel_data[chan].data_rate; in ads1015_get_adc_result()
383 conv_time = DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr_old]); in ads1015_get_adc_result()
384 conv_time += DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr]); in ads1015_get_adc_result()
451 if (data->data_rate[i] == rate) { in ads1015_set_data_rate()
452 data->channel_data[chan].data_rate = i; in ads1015_set_data_rate()
510 idx = data->channel_data[chan->address].data_rate; in ads1015_read_raw()
511 *val = data->data_rate[idx]; in ads1015_read_raw()
568 dr = data->channel_data[chan->address].data_rate; in ads1015_read_event()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
729 int data_rate; in si21xx_set_frontend() local
750 data_rate = c->symbol_rate / 100; in si21xx_set_frontend()
755 + (data_rate * 135)) / 200; in si21xx_set_frontend()
758 + (data_rate * 135)) / 200; in si21xx_set_frontend()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Dodm_HWConfig.c95 isCCKrate = pPktinfo->data_rate <= DESC_RATE11M; in odm_RxPhyStatus92CSeries_Parsing()
198 if (pPktinfo->data_rate >= DESC_RATEMCS8 && pPktinfo->data_rate <= DESC_RATEMCS15) in odm_RxPhyStatus92CSeries_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()
Drtl8723bs_recv.c66 pattrib->data_rate = (u8)prxreport->rx_rate; in update_recvframe_attrib()
94 .data_rate = 0x00, in update_recvframe_phyinfo()
132 pkt_info.data_rate = pattrib->data_rate; in update_recvframe_phyinfo()
Dhal_com.c1601 HDATA_RATE(psample_pkt_rssi->data_rate), in rtw_get_raw_rssi_info()
1605 isCCKrate = psample_pkt_rssi->data_rate <= DESC_RATE11M; in rtw_get_raw_rssi_info()
1636 HDATA_RATE(psample_pkt_rssi->data_rate), psample_pkt_rssi->pwdball, psample_pkt_rssi->pwr_all); in rtw_dump_raw_rssi_info()
1638 isCCKrate = psample_pkt_rssi->data_rate <= DESC_RATE11M; in rtw_dump_raw_rssi_info()
1665 psample_pkt_rssi->data_rate = pattrib->data_rate; in rtw_store_phy_info()
1666 isCCKrate = pattrib->data_rate <= DESC_RATE11M; in rtw_store_phy_info()
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_tx.c346 if (tcb_desc->data_rate == 2) in rtllib_qurey_ShortPreambleMode()
387 if ((tcb_desc->data_rate & 0x80) == 0) in rtllib_query_BandwidthMode()
892 tcb_desc->data_rate = in rtllib_xmit_inter()
896 tcb_desc->data_rate = ieee->basic_rate; in rtllib_xmit_inter()
910 tcb_desc->data_rate = ieee->basic_rate; in rtllib_xmit_inter()
912 tcb_desc->data_rate = rtllib_current_rate(ieee); in rtllib_xmit_inter()
917 tcb_desc->data_rate = in rtllib_xmit_inter()
921 tcb_desc->data_rate = MGN_1M; in rtllib_xmit_inter()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Drv740_dpm.c98 u16 data_rate; in rv740_get_dll_speed() local
105 data_rate = (u16)(memory_clock * factor / 1000); in rv740_get_dll_speed()
107 if (data_rate < dll_speed_table[0].max) { in rv740_get_dll_speed()
109 if (data_rate > dll_speed_table[i].min && in rv740_get_dll_speed()
110 data_rate <= dll_speed_table[i].max) in rv740_get_dll_speed()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Djoin.c173 priv->data_rate); in mwifiex_get_common_rates()
177 if ((*ptr & 0x7f) == priv->data_rate) { in mwifiex_get_common_rates()
186 priv->data_rate); in mwifiex_get_common_rates()
967 memset(adhoc_start->data_rate, 0, sizeof(adhoc_start->data_rate)); in mwifiex_cmd_802_11_ad_hoc_start()
968 mwifiex_get_active_data_rates(priv, adhoc_start->data_rate); in mwifiex_cmd_802_11_ad_hoc_start()
980 for (i = 0; i < sizeof(adhoc_start->data_rate); i++) in mwifiex_cmd_802_11_ad_hoc_start()
981 if (!adhoc_start->data_rate[i]) in mwifiex_cmd_802_11_ad_hoc_start()
988 &adhoc_start->data_rate, priv->curr_bss_params.num_of_rates); in mwifiex_cmd_802_11_ad_hoc_start()
991 adhoc_start->data_rate); in mwifiex_cmd_802_11_ad_hoc_start()
/kernel/linux/linux-5.10/include/linux/
Dsynclink.h29 compat_ulong_t data_rate; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/input/
Dadxl34x.h196 u8 data_rate; member
/kernel/linux/linux-5.10/drivers/input/misc/
Dadxl34x.c224 .data_rate = 8,
535 return sprintf(buf, "%u\n", RATE(ac->pdata.data_rate)); in adxl34x_rate_show()
552 ac->pdata.data_rate = RATE(val); in adxl34x_rate_store()
554 ac->pdata.data_rate | in adxl34x_rate_store()
846 AC_WRITE(ac, BW_RATE, RATE(ac->pdata.data_rate) | in adxl34x_probe()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Drtw_recv.h115 u8 data_rate; member
169 u8 data_rate; member
/kernel/linux/linux-5.10/drivers/tty/
Dsynclink_gt.c340 .data_rate = 9600,
443 static void set_rate(struct slgt_info *info, u32 data_rate);
851 if (info->params.data_rate) { in wait_until_sent()
1087 tmp_params.data_rate = (compat_ulong_t)info->params.data_rate; in get_params32()
1117 info->params.data_rate = tmp_params.data_rate; in set_params32()
2491 info->params.data_rate = tty_get_baud_rate(info->port.tty); in change_params()
2493 if (info->params.data_rate) { in change_params()
2495 info->params.data_rate; in change_params()
4162 if ((rd_reg32(info, JCR) & BIT8) && info->params.data_rate && in async_mode()
4163 ((info->base_clock < (info->params.data_rate * 16)) || in async_mode()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c163 u8 data_rate, pwr_status, offset; in update_txdesc() local
252 data_rate = ODM_RA_GetDecisionRate_8188E(odmpriv, pattrib->mac_id); in update_txdesc()
253 ptxdesc->txdw5 |= cpu_to_le32(data_rate & 0x3F); in update_txdesc()
/kernel/linux/linux-5.10/include/uapi/linux/
Dsynclink.h165 unsigned long data_rate; /* bits per second */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dsynclink.h137 unsigned long data_rate; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dsynclink.h146 unsigned long data_rate; member

123