Home
last modified time | relevance | path

Searched refs:mfunc (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c2244 container_of(mfunc, struct mlx4_priv, mfunc); in mlx4_master_comm_channel()
2345 priv->mfunc.comm = in mlx4_multi_func_init()
2350 priv->mfunc.comm = in mlx4_multi_func_init()
2353 if (!priv->mfunc.comm) { in mlx4_multi_func_init()
2475 priv->mfunc.comm = NULL; in mlx4_multi_func_init()
2478 priv->mfunc.vhcr, in mlx4_multi_func_init()
2480 priv->mfunc.vhcr = NULL; in mlx4_multi_func_init()
2515 if (!priv->mfunc.vhcr) in mlx4_cmd_init()
2549 if (!priv->mfunc.comm) in mlx4_report_internal_err_comm_event()
2586 priv->mfunc.comm = NULL; in mlx4_multi_func_cleanup()
[all …]
H A Dmlx4_eq.c141 struct mlx4_mfunc *mfunc = in mlx4_gen_slave_eqe() local
143 struct mlx4_priv *priv = container_of(mfunc, struct mlx4_priv, mfunc); in mlx4_gen_slave_eqe()
218 queue_work(priv->mfunc.master.comm_wq, in slave_event()
219 &priv->mfunc.master.slave_event_work); in slave_event()
382 ctx = &priv->mfunc.master.slave_state[slave]; in set_and_calc_slave_port_state()
449 struct mlx4_mfunc *mfunc = in mlx4_master_handle_slave_flr() local
452 container_of(mfunc, struct mlx4_priv, mfunc); in mlx4_master_handle_slave_flr()
718 queue_work(priv->mfunc.master.comm_wq, in mlx4_eq_int()
719 &priv->mfunc.master.comm_work); in mlx4_eq_int()
748 queue_work(priv->mfunc.master.comm_wq, in mlx4_eq_int()
[all …]
H A Dmlx4_resource_tracker.c487 priv->mfunc.master.res_tracker.slave_list = in mlx4_init_resource_tracker()
490 if (!priv->mfunc.master.res_tracker.slave_list) in mlx4_init_resource_tracker()
495 INIT_LIST_HEAD(&priv->mfunc.master.res_tracker. in mlx4_init_resource_tracker()
507 &priv->mfunc.master.res_tracker.res_alloc[i]; in mlx4_init_resource_tracker()
648 if (priv->mfunc.master.res_tracker.slave_list) { in mlx4_free_resource_tracker()
3292 if (!priv->mfunc.master.slave_state) in mlx4_GEN_EQE()
4573 &priv->mfunc.master.res_tracker; in _move_all_busy()
4898 &priv->mfunc.master.res_tracker; in rem_slave_mtts()
4997 &priv->mfunc.master.res_tracker; in mlx4_mirror_fs_rules()
5034 &priv->mfunc.master.res_tracker; in rem_slave_fs_rule()
[all …]
H A Dmlx4_catas.c108 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave()
133 (__iomem char *)priv->mfunc.comm + MLX4_COMM_CHAN_FLAGS); in mlx4_reset_slave()
141 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave()
236 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in poll_catas()
H A Dmlx4_fw.c264 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_activate_vst_qinq()
296 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_handle_vst_qinq()
298 slave_state = &priv->mfunc.master.slave_state[slave]; in mlx4_handle_vst_qinq()
453 &priv->mfunc.master.slave_state[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
2211 priv->mfunc.master.qp0_state[port].qp0_active) in check_qp0_state()
2234 if (!priv->mfunc.master.init_port_ref[port]) { in mlx4_INIT_PORT_wrapper()
2249 priv->mfunc.master.qp0_state[port].port_active = 1; in mlx4_INIT_PORT_wrapper()
2255 ++priv->mfunc.master.init_port_ref[port]; in mlx4_INIT_PORT_wrapper()
2332 if (priv->mfunc.master.init_port_ref[port] == 1) { in mlx4_CLOSE_PORT_wrapper()
2349 priv->mfunc.master.qp0_state[port].port_active = 0; in mlx4_CLOSE_PORT_wrapper()
[all …]
H A Dmlx4_qp.c153 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 0; in __mlx4_qp_modify()
155 priv->mfunc.master.qp0_state[port].qp0_active = 0; in __mlx4_qp_modify()
194 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 0; in __mlx4_qp_modify()
196 priv->mfunc.master.qp0_state[port].qp0_active = 0; in __mlx4_qp_modify()
199 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 1; in __mlx4_qp_modify()
201 priv->mfunc.master.qp0_state[port].qp0_active = 1; in __mlx4_qp_modify()
H A Dmlx4_main.c715 s_state = &priv->mfunc.master.slave_state[i]; in mlx4_how_many_lives_vf()
785 s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_is_slave_active()
1932 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_comm_check_offline()
1957 comm_caps = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_vf_support()
1968 u64 dma = (u64) priv->mfunc.vhcr_dma; in mlx4_init_slave()
2002 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in mlx4_init_slave()
2585 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; in mlx4_set_admin_guid()
2593 return priv->mfunc.master.vf_admin[entry].vport[port].guid; in mlx4_get_admin_guid()
2609 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; in mlx4_set_random_admin_guid()
2746 priv->mfunc.master.slave_state[i].ib_cap_mask[port] = in mlx4_setup_hca()
H A Dmlx4_port.c1252 struct mlx4_mfunc_master_ctx *master = &priv->mfunc.master; in mlx4_common_set_port()
1449 priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; in mlx4_common_set_port()
1450 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = new_cap_mask; in mlx4_common_set_port()
1453 priv->mfunc.master.slave_state[i].ib_cap_mask[port]; in mlx4_common_set_port()
1471 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = in mlx4_common_set_port()
H A Dmlx4.h873 struct mlx4_mfunc mfunc; member
1377 return &mlx4_priv(dev)->mfunc.master.res_tracker.lock; in mlx4_tlock()