Searched refs:dpaa2_eth_traps_arr (Results 1 – 1 of 1) sorted by relevance
14 static const struct devlink_trap dpaa2_eth_traps_arr[] = { variable51 for (i = 0; i < ARRAY_SIZE(dpaa2_eth_traps_arr); i++) { in dpaa2_eth_dl_trap_item_lookup()52 if (dpaa2_eth_traps_arr[i].id == trap_id) in dpaa2_eth_dl_trap_item_lookup()245 dpaa2_eth_trap_data->trap_items_arr = kcalloc(ARRAY_SIZE(dpaa2_eth_traps_arr), in dpaa2_eth_dl_traps_register()260 err = devlink_traps_register(priv->devlink, dpaa2_eth_traps_arr, in dpaa2_eth_dl_traps_register()261 ARRAY_SIZE(dpaa2_eth_traps_arr), priv); in dpaa2_eth_dl_traps_register()283 devlink_traps_unregister(priv->devlink, dpaa2_eth_traps_arr, in dpaa2_eth_dl_traps_unregister()284 ARRAY_SIZE(dpaa2_eth_traps_arr)); in dpaa2_eth_dl_traps_unregister()