Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c258 u32 status = readl(&priv->mfunc.comm->slave_read); in comm_pending()
283 &priv->mfunc.comm->slave_write); in mlx4_comm_cmd_post()
523 struct mlx4_vhcr_cmd *vhcr = priv->mfunc.vhcr; in mlx4_slave_cmd()
964 slave_cap_mask = priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; in mlx4_MAD_IFC_wrapper()
1673 struct mlx4_vhcr_cmd *vhcr_cmd = in_vhcr ? in_vhcr : priv->mfunc.vhcr; in mlx4_master_process_vhcr()
1690 ret = mlx4_ACCESS_MEM(dev, priv->mfunc.vhcr_dma, slave, in mlx4_master_process_vhcr()
1691 priv->mfunc.master.slave_state[slave].vhcr_dma, in mlx4_master_process_vhcr()
1827 ret = mlx4_ACCESS_MEM(dev, priv->mfunc.vhcr_dma, slave, in mlx4_master_process_vhcr()
1828 priv->mfunc.master.slave_state[slave].vhcr_dma, in mlx4_master_process_vhcr()
1836 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()
197 struct mlx4_slave_event_eq *slave_eq = &priv->mfunc.master.slave_eq; in slave_event()
218 queue_work(priv->mfunc.master.comm_wq, in slave_event()
219 &priv->mfunc.master.slave_event_work); in slave_event()
230 !priv->mfunc.master.slave_state[slave].active) in mlx4_slave_event()
258 struct mlx4_slave_state *s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_gen_pkey_eqe()
314 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_get_slave_port_state()
331 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_set_slave_port_state()
[all …]
Dresource_tracker.c313 &priv->mfunc.master.res_tracker.res_alloc[res_type]; in mlx4_grant_resource()
384 &priv->mfunc.master.res_tracker.res_alloc[res_type]; in mlx4_release_resource()
463 priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[pf]; in mlx4_init_quotas()
465 priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[pf]; in mlx4_init_quotas()
467 priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[pf]; in mlx4_init_quotas()
469 priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[pf]; in mlx4_init_quotas()
471 priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[pf]; in mlx4_init_quotas()
489 priv->mfunc.master.res_tracker.slave_list = in mlx4_init_resource_tracker()
492 if (!priv->mfunc.master.res_tracker.slave_list) in mlx4_init_resource_tracker()
497 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()
243 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in poll_catas()
Dfw.c264 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_activate_vst_qinq()
265 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_activate_vst_qinq()
296 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_handle_vst_qinq()
297 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_handle_vst_qinq()
298 slave_state = &priv->mfunc.master.slave_state[slave]; in mlx4_handle_vst_qinq()
437 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_QUERY_FUNC_CAP_wrapper()
453 &priv->mfunc.master.slave_state[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
474 size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
479 size = priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
484 size = priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_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()
193 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 0; in __mlx4_qp_modify()
195 priv->mfunc.master.qp0_state[port].qp0_active = 0; in __mlx4_qp_modify()
198 priv->mfunc.master.qp0_state[port].proxy_qp0_active = 1; in __mlx4_qp_modify()
200 priv->mfunc.master.qp0_state[port].qp0_active = 1; in __mlx4_qp_modify()
Dport.c1252 struct mlx4_mfunc_master_ctx *master = &priv->mfunc.master; in mlx4_en_set_port_mtu()
1284 struct mlx4_mfunc_master_ctx *master = &priv->mfunc.master; in mlx4_en_set_port_user_mtu()
1316 struct mlx4_mfunc_master_ctx *master = &priv->mfunc.master; in mlx4_en_set_port_global_pause()
1513 priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; in mlx4_common_set_port()
1514 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = new_cap_mask; in mlx4_common_set_port()
1517 priv->mfunc.master.slave_state[i].ib_cap_mask[port]; in mlx4_common_set_port()
1535 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = in mlx4_common_set_port()
Dintf.c229 swab32(readl(&mlx4_priv(dev)->mfunc.comm->slave_read)); in mlx4_unregister_device()
Dmain.c750 s_state = &priv->mfunc.master.slave_state[i]; in mlx4_how_many_lives_vf()
820 s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_is_slave_active()
2003 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_comm_check_offline()
2036 comm_caps = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_vf_support()
2047 u64 dma = (u64) priv->mfunc.vhcr_dma; in mlx4_init_slave()
2081 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in mlx4_init_slave()
2660 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; in mlx4_set_admin_guid()
2668 return priv->mfunc.master.vf_admin[entry].vport[port].guid; in mlx4_get_admin_guid()
2684 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; in mlx4_set_random_admin_guid()
2821 priv->mfunc.master.slave_state[i].ib_cap_mask[port] = in mlx4_setup_hca()
Dmlx4.h889 struct mlx4_mfunc mfunc; member
1399 return &mlx4_priv(dev)->mfunc.master.res_tracker.lock; in mlx4_tlock()
/Linux-v4.19/arch/x86/kernel/
Dsmpboot.c384 #define link_mask(mfunc, c1, c2) \ argument
386 cpumask_set_cpu((c1), mfunc(c2)); \
387 cpumask_set_cpu((c2), mfunc(c1)); \