Lines Matching defs:devlink
78 nsim_dev_take_snapshot(struct devlink *devlink, in nsim_dev_take_snapshot()
101 struct devlink *devlink; in nsim_dev_take_snapshot_write() local
429 static int nsim_dev_resources_register(struct devlink *devlink) in nsim_dev_resources_register()
522 struct devlink *devlink) in nsim_devlink_set_params_init_values()
536 static void nsim_devlink_param_load_driverinit_values(struct devlink *devlink) in nsim_devlink_param_load_driverinit_values()
563 struct devlink *devlink) in nsim_dev_dummy_region_init()
585 struct devlink *devlink = priv_to_devlink(nsim_dev); in nsim_esw_legacy_enable() local
620 static int nsim_devlink_eswitch_mode_set(struct devlink *devlink, u16 mode, in nsim_devlink_eswitch_mode_set()
636 static int nsim_devlink_eswitch_mode_get(struct devlink *devlink, u16 *mode) in nsim_devlink_eswitch_mode_get()
785 struct devlink *devlink = priv_to_devlink(nsim_dev); in nsim_dev_trap_report() local
860 static int nsim_dev_traps_init(struct devlink *devlink) in nsim_dev_traps_init()
933 static void nsim_dev_traps_exit(struct devlink *devlink) in nsim_dev_traps_exit()
954 static int nsim_dev_reload_down(struct devlink *devlink, bool netns_change, in nsim_dev_reload_down()
972 static int nsim_dev_reload_up(struct devlink *devlink, enum devlink_reload_action action, in nsim_dev_reload_up()
991 static int nsim_dev_info_get(struct devlink *devlink, in nsim_dev_info_get()
1009 static int nsim_dev_flash_update(struct devlink *devlink, in nsim_dev_flash_update()
1062 static int nsim_dev_devlink_trap_init(struct devlink *devlink, in nsim_dev_devlink_trap_init()
1080 nsim_dev_devlink_trap_action_set(struct devlink *devlink, in nsim_dev_devlink_trap_action_set()
1100 nsim_dev_devlink_trap_group_set(struct devlink *devlink, in nsim_dev_devlink_trap_group_set()
1114 nsim_dev_devlink_trap_policer_set(struct devlink *devlink, in nsim_dev_devlink_trap_policer_set()
1130 nsim_dev_devlink_trap_policer_counter_get(struct devlink *devlink, in nsim_dev_devlink_trap_policer_counter_get()
1311 nsim_dev_devlink_trap_drop_counter_get(struct devlink *devlink, in nsim_dev_devlink_trap_drop_counter_get()
1464 struct devlink *devlink; in nsim_dev_reload_create() local
1530 struct devlink *devlink; in nsim_drv_probe() local
1649 struct devlink *devlink = priv_to_devlink(nsim_dev); in nsim_dev_reload_destroy() local
1673 struct devlink *devlink = priv_to_devlink(nsim_dev); in nsim_drv_remove() local
1740 struct devlink *devlink = priv_to_devlink(nsim_dev); in nsim_drv_configure_vfs() local