Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.c193 cmd_ctx = &fdev->cmd_ctx[cid]; in fun_complete_admin_cmd()
201 if (cmd_ctx->cb) in fun_complete_admin_cmd()
202 cmd_ctx->cb(fdev, entry, xchg(&cmd_ctx->cb_data, NULL)); in fun_complete_admin_cmd()
204 cpu = cmd_ctx->cpu; in fun_complete_admin_cmd()
205 cmd_ctx->cpu = -1; in fun_complete_admin_cmd()
213 fdev->cmd_ctx = kvcalloc(ntags, sizeof(*fdev->cmd_ctx), GFP_KERNEL); in fun_init_cmd_ctx()
214 if (!fdev->cmd_ctx) in fun_init_cmd_ctx()
385 cmd_ctx = &fdev->cmd_ctx[tag]; in fun_submit_admin_cmd()
386 cmd_ctx->cb = cb; in fun_submit_admin_cmd()
395 cmd_ctx->cpu = cpu; in fun_submit_admin_cmd()
[all …]
H A Dfun_dev.h58 struct fun_cmd_ctx *cmd_ctx; member