Lines Matching defs:ibdev
57 static int process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num,
91 err = mlx5_MAD_IFC(to_mdev(ibdev),
181 static int process_pma_cmd(struct ib_device *ibdev, u8 port_num,
184 struct mlx5_ib_dev *dev = to_mdev(ibdev);
232 int mlx5_ib_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num,
238 struct mlx5_ib_dev *dev = to_mdev(ibdev);
252 return process_pma_cmd(ibdev, port_num, in_mad, out_mad);
254 return process_mad(ibdev, mad_flags, port_num, in_wc, in_grh,
288 int mlx5_query_mad_ifc_smp_attr_node_info(struct ib_device *ibdev,
301 err = mlx5_MAD_IFC(to_mdev(ibdev), 1, 1, 1, NULL, NULL, in_mad,
308 int mlx5_query_mad_ifc_system_image_guid(struct ib_device *ibdev,
318 err = mlx5_query_mad_ifc_smp_attr_node_info(ibdev, out_mad);
330 int mlx5_query_mad_ifc_max_pkeys(struct ib_device *ibdev,
340 err = mlx5_query_mad_ifc_smp_attr_node_info(ibdev, out_mad);
352 int mlx5_query_mad_ifc_vendor_id(struct ib_device *ibdev,
362 err = mlx5_query_mad_ifc_smp_attr_node_info(ibdev, out_mad);
424 int mlx5_query_mad_ifc_pkey(struct ib_device *ibdev, u8 port, u16 index,
440 err = mlx5_MAD_IFC(to_mdev(ibdev), 1, 1, port, NULL, NULL, in_mad,
453 int mlx5_query_mad_ifc_gids(struct ib_device *ibdev, u8 port, int index,
469 err = mlx5_MAD_IFC(to_mdev(ibdev), 1, 1, port, NULL, NULL, in_mad,
480 err = mlx5_MAD_IFC(to_mdev(ibdev), 1, 1, port, NULL, NULL, in_mad,
493 int mlx5_query_mad_ifc_port(struct ib_device *ibdev, u8 port,
496 struct mlx5_ib_dev *dev = to_mdev(ibdev);