Searched refs:mfunc (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/pcmcia/ |
D | ti113x.h | 369 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-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 258 u32 status = readl(&priv->mfunc.comm->slave_read); in comm_pending() 283 &priv->mfunc.comm->slave_write); in mlx4_comm_cmd_post() 516 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() 1820 ret = mlx4_ACCESS_MEM(dev, priv->mfunc.vhcr_dma, slave, in mlx4_master_process_vhcr() 1821 priv->mfunc.master.slave_state[slave].vhcr_dma, in mlx4_master_process_vhcr() 1829 mlx4_GEN_EQE(dev, slave, &priv->mfunc.master.cmd_eqe)) in mlx4_master_process_vhcr() [all …]
|
D | eq.c | 141 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 …]
|
D | resource_tracker.c | 313 &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() 507 priv->mfunc.master.res_tracker.slave_list = in mlx4_init_resource_tracker() 510 if (!priv->mfunc.master.res_tracker.slave_list) in mlx4_init_resource_tracker() 515 INIT_LIST_HEAD(&priv->mfunc.master.res_tracker. in mlx4_init_resource_tracker() [all …]
|
D | catas.c | 106 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() 135 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave() 244 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in poll_catas()
|
D | fw.c | 265 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_activate_vst_qinq() 266 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_activate_vst_qinq() 297 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_handle_vst_qinq() 298 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_handle_vst_qinq() 299 slave_state = &priv->mfunc.master.slave_state[slave]; in mlx4_handle_vst_qinq() 438 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_QUERY_FUNC_CAP_wrapper() 454 &priv->mfunc.master.slave_state[slave]; in mlx4_QUERY_FUNC_CAP_wrapper() 475 size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper() 480 size = priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper() 485 size = priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper() [all …]
|
D | qp.c | 152 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()
|
D | port.c | 1252 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()
|
D | intf.c | 229 swab32(readl(&mlx4_priv(dev)->mfunc.comm->slave_read)); in mlx4_unregister_device()
|
D | main.c | 750 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() 2007 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_comm_check_offline() 2040 comm_caps = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_vf_support() 2051 u64 dma = (u64) priv->mfunc.vhcr_dma; in mlx4_init_slave() 2085 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in mlx4_init_slave() 2676 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; in mlx4_set_admin_guid() 2684 return priv->mfunc.master.vf_admin[entry].vport[port].guid; in mlx4_get_admin_guid() 2700 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; in mlx4_set_random_admin_guid() 2837 priv->mfunc.master.slave_state[i].ib_cap_mask[port] = in mlx4_setup_hca()
|
D | mlx4.h | 890 struct mlx4_mfunc mfunc; member 1399 return &mlx4_priv(dev)->mfunc.master.res_tracker.lock; in mlx4_tlock()
|
/linux-6.1.9/arch/x86/kernel/ |
D | smpboot.c | 419 #define link_mask(mfunc, c1, c2) \ argument 421 cpumask_set_cpu((c1), mfunc(c2)); \ 422 cpumask_set_cpu((c2), mfunc(c1)); \
|