Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-devlink.c14 static const struct devlink_trap dpaa2_eth_traps_arr[] = { variable
60 for (i = 0; i < ARRAY_SIZE(dpaa2_eth_traps_arr); i++) { in dpaa2_eth_dl_trap_item_lookup()
61 if (dpaa2_eth_traps_arr[i].id == trap_id) in dpaa2_eth_dl_trap_item_lookup()
265 dpaa2_eth_trap_data->trap_items_arr = kcalloc(ARRAY_SIZE(dpaa2_eth_traps_arr), in dpaa2_eth_dl_traps_register()
280 err = devlink_traps_register(priv->devlink, dpaa2_eth_traps_arr, in dpaa2_eth_dl_traps_register()
281 ARRAY_SIZE(dpaa2_eth_traps_arr), priv); in dpaa2_eth_dl_traps_register()
303 devlink_traps_unregister(priv->devlink, dpaa2_eth_traps_arr, in dpaa2_eth_dl_traps_unregister()
304 ARRAY_SIZE(dpaa2_eth_traps_arr)); in dpaa2_eth_dl_traps_unregister()