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

/freebsd-11-stable/sys/dev/ntb/
H A Dntb.c56 const struct ntb_ctx_ops *ctx_ops; member in struct:ntb_child
232 if (nc->ctx_ops != NULL && nc->ctx_ops->link_event != NULL)
233 nc->ctx_ops->link_event(nc->ctx);
247 if (nc->ctx_ops != NULL && nc->ctx_ops->db_event != NULL)
248 nc->ctx_ops->db_event(nc->ctx, vec);
303 ntb_set_ctx(device_t ntb, void *ctx, const struct ntb_ctx_ops *ctx_ops) argument
307 if (ctx == NULL || ctx_ops == NULL)
311 if (nc->ctx_ops !
330 ntb_get_ctx(device_t ntb, const struct ntb_ctx_ops **ctx_ops) argument
[all...]
H A Dntb.h119 * @ctx_ops: Driver context operations
127 int ntb_set_ctx(device_t ntb, void *ctx, const struct ntb_ctx_ops *ctx_ops);
132 * @ctx_ops: Driver context operations
136 void * ntb_get_ctx(device_t ntb, const struct ntb_ctx_ops **ctx_ops);

Completed in 100 milliseconds