Home
last modified time | relevance | path

Searched refs:bitrate (Results 1 – 25 of 211) sorted by relevance

123456789

/kernel/linux/linux-5.10/drivers/staging/vt6656/
Dchannel.c29 { .bitrate = 10, .hw_value = RATE_1M },
30 { .bitrate = 20, .hw_value = RATE_2M },
31 { .bitrate = 55, .hw_value = RATE_5M },
32 { .bitrate = 110, .hw_value = RATE_11M },
33 { .bitrate = 60, .hw_value = RATE_6M },
34 { .bitrate = 90, .hw_value = RATE_9M },
35 { .bitrate = 120, .hw_value = RATE_12M },
36 { .bitrate = 180, .hw_value = RATE_18M },
37 { .bitrate = 240, .hw_value = RATE_24M },
38 { .bitrate = 360, .hw_value = RATE_36M },
[all …]
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Dchannel.c16 { .bitrate = 10, .hw_value = RATE_1M },
17 { .bitrate = 20, .hw_value = RATE_2M },
18 { .bitrate = 55, .hw_value = RATE_5M },
19 { .bitrate = 110, .hw_value = RATE_11M },
20 { .bitrate = 60, .hw_value = RATE_6M },
21 { .bitrate = 90, .hw_value = RATE_9M },
22 { .bitrate = 120, .hw_value = RATE_12M },
23 { .bitrate = 180, .hw_value = RATE_18M },
24 { .bitrate = 240, .hw_value = RATE_24M },
25 { .bitrate = 360, .hw_value = RATE_36M },
[all …]
/kernel/linux/linux-5.10/drivers/net/hamradio/
Dyam.c98 int bitrate; member
137 int bitrate; member
337 static unsigned char *add_mcs(unsigned char *bits, int bitrate, in add_mcs() argument
381 if (p->bitrate == bitrate) { in add_mcs()
394 p->bitrate = bitrate; in add_mcs()
402 static unsigned char *get_mcs(int bitrate) in get_mcs() argument
408 if (p->bitrate == bitrate) in get_mcs()
414 switch (bitrate) { in get_mcs()
417 return add_mcs(NULL, bitrate, YAM_1200); in get_mcs()
420 return add_mcs(NULL, bitrate, YAM_9600); in get_mcs()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dxmit.c38 b43_tx_legacy_rate_phy_ctl_ent(u8 bitrate) in b43_tx_legacy_rate_phy_ctl_ent() argument
45 if (e->bitrate == bitrate) in b43_tx_legacy_rate_phy_ctl_ent()
96 u8 b43_plcp_get_ratecode_cck(const u8 bitrate) in b43_plcp_get_ratecode_cck() argument
98 switch (bitrate) { in b43_plcp_get_ratecode_cck()
112 u8 b43_plcp_get_ratecode_ofdm(const u8 bitrate) in b43_plcp_get_ratecode_ofdm() argument
114 switch (bitrate) { in b43_plcp_get_ratecode_ofdm()
137 const u16 octets, const u8 bitrate) in b43_generate_plcp_hdr() argument
141 if (b43_is_ofdm_rate(bitrate)) { in b43_generate_plcp_hdr()
144 d = b43_plcp_get_ratecode_ofdm(bitrate); in b43_generate_plcp_hdr()
151 plen = octets * 16 / bitrate; in b43_generate_plcp_hdr()
[all …]
/kernel/linux/linux-5.10/drivers/net/can/dev/
Ddev.c121 unsigned int bitrate; /* current bitrate */ in can_calc_bittiming() local
136 if (bt->bitrate > 800000) in can_calc_bittiming()
138 else if (bt->bitrate > 500000) in can_calc_bittiming()
150 brp = priv->clock.freq / (tsegall * bt->bitrate) + tseg % 2; in can_calc_bittiming()
157 bitrate = priv->clock.freq / (brp * tsegall); in can_calc_bittiming()
158 bitrate_error = abs(bt->bitrate - bitrate); in can_calc_bittiming()
185 do_div(v64, bt->bitrate); in can_calc_bittiming()
224 bt->bitrate = priv->clock.freq / in can_calc_bittiming()
271 bt->bitrate = priv->clock.freq / (bt->brp * alltseg); in can_fixup_bittiming()
287 if (bt->bitrate == bitrate_const[i]) in can_validate_bitrate()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
Dxmit.c71 u8 b43legacy_plcp_get_ratecode_cck(const u8 bitrate) in b43legacy_plcp_get_ratecode_cck() argument
73 switch (bitrate) { in b43legacy_plcp_get_ratecode_cck()
87 u8 b43legacy_plcp_get_ratecode_ofdm(const u8 bitrate) in b43legacy_plcp_get_ratecode_ofdm() argument
89 switch (bitrate) { in b43legacy_plcp_get_ratecode_ofdm()
112 const u16 octets, const u8 bitrate) in b43legacy_generate_plcp_hdr() argument
117 if (b43legacy_is_ofdm_rate(bitrate)) { in b43legacy_generate_plcp_hdr()
120 d = b43legacy_plcp_get_ratecode_ofdm(bitrate); in b43legacy_generate_plcp_hdr()
127 plen = octets * 16 / bitrate; in b43legacy_generate_plcp_hdr()
128 if ((octets * 16 % bitrate) > 0) { in b43legacy_generate_plcp_hdr()
130 if ((bitrate == B43legacy_CCK_RATE_11MB) in b43legacy_generate_plcp_hdr()
[all …]
/kernel/linux/linux-5.10/drivers/net/can/usb/
Dmcba_usb.c133 __be16 bitrate; member
398 static void mcba_usb_xmit_change_bitrate(struct mcba_priv *priv, u16 bitrate) in mcba_usb_xmit_change_bitrate() argument
404 put_unaligned_be16(bitrate, &usb_msg.bitrate); in mcba_usb_xmit_change_bitrate()
484 const u32 bitrate = get_unaligned_be16(&msg->can_bitrate); in convert_can2host_bitrate() local
486 if ((bitrate == 33) || (bitrate == 83)) in convert_can2host_bitrate()
487 return bitrate * 1000 + 333; in convert_can2host_bitrate()
489 return bitrate * 1000; in convert_can2host_bitrate()
503 const u32 bitrate = convert_can2host_bitrate(msg); in mcba_usb_process_ka_can() local
507 if (bitrate != priv->can.bittiming.bitrate) in mcba_usb_process_ka_can()
511 bitrate, priv->can.bittiming.bitrate); in mcba_usb_process_ka_can()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
Deeprom.c30 { .bitrate = 10, .hw_value = 0, },
31 { .bitrate = 20, .hw_value = 1, .flags = IEEE80211_RATE_SHORT_PREAMBLE },
32 { .bitrate = 55, .hw_value = 2, .flags = IEEE80211_RATE_SHORT_PREAMBLE },
33 { .bitrate = 110, .hw_value = 3, .flags = IEEE80211_RATE_SHORT_PREAMBLE },
34 { .bitrate = 60, .hw_value = 4, },
35 { .bitrate = 90, .hw_value = 5, },
36 { .bitrate = 120, .hw_value = 6, },
37 { .bitrate = 180, .hw_value = 7, },
38 { .bitrate = 240, .hw_value = 8, },
39 { .bitrate = 360, .hw_value = 9, },
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-sirf.c275 int bitrate; in i2c_sirfsoc_probe() local
351 "clock-frequency", &bitrate); in i2c_sirfsoc_probe()
353 bitrate = I2C_MAX_STANDARD_MODE_FREQ; in i2c_sirfsoc_probe()
372 if (bitrate <= 30000) in i2c_sirfsoc_probe()
373 regval = ctrl_speed / (bitrate * 5); in i2c_sirfsoc_probe()
374 else if (bitrate > 30000 && bitrate <= 280000) in i2c_sirfsoc_probe()
375 regval = (2 * ctrl_speed) / (bitrate * 11); in i2c_sirfsoc_probe()
377 regval = ctrl_speed / (bitrate * 6); in i2c_sirfsoc_probe()
Di2c-imx-lpi2c.c105 unsigned int bitrate; member
146 unsigned int bitrate = lpi2c_imx->bitrate; in lpi2c_imx_set_mode() local
149 if (bitrate < I2C_MAX_FAST_MODE_FREQ) in lpi2c_imx_set_mode()
151 else if (bitrate < I2C_MAX_FAST_MODE_PLUS_FREQ) in lpi2c_imx_set_mode()
153 else if (bitrate < I2C_MAX_HIGH_SPEED_MODE_FREQ) in lpi2c_imx_set_mode()
155 else if (bitrate < I2C_MAX_ULTRA_FAST_MODE_FREQ) in lpi2c_imx_set_mode()
217 clk_cycle = clk_rate / ((1 << prescale) * lpi2c_imx->bitrate) in lpi2c_imx_config()
571 "clock-frequency", &lpi2c_imx->bitrate); in lpi2c_imx_probe()
573 lpi2c_imx->bitrate = I2C_MAX_STANDARD_MODE_FREQ; in lpi2c_imx_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
Dhw.h30 int orinoco_get_bitratemode(int bitrate, int automatic);
31 void orinoco_get_ratemode_cfg(int ratemode, int *bitrate, int *automatic);
36 int orinoco_hw_get_act_bitrate(struct orinoco_private *priv, int *bitrate);
Dhw.c29 int bitrate; /* in 100s of kilobits */ member
430 int orinoco_get_bitratemode(int bitrate, int automatic) in orinoco_get_bitratemode() argument
435 if ((bitrate != 10) && (bitrate != 20) && in orinoco_get_bitratemode()
436 (bitrate != 55) && (bitrate != 110)) in orinoco_get_bitratemode()
440 if ((bitrate_table[i].bitrate == bitrate) && in orinoco_get_bitratemode()
449 void orinoco_get_ratemode_cfg(int ratemode, int *bitrate, int *automatic) in orinoco_get_ratemode_cfg() argument
453 *bitrate = bitrate_table[ratemode].bitrate * 100000; in orinoco_get_ratemode_cfg()
738 int orinoco_hw_get_act_bitrate(struct orinoco_private *priv, int *bitrate) in orinoco_hw_get_act_bitrate() argument
758 *bitrate = 5500000; in orinoco_hw_get_act_bitrate()
760 *bitrate = val * 1000000; in orinoco_hw_get_act_bitrate()
[all …]
/kernel/linux/linux-5.10/drivers/staging/ks7010/
Dks_wlan_net.c404 if (vwrq->bitrate.fixed == 1) { in ks_wlan_set_rate()
405 switch (vwrq->bitrate.value) { in ks_wlan_set_rate()
409 (u8)(vwrq->bitrate.value / 500000); in ks_wlan_set_rate()
414 ((u8)(vwrq->bitrate.value / 500000)) | in ks_wlan_set_rate()
423 if (vwrq->bitrate.value > 0) { in ks_wlan_set_rate()
424 switch (vwrq->bitrate.value) { in ks_wlan_set_rate()
461 if (vwrq->bitrate.fixed == 1) { in ks_wlan_set_rate()
462 switch (vwrq->bitrate.value) { in ks_wlan_set_rate()
469 (u8)(vwrq->bitrate.value / 500000); in ks_wlan_set_rate()
479 ((u8)(vwrq->bitrate.value / 500000)) | in ks_wlan_set_rate()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/
Dvirt_wifi.c34 { .bitrate = 10 },
35 { .bitrate = 20 },
36 { .bitrate = 55 },
37 { .bitrate = 110 },
38 { .bitrate = 60 },
39 { .bitrate = 120 },
40 { .bitrate = 240 },
73 { .bitrate = 60 },
74 { .bitrate = 120 },
75 { .bitrate = 240 },
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dcfg80211.c19 {.bitrate = 10, .hw_value = 2, },
20 {.bitrate = 20, .hw_value = 4, },
21 {.bitrate = 55, .hw_value = 11, },
22 {.bitrate = 110, .hw_value = 22, },
23 {.bitrate = 60, .hw_value = 12, },
24 {.bitrate = 90, .hw_value = 18, },
25 {.bitrate = 120, .hw_value = 24, },
26 {.bitrate = 180, .hw_value = 36, },
27 {.bitrate = 240, .hw_value = 48, },
28 {.bitrate = 360, .hw_value = 72, },
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/
Dmain.c45 { .bitrate = 10,
47 { .bitrate = 20,
50 { .bitrate = 55,
53 { .bitrate = 110,
56 { .bitrate = 60,
59 { .bitrate = 90,
62 { .bitrate = 120,
65 { .bitrate = 180,
68 { .bitrate = 240,
71 { .bitrate = 360,
[all …]
/kernel/linux/linux-5.10/sound/spi/
DKconfig28 int "Target bitrate for AT73C213"
33 Sets the target bitrate for the bitrate calculator in the driver.
/kernel/linux/linux-5.10/net/mac80211/
Drc80211_minstrel_debugfs.c87 p += sprintf(p, " %3u%s ", mr->bitrate / 2, in minstrel_stats_open()
88 (mr->bitrate & 1 ? ".5" : " ")); in minstrel_stats_open()
144 p += sprintf(p, ",%u%s", mr->bitrate / 2, in minstrel_stats_csv_open()
145 (mr->bitrate & 1 ? ".5," : ",")); in minstrel_stats_csv_open()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-parse.c180 { .bitrate = 1 * 10, .hw_value = 0, .hw_value_short = 0, },
181 { .bitrate = 2 * 10, .hw_value = 1, .hw_value_short = 1,
183 { .bitrate = 5.5 * 10, .hw_value = 2, .hw_value_short = 2,
185 { .bitrate = 11 * 10, .hw_value = 3, .hw_value_short = 3,
187 { .bitrate = 6 * 10, .hw_value = 4, .hw_value_short = 4, },
188 { .bitrate = 9 * 10, .hw_value = 5, .hw_value_short = 5, },
189 { .bitrate = 12 * 10, .hw_value = 6, .hw_value_short = 6, },
190 { .bitrate = 18 * 10, .hw_value = 7, .hw_value_short = 7, },
191 { .bitrate = 24 * 10, .hw_value = 8, .hw_value_short = 8, },
192 { .bitrate = 36 * 10, .hw_value = 9, .hw_value_short = 9, },
[all …]
/kernel/linux/linux-5.10/include/linux/
Dyam.h48 unsigned int bitrate; /* Bit rate of radio port */ member
65 unsigned int bitrate; member
/kernel/linux/linux-5.10/net/wireless/
Dutil.c29 u32 basic_rates, int bitrate) in ieee80211_get_response_rate() argument
37 if (sband->bitrates[i].bitrate > bitrate) in ieee80211_get_response_rate()
201 if (sband->bitrates[i].bitrate == 60 || in set_mandatory_flags_band()
202 sband->bitrates[i].bitrate == 120 || in set_mandatory_flags_band()
203 sband->bitrates[i].bitrate == 240) { in set_mandatory_flags_band()
214 switch (sband->bitrates[i].bitrate) { in set_mandatory_flags_band()
1124 int modulation, streams, bitrate; in cfg80211_calculate_bitrate_ht() local
1133 bitrate = (rate->bw == RATE_INFO_BW_40) ? 13500000 : 6500000; in cfg80211_calculate_bitrate_ht()
1136 bitrate *= (modulation + 1); in cfg80211_calculate_bitrate_ht()
1138 bitrate *= (modulation + 2); in cfg80211_calculate_bitrate_ht()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Dpcu.c118 int bitrate, bits, symbols, symbol_bits; in ath5k_hw_get_frame_duration() local
134 bitrate = rate->bitrate; in ath5k_hw_get_frame_duration()
148 bitrate = DIV_ROUND_UP(bitrate, 2); in ath5k_hw_get_frame_duration()
154 bitrate = DIV_ROUND_UP(bitrate, 4); in ath5k_hw_get_frame_duration()
163 symbol_bits = bitrate * sym_time; in ath5k_hw_get_frame_duration()
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
Dhva-debugfs.c53 ctrls->bitrate, in format_ctx()
123 u32 bitrate; in hva_dbg_perf_begin() local
154 bitrate = (u32)div; in hva_dbg_perf_begin()
155 dbg->last_bitrate = bitrate; in hva_dbg_perf_begin()
156 dbg->min_bitrate = min(bitrate, in hva_dbg_perf_begin()
158 dbg->max_bitrate = max(bitrate, in hva_dbg_perf_begin()
/kernel/linux/linux-5.10/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-msg-format.h71 u32 bitrate; /* Bitrate in bits per second */ member
97 u32 bitrate; /* Bitrate in bits per second */ member
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
Dddbridge-ci.c315 .bitrate = 72000,
321 static int ci_cxd2099_attach(struct ddb_port *port, u32 bitrate) in ci_cxd2099_attach() argument
326 cxd_cfg.bitrate = bitrate; in ci_cxd2099_attach()
343 int ddb_ci_attach(struct ddb_port *port, u32 bitrate) in ddb_ci_attach() argument
349 ret = ci_cxd2099_attach(port, bitrate); in ddb_ci_attach()

123456789