Home
last modified time | relevance | path

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

/linux/drivers/ntb/
H A Dcore.c122 ntb->ctx_ops = NULL; in ntb_register_device()
141 const struct ntb_ctx_ops *ctx_ops) in ntb_set_ctx() argument
145 if (!ntb_ctx_ops_is_valid(ctx_ops)) in ntb_set_ctx()
147 if (ntb->ctx_ops) in ntb_set_ctx()
153 ntb->ctx_ops = ctx_ops; in ntb_set_ctx()
167 ntb->ctx_ops = NULL; in ntb_clear_ctx()
180 if (ntb->ctx_ops && ntb->ctx_ops->link_event) in ntb_link_event()
181 ntb->ctx_ops->link_event(ntb->ctx); in ntb_link_event()
193 if (ntb->ctx_ops && ntb->ctx_ops->db_event) in ntb_db_event()
194 ntb->ctx_ops->db_event(ntb->ctx, vector); in ntb_db_event()
[all …]
/linux/include/linux/
H A Dntb.h423 const struct ntb_ctx_ops *ctx_ops; member
503 const struct ntb_ctx_ops *ctx_ops);