Searched refs:ctx_ops (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/sys/dev/ntb/
H A Dntb.c57 const struct ntb_ctx_ops *ctx_ops; member in struct:ntb_child
233 if (nc->ctx_ops != NULL && nc->ctx_ops->link_event != NULL)
234 nc->ctx_ops->link_event(nc->ctx);
248 if (nc->ctx_ops != NULL && nc->ctx_ops->db_event != NULL)
249 nc->ctx_ops->db_event(nc->ctx, vec);
328 ntb_set_ctx(device_t ntb, void *ctx, const struct ntb_ctx_ops *ctx_ops) argument
332 if (ctx == NULL || ctx_ops == NULL)
336 if (nc->ctx_ops !
355 ntb_get_ctx(device_t ntb, const struct ntb_ctx_ops **ctx_ops) argument
[all...]
H A Dntb.h164 * @ctx_ops: Driver context operations
172 int ntb_set_ctx(device_t ntb, void *ctx, const struct ntb_ctx_ops *ctx_ops);
177 * @ctx_ops: Driver context operations
181 void * ntb_get_ctx(device_t ntb, const struct ntb_ctx_ops **ctx_ops);

Completed in 110 milliseconds