Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/pcmcia/
Dti113x.h369 u32 mfunc, mfunc_old, devctl; in ti12xx_irqroute_func0() local
373 mfunc = mfunc_old = config_readl(socket, TI122X_MFUNC); in ti12xx_irqroute_func0()
376 mfunc, devctl); in ti12xx_irqroute_func0()
407 mfunc = (mfunc & ~TI122X_MFUNC3_MASK) | TI122X_MFUNC3_IRQSER; in ti12xx_irqroute_func0()
410 if (mfunc != mfunc_old) { in ti12xx_irqroute_func0()
411 config_writel(socket, TI122X_MFUNC, mfunc); in ti12xx_irqroute_func0()
417 mfunc_old = mfunc; in ti12xx_irqroute_func0()
422 mfunc = mfunc_old; in ti12xx_irqroute_func0()
423 config_writel(socket, TI122X_MFUNC, mfunc); in ti12xx_irqroute_func0()
454 mfunc = (mfunc & ~TI122X_MFUNC0_MASK) | TI122X_MFUNC0_INTA; in ti12xx_irqroute_func0()
[all …]
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c257 u32 status = readl(&priv->mfunc.comm->slave_read); in comm_pending()
282 &priv->mfunc.comm->slave_write); in mlx4_comm_cmd_post()
522 struct mlx4_vhcr_cmd *vhcr = priv->mfunc.vhcr; in mlx4_slave_cmd()
957 slave_cap_mask = priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; in mlx4_MAD_IFC_wrapper()
1666 struct mlx4_vhcr_cmd *vhcr_cmd = in_vhcr ? in_vhcr : priv->mfunc.vhcr; in mlx4_master_process_vhcr()
1683 ret = mlx4_ACCESS_MEM(dev, priv->mfunc.vhcr_dma, slave, in mlx4_master_process_vhcr()
1684 priv->mfunc.master.slave_state[slave].vhcr_dma, in mlx4_master_process_vhcr()
1812 ret = mlx4_ACCESS_MEM(dev, priv->mfunc.vhcr_dma, slave, in mlx4_master_process_vhcr()
1813 priv->mfunc.master.slave_state[slave].vhcr_dma, in mlx4_master_process_vhcr()
1821 mlx4_GEN_EQE(dev, slave, &priv->mfunc.master.cmd_eqe)) in mlx4_master_process_vhcr()
[all …]
Deq.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()
145 struct mlx4_slave_event_eq *slave_eq = &mfunc->master.slave_eq; in mlx4_gen_slave_eqe()
185 struct mlx4_slave_event_eq *slave_eq = &priv->mfunc.master.slave_eq; in slave_event()
206 queue_work(priv->mfunc.master.comm_wq, in slave_event()
207 &priv->mfunc.master.slave_event_work); in slave_event()
218 !priv->mfunc.master.slave_state[slave].active) in mlx4_slave_event()
245 struct mlx4_slave_state *s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_gen_pkey_eqe()
301 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_get_slave_port_state()
318 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_set_slave_port_state()
[all …]
Dresource_tracker.c305 &priv->mfunc.master.res_tracker.res_alloc[res_type]; in mlx4_grant_resource()
376 &priv->mfunc.master.res_tracker.res_alloc[res_type]; in mlx4_release_resource()
455 priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[pf]; in mlx4_init_quotas()
457 priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[pf]; in mlx4_init_quotas()
459 priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[pf]; in mlx4_init_quotas()
461 priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[pf]; in mlx4_init_quotas()
463 priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[pf]; in mlx4_init_quotas()
481 priv->mfunc.master.res_tracker.slave_list = in mlx4_init_resource_tracker()
484 if (!priv->mfunc.master.res_tracker.slave_list) in mlx4_init_resource_tracker()
489 INIT_LIST_HEAD(&priv->mfunc.master.res_tracker. in mlx4_init_resource_tracker()
[all …]
Dcatas.c106 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave()
131 (__iomem char *)priv->mfunc.comm + MLX4_COMM_CHAN_FLAGS); in mlx4_reset_slave()
139 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave()
234 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in poll_catas()
Dfw.c386 size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
391 size = priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
396 size = priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
420 size = priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
425 size = priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
1296 def_mac = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.mac; in mlx4_QUERY_PORT_wrapper()
1308 admin_link_state = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.link_state; in mlx4_QUERY_PORT_wrapper()
2066 if (priv->mfunc.master.qp0_state[port].proxy_qp0_active && in check_qp0_state()
2067 priv->mfunc.master.qp0_state[port].qp0_active) in check_qp0_state()
2085 if (priv->mfunc.master.slave_state[slave].init_port_mask & (1 << port)) in mlx4_INIT_PORT_wrapper()
[all …]
Dqp.c152 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 0; in __mlx4_qp_modify()
154 priv->mfunc.master.qp0_state[port].qp0_active = 0; in __mlx4_qp_modify()
187 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 0; in __mlx4_qp_modify()
189 priv->mfunc.master.qp0_state[port].qp0_active = 0; in __mlx4_qp_modify()
192 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 1; in __mlx4_qp_modify()
194 priv->mfunc.master.qp0_state[port].qp0_active = 1; in __mlx4_qp_modify()
Dport.c694 struct mlx4_mfunc_master_ctx *master = &priv->mfunc.master; in mlx4_common_set_port()
878 priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; in mlx4_common_set_port()
879 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = new_cap_mask; in mlx4_common_set_port()
882 priv->mfunc.master.slave_state[i].ib_cap_mask[port]; in mlx4_common_set_port()
900 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = in mlx4_common_set_port()
Dmain.c678 s_state = &priv->mfunc.master.slave_state[i]; in mlx4_how_many_lives_vf()
748 s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_is_slave_active()
1762 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_comm_check_offline()
1787 comm_caps = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_vf_support()
1798 u64 dma = (u64) priv->mfunc.vhcr_dma; in mlx4_init_slave()
1832 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in mlx4_init_slave()
2408 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; in mlx4_set_admin_guid()
2416 return priv->mfunc.master.vf_admin[entry].vport[port].guid; in mlx4_get_admin_guid()
2432 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; in mlx4_set_random_admin_guid()
2569 priv->mfunc.master.slave_state[i].ib_cap_mask[port] = in mlx4_setup_hca()
Dmlx4.h870 struct mlx4_mfunc mfunc; member
1372 return &mlx4_priv(dev)->mfunc.master.res_tracker.lock; in mlx4_tlock()
/linux-4.4.14/arch/x86/kernel/
Dsmpboot.c299 #define link_mask(mfunc, c1, c2) \ argument
301 cpumask_set_cpu((c1), mfunc(c2)); \
302 cpumask_set_cpu((c2), mfunc(c1)); \