Searched refs:fibctx (Results 1 – 5 of 5) sorted by relevance
169 struct aac_fib_context * fibctx; in open_getadapter_fib() local172 fibctx = kmalloc(sizeof(struct aac_fib_context), GFP_KERNEL); in open_getadapter_fib()173 if (fibctx == NULL) { in open_getadapter_fib()180 fibctx->type = FSAFS_NTC_GET_ADAPTER_FIB_CONTEXT; in open_getadapter_fib()181 fibctx->size = sizeof(struct aac_fib_context); in open_getadapter_fib()188 fibctx->unique = (u32)((ulong)fibctx & 0xFFFFFFFF); in open_getadapter_fib()192 init_completion(&fibctx->completion); in open_getadapter_fib()193 fibctx->wait = 0; in open_getadapter_fib()198 fibctx->count = 0; in open_getadapter_fib()199 INIT_LIST_HEAD(&fibctx->fib_list); in open_getadapter_fib()[all …]
173 struct fib fibctx; in aac_command_normal() local176 struct fib *fib = &fibctx; in aac_command_normal()188 fib = &fibctx; in aac_command_normal()199 if (dev->aif_thread && fib != &fibctx) { in aac_command_normal()230 struct fib *fibctx; in aac_aif_callback() local234 fibctx = (struct fib *)context; in aac_aif_callback()248 aac_fib_init(fibctx); in aac_aif_callback()249 cmd = (struct aac_aifcmd *) fib_data(fibctx); in aac_aif_callback()253 fibctx, in aac_aif_callback()257 (fib_callback)aac_aif_callback, fibctx); in aac_aif_callback()[all …]
315 struct fib * fibctx; in aac_send_shutdown() local330 fibctx = aac_fib_alloc(dev); in aac_send_shutdown()331 if (!fibctx) in aac_send_shutdown()333 aac_fib_init(fibctx); in aac_send_shutdown()335 cmd = (struct aac_close *) fib_data(fibctx); in aac_send_shutdown()340 fibctx, in aac_send_shutdown()347 aac_fib_complete(fibctx); in aac_send_shutdown()350 aac_fib_free(fibctx); in aac_send_shutdown()
1666 struct fib * fibctx = aac_fib_alloc(aac); in aac_reset_adapter() local1667 if (fibctx) { in aac_reset_adapter()1671 aac_fib_init(fibctx); in aac_reset_adapter()1673 cmd = (struct aac_pause *) fib_data(fibctx); in aac_reset_adapter()1683 fibctx, in aac_reset_adapter()1690 aac_fib_complete(fibctx); in aac_reset_adapter()1694 aac_fib_free(fibctx); in aac_reset_adapter()1740 struct aac_fib_context *fibctx = list_entry(entry, struct aac_fib_context, next); in aac_check_health() local1747 if (fibctx->count > 20) { in aac_check_health()1753 u32 time_last = fibctx->jiffies; in aac_check_health()[all …]
1226 typedef void (*fib_callback)(void *ctxt, struct fib *fibctx);2337 u32 fibctx; member2717 #define fib_data(fibctx) ((void *)(fibctx)->hw_fib_va->data) argument2746 int aac_close_fib_context(struct aac_dev * dev, struct aac_fib_context *fibctx);