Home
last modified time | relevance | path

Searched refs:fib (Results 1 – 9 of 9) sorted by relevance

/drivers/scsi/aacraid/
Ddpcsup.c59 struct fib * fib; in aac_response_normal() local
75 fib = &dev->fibs[index >> 2]; in aac_response_normal()
76 hwfib = fib->hw_fib_va; in aac_response_normal()
89 if (unlikely(fib->flags & FIB_CONTEXT_FLAG_TIMED_OUT)) { in aac_response_normal()
91 aac_fib_complete(fib); in aac_response_normal()
92 aac_fib_free(fib); in aac_response_normal()
104 fib->flags |= FIB_CONTEXT_FLAG_FASTRESP; in aac_response_normal()
125 fib->flags &= FIB_CONTEXT_FLAG_FASTRESP; in aac_response_normal()
126 fib->callback(fib->callback_data, fib); in aac_response_normal()
129 spin_lock_irqsave(&fib->event_lock, flagv); in aac_response_normal()
[all …]
Dcommsup.c100 struct fib *fibptr = NULL; in aac_fib_vector_assign()
128 struct fib *fibptr; in aac_fib_setup()
204 struct fib *aac_fib_alloc(struct aac_dev *dev) in aac_fib_alloc()
206 struct fib * fibptr; in aac_fib_alloc()
220 fibptr->size = sizeof(struct fib); in aac_fib_alloc()
240 void aac_fib_free(struct fib *fibptr) in aac_fib_free()
267 void aac_fib_init(struct fib *fibptr) in aac_fib_init()
287 static void fib_dealloc(struct fib * fibptr) in fib_dealloc()
375 …_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned … in aac_queue_get()
437 int aac_fib_send(u16 command, struct fib *fibptr, unsigned long size, in aac_fib_send()
[all …]
Daachba.c320 struct fib *fibptr) { in aac_valid_context()
349 struct fib * fibptr; in aac_get_config_status()
443 struct fib * fibptr; in aac_get_containers()
505 static void get_container_name_callback(void *context, struct fib * fibptr) in get_container_name_callback()
555 struct fib * cmd_fibcontext; in aac_get_container_name()
605 static void _aac_probe_container2(void * context, struct fib * fibptr) in _aac_probe_container2()
656 static void _aac_probe_container1(void * context, struct fib * fibptr) in _aac_probe_container1()
711 struct fib * fibptr; in _aac_probe_container()
926 static void get_container_serial_callback(void *context, struct fib * fibptr) in get_container_serial_callback()
1038 struct fib * cmd_fibcontext; in aac_get_container_serial()
[all …]
Daacraid.h538 struct fib;
556 int (*adapter_deliver)(struct fib * fib);
558 int (*adapter_read)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count);
559 int (*adapter_write)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua);
560 int (*adapter_scsi)(struct fib * fib, struct scsi_cmnd * cmd);
856 typedef void (*fib_callback)(void *ctxt, struct fib *fibctx);
923 struct fib { struct
1123 struct fib *fibs;
1125 struct fib *free_fib;
1230 struct fib *sync_fib;
[all …]
Dcommctrl.c63 struct fib *fibptr; in ioctl_send_fib()
253 struct fib *fib; in next_getadapter_fib() local
307 fib = list_entry(entry, struct fib, fiblink); in next_getadapter_fib()
310 if (copy_to_user(f.fib, fib->hw_fib_va, sizeof(struct hw_fib))) { in next_getadapter_fib()
311 kfree(fib->hw_fib_va); in next_getadapter_fib()
312 kfree(fib); in next_getadapter_fib()
318 kfree(fib->hw_fib_va); in next_getadapter_fib()
319 kfree(fib); in next_getadapter_fib()
352 struct fib *fib; in aac_close_fib_context() local
364 fib = list_entry(entry, struct fib, fiblink); in aac_close_fib_context()
[all …]
Dsrc.c116 struct fib, in aac_src_intr_message()
456 static int aac_src_deliver_message(struct fib *fib) in aac_src_deliver_message() argument
458 struct aac_dev *dev = fib->dev; in aac_src_deliver_message()
467 u16 hdr_size = le16_to_cpu(fib->hw_fib_va->header.Size); in aac_src_deliver_message()
472 if (dev->msi_enabled && fib->hw_fib_va->header.Command != AifRequest && in aac_src_deliver_message()
474 vector_no = fib->vector_no; in aac_src_deliver_message()
475 fib->hw_fib_va->header.Handle += (vector_no << 16); in aac_src_deliver_message()
488 address = fib->hw_fib_pa; in aac_src_deliver_message()
489 fib->hw_fib_va->header.StructType = FIB_MAGIC2; in aac_src_deliver_message()
490 fib->hw_fib_va->header.SenderFibAddress = (u32)address; in aac_src_deliver_message()
[all …]
Dlinit.c551 struct fib * fib = &aac->fibs[count]; in aac_eh_abort() local
552 if (fib->hw_fib_va->header.XferState && in aac_eh_abort()
553 (fib->flags & FIB_CONTEXT_FLAG) && in aac_eh_abort()
554 (fib->callback_data == cmd)) { in aac_eh_abort()
555 fib->flags |= FIB_CONTEXT_FLAG_TIMED_OUT; in aac_eh_abort()
565 struct fib * fib = &aac->fibs[count]; in aac_eh_abort() local
566 if ((fib->hw_fib_va->header.XferState & cpu_to_le32(Async | NoResponseExpected)) && in aac_eh_abort()
567 (fib->flags & FIB_CONTEXT_FLAG) && in aac_eh_abort()
568 ((command = fib->callback_data)) && in aac_eh_abort()
570 fib->flags |= FIB_CONTEXT_FLAG_TIMED_OUT; in aac_eh_abort()
[all …]
Drx.c399 int aac_rx_deliver_producer(struct fib * fib) in aac_rx_deliver_producer() argument
401 struct aac_dev *dev = fib->dev; in aac_rx_deliver_producer()
406 aac_queue_get( dev, &Index, AdapNormCmdQueue, fib->hw_fib_va, 1, fib, &nointr); in aac_rx_deliver_producer()
422 static int aac_rx_deliver_message(struct fib * fib) in aac_rx_deliver_message() argument
424 struct aac_dev *dev = fib->dev; in aac_rx_deliver_message()
445 addr = fib->hw_fib_pa; in aac_rx_deliver_message()
450 writel(le16_to_cpu(fib->hw_fib_va->header.Size), device); in aac_rx_deliver_message()
Dcomminit.c225 struct fib * fibctx; in aac_send_shutdown()