/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 | 168 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() 1903 struct ipoib_dev_priv *ppriv = ipoib_priv(priv->parent); in ipoib_child_init() local 1905 priv->max_ib_mtu = ppriv->max_ib_mtu; in ipoib_child_init() 1911 memcpy(priv->dev->dev_addr, ppriv->dev->dev_addr, in ipoib_child_init() 1913 memcpy(&priv->local_gid, &ppriv->local_gid, in ipoib_child_init() 1960 struct ipoib_dev_priv *ppriv = ipoib_priv(priv->parent); in ipoib_ndo_init() local 1964 down_write(&ppriv->vlan_rwsem); in ipoib_ndo_init() 1965 list_add_tail(&priv->list, &ppriv->child_intfs); in ipoib_ndo_init() [all …]
|
D | ipoib.h | 597 int __ipoib_vlan_add(struct ipoib_dev_priv *ppriv, struct ipoib_dev_priv *priv,
|
/drivers/dma/fsl-dpaa2-qdma/ |
D | dpaa2-qdma.c | 307 struct dpaa2_qdma_priv_per_prio *ppriv; in dpaa2_qdma_setup() local 356 ppriv = kcalloc(priv->num_pairs, sizeof(*ppriv), GFP_KERNEL); in dpaa2_qdma_setup() 357 if (!ppriv) { in dpaa2_qdma_setup() 361 priv->ppriv = ppriv; in dpaa2_qdma_setup() 370 ppriv->rsp_fqid = priv->rx_queue_attr[i].fqid; in dpaa2_qdma_setup() 378 ppriv->req_fqid = priv->tx_fqid[i]; in dpaa2_qdma_setup() 379 ppriv->prio = i; in dpaa2_qdma_setup() 380 ppriv->priv = priv; in dpaa2_qdma_setup() 381 ppriv++; in dpaa2_qdma_setup() 392 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/ |
D | en_rep.c | 173 struct mlx5e_rep_priv *rpriv = priv->ppriv; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 399 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_add_sqs_fwd_rules() 429 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_remove_sqs_fwd_rules() 438 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_open() 461 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_close() 477 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_is_uplink_rep() 539 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_get_devlink_port() 548 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_change_carrier() 595 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_build_rep_params() 693 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_create_rep_ttc_table() [all …]
|
D | en_rep.h | 261 return (MLX5_ESWITCH_MANAGER(priv->mdev) && priv->ppriv); in mlx5e_is_vport_rep()
|
D | en_tc.c | 1440 rpriv = out_priv->ppriv; in mlx5e_tc_add_fdb_flow() 2611 struct mlx5e_rep_priv *rpriv = priv->ppriv; in parse_cls_flower() 3860 struct mlx5e_rep_priv *rpriv = priv->ppriv; in parse_tc_fdb_actions() 4051 rpriv = out_priv->ppriv; in parse_tc_fdb_actions() 4478 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_add_fdb_flow() 4607 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_configure_flower() 4778 struct mlx5e_rep_priv *rpriv = priv->ppriv; in apply_police_params() 4815 struct mlx5e_rep_priv *rpriv = priv->ppriv; in scan_tc_matchall_fdb_actions() 4885 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_tc_stats_matchall()
|
D | en.h | 879 void *ppriv; member
|
D | en_main.c | 5025 priv->ppriv = new_ppriv; in mlx5e_netdev_init_profile() 5065 void *orig_ppriv = priv->ppriv; in mlx5e_netdev_change_profile() 5184 priv->ppriv = NULL; in mlx5e_probe()
|
D | en_rx.c | 1278 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_handle_rx_cqe_rep()
|
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib.c | 159 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_init_underlay_qp() 213 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_uninit_underlay_qp() 229 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_create_underlay_qp() 289 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_init_tx() 313 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_cleanup_tx() 477 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_dev_init() 507 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_dev_cleanup() 518 struct mlx5i_priv *ipriv = epriv->ppriv; in mlx5i_open() 561 struct mlx5i_priv *ipriv = epriv->ppriv; in mlx5i_close() 591 struct mlx5i_priv *ipriv = epriv->ppriv; in mlx5i_attach_mcast() [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() 319 struct mlx5i_priv *ipriv = priv->ppriv; in mlx5i_pkey_cleanup_tx()
|
/drivers/crypto/caam/ |
D | caamalg_qi2.c | 4664 struct dpaa2_caam_priv_per_cpu *ppriv; in dpaa2_caam_fqdan_cb() local 4666 ppriv = container_of(nctx, struct dpaa2_caam_priv_per_cpu, nctx); in dpaa2_caam_fqdan_cb() 4667 napi_schedule_irqoff(&ppriv->napi); in dpaa2_caam_fqdan_cb() 4674 struct dpaa2_caam_priv_per_cpu *ppriv; in dpaa2_dpseci_dpio_setup() local 4678 ppriv = per_cpu_ptr(priv->ppriv, cpu); in dpaa2_dpseci_dpio_setup() 4679 ppriv->priv = priv; in dpaa2_dpseci_dpio_setup() 4680 nctx = &ppriv->nctx; in dpaa2_dpseci_dpio_setup() 4682 nctx->id = ppriv->rsp_fqid; in dpaa2_dpseci_dpio_setup() 4687 ppriv->dpio = dpaa2_io_service_select(cpu); in dpaa2_dpseci_dpio_setup() 4688 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() 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()
|
D | tc.c | 34 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_attach() 69 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_detach() 275 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_tc_enable() 283 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_tc_disable() 290 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_tc_event_port_affinity()
|
D | bridge.c | 80 rpriv = priv->ppriv; in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
|
/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 | 1077 static struct mac_device_info *sun8i_dwmac_setup(void *ppriv) in sun8i_dwmac_setup() argument 1080 struct stmmac_priv *priv = ppriv; in sun8i_dwmac_setup()
|