/Linux-v6.6/drivers/staging/vt6656/ |
D | channel.c | 27 { .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 …]
|
/Linux-v6.6/drivers/staging/vt6655/ |
D | channel.c | 14 { .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 …]
|
/Linux-v6.6/drivers/net/can/dev/ |
D | calc_bittiming.c | 69 unsigned int bitrate; /* current bitrate */ in can_calc_bittiming() local 85 if (bt->bitrate > 800 * KILO /* BPS */) in can_calc_bittiming() 87 else if (bt->bitrate > 500 * KILO /* BPS */) in can_calc_bittiming() 99 brp = priv->clock.freq / (tsegall * bt->bitrate) + tseg % 2; in can_calc_bittiming() 106 bitrate = priv->clock.freq / (brp * tsegall); in can_calc_bittiming() 107 bitrate_error = abs(bt->bitrate - bitrate); in can_calc_bittiming() 134 do_div(v64, bt->bitrate); in can_calc_bittiming() 168 bt->bitrate = priv->clock.freq / in can_calc_bittiming()
|
D | bittiming.c | 105 bt->bitrate = priv->clock.freq / (bt->brp * can_bit_time(bt)); in can_fixup_bittiming() 123 if (bt->bitrate == bitrate_const[i]) in can_validate_bitrate() 144 if (!bt->tq && bt->bitrate && btc) in can_get_bittiming() 146 if (bt->tq && !bt->bitrate && btc) in can_get_bittiming() 148 if (!bt->tq && bt->bitrate && bitrate_const) in can_get_bittiming()
|
D | netlink.c | 223 if (priv->bitrate_max && bt.bitrate > priv->bitrate_max) { in can_changelink() 226 bt.bitrate, priv->bitrate_max); in can_changelink() 329 if (priv->bitrate_max && dbt.bitrate > priv->bitrate_max) { in can_changelink() 332 dbt.bitrate, priv->bitrate_max); in can_changelink() 435 if (priv->bittiming.bitrate) /* IFLA_CAN_BITTIMING */ in can_get_size() 445 if (priv->data_bittiming.bitrate) /* IFLA_CAN_DATA_BITTIMING */ in can_get_size() 549 if ((priv->bittiming.bitrate != CAN_BITRATE_UNSET && in can_fill_info() 550 priv->bittiming.bitrate != CAN_BITRATE_UNKNOWN && in can_fill_info() 567 (priv->data_bittiming.bitrate && in can_fill_info()
|
/Linux-v6.6/drivers/net/hamradio/ |
D | yam.c | 98 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 …]
|
/Linux-v6.6/drivers/net/wireless/broadcom/b43/ |
D | xmit.c | 38 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 …]
|
/Linux-v6.6/drivers/net/wireless/broadcom/b43legacy/ |
D | xmit.c | 71 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 …]
|
/Linux-v6.6/drivers/net/can/usb/ |
D | mcba_usb.c | 134 __be16 bitrate; member 392 static void mcba_usb_xmit_change_bitrate(struct mcba_priv *priv, u16 bitrate) in mcba_usb_xmit_change_bitrate() argument 398 put_unaligned_be16(bitrate, &usb_msg.bitrate); in mcba_usb_xmit_change_bitrate() 478 const u32 bitrate = get_unaligned_be16(&msg->can_bitrate); in convert_can2host_bitrate() local 480 if ((bitrate == 33) || (bitrate == 83)) in convert_can2host_bitrate() 481 return bitrate * 1000 + 333; in convert_can2host_bitrate() 483 return bitrate * 1000; in convert_can2host_bitrate() 497 const u32 bitrate = convert_can2host_bitrate(msg); in mcba_usb_process_ka_can() local 501 if (bitrate != priv->can.bittiming.bitrate) in mcba_usb_process_ka_can() 505 bitrate, priv->can.bittiming.bitrate); in mcba_usb_process_ka_can() [all …]
|
/Linux-v6.6/drivers/net/wireless/intersil/p54/ |
D | eeprom.c | 30 { .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 …]
|
/Linux-v6.6/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 403 if (vwrq->bitrate.fixed == 1) { in ks_wlan_set_rate() 404 switch (vwrq->bitrate.value) { in ks_wlan_set_rate() 408 (u8)(vwrq->bitrate.value / 500000); in ks_wlan_set_rate() 413 ((u8)(vwrq->bitrate.value / 500000)) | in ks_wlan_set_rate() 422 if (vwrq->bitrate.value > 0) { in ks_wlan_set_rate() 423 switch (vwrq->bitrate.value) { in ks_wlan_set_rate() 460 if (vwrq->bitrate.fixed == 1) { in ks_wlan_set_rate() 461 switch (vwrq->bitrate.value) { in ks_wlan_set_rate() 468 (u8)(vwrq->bitrate.value / 500000); in ks_wlan_set_rate() 478 ((u8)(vwrq->bitrate.value / 500000)) | in ks_wlan_set_rate() [all …]
|
/Linux-v6.6/drivers/net/wireless/intersil/orinoco/ |
D | hw.h | 30 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);
|
D | hw.c | 29 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 …]
|
/Linux-v6.6/drivers/net/wireless/virtual/ |
D | virt_wifi.c | 34 { .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 },
|
/Linux-v6.6/drivers/net/wireless/quantenna/qtnfmac/ |
D | cfg80211.c | 19 {.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 …]
|
/Linux-v6.6/drivers/net/wireless/marvell/libertas_tf/ |
D | main.c | 45 { .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 …]
|
/Linux-v6.6/drivers/net/wireless/purelifi/plfxlc/ |
D | mac.c | 19 { .bitrate = 10, 22 { .bitrate = 20, 27 { .bitrate = 55, 32 { .bitrate = 110, 37 { .bitrate = 60, 40 { .bitrate = 90, 43 { .bitrate = 120, 46 { .bitrate = 180, 49 { .bitrate = 240, 52 { .bitrate = 360, [all …]
|
/Linux-v6.6/sound/spi/ |
D | Kconfig | 28 int "Target bitrate for AT73C213" 33 Sets the target bitrate for the bitrate calculator in the driver.
|
/Linux-v6.6/net/wireless/ |
D | util.c | 29 u32 basic_rates, int bitrate) in ieee80211_get_response_rate() argument 37 if (sband->bitrates[i].bitrate > bitrate) in ieee80211_get_response_rate() 202 if (sband->bitrates[i].bitrate == 60 || in set_mandatory_flags_band() 203 sband->bitrates[i].bitrate == 120 || in set_mandatory_flags_band() 204 sband->bitrates[i].bitrate == 240) { in set_mandatory_flags_band() 216 switch (sband->bitrates[i].bitrate) { in set_mandatory_flags_band() 1215 int modulation, streams, bitrate; in cfg80211_calculate_bitrate_ht() local 1224 bitrate = (rate->bw == RATE_INFO_BW_40) ? 13500000 : 6500000; in cfg80211_calculate_bitrate_ht() 1227 bitrate *= (modulation + 1); in cfg80211_calculate_bitrate_ht() 1229 bitrate *= (modulation + 2); in cfg80211_calculate_bitrate_ht() [all …]
|
/Linux-v6.6/drivers/i2c/busses/ |
D | i2c-imx-lpi2c.c | 105 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() 220 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()
|
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-eeprom-parse.c | 126 { .bitrate = 1 * 10, .hw_value = 0, .hw_value_short = 0, }, 127 { .bitrate = 2 * 10, .hw_value = 1, .hw_value_short = 1, 129 { .bitrate = 5.5 * 10, .hw_value = 2, .hw_value_short = 2, 131 { .bitrate = 11 * 10, .hw_value = 3, .hw_value_short = 3, 133 { .bitrate = 6 * 10, .hw_value = 4, .hw_value_short = 4, }, 134 { .bitrate = 9 * 10, .hw_value = 5, .hw_value_short = 5, }, 135 { .bitrate = 12 * 10, .hw_value = 6, .hw_value_short = 6, }, 136 { .bitrate = 18 * 10, .hw_value = 7, .hw_value_short = 7, }, 137 { .bitrate = 24 * 10, .hw_value = 8, .hw_value_short = 8, }, 138 { .bitrate = 36 * 10, .hw_value = 9, .hw_value_short = 9, }, [all …]
|
/Linux-v6.6/drivers/net/wireless/ath/ath5k/ |
D | pcu.c | 118 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()
|
/Linux-v6.6/include/linux/ |
D | yam.h | 48 unsigned int bitrate; /* Bit rate of radio port */ member 65 unsigned int bitrate; member
|
/Linux-v6.6/drivers/media/platform/st/sti/hva/ |
D | hva-debugfs.c | 53 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()
|
/Linux-v6.6/drivers/media/pci/ddbridge/ |
D | ddbridge-ci.c | 306 .bitrate = 72000, 312 static int ci_cxd2099_attach(struct ddb_port *port, u32 bitrate) in ci_cxd2099_attach() argument 317 cxd_cfg.bitrate = bitrate; in ci_cxd2099_attach() 334 int ddb_ci_attach(struct ddb_port *port, u32 bitrate) in ddb_ci_attach() argument 340 ret = ci_cxd2099_attach(port, bitrate); in ddb_ci_attach()
|