Lines Matching refs:devlink_ctx
205 devlink_region_create(devlink->devlink_ctx, in ipc_devlink_create_region()
243 struct devlink *devlink_ctx; in ipc_devlink_init() local
246 devlink_ctx = devlink_alloc(&devlink_flash_ops, in ipc_devlink_init()
249 if (!devlink_ctx) { in ipc_devlink_init()
254 ipc_devlink = devlink_priv(devlink_ctx); in ipc_devlink_init()
255 ipc_devlink->devlink_ctx = devlink_ctx; in ipc_devlink_init()
259 rc = devlink_params_register(devlink_ctx, iosm_devlink_params, in ipc_devlink_init()
285 devlink_register(devlink_ctx); in ipc_devlink_init()
293 devlink_params_unregister(devlink_ctx, iosm_devlink_params, in ipc_devlink_init()
296 devlink_free(devlink_ctx); in ipc_devlink_init()
307 struct devlink *devlink_ctx = ipc_devlink->devlink_ctx; in ipc_devlink_deinit() local
309 devlink_unregister(devlink_ctx); in ipc_devlink_deinit()
311 devlink_params_unregister(devlink_ctx, iosm_devlink_params, in ipc_devlink_deinit()
321 devlink_free(devlink_ctx); in ipc_devlink_deinit()