Home
last modified time | relevance | path

Searched refs:mlx4_is_slave (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dcatas.c177 if (mlx4_is_slave(dev)) { in mlx4_enter_error_state()
243 if (mlx4_is_slave(dev)) { in poll_catas()
286 if (!mlx4_is_slave(dev)) { in mlx4_start_catas_poll()
H A Dmain.c542 if (!mlx4_is_slave(dev)) { in mlx4_dev_cap()
692 if (!enable_64b_cqe_eqe && !mlx4_is_slave(dev)) { in mlx4_dev_cap()
714 if (!mlx4_is_slave(dev)) { in mlx4_dev_cap()
1970 if (mlx4_is_slave(dev)) in mlx4_get_internal_clock_params()
2001 if (mlx4_is_slave(dev)) in mlx4_close_hca()
2011 if (!mlx4_is_slave(dev)) { in mlx4_close_fw()
2292 if (!mlx4_is_slave(dev)) { in mlx4_init_fw()
2329 if (!mlx4_is_slave(dev)) { in mlx4_init_hca()
2478 if (!mlx4_is_slave(dev)) in mlx4_init_hca()
2505 if (mlx4_is_slave(dev)) in mlx4_init_hca()
[all …]
H A Dsrq.c278 if (mlx4_is_slave(dev)) in mlx4_init_srq_table()
287 if (mlx4_is_slave(dev)) in mlx4_cleanup_srq_table()
H A Den_selftest.c123 if (!(mdev->dev->flags & MLX4_FLAG_MSI_X) || mlx4_is_slave(mdev->dev)) in mlx4_en_test_interrupts()
H A Dcq.c469 if (mlx4_is_slave(dev)) in mlx4_init_cq_table()
478 if (mlx4_is_slave(dev)) in mlx4_cleanup_cq_table()
H A Dpd.c153 if (mlx4_is_slave(dev)) in mlx4_uar_alloc()
H A Den_netdev.c78 if (!mlx4_is_slave(priv->mdev->dev)) { in mlx4_en_setup_tc()
2046 if (!mlx4_is_slave(mdev->dev)) in mlx4_en_clear_stats()
3022 if (!mlx4_is_slave(dev) && in mlx4_en_update_pfc_stats_bitmap()
3061 if (mlx4_is_slave(dev)) { in mlx4_en_set_stats_bitmap()
3092 if (!mlx4_is_slave(dev)) in mlx4_en_set_stats_bitmap()
3099 if (!mlx4_is_slave(dev)) in mlx4_en_set_stats_bitmap()
3252 if (!mlx4_is_slave(priv->mdev->dev)) { in mlx4_en_init_netdev()
3295 } else if (mlx4_is_slave(priv->mdev->dev) && in mlx4_en_init_netdev()
3382 if (mlx4_is_slave(mdev->dev)) { in mlx4_en_init_netdev()
H A Dintf.c364 mlx4_is_slave(dev)) { in mlx4_unregister_device()
H A Dqp.c780 if (mlx4_is_slave(dev)) in mlx4_init_qp_table()
890 if (mlx4_is_slave(dev)) in mlx4_cleanup_qp_table()
H A Dmr.c915 if (mlx4_is_slave(dev)) in mlx4_init_mr_table()
960 if (mlx4_is_slave(dev)) in mlx4_cleanup_mr_table()
H A Deq.c1200 if (!mlx4_is_slave(dev)) { in mlx4_init_eq_table()
1317 if (!mlx4_is_slave(dev)) in mlx4_init_eq_table()
1351 if (!mlx4_is_slave(dev)) in mlx4_cleanup_eq_table()
H A Den_port.c282 if (!mlx4_is_slave(mdev->dev)) { in mlx4_en_DUMP_ETH_STATS()
H A Dfw.c1670 if (mlx4_is_slave(dev)) in mlx4_QUERY_FW()
2096 !mlx4_is_slave(dev)); in mlx4_QUERY_HCA()
2226 !mlx4_is_slave(dev)); in mlx4_hca_core_clock_update()
3066 if (mlx4_is_slave(dev)) in set_phv_bit()
H A Dcmd.c2510 if (!mlx4_is_slave(dev) && !priv->cmd.hcr) { in mlx4_cmd_init()
2603 if (!mlx4_is_slave(dev) && priv->cmd.hcr && in mlx4_cmd_cleanup()
H A Dport.c354 if (err && err == -EINVAL && mlx4_is_slave(dev)) { in mlx4_register_mac()
H A Dresource_tracker.c448 if (mlx4_is_slave(dev)) in mlx4_init_quotas()
5308 if (mlx4_is_slave(dev)) { in mlx4_vf_immed_vlan_work_handler()
/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c315 if (!mlx4_is_slave(dev->dev)) { in smp_snoop()
877 if (!mlx4_is_slave(to_mdev(ibdev)->dev)) in ib_process_mad()
996 if (mlx4_is_slave(dev->dev) && in mlx4_ib_process_mad()
1104 if (!mlx4_is_slave(dev->dev) && in handle_client_rereg_event()
1258 if (!mlx4_is_slave(dev->dev)) { in handle_port_mgmt_change_event()
2309 if (mlx4_is_slave(dev->dev)) { in mlx4_ib_init_sriov()
H A Dmain.c907 if (mlx4_is_slave(to_mdev(ibdev)->dev)) { in mlx4_ib_query_sl2vl()
1009 if (mlx4_is_slave(to_mdev(ibdev)->dev)) in mlx4_ib_modify_device()
2225 if (mlx4_is_slave(ibdev->dev)) in mlx4_ib_alloc_diag_counters()
3243 if (!mlx4_is_slave(dev) && in mlx4_ib_event()
/linux/include/linux/mlx4/
H A Ddevice.h1075 static inline int mlx4_is_slave(struct mlx4_dev *dev) in mlx4_is_slave() function