/linux-6.3-rc2/drivers/staging/vt6656/ |
A 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-6.3-rc2/drivers/staging/vt6655/ |
A 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-6.3-rc2/drivers/net/can/dev/ |
A 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()
|
A 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()
|
A 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-6.3-rc2/drivers/net/hamradio/ |
A D | yam.c | 98 int bitrate; member 137 int bitrate; member 381 if (p->bitrate == bitrate) { in add_mcs() 394 p->bitrate = bitrate; in add_mcs() 408 if (p->bitrate == bitrate) in get_mcs() 414 switch (bitrate) { in get_mcs() 434 pbits = get_mcs(bitrate); in fpga_download() 843 if (!yp->bitrate) in yam_open() 992 yp->bitrate = yi.cfg.bitrate; in yam_siocdevprivate() 1037 yi.cfg.bitrate = yp->bitrate; in yam_siocdevprivate() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/ |
A 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() 98 switch (bitrate) { in b43_plcp_get_ratecode_cck() 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() 152 if ((octets * 16 % bitrate) > 0) { in b43_generate_plcp_hdr() 154 if ((bitrate == B43_CCK_RATE_11MB) in b43_generate_plcp_hdr() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43legacy/ |
A 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() 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() 142 static u8 b43legacy_calc_fallback_rate(u8 bitrate) in b43legacy_calc_fallback_rate() argument [all …]
|
/linux-6.3-rc2/drivers/net/can/usb/ |
A 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-6.3-rc2/drivers/net/wireless/intersil/p54/ |
A D | eeprom.c | 30 { .bitrate = 10, .hw_value = 0, }, 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, }, 45 { .bitrate = 60, .hw_value = 4, }, 46 { .bitrate = 90, .hw_value = 5, }, 47 { .bitrate = 120, .hw_value = 6, }, [all …]
|
/linux-6.3-rc2/drivers/staging/ks7010/ |
A D | ks_wlan_net.c | 943 range->bitrate[0] = 1e6; in ks_wlan_get_range() 944 range->bitrate[1] = 2e6; in ks_wlan_get_range() 945 range->bitrate[2] = 5.5e6; in ks_wlan_get_range() 946 range->bitrate[3] = 11e6; in ks_wlan_get_range() 949 range->bitrate[0] = 1e6; in ks_wlan_get_range() 950 range->bitrate[1] = 2e6; in ks_wlan_get_range() 952 range->bitrate[3] = 11e6; in ks_wlan_get_range() 954 range->bitrate[4] = 6e6; in ks_wlan_get_range() 955 range->bitrate[5] = 9e6; in ks_wlan_get_range() 956 range->bitrate[6] = 12e6; in ks_wlan_get_range() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/ |
A 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);
|
A 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-6.3-rc2/drivers/net/wireless/ |
A 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-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/ |
A 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, }, 35 {.bitrate = 60, .hw_value = 12, }, [all …]
|
/linux-6.3-rc2/drivers/net/wireless/marvell/libertas_tf/ |
A 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-6.3-rc2/drivers/net/wireless/purelifi/plfxlc/ |
A 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-6.3-rc2/sound/spi/ |
A D | Kconfig | 28 int "Target bitrate for AT73C213" 33 Sets the target bitrate for the bitrate calculator in the driver.
|
/linux-6.3-rc2/drivers/i2c/busses/ |
A D | i2c-imx-lpi2c.c | 106 unsigned int bitrate; member 147 unsigned int bitrate = lpi2c_imx->bitrate; in lpi2c_imx_set_mode() local 150 if (bitrate < I2C_MAX_FAST_MODE_FREQ) in lpi2c_imx_set_mode() 152 else if (bitrate < I2C_MAX_FAST_MODE_PLUS_FREQ) in lpi2c_imx_set_mode() 154 else if (bitrate < I2C_MAX_HIGH_SPEED_MODE_FREQ) in lpi2c_imx_set_mode() 156 else if (bitrate < I2C_MAX_ULTRA_FAST_MODE_FREQ) in lpi2c_imx_set_mode() 218 clk_cycle = clk_rate / ((1 << prescale) * lpi2c_imx->bitrate) in lpi2c_imx_config() 573 "clock-frequency", &lpi2c_imx->bitrate); in lpi2c_imx_probe() 575 lpi2c_imx->bitrate = I2C_MAX_STANDARD_MODE_FREQ; in lpi2c_imx_probe()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/ |
A 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-6.3-rc2/include/linux/ |
A D | yam.h | 48 unsigned int bitrate; /* Bit rate of radio port */ member 65 unsigned int bitrate; member
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath5k/ |
A 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-6.3-rc2/drivers/media/platform/st/sti/hva/ |
A 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-6.3-rc2/drivers/staging/vc04_services/vchiq-mmal/ |
A D | mmal-msg-format.h | 73 u32 bitrate; /* Bitrate in bits per second */ member 99 u32 bitrate; /* Bitrate in bits per second */ member
|
/linux-6.3-rc2/drivers/media/pci/ddbridge/ |
A 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()
|