/drivers/infiniband/ulp/ipoib/ |
D | ipoib_vlan.c | 53 static bool is_child_unique(struct ipoib_dev_priv *ppriv, in is_child_unique() argument 74 if (ppriv->pkey == priv->pkey) in is_child_unique() 77 list_for_each_entry(tpriv, &ppriv->child_intfs, list) { in is_child_unique() 95 int __ipoib_vlan_add(struct ipoib_dev_priv *ppriv, struct ipoib_dev_priv *priv, in __ipoib_vlan_add() argument 114 WARN_ON(ppriv->dev->reg_state != NETREG_REGISTERED); in __ipoib_vlan_add() 123 priv->parent = ppriv->dev; in __ipoib_vlan_add() 127 if (!is_child_unique(ppriv, priv)) { in __ipoib_vlan_add() 170 struct ipoib_dev_priv *ppriv, *priv; in ipoib_vlan_add() local 186 ppriv = ipoib_priv(pdev); in ipoib_vlan_add() 189 ppriv->dev->name, pkey); in ipoib_vlan_add() [all …]
|
D | ipoib_netlink.c | 106 struct ipoib_dev_priv *ppriv; in ipoib_new_child_link() local 117 ppriv = ipoib_priv(pdev); in ipoib_new_child_link() 119 if (test_bit(IPOIB_FLAG_SUBINTERFACE, &ppriv->flags)) { in ipoib_new_child_link() 120 ipoib_warn(ppriv, "child creation disallowed for child devices\n"); in ipoib_new_child_link() 125 ipoib_dbg(ppriv, "no pkey specified, using parent pkey\n"); in ipoib_new_child_link() 126 child_pkey = ppriv->pkey; in ipoib_new_child_link() 130 err = ipoib_intf_init(ppriv->ca, ppriv->port, dev->name, dev); in ipoib_new_child_link() 132 ipoib_warn(ppriv, "failed to initialize pkey device\n"); in ipoib_new_child_link() 136 err = __ipoib_vlan_add(ppriv, ipoib_priv(dev), in ipoib_new_child_link()
|
D | ipoib_main.c | 1894 struct ipoib_dev_priv *ppriv = ipoib_priv(priv->parent); in ipoib_child_init() local 1896 priv->max_ib_mtu = ppriv->max_ib_mtu; in ipoib_child_init() 1902 memcpy(priv->dev->dev_addr, ppriv->dev->dev_addr, in ipoib_child_init() 1904 memcpy(&priv->local_gid, &ppriv->local_gid, in ipoib_child_init() 1951 struct ipoib_dev_priv *ppriv = ipoib_priv(priv->parent); in ipoib_ndo_init() local 1955 down_write(&ppriv->vlan_rwsem); in ipoib_ndo_init() 1956 list_add_tail(&priv->list, &ppriv->child_intfs); in ipoib_ndo_init() 1957 up_write(&ppriv->vlan_rwsem); in ipoib_ndo_init() 1976 struct ipoib_dev_priv *ppriv = ipoib_priv(priv->parent); in ipoib_ndo_uninit() local 1978 down_write(&ppriv->vlan_rwsem); in ipoib_ndo_uninit() [all …]
|
D | ipoib.h | 598 int __ipoib_vlan_add(struct ipoib_dev_priv *ppriv, struct ipoib_dev_priv *priv,
|
/drivers/dma/fsl-dpaa2-qdma/ |
D | dpaa2-qdma.c | 308 struct dpaa2_qdma_priv_per_prio *ppriv; in dpaa2_qdma_setup() local 357 ppriv = kcalloc(priv->num_pairs, sizeof(*ppriv), GFP_KERNEL); in dpaa2_qdma_setup() 358 if (!ppriv) { in dpaa2_qdma_setup() 362 priv->ppriv = ppriv; in dpaa2_qdma_setup() 371 ppriv->rsp_fqid = priv->rx_queue_attr[i].fqid; in dpaa2_qdma_setup() 379 ppriv->req_fqid = priv->tx_fqid[i]; in dpaa2_qdma_setup() 380 ppriv->prio = i; in dpaa2_qdma_setup() 381 ppriv->priv = priv; in dpaa2_qdma_setup() 382 ppriv++; in dpaa2_qdma_setup() 393 struct dpaa2_qdma_priv_per_prio *ppriv = container_of(ctx, in dpaa2_qdma_fqdan_cb() local [all …]
|
D | dpaa2-qdma.h | 123 struct dpaa2_qdma_priv_per_prio *ppriv; member
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | rc.c | 164 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()
|
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib.c | 82 void *ppriv) in mlx5i_init() argument 87 err = mlx5e_netdev_init(netdev, priv, mdev, profile, ppriv); in mlx5i_init() 166 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_init_underlay_qp() 220 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_uninit_underlay_qp() 236 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_create_underlay_qp() 295 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_init_tx() 319 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_cleanup_tx() 507 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_dev_init() 537 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_dev_cleanup() 548 struct mlx5i_priv *ipriv = epriv->ppriv; in mlx5i_open() [all …]
|
D | ipoib_vlan.c | 108 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() 281 void *ppriv) in mlx5i_pkey_init() argument 286 err = mlx5i_init(mdev, netdev, profile, ppriv); in mlx5i_pkey_init() 321 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_pkey_cleanup_tx()
|
D | ipoib.h | 93 void *ppriv);
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 178 struct mlx5e_rep_priv *rpriv = priv->ppriv; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 440 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_add_sqs_fwd_rules() 469 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_remove_sqs_fwd_rules() 478 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_open() 501 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_close() 517 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_is_uplink_rep() 607 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_get_devlink_port() 616 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_change_carrier() 684 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_build_rep_params() 724 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_build_rep_netdev() [all …]
|
D | en.h | 819 void *ppriv; member 846 const struct mlx5e_profile *profile, void *ppriv); 1078 void *ppriv); 1082 int nch, void *ppriv);
|
D | en_rep.h | 239 return (MLX5_ESWITCH_MANAGER(priv->mdev) && priv->ppriv); in mlx5e_is_vport_rep()
|
D | en_tc.c | 1415 rpriv = out_priv->ppriv; in mlx5e_tc_add_fdb_flow() 2681 struct mlx5e_rep_priv *rpriv = priv->ppriv; in parse_cls_flower() 4217 struct mlx5e_rep_priv *rpriv = priv->ppriv; in parse_tc_fdb_actions() 4400 rpriv = out_priv->ppriv; in parse_tc_fdb_actions() 4827 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_add_fdb_flow() 4955 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_configure_flower() 5117 struct mlx5e_rep_priv *rpriv = priv->ppriv; in apply_police_params() 5153 struct mlx5e_rep_priv *rpriv = priv->ppriv; in scan_tc_matchall_fdb_actions() 5219 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_tc_stats_matchall()
|
D | en_main.c | 5157 void *ppriv) in mlx5e_nic_init() argument 5163 err = mlx5e_netdev_init(netdev, priv, mdev, profile, ppriv); in mlx5e_nic_init() 5395 void *ppriv) in mlx5e_netdev_init() argument 5401 priv->ppriv = ppriv; in mlx5e_netdev_init() 5439 void *ppriv) in mlx5e_create_netdev() argument 5452 err = profile->init(mdev, netdev, profile, ppriv); in mlx5e_create_netdev()
|
D | en_rx.c | 1280 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_handle_rx_cqe_rep()
|
/drivers/crypto/caam/ |
D | caamalg_qi2.c | 4661 struct dpaa2_caam_priv_per_cpu *ppriv; in dpaa2_caam_fqdan_cb() local 4663 ppriv = container_of(nctx, struct dpaa2_caam_priv_per_cpu, nctx); in dpaa2_caam_fqdan_cb() 4664 napi_schedule_irqoff(&ppriv->napi); in dpaa2_caam_fqdan_cb() 4671 struct dpaa2_caam_priv_per_cpu *ppriv; in dpaa2_dpseci_dpio_setup() local 4675 ppriv = per_cpu_ptr(priv->ppriv, cpu); in dpaa2_dpseci_dpio_setup() 4676 ppriv->priv = priv; in dpaa2_dpseci_dpio_setup() 4677 nctx = &ppriv->nctx; in dpaa2_dpseci_dpio_setup() 4679 nctx->id = ppriv->rsp_fqid; in dpaa2_dpseci_dpio_setup() 4684 ppriv->dpio = dpaa2_io_service_select(cpu); in dpaa2_dpseci_dpio_setup() 4685 err = dpaa2_io_service_register(ppriv->dpio, nctx, dev); in dpaa2_dpseci_dpio_setup() [all …]
|
D | caamalg_qi2.h | 68 struct dpaa2_caam_priv_per_cpu __percpu *ppriv; member
|
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | bond.c | 121 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()
|
D | neigh.c | 40 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_queue_neigh_stats_work() 319 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_neigh_entry_insert() 335 struct mlx5e_rep_priv *rpriv = nhe->priv->ppriv; in mlx5e_rep_neigh_entry_remove() 354 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_neigh_entry_lookup()
|
D | tc.c | 31 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_attach() 66 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_detach() 273 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_tc_enable() 281 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_tc_disable() 288 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_tc_event_port_affinity()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_nvif.c | 104 const char *dbg, void **ppriv) in nvkm_client_driver_init() argument 107 (struct nvkm_client **)ppriv); in nvkm_client_driver_init()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-sun8i.c | 1058 static struct mac_device_info *sun8i_dwmac_setup(void *ppriv) in sun8i_dwmac_setup() argument 1061 struct stmmac_priv *priv = ppriv; in sun8i_dwmac_setup()
|