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

/drivers/pcmcia/
H A Dti113x.h369 u32 mfunc, mfunc_old, devctl; local
373 mfunc = mfunc_old = config_readl(socket, TI122X_MFUNC);
376 "TI: mfunc 0x%08x, devctl 0x%02x\n", mfunc, devctl);
407 mfunc = (mfunc & ~TI122X_MFUNC3_MASK) | TI122X_MFUNC3_IRQSER;
410 if (mfunc != mfunc_old) {
411 config_writel(socket, TI122X_MFUNC, mfunc);
417 mfunc_old = mfunc;
422 mfunc
545 u32 mfunc, mfunc_old, devctl, sysctl; local
750 u32 mfunc, devctl, sysctl; local
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c188 u32 status = readl(&priv->mfunc.comm->slave_read);
201 &priv->mfunc.comm->slave_write);
403 struct mlx4_vhcr_cmd *vhcr = priv->mfunc.vhcr;
781 slave_cap_mask = priv->mfunc.master.slave_state[slave].ib_cap_mask[port];
1432 struct mlx4_vhcr_cmd *vhcr_cmd = in_vhcr ? in_vhcr : priv->mfunc.vhcr;
1449 ret = mlx4_ACCESS_MEM(dev, priv->mfunc.vhcr_dma, slave,
1450 priv->mfunc.master.slave_state[slave].vhcr_dma,
1570 ret = mlx4_ACCESS_MEM(dev, priv->mfunc.vhcr_dma, slave,
1571 priv->mfunc.master.slave_state[slave].vhcr_dma,
1579 mlx4_GEN_EQE(dev, slave, &priv->mfunc
1897 struct mlx4_mfunc *mfunc = local
[all...]
H A Deq.c139 struct mlx4_mfunc *mfunc = local
141 struct mlx4_priv *priv = container_of(mfunc, struct mlx4_priv, mfunc);
143 struct mlx4_slave_event_eq *slave_eq = &mfunc->master.slave_eq;
174 struct mlx4_slave_event_eq *slave_eq = &priv->mfunc.master.slave_eq;
195 queue_work(priv->mfunc.master.comm_wq,
196 &priv->mfunc.master.slave_event_work);
205 &priv->mfunc.master.slave_state[slave];
220 struct mlx4_slave_state *s_slave = &priv->mfunc.master.slave_state[slave];
275 struct mlx4_slave_state *s_state = priv->mfunc
415 struct mlx4_mfunc *mfunc = local
[all...]
H A Dresource_tracker.c307 &priv->mfunc.master.res_tracker.res_alloc[res_type];
376 &priv->mfunc.master.res_tracker.res_alloc[res_type];
452 priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[pf];
454 priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[pf];
456 priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[pf];
458 priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[pf];
460 priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[pf];
468 priv->mfunc.master.res_tracker.slave_list =
471 if (!priv->mfunc.master.res_tracker.slave_list)
476 INIT_LIST_HEAD(&priv->mfunc
[all...]
H A Dfw.c294 size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave];
299 size = priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[slave];
304 size = priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[slave];
315 size = priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[slave];
320 size = priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[slave];
998 def_mac = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.mac;
1010 admin_link_state = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.link_state;
1684 if (priv->mfunc.master.qp0_state[port].proxy_qp0_active &&
1685 priv->mfunc.master.qp0_state[port].qp0_active)
1703 if (priv->mfunc
[all...]
H A Dqp.c148 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 0;
150 priv->mfunc.master.qp0_state[port].qp0_active = 0;
183 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 0;
185 priv->mfunc.master.qp0_state[port].qp0_active = 0;
188 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 1;
190 priv->mfunc.master.qp0_state[port].qp0_active = 1;
535 /* In mfunc, calculate proxy and tunnel qp offsets for the PF here,
H A Dport.c688 struct mlx4_mfunc_master_ctx *master = &priv->mfunc.master;
866 priv->mfunc.master.slave_state[slave].ib_cap_mask[port];
867 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = new_cap_mask;
870 priv->mfunc.master.slave_state[i].ib_cap_mask[port];
888 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] =
H A Dmlx4.h827 struct mlx4_mfunc mfunc; member in struct:mlx4_priv
1302 return &mlx4_priv(dev)->mfunc.master.res_tracker.lock;
H A Dmain.c535 s_state = &priv->mfunc.master.slave_state[i];
605 s_slave = &priv->mfunc.master.slave_state[slave];
1477 u64 dma = (u64) priv->mfunc.vhcr_dma;
1505 slave_read = swab32(readl(&priv->mfunc.comm->slave_read));
1989 priv->mfunc.master.slave_state[i].ib_cap_mask[port] =
2372 mlx4_err(dev, "Failed to init slave mfunc interface, aborting\n");
2438 mlx4_err(dev, "Failed to init master mfunc interface, aborting.\n");

Completed in 488 milliseconds