Searched refs:mfunc (Results 1 - 9 of 9) sorted by path
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_catas.c | 108 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + 133 (__iomem char *)priv->mfunc.comm + MLX4_COMM_CHAN_FLAGS); 141 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + 236 slave_read = swab32(readl(&priv->mfunc.comm->slave_read));
|
H A D | mlx4_eq.c | 141 struct mlx4_mfunc *mfunc = local 143 struct mlx4_priv *priv = container_of(mfunc, struct mlx4_priv, mfunc); 145 struct mlx4_slave_event_eq *slave_eq = &mfunc->master.slave_eq; 197 struct mlx4_slave_event_eq *slave_eq = &priv->mfunc.master.slave_eq; 218 queue_work(priv->mfunc.master.comm_wq, 219 &priv->mfunc.master.slave_event_work); 230 !priv->mfunc.master.slave_state[slave].active) 253 struct mlx4_slave_state *s_slave = &priv->mfunc.master.slave_state[slave]; 309 struct mlx4_slave_state *s_state = priv->mfunc 449 struct mlx4_mfunc *mfunc = local [all...] |
H A D | mlx4_fw.c | 264 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; 265 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; 296 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; 297 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; 298 slave_state = &priv->mfunc.master.slave_state[slave]; 437 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; 453 &priv->mfunc.master.slave_state[slave]; 474 size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave]; 479 size = priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[slave]; 484 size = priv->mfunc [all...] |
H A D | mlx4_port.c | 1252 struct mlx4_mfunc_master_ctx *master = &priv->mfunc.master; 1449 priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; 1450 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = new_cap_mask; 1453 priv->mfunc.master.slave_state[i].ib_cap_mask[port]; 1471 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] =
|
H A D | mlx4_qp.c | 153 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 0; 155 priv->mfunc.master.qp0_state[port].qp0_active = 0; 194 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 0; 196 priv->mfunc.master.qp0_state[port].qp0_active = 0; 199 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 1; 201 priv->mfunc.master.qp0_state[port].qp0_active = 1; 827 /* In mfunc, calculate proxy and tunnel qp offsets for the PF here,
|
H A D | mlx4_resource_tracker.c | 311 &priv->mfunc.master.res_tracker.res_alloc[res_type]; 382 &priv->mfunc.master.res_tracker.res_alloc[res_type]; 461 priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[pf]; 463 priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[pf]; 465 priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[pf]; 467 priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[pf]; 469 priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[pf]; 487 priv->mfunc.master.res_tracker.slave_list = 490 if (!priv->mfunc.master.res_tracker.slave_list) 495 INIT_LIST_HEAD(&priv->mfunc [all...] |
H A D | mlx4.h | 873 struct mlx4_mfunc mfunc; member in struct:mlx4_priv 1377 return &mlx4_priv(dev)->mfunc.master.res_tracker.lock;
|
H A D | mlx4_cmd.c | 257 u32 status = readl(&priv->mfunc.comm->slave_read); 282 &priv->mfunc.comm->slave_write); 522 struct mlx4_vhcr_cmd *vhcr = priv->mfunc.vhcr; 967 slave_cap_mask = priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; 1680 struct mlx4_vhcr_cmd *vhcr_cmd = in_vhcr ? in_vhcr : priv->mfunc.vhcr; 1697 ret = mlx4_ACCESS_MEM(dev, priv->mfunc.vhcr_dma, slave, 1698 priv->mfunc.master.slave_state[slave].vhcr_dma, 1826 ret = mlx4_ACCESS_MEM(dev, priv->mfunc.vhcr_dma, slave, 1827 priv->mfunc.master.slave_state[slave].vhcr_dma, 1835 mlx4_GEN_EQE(dev, slave, &priv->mfunc 2241 struct mlx4_mfunc *mfunc = local [all...] |
H A D | mlx4_main.c | 714 s_state = &priv->mfunc.master.slave_state[i]; 784 s_slave = &priv->mfunc.master.slave_state[slave]; 1926 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + 1951 comm_caps = swab32(readl((__iomem char *)priv->mfunc.comm + 1962 u64 dma = (u64) priv->mfunc.vhcr_dma; 1996 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); 2579 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; 2587 return priv->mfunc.master.vf_admin[entry].vport[port].guid; 2603 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; 2740 priv->mfunc [all...] |
Completed in 182 milliseconds