Home
last modified time | relevance | path

Searched refs:ppriv (Results 1 – 25 of 26) sorted by relevance

12

/linux-5.19.10/drivers/infiniband/ulp/ipoib/
Dipoib_vlan.c52 static bool is_child_unique(struct ipoib_dev_priv *ppriv, in is_child_unique() argument
73 if (ppriv->pkey == priv->pkey) in is_child_unique()
76 list_for_each_entry(tpriv, &ppriv->child_intfs, list) { in is_child_unique()
94 int __ipoib_vlan_add(struct ipoib_dev_priv *ppriv, struct ipoib_dev_priv *priv, in __ipoib_vlan_add() argument
113 WARN_ON(ppriv->dev->reg_state != NETREG_REGISTERED); in __ipoib_vlan_add()
122 priv->parent = ppriv->dev; in __ipoib_vlan_add()
126 if (!is_child_unique(ppriv, priv)) { in __ipoib_vlan_add()
169 struct ipoib_dev_priv *ppriv, *priv; in ipoib_vlan_add() local
185 ppriv = ipoib_priv(pdev); in ipoib_vlan_add()
188 ppriv->dev->name, pkey); in ipoib_vlan_add()
[all …]
Dipoib_netlink.c100 struct ipoib_dev_priv *ppriv; in ipoib_new_child_link() local
111 ppriv = ipoib_priv(pdev); in ipoib_new_child_link()
113 if (test_bit(IPOIB_FLAG_SUBINTERFACE, &ppriv->flags)) { in ipoib_new_child_link()
114 ipoib_warn(ppriv, "child creation disallowed for child devices\n"); in ipoib_new_child_link()
119 ipoib_dbg(ppriv, "no pkey specified, using parent pkey\n"); in ipoib_new_child_link()
120 child_pkey = ppriv->pkey; in ipoib_new_child_link()
124 err = ipoib_intf_init(ppriv->ca, ppriv->port, dev->name, dev); in ipoib_new_child_link()
126 ipoib_warn(ppriv, "failed to initialize pkey device\n"); in ipoib_new_child_link()
130 err = __ipoib_vlan_add(ppriv, ipoib_priv(dev), in ipoib_new_child_link()
Dipoib_main.c168 struct ipoib_dev_priv *ppriv = ipoib_priv(priv->parent); in ipoib_open() local
170 if (!test_bit(IPOIB_FLAG_ADMIN_UP, &ppriv->flags)) in ipoib_open()
172 ppriv->dev->name); in ipoib_open()
1905 struct ipoib_dev_priv *ppriv = ipoib_priv(priv->parent); in ipoib_child_init() local
1907 priv->max_ib_mtu = ppriv->max_ib_mtu; in ipoib_child_init()
1913 __dev_addr_set(priv->dev, ppriv->dev->dev_addr, in ipoib_child_init()
1915 memcpy(&priv->local_gid, &ppriv->local_gid, in ipoib_child_init()
1962 struct ipoib_dev_priv *ppriv = ipoib_priv(priv->parent); in ipoib_ndo_init() local
1966 down_write(&ppriv->vlan_rwsem); in ipoib_ndo_init()
1967 list_add_tail(&priv->list, &ppriv->child_intfs); in ipoib_ndo_init()
[all …]
Dipoib.h598 int __ipoib_vlan_add(struct ipoib_dev_priv *ppriv, struct ipoib_dev_priv *priv,
/linux-5.19.10/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c305 struct dpaa2_qdma_priv_per_prio *ppriv; in dpaa2_qdma_setup() local
354 ppriv = kcalloc(priv->num_pairs, sizeof(*ppriv), GFP_KERNEL); in dpaa2_qdma_setup()
355 if (!ppriv) { in dpaa2_qdma_setup()
359 priv->ppriv = ppriv; in dpaa2_qdma_setup()
368 ppriv->rsp_fqid = priv->rx_queue_attr[i].fqid; in dpaa2_qdma_setup()
376 ppriv->req_fqid = priv->tx_fqid[i]; in dpaa2_qdma_setup()
377 ppriv->prio = i; in dpaa2_qdma_setup()
378 ppriv->priv = priv; in dpaa2_qdma_setup()
379 ppriv++; in dpaa2_qdma_setup()
390 struct dpaa2_qdma_priv_per_prio *ppriv = container_of(ctx, in dpaa2_qdma_fqdan_cb() local
[all …]
Ddpaa2-qdma.h123 struct dpaa2_qdma_priv_per_prio *ppriv; member
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dint_port.c362 struct mlx5e_tc_int_port_priv *ppriv; in mlx5e_tc_int_port_init_rep_rx() local
368 ppriv = uplink_priv->int_port_priv; in mlx5e_tc_int_port_init_rep_rx()
370 if (!ppriv) in mlx5e_tc_int_port_init_rep_rx()
373 mutex_lock(&ppriv->int_ports_lock); in mlx5e_tc_int_port_init_rep_rx()
374 ppriv->ul_rep_rx_ready = true; in mlx5e_tc_int_port_init_rep_rx()
375 mutex_unlock(&ppriv->int_ports_lock); in mlx5e_tc_int_port_init_rep_rx()
382 struct mlx5e_tc_int_port_priv *ppriv; in mlx5e_tc_int_port_cleanup_rep_rx() local
389 ppriv = uplink_priv->int_port_priv; in mlx5e_tc_int_port_cleanup_rep_rx()
391 if (!ppriv) in mlx5e_tc_int_port_cleanup_rep_rx()
394 mutex_lock(&ppriv->int_ports_lock); in mlx5e_tc_int_port_cleanup_rep_rx()
[all …]
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/
Drc.c164 static void rtl_get_rate(void *ppriv, struct ieee80211_sta *sta, in rtl_get_rate() argument
168 struct rtl_priv *rtlpriv = ppriv; in rtl_get_rate()
208 static void rtl_tx_status(void *ppriv, in rtl_tx_status() argument
213 struct rtl_priv *rtlpriv = ppriv; in rtl_tx_status()
249 static void rtl_rate_init(void *ppriv, in rtl_rate_init() argument
256 static void rtl_rate_update(void *ppriv, in rtl_rate_update() argument
275 static void *rtl_rate_alloc_sta(void *ppriv, in rtl_rate_alloc_sta() argument
278 struct rtl_priv *rtlpriv = ppriv; in rtl_rate_alloc_sta()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c171 struct mlx5e_rep_priv *rpriv = priv->ppriv; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
405 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_add_sqs_fwd_rules()
457 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_remove_sqs_fwd_rules()
466 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_open()
489 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_close()
505 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_is_uplink_rep()
567 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_get_devlink_port()
576 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_change_carrier()
635 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_build_rep_params()
728 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_create_rep_ttc_table()
[all …]
Den_rep.h269 return (MLX5_ESWITCH_MANAGER(priv->mdev) && priv->ppriv); in mlx5e_is_vport_rep()
Den_tc.c1482 rpriv = out_priv->ppriv; in set_encap_dests()
2793 struct mlx5e_rep_priv *rpriv = priv->ppriv; in parse_cls_flower()
3936 rpriv = priv->ppriv; in get_tc_ht()
4189 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_add_fdb_flow()
4318 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_configure_flower()
4489 struct mlx5e_rep_priv *rpriv = priv->ppriv; in apply_police_params()
4559 struct mlx5e_rep_priv *rpriv = priv->ppriv; in scan_tc_matchall_fdb_actions()
4631 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_tc_stats_matchall()
Den.h966 void *ppriv; member
Den_main.c5537 priv->ppriv = new_ppriv; in mlx5e_netdev_attach_profile()
5559 void *orig_ppriv = priv->ppriv; in mlx5e_netdev_change_profile()
5657 priv->ppriv = NULL; in mlx5e_probe()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c161 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_init_underlay_qp()
215 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_uninit_underlay_qp()
231 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_create_underlay_qp()
291 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_init_tx()
315 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_cleanup_tx()
481 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_dev_init()
513 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_dev_cleanup()
524 struct mlx5i_priv *ipriv = epriv->ppriv; in mlx5i_open()
567 struct mlx5i_priv *ipriv = epriv->ppriv; in mlx5i_close()
597 struct mlx5i_priv *ipriv = epriv->ppriv; in mlx5i_attach_mcast()
[all …]
Dipoib_vlan.c108 struct mlx5i_priv *ipriv = epriv->ppriv; in mlx5i_pkey_del_qpn()
163 ipriv = priv->ppriv; in mlx5i_pkey_dev_init()
193 struct mlx5i_priv *ipriv = epriv->ppriv; in mlx5i_pkey_open()
245 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_pkey_close()
319 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_pkey_cleanup_tx()
/linux-5.19.10/drivers/crypto/caam/
Dcaamalg_qi2.c4663 struct dpaa2_caam_priv_per_cpu *ppriv; in dpaa2_caam_fqdan_cb() local
4665 ppriv = container_of(nctx, struct dpaa2_caam_priv_per_cpu, nctx); in dpaa2_caam_fqdan_cb()
4666 napi_schedule_irqoff(&ppriv->napi); in dpaa2_caam_fqdan_cb()
4673 struct dpaa2_caam_priv_per_cpu *ppriv; in dpaa2_dpseci_dpio_setup() local
4677 ppriv = per_cpu_ptr(priv->ppriv, cpu); in dpaa2_dpseci_dpio_setup()
4678 ppriv->priv = priv; in dpaa2_dpseci_dpio_setup()
4679 nctx = &ppriv->nctx; in dpaa2_dpseci_dpio_setup()
4681 nctx->id = ppriv->rsp_fqid; in dpaa2_dpseci_dpio_setup()
4686 ppriv->dpio = dpaa2_io_service_select(cpu); in dpaa2_dpseci_dpio_setup()
4687 err = dpaa2_io_service_register(ppriv->dpio, nctx, dev); in dpaa2_dpseci_dpio_setup()
[all …]
Dcaamalg_qi2.h68 struct dpaa2_caam_priv_per_cpu __percpu *ppriv; member
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbond.c121 rpriv = priv->ppriv; in mlx5e_rep_bond_enslave()
165 rpriv = priv->ppriv; in mlx5e_rep_bond_unslave()
209 rpriv = priv->ppriv; in mlx5e_rep_changelowerstate_event()
221 rpriv = priv->ppriv; in mlx5e_rep_changelowerstate_event()
256 rpriv = priv->ppriv; in mlx5e_rep_changeupper_event()
Dneigh.c40 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_queue_neigh_stats_work()
328 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_neigh_entry_insert()
344 struct mlx5e_rep_priv *rpriv = nhe->priv->ppriv; in mlx5e_rep_neigh_entry_remove()
363 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_neigh_entry_lookup()
Dtc.c38 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_attach()
73 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_detach()
279 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_tc_enable()
287 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_tc_disable()
294 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_tc_event_port_affinity()
Dbridge.c80 rpriv = priv->ppriv; in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
/linux-5.19.10/drivers/gpu/drm/nouveau/
Dnouveau_nvif.c104 const char *dbg, void **ppriv) in nvkm_client_driver_init() argument
107 (struct nvkm_client **)ppriv); in nvkm_client_driver_init()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dmirred.c214 struct mlx5e_rep_priv *rpriv = priv->ppriv; in parse_mirred()
274 rpriv = out_priv->ppriv; in parse_mirred()
/linux-5.19.10/drivers/firmware/arm_scmi/
Dperf.c340 struct scmi_perf_ipriv ppriv = { in scmi_perf_describe_levels_get() local
348 &ppriv); in scmi_perf_describe_levels_get()
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sun8i.c1066 static struct mac_device_info *sun8i_dwmac_setup(void *ppriv) in sun8i_dwmac_setup() argument
1069 struct stmmac_priv *priv = ppriv; in sun8i_dwmac_setup()

12