Home
last modified time | relevance | path

Searched refs:pfcc_reg (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c522 u32 in[MLX5_ST_SZ_DW(pfcc_reg)] = {0}; in mlx5_query_pfcc_reg()
524 MLX5_SET(pfcc_reg, in, local_port, 1); in mlx5_query_pfcc_reg()
532 u32 in[MLX5_ST_SZ_DW(pfcc_reg)] = {0}; in mlx5_set_port_pause()
533 u32 out[MLX5_ST_SZ_DW(pfcc_reg)]; in mlx5_set_port_pause()
535 MLX5_SET(pfcc_reg, in, local_port, 1); in mlx5_set_port_pause()
536 MLX5_SET(pfcc_reg, in, pptx, tx_pause); in mlx5_set_port_pause()
537 MLX5_SET(pfcc_reg, in, pprx, rx_pause); in mlx5_set_port_pause()
547 u32 out[MLX5_ST_SZ_DW(pfcc_reg)]; in mlx5_query_port_pause()
555 *rx_pause = MLX5_GET(pfcc_reg, out, pprx); in mlx5_query_port_pause()
558 *tx_pause = MLX5_GET(pfcc_reg, out, pptx); in mlx5_query_port_pause()
[all …]
/linux-5.19.10/include/linux/mlx5/
Dmlx5_ifc.h10514 struct mlx5_ifc_pfcc_reg_bits pfcc_reg; member