Home
last modified time | relevance | path

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

1234567

/drivers/staging/vt6656/
Dchannel.c27 { .bitrate = 10, .hw_value = RATE_1M },
28 { .bitrate = 20, .hw_value = RATE_2M },
29 { .bitrate = 55, .hw_value = RATE_5M },
30 { .bitrate = 110, .hw_value = RATE_11M },
31 { .bitrate = 60, .hw_value = RATE_6M },
32 { .bitrate = 90, .hw_value = RATE_9M },
33 { .bitrate = 120, .hw_value = RATE_12M },
34 { .bitrate = 180, .hw_value = RATE_18M },
35 { .bitrate = 240, .hw_value = RATE_24M },
36 { .bitrate = 360, .hw_value = RATE_36M },
[all …]
/drivers/staging/vt6655/
Dchannel.c14 { .bitrate = 10, .hw_value = RATE_1M },
15 { .bitrate = 20, .hw_value = RATE_2M },
16 { .bitrate = 55, .hw_value = RATE_5M },
17 { .bitrate = 110, .hw_value = RATE_11M },
18 { .bitrate = 60, .hw_value = RATE_6M },
19 { .bitrate = 90, .hw_value = RATE_9M },
20 { .bitrate = 120, .hw_value = RATE_12M },
21 { .bitrate = 180, .hw_value = RATE_18M },
22 { .bitrate = 240, .hw_value = RATE_24M },
23 { .bitrate = 360, .hw_value = RATE_36M },
[all …]
/drivers/net/can/dev/
Dbittiming.c69 unsigned int bitrate; /* current bitrate */ in can_calc_bittiming() local
84 if (bt->bitrate > 800 * CAN_KBPS) in can_calc_bittiming()
86 else if (bt->bitrate > 500 * CAN_KBPS) in can_calc_bittiming()
98 brp = priv->clock.freq / (tsegall * bt->bitrate) + tseg % 2; in can_calc_bittiming()
105 bitrate = priv->clock.freq / (brp * tsegall); in can_calc_bittiming()
106 bitrate_error = abs(bt->bitrate - bitrate); in can_calc_bittiming()
133 do_div(v64, bt->bitrate); in can_calc_bittiming()
172 bt->bitrate = priv->clock.freq / in can_calc_bittiming()
236 bt->bitrate = priv->clock.freq / (bt->brp * alltseg); in can_fixup_bittiming()
252 if (bt->bitrate == bitrate_const[i]) in can_validate_bitrate()
[all …]
Dnetlink.c91 if (priv->bitrate_max && bt.bitrate > priv->bitrate_max) { in can_changelink()
186 if (priv->bitrate_max && dbt.bitrate > priv->bitrate_max) { in can_changelink()
236 if (priv->bittiming.bitrate) /* IFLA_CAN_BITTIMING */ in can_get_size()
246 if (priv->data_bittiming.bitrate) /* IFLA_CAN_DATA_BITTIMING */ in can_get_size()
276 if ((priv->bittiming.bitrate && in can_fill_info()
293 (priv->data_bittiming.bitrate && in can_fill_info()
/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 …]
/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 …]
Dxmit.h95 u8 bitrate; member
351 u8 b43_plcp_get_ratecode_cck(const u8 bitrate);
352 u8 b43_plcp_get_ratecode_ofdm(const u8 bitrate);
355 const u16 octets, const u8 bitrate);
/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 …]
Dxmit.h192 u8 b43legacy_plcp_get_ratecode_cck(const u8 bitrate);
193 u8 b43legacy_plcp_get_ratecode_ofdm(const u8 bitrate);
196 const u16 octets, const u8 bitrate);
/drivers/net/can/usb/
Dmcba_usb.c135 __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 …]
/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 …]
/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 …]
/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 …]
/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 …]
/drivers/i2c/busses/
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()
577 "clock-frequency", &lpi2c_imx->bitrate); in lpi2c_imx_probe()
579 lpi2c_imx->bitrate = I2C_MAX_STANDARD_MODE_FREQ; in lpi2c_imx_probe()
/drivers/net/wireless/
Dvirt_wifi.c36 { .bitrate = 10 },
37 { .bitrate = 20 },
38 { .bitrate = 55 },
39 { .bitrate = 110 },
40 { .bitrate = 60 },
41 { .bitrate = 120 },
42 { .bitrate = 240 },
75 { .bitrate = 60 },
76 { .bitrate = 120 },
77 { .bitrate = 240 },
/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-parse.c125 { .bitrate = 1 * 10, .hw_value = 0, .hw_value_short = 0, },
126 { .bitrate = 2 * 10, .hw_value = 1, .hw_value_short = 1,
128 { .bitrate = 5.5 * 10, .hw_value = 2, .hw_value_short = 2,
130 { .bitrate = 11 * 10, .hw_value = 3, .hw_value_short = 3,
132 { .bitrate = 6 * 10, .hw_value = 4, .hw_value_short = 4, },
133 { .bitrate = 9 * 10, .hw_value = 5, .hw_value_short = 5, },
134 { .bitrate = 12 * 10, .hw_value = 6, .hw_value_short = 6, },
135 { .bitrate = 18 * 10, .hw_value = 7, .hw_value_short = 7, },
136 { .bitrate = 24 * 10, .hw_value = 8, .hw_value_short = 8, },
137 { .bitrate = 36 * 10, .hw_value = 9, .hw_value_short = 9, },
[all …]
/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 …]
Dcfg.c15 { .bitrate = 10 },
16 { .bitrate = 20 },
17 { .bitrate = 55 },
18 { .bitrate = 110 },
/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()
/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()
/drivers/net/wireless/ralink/rt2x00/
Drt2x00dev.c716 (rate->bitrate == signal)) || in rt2x00lib_rxdone_read_signal()
882 .bitrate = 10,
889 .bitrate = 20,
896 .bitrate = 55,
903 .bitrate = 110,
910 .bitrate = 60,
917 .bitrate = 90,
924 .bitrate = 120,
931 .bitrate = 180,
938 .bitrate = 240,
[all …]
/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()
/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

1234567