Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/ntb/
Dntb.c120 ntb->ctx_ops = NULL; in ntb_register_device()
135 const struct ntb_ctx_ops *ctx_ops) in ntb_set_ctx() argument
139 if (!ntb_ctx_ops_is_valid(ctx_ops)) in ntb_set_ctx()
141 if (ntb->ctx_ops) in ntb_set_ctx()
147 ntb->ctx_ops = ctx_ops; in ntb_set_ctx()
161 ntb->ctx_ops = NULL; in ntb_clear_ctx()
174 if (ntb->ctx_ops && ntb->ctx_ops->link_event) in ntb_link_event()
175 ntb->ctx_ops->link_event(ntb->ctx); in ntb_link_event()
187 if (ntb->ctx_ops && ntb->ctx_ops->db_event) in ntb_db_event()
188 ntb->ctx_ops->db_event(ntb->ctx, vector); in ntb_db_event()
[all …]
/Linux-v4.19/include/linux/
Dntb.h420 const struct ntb_ctx_ops *ctx_ops; member
496 const struct ntb_ctx_ops *ctx_ops);