Searched refs:ir_units (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | 2242 enum mlxsw_reg_qpcr_ir_units ir_units; in mlxsw_sp_cpu_policers_set() local 2254 ir_units = MLXSW_REG_QPCR_IR_UNITS_M; in mlxsw_sp_cpu_policers_set() 2269 mlxsw_reg_qpcr_pack(qpcr_pl, i, ir_units, is_bytes, rate, in mlxsw_sp_cpu_policers_set()
|
H A D | reg.h | 3331 MLXSW_ITEM32(reg, qpcr, ir_units, 0x04, 12, 1); 3362 * For bytes limits, the rate will be this value * the unit from ir_units. 3372 * For bytes limits, the rate will be this value * the unit from ir_units. 3423 enum mlxsw_reg_qpcr_ir_units ir_units, in mlxsw_reg_qpcr_pack() 3433 mlxsw_reg_qpcr_ir_units_set(payload, ir_units); in mlxsw_reg_qpcr_pack() 3422 mlxsw_reg_qpcr_pack(char *payload, u16 pid, enum mlxsw_reg_qpcr_ir_units ir_units, bool bytes, u32 cir, u16 cbs) mlxsw_reg_qpcr_pack() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | 2553 enum mlxsw_reg_qpcr_ir_units ir_units; in mlxsw_sp_cpu_policers_set() local 2565 ir_units = MLXSW_REG_QPCR_IR_UNITS_M; in mlxsw_sp_cpu_policers_set() 2580 mlxsw_reg_qpcr_pack(qpcr_pl, i, ir_units, is_bytes, rate, in mlxsw_sp_cpu_policers_set()
|
H A D | reg.h | 3853 MLXSW_ITEM32(reg, qpcr, ir_units, 0x04, 12, 1); 3884 * For bytes limits, the rate will be this value * the unit from ir_units. 3894 * For bytes limits, the rate will be this value * the unit from ir_units. 3945 enum mlxsw_reg_qpcr_ir_units ir_units, in mlxsw_reg_qpcr_pack() 3955 mlxsw_reg_qpcr_ir_units_set(payload, ir_units); in mlxsw_reg_qpcr_pack() 3944 mlxsw_reg_qpcr_pack(char *payload, u16 pid, enum mlxsw_reg_qpcr_ir_units ir_units, bool bytes, u32 cir, u16 cbs) mlxsw_reg_qpcr_pack() argument
|
Completed in 45 milliseconds