Searched refs:ctx_ops (Results 1 – 3 of 3) sorted by relevance
56 const struct ntb_ctx_ops *ctx_ops; member232 if (nc->ctx_ops != NULL && nc->ctx_ops->link_event != NULL) in ntb_link_event()233 nc->ctx_ops->link_event(nc->ctx); in ntb_link_event()247 if (nc->ctx_ops != NULL && nc->ctx_ops->db_event != NULL) in ntb_db_event()248 nc->ctx_ops->db_event(nc->ctx, vec); in ntb_db_event()303 ntb_set_ctx(device_t ntb, void *ctx, const struct ntb_ctx_ops *ctx_ops) in ntb_set_ctx() argument307 if (ctx == NULL || ctx_ops == NULL) in ntb_set_ctx()311 if (nc->ctx_ops != NULL) { in ntb_set_ctx()316 nc->ctx_ops = ctx_ops; in ntb_set_ctx()322 if (ctx_ops->link_event != NULL) in ntb_set_ctx()[all …]
127 int ntb_set_ctx(device_t ntb, void *ctx, const struct ntb_ctx_ops *ctx_ops);136 void * ntb_get_ctx(device_t ntb, const struct ntb_ctx_ops **ctx_ops);
87 const struct ntb_ctx_ops *ctx_ops;92 const struct ntb_ctx_ops **ctx_ops;