Lines Matching refs:mlx4_priv
143 struct mlx4_priv *priv = container_of(mfunc, struct mlx4_priv, mfunc); in mlx4_gen_slave_eqe()
196 struct mlx4_priv *priv = mlx4_priv(dev); in slave_event()
226 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_slave_event()
237 static void mlx4_set_eq_affinity_hint(struct mlx4_priv *priv, int vec) in mlx4_set_eq_affinity_hint()
257 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_gen_pkey_eqe()
313 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_get_slave_port_state()
330 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_slave_port_state()
370 struct mlx4_priv *priv = mlx4_priv(dev); in set_and_calc_slave_port_state()
456 struct mlx4_priv *priv = in mlx4_master_handle_slave_flr()
457 container_of(mfunc, struct mlx4_priv, mfunc); in mlx4_master_handle_slave_flr()
496 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_eq_int()
611 mlx4_priv(dev)->sense.do_sense_port[port] = 1; in mlx4_eq_int()
653 mlx4_priv(dev)->sense.do_sense_port[port] = 0; in mlx4_eq_int()
852 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_interrupt()
881 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_MAP_EQ_wrapper()
937 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_get_eq_uar()
960 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_unmap_uar()
973 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_create_eq()
1091 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_free_eq()
1118 struct mlx4_eq_table *eq_table = &mlx4_priv(dev)->eq_table; in mlx4_free_irqs()
1137 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_map_clr_int()
1152 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_unmap_clr_int()
1159 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_alloc_eq_table()
1171 kfree(mlx4_priv(dev)->eq_table.eq); in mlx4_free_eq_table()
1176 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_eq_table()
1233 &mlx4_priv(dev)->port[port]; in mlx4_init_eq_table()
1308 if (mlx4_priv(dev)->port[i].rmap) { in mlx4_init_eq_table()
1309 free_irq_cpu_rmap(mlx4_priv(dev)->port[i].rmap); in mlx4_init_eq_table()
1310 mlx4_priv(dev)->port[i].rmap = NULL; in mlx4_init_eq_table()
1332 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cleanup_eq_table()
1340 if (mlx4_priv(dev)->port[i].rmap) { in mlx4_cleanup_eq_table()
1341 free_irq_cpu_rmap(mlx4_priv(dev)->port[i].rmap); in mlx4_cleanup_eq_table()
1342 mlx4_priv(dev)->port[i].rmap = NULL; in mlx4_cleanup_eq_table()
1375 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_test_interrupt()
1406 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_is_eq_vector_valid()
1419 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_get_eqs_per_port()
1433 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_is_eq_shared()
1446 return mlx4_priv(dev)->port[port].rmap; in mlx4_get_cpu_rmap()
1452 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_assign_eq()
1544 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_eq_get_irq()
1552 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_release_eq()