Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ntb/
Dcore.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 …]
/kernel/linux/linux-5.10/include/linux/
Dntb.h423 const struct ntb_ctx_ops *ctx_ops; member
503 const struct ntb_ctx_ops *ctx_ops);