Home
last modified time | relevance | path

Searched refs:_rate (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Ddef.h15 #define IS_HT_RATE(_rate) \ argument
16 (_rate >= DESC92C_RATEMCS0)
17 #define IS_CCK_RATE(_rate) \ argument
18 (_rate >= DESC92C_RATE1M && _rate <= DESC92C_RATE11M)
19 #define IS_OFDM_RATE(_rate) \ argument
20 (_rate >= DESC92C_RATE6M && _rate <= DESC92C_RATE54M)
/linux-6.6.21/drivers/clk/samsung/
Dclk-pll.h48 #define PLL_35XX_RATE(_fin, _rate, _m, _p, _s) \ argument
50 .rate = PLL_VALID_RATE(_fin, _rate, \
57 #define PLL_36XX_RATE(_fin, _rate, _m, _p, _s, _k) \ argument
59 .rate = PLL_VALID_RATE(_fin, _rate, \
67 #define PLL_4508_RATE(_fin, _rate, _m, _p, _s, _afc) \ argument
69 .rate = PLL_VALID_RATE(_fin, _rate, \
77 #define PLL_4600_RATE(_fin, _rate, _m, _p, _s, _k, _vsel) \ argument
79 .rate = PLL_VALID_RATE(_fin, _rate, \
88 #define PLL_4650_RATE(_fin, _rate, _m, _p, _s, _k, _mfr, _mrr, _vsel) \ argument
90 .rate = PLL_VALID_RATE(_fin, _rate, \
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Dieee80211.h397 #define IS_HT_RATE(_rate) (_rate >= MGN_MCS0 && _rate <= MGN_MCS31) argument
398 #define IS_CCK_RATE(_rate) (MGN_1M == _rate || _rate == MGN_2M || _rate == MGN_5_5M || _rate == … argument
399 #define IS_OFDM_RATE(_rate) (MGN_6M <= _rate && _rate <= MGN_54M && _rate != MGN_11M) argument
/linux-6.6.21/net/mac80211/
Drc80211_minstrel_ht.h69 #define MI_RATE_IDX(_rate) FIELD_GET(MI_RATE_IDX_MASK, _rate) argument
70 #define MI_RATE_GROUP(_rate) FIELD_GET(MI_RATE_GROUP_MASK, _rate) argument
/linux-6.6.21/drivers/clk/visconti/
Dpll.h24 #define VISCONTI_PLL_RATE(_rate, _dacen, _dsmen, \ argument
27 .rate = _rate, \
/linux-6.6.21/drivers/iio/imu/inv_icm42600/
Dinv_icm42600.h165 #define INV_ICM42600_DRIVE_CONFIG_I2C(_rate) \ argument
166 FIELD_PREP(INV_ICM42600_DRIVE_CONFIG_I2C_MASK, (_rate))
168 #define INV_ICM42600_DRIVE_CONFIG_SPI(_rate) \ argument
169 FIELD_PREP(INV_ICM42600_DRIVE_CONFIG_SPI_MASK, (_rate))
/linux-6.6.21/drivers/clk/imx/
Dclk-fracn-gppll.c46 #define PLL_FRACN_GP(_rate, _mfi, _mfn, _mfd, _rdiv, _odiv) \ argument
48 .rate = (_rate), \
56 #define PLL_FRACN_GP_INTEGER(_rate, _mfi, _rdiv, _odiv) \ argument
58 .rate = (_rate), \
Dclk.h263 #define PLL_1416X_RATE(_rate, _m, _p, _s) \ argument
265 .rate = (_rate), \
271 #define PLL_1443X_RATE(_rate, _m, _p, _s, _k) \ argument
273 .rate = (_rate), \
/linux-6.6.21/drivers/clk/renesas/
Drenesas-cpg-mssr.h57 #define DEF_RATE(_name, _id, _rate) \ argument
58 DEF_TYPE(_name, _id, CLK_TYPE_FR, .mult = _rate)
/linux-6.6.21/drivers/clk/rockchip/
Dclk.h292 #define RK3036_PLL_RATE(_rate, _refdiv, _fbdiv, _postdiv1, \ argument
295 .rate = _rate##U, \
304 #define RK3066_PLL_RATE(_rate, _nr, _nf, _no) \ argument
306 .rate = _rate##U, \
313 #define RK3066_PLL_RATE_NB(_rate, _nr, _nf, _no, _nb) \ argument
315 .rate = _rate##U, \
322 #define RK3588_PLL_RATE(_rate, _p, _m, _s, _k) \ argument
324 .rate = _rate##U, \
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/
Dnetdev.h91 #define RATETAB_ENT(_rate, _hw_value, _flags) { \ argument
92 .bitrate = (_rate), \
/linux-6.6.21/drivers/net/wireless/mediatek/mt7601u/
Dinit.c489 #define CCK_RATE(_idx, _rate) { \ argument
490 .bitrate = _rate, \
496 #define OFDM_RATE(_idx, _rate) { \ argument
497 .bitrate = _rate, \
/linux-6.6.21/drivers/clk/mediatek/
Dclk-mtk.h51 #define FIXED_CLK(_id, _name, _parent, _rate) { \ argument
55 .rate = _rate, \
/linux-6.6.21/drivers/clk/bcm/
Dclk-raspberrypi.c209 u32 _rate = rate; in raspberrypi_fw_set_rate() local
213 RPI_FIRMWARE_SET_CLOCK_RATE, &_rate); in raspberrypi_fw_set_rate()
/linux-6.6.21/drivers/iio/pressure/
Dms5611_core.c24 #define MS5611_INIT_OSR(_cmd, _conv_usec, _rate) \ argument
25 { .cmd = _cmd, .conv_usec = _conv_usec, .rate = _rate }
/linux-6.6.21/drivers/media/i2c/
Dov5640.c1404 unsigned long _rate; in ov5640_calc_sys_clk() local
1413 _rate = ov5640_compute_sys_clk(sensor, in ov5640_calc_sys_clk()
1421 if (!_rate) in ov5640_calc_sys_clk()
1428 if (_rate < rate) in ov5640_calc_sys_clk()
1431 if (abs(rate - _rate) < abs(rate - best)) { in ov5640_calc_sys_clk()
1432 best = _rate; in ov5640_calc_sys_clk()
1437 if (_rate == rate) in ov5640_calc_sys_clk()
1567 unsigned long _rate = rate * OV5640_PLL_ROOT_DIV * OV5640_BIT_DIV * in ov5640_calc_pclk() local
1570 _rate = ov5640_calc_sys_clk(sensor, _rate, pll_prediv, pll_mult, in ov5640_calc_pclk()
1576 return _rate / *pll_rdiv / *bit_div / *pclk_div; in ov5640_calc_pclk()
/linux-6.6.21/drivers/net/wireless/silabs/wfx/
Dmain.c43 #define RATETAB_ENT(_rate, _rateid, _flags) { \ argument
44 .bitrate = (_rate), \
/linux-6.6.21/drivers/net/wireless/st/cw1200/
Dmain.c60 #define RATETAB_ENT(_rate, _rateid, _flags) \ argument
62 .bitrate = (_rate), \
/linux-6.6.21/drivers/clk/ralink/
Dclk-mt7621.c184 #define FIXED(_id, _name, _rate) \ argument
189 .rate = _rate \
Dclk-mtmips.c259 #define CLK_FIXED(_name, _parent, _rate) \ argument
263 .rate = _rate \
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c10 #define MT76x02_CCK_RATE(_idx, _rate) { \ argument
11 .bitrate = _rate, \
Dmt76.h980 #define CCK_RATE(_idx, _rate) { \ argument
981 .bitrate = _rate, \
987 #define OFDM_RATE(_idx, _rate) { \ argument
988 .bitrate = _rate, \
/linux-6.6.21/include/net/
Ddevlink.h1248 #define DEVLINK_TRAP_POLICER(_id, _rate, _burst, _max_rate, _min_rate, \ argument
1252 .init_rate = _rate, \
/linux-6.6.21/drivers/net/netdevsim/
Ddev.c697 #define NSIM_TRAP_POLICER(_id, _rate, _burst) \ argument
698 DEVLINK_TRAP_POLICER(_id, _rate, _burst, \
/linux-6.6.21/drivers/clk/nxp/
Dclk-lpc32xx.c1083 #define LPC32XX_DEFINE_FIXED(_idx, _rate) \ argument
1088 .fixed_rate = (_rate), \

12