Lines Matching refs:gen_context
1249 struct mlx4_set_port_general_context *gen_context) in mlx4_en_set_port_mtu() argument
1259 mtu = be16_to_cpu(gen_context->mtu); in mlx4_en_set_port_mtu()
1276 gen_context->mtu = cpu_to_be16(master->max_mtu[port]); in mlx4_en_set_port_mtu()
1281 struct mlx4_set_port_general_context *gen_context) in mlx4_en_set_port_user_mtu() argument
1291 user_mtu = be16_to_cpu(gen_context->user_mtu); in mlx4_en_set_port_user_mtu()
1308 gen_context->user_mtu = cpu_to_be16(master->max_user_mtu[port]); in mlx4_en_set_port_user_mtu()
1313 struct mlx4_set_port_general_context *gen_context) in mlx4_en_set_port_global_pause() argument
1320 (gen_context->pptx != master->pptx || in mlx4_en_set_port_global_pause()
1321 gen_context->pprx != master->pprx)) { in mlx4_en_set_port_global_pause()
1322 gen_context->pptx = master->pptx; in mlx4_en_set_port_global_pause()
1323 gen_context->pprx = master->pprx; in mlx4_en_set_port_global_pause()
1327 master->pptx = gen_context->pptx; in mlx4_en_set_port_global_pause()
1328 master->pprx = gen_context->pprx; in mlx4_en_set_port_global_pause()
1338 struct mlx4_set_port_general_context *gen_context; in mlx4_common_set_port() local
1388 gen_context = inbox->buf; in mlx4_common_set_port()
1390 if (gen_context->flags & MLX4_FLAG_V_MTU_MASK) in mlx4_common_set_port()
1392 gen_context); in mlx4_common_set_port()
1394 if (gen_context->flags2 & MLX4_FLAG2_V_USER_MTU_MASK) in mlx4_common_set_port()
1396 gen_context); in mlx4_common_set_port()
1398 if (gen_context->flags & in mlx4_common_set_port()
1401 gen_context); in mlx4_common_set_port()