Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_devlink.c183 static struct prestera_trap prestera_trap_items_arr[] = { variable
446 const u32 traps_count = ARRAY_SIZE(prestera_trap_items_arr); in prestera_devlink_traps_register()
474 prestera_trap = &prestera_trap_items_arr[i]; in prestera_devlink_traps_register()
485 prestera_trap = &prestera_trap_items_arr[i]; in prestera_devlink_traps_register()
505 prestera_trap = &prestera_trap_items_arr[i]; in prestera_get_trap_item_by_cpu_code()
535 for (i = 0; i < ARRAY_SIZE(prestera_trap_items_arr); i++) { in prestera_devlink_trap_item_lookup()
536 if (prestera_trap_items_arr[i].trap.id == trap_id) in prestera_devlink_trap_item_lookup()
589 for (i = 0; i < ARRAY_SIZE(prestera_trap_items_arr); ++i) { in prestera_devlink_traps_unregister()
590 trap = &prestera_trap_items_arr[i].trap; in prestera_devlink_traps_unregister()