/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | init.c | 280 u8 rate_val; in mt7615_init_txpower() local 283 rate_val = eep[delta_idx]; in mt7615_init_txpower() 284 if ((rate_val & ~MT_EE_RATE_POWER_MASK) == in mt7615_init_txpower() 286 delta += rate_val & MT_EE_RATE_POWER_MASK; in mt7615_init_txpower()
|
/linux/sound/soc/codecs/ |
H A D | lpass-wsa-macro.c | 346 int rate_val; member 1246 int rate_val = 0; in wsa_macro_set_interpolator_rate() local 1252 rate_val = int_mix_sample_rate_val[i].rate_val; in wsa_macro_set_interpolator_rate() 1256 if ((i == ARRAY_SIZE(int_mix_sample_rate_val)) || (rate_val < 0)) in wsa_macro_set_interpolator_rate() 1259 ret = wsa_macro_set_mix_interpolator_rate(dai, (u8) rate_val, sample_rate); in wsa_macro_set_interpolator_rate() 1266 rate_val = int_prim_sample_rate_val[i].rate_val; in wsa_macro_set_interpolator_rate() 1270 if ((i == ARRAY_SIZE(int_prim_sample_rate_val)) || (rate_val < 0)) in wsa_macro_set_interpolator_rate() 1273 ret = wsa_macro_set_prim_interpolator_rate(dai, (u8) rate_val, sample_rate); in wsa_macro_set_interpolator_rate()
|
H A D | wcd934x.c | 481 int rate_val; member 1501 u8 rate_val, u32 rate) in wcd934x_set_prim_interpolator_rate() argument 1549 rate_val); in wcd934x_set_prim_interpolator_rate() 1558 int rate_val, u32 rate) in wcd934x_set_mix_interpolator_rate() argument 1580 (rate_val < 0x4 || in wcd934x_set_mix_interpolator_rate() 1581 rate_val > 0x7)) { in wcd934x_set_mix_interpolator_rate() 1591 rate_val); in wcd934x_set_mix_interpolator_rate() 1602 int rate_val = 0; in wcd934x_set_interpolator_rate() local 1607 rate_val = sr_val_tbl[i].rate_val; in wcd934x_set_interpolator_rate() 1611 if ((i == ARRAY_SIZE(sr_val_tbl)) || (rate_val < 0)) { in wcd934x_set_interpolator_rate() [all …]
|
H A D | wm8995.c | 1556 int i, rate_val, best, best_val, cur_val; in wm8995_hw_params() local 1622 rate_val = i << WM8995_AIF1_SR_SHIFT; in wm8995_hw_params() 1640 rate_val |= best; in wm8995_hw_params() 1677 WM8995_AIF1CLK_RATE_MASK, rate_val); in wm8995_hw_params()
|
H A D | wcd9335.c | 393 int rate_val; member 1609 int rate_val, in wcd9335_set_mix_interpolator_rate() argument 1627 rate_val); in wcd9335_set_mix_interpolator_rate() 1635 u8 rate_val, in wcd9335_set_prim_interpolator_rate() argument 1674 rate_val); in wcd9335_set_prim_interpolator_rate() 1690 int_mix_rate_val[i].rate_val, rate); in wcd9335_set_interpolator_rate() 1699 int_prim_rate_val[i].rate_val, rate); in wcd9335_set_interpolator_rate() 1787 u8 rate_val, u32 rate) in wcd9335_set_decimator_rate() argument 1848 rate_val); in wcd9335_set_decimator_rate()
|
H A D | arizona.h | 365 const char *arizona_sample_rate_val_to_name(unsigned int rate_val);
|
H A D | lpass-rx-macro.c | 612 int rate_val; member 1801 int rate_val = 0; in rx_macro_set_interpolator_rate() local 1806 rate_val = sr_val_tbl[i].rate_val; in rx_macro_set_interpolator_rate() 1808 ret = rx_macro_set_prim_interpolator_rate(dai, rate_val, sample_rate); in rx_macro_set_interpolator_rate() 1812 ret = rx_macro_set_mix_interpolator_rate(dai, rate_val, sample_rate); in rx_macro_set_interpolator_rate()
|
H A D | wm8994.c | 2926 int rate_val = 0; in wm8994_hw_params() local 3007 rate_val |= srs[i].val << WM8994_AIF1_SR_SHIFT; in wm8994_hw_params() 3036 rate_val |= best; in wm8994_hw_params() 3070 WM8994_AIF1CLK_RATE_MASK, rate_val); in wm8994_hw_params()
|
H A D | arizona.c | 619 const char *arizona_sample_rate_val_to_name(unsigned int rate_val) in arizona_sample_rate_val_to_name() argument 624 if (arizona_sample_rate_val[i] == rate_val) in arizona_sample_rate_val_to_name()
|
/linux/drivers/iio/addac/ |
H A D | ad74115.c | 954 unsigned int i, en_val, step_val, rate_val, tmp; in ad74115_get_dac_rate() local 963 rate_val = FIELD_GET(AD74115_OUTPUT_SLEW_LIN_RATE_MASK, tmp); in ad74115_get_dac_rate() 968 rate_val == ad74115_dac_rate_step_tbl[i][2]) in ad74115_get_dac_rate() 981 unsigned int i, en_val, step_val, rate_val, mask, tmp; in ad74115_set_dac_rate() local 990 rate_val = ad74115_dac_rate_step_tbl[i][2]; in ad74115_set_dac_rate() 998 tmp |= FIELD_PREP(AD74115_OUTPUT_SLEW_LIN_RATE_MASK, rate_val); in ad74115_set_dac_rate()
|
/linux/include/linux/mlx4/ |
H A D | qp.h | 471 u16 rate_val; member
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | qp.c | 492 cmd->qp_context.rate_limit_params = cpu_to_be16((params->rate_unit << 14) | params->rate_val); in mlx4_update_qp()
|
H A D | en_netdev.c | 2717 params.rate_val = maxrate / 1000; in mlx4_en_set_tx_maxrate() 2720 params.rate_val = maxrate; in mlx4_en_set_tx_maxrate() 2723 params.rate_val = 0; in mlx4_en_set_tx_maxrate()
|