Searched refs:ctx_ops (Results 1 – 3 of 3) sorted by relevance
56 const struct ntb_ctx_ops *ctx_ops; member225 if (nc->ctx_ops != NULL && nc->ctx_ops->link_event != NULL) in ntb_link_event()226 nc->ctx_ops->link_event(nc->ctx); in ntb_link_event()240 if (nc->ctx_ops != NULL && nc->ctx_ops->db_event != NULL) in ntb_db_event()328 if (nc->ctx_ops != NULL) { in ntb_set_ctx()333 nc->ctx_ops = ctx_ops; in ntb_set_ctx()339 if (ctx_ops->link_event != NULL) in ntb_set_ctx()340 ctx_ops->link_event(ctx); in ntb_set_ctx()352 if (ctx_ops != NULL) in ntb_get_ctx()353 *ctx_ops = nc->ctx_ops; in ntb_get_ctx()[all …]
171 int ntb_set_ctx(device_t ntb, void *ctx, const struct ntb_ctx_ops *ctx_ops);180 void * ntb_get_ctx(device_t ntb, const struct ntb_ctx_ops **ctx_ops);
105 const struct ntb_ctx_ops *ctx_ops;110 const struct ntb_ctx_ops **ctx_ops;