Lines Matching refs:AdapterControlBlock
109 static int arcmsr_iop_message_xfer(struct AdapterControlBlock *acb,
111 static int arcmsr_iop_confirm(struct AdapterControlBlock *acb);
123 static void arcmsr_iop_init(struct AdapterControlBlock *acb);
124 static void arcmsr_free_ccb_pool(struct AdapterControlBlock *acb);
125 static u32 arcmsr_disable_outbound_ints(struct AdapterControlBlock *acb);
126 static void arcmsr_enable_outbound_ints(struct AdapterControlBlock *acb,
128 static void arcmsr_stop_adapter_bgrb(struct AdapterControlBlock *acb);
129 static void arcmsr_hbaA_flush_cache(struct AdapterControlBlock *acb);
130 static void arcmsr_hbaB_flush_cache(struct AdapterControlBlock *acb);
133 static bool arcmsr_get_firmware_spec(struct AdapterControlBlock *acb);
134 static void arcmsr_start_adapter_bgrb(struct AdapterControlBlock *acb);
135 static void arcmsr_hbaC_message_isr(struct AdapterControlBlock *pACB);
136 static void arcmsr_hbaD_message_isr(struct AdapterControlBlock *acb);
137 static void arcmsr_hbaE_message_isr(struct AdapterControlBlock *acb);
138 static void arcmsr_hbaE_postqueue_isr(struct AdapterControlBlock *acb);
139 static void arcmsr_hbaF_postqueue_isr(struct AdapterControlBlock *acb);
140 static void arcmsr_hardware_reset(struct AdapterControlBlock *acb);
142 static irqreturn_t arcmsr_interrupt(struct AdapterControlBlock *acb);
143 static void arcmsr_free_irq(struct pci_dev *, struct AdapterControlBlock *);
144 static void arcmsr_wait_firmware_ready(struct AdapterControlBlock *acb);
244 static void arcmsr_free_io_queue(struct AdapterControlBlock *acb) in arcmsr_free_io_queue()
257 static bool arcmsr_remap_pciregion(struct AdapterControlBlock *acb) in arcmsr_remap_pciregion()
344 static void arcmsr_unmap_pciregion(struct AdapterControlBlock *acb) in arcmsr_unmap_pciregion()
372 struct AdapterControlBlock *acb = dev_id; in arcmsr_do_interrupt()
401 static uint8_t arcmsr_hbaA_wait_msgint_ready(struct AdapterControlBlock *acb) in arcmsr_hbaA_wait_msgint_ready()
419 static uint8_t arcmsr_hbaB_wait_msgint_ready(struct AdapterControlBlock *acb) in arcmsr_hbaB_wait_msgint_ready()
439 static uint8_t arcmsr_hbaC_wait_msgint_ready(struct AdapterControlBlock *pACB) in arcmsr_hbaC_wait_msgint_ready()
457 static bool arcmsr_hbaD_wait_msgint_ready(struct AdapterControlBlock *pACB) in arcmsr_hbaD_wait_msgint_ready()
474 static bool arcmsr_hbaE_wait_msgint_ready(struct AdapterControlBlock *pACB) in arcmsr_hbaE_wait_msgint_ready()
492 static void arcmsr_hbaA_flush_cache(struct AdapterControlBlock *acb) in arcmsr_hbaA_flush_cache()
508 static void arcmsr_hbaB_flush_cache(struct AdapterControlBlock *acb) in arcmsr_hbaB_flush_cache()
524 static void arcmsr_hbaC_flush_cache(struct AdapterControlBlock *pACB) in arcmsr_hbaC_flush_cache()
542 static void arcmsr_hbaD_flush_cache(struct AdapterControlBlock *pACB) in arcmsr_hbaD_flush_cache()
559 static void arcmsr_hbaE_flush_cache(struct AdapterControlBlock *pACB) in arcmsr_hbaE_flush_cache()
577 static void arcmsr_flush_adapter_cache(struct AdapterControlBlock *acb) in arcmsr_flush_adapter_cache()
600 static void arcmsr_hbaB_assign_regAddr(struct AdapterControlBlock *acb) in arcmsr_hbaB_assign_regAddr()
620 static void arcmsr_hbaD_assign_regAddr(struct AdapterControlBlock *acb) in arcmsr_hbaD_assign_regAddr()
652 static void arcmsr_hbaF_assign_regAddr(struct AdapterControlBlock *acb) in arcmsr_hbaF_assign_regAddr()
673 static bool arcmsr_alloc_io_queue(struct AdapterControlBlock *acb) in arcmsr_alloc_io_queue()
754 static int arcmsr_alloc_xor_buffer(struct AdapterControlBlock *acb) in arcmsr_alloc_xor_buffer()
805 static int arcmsr_alloc_ccb_pool(struct AdapterControlBlock *acb) in arcmsr_alloc_ccb_pool()
904 struct AdapterControlBlock *acb = container_of(work, in arcmsr_message_isr_bh_fn()
905 struct AdapterControlBlock, arcmsr_do_message_isr_bh); in arcmsr_message_isr_bh_fn()
989 arcmsr_request_irq(struct pci_dev *pdev, struct AdapterControlBlock *acb) in arcmsr_request_irq()
1035 static void arcmsr_init_get_devmap_timer(struct AdapterControlBlock *pacb) in arcmsr_init_get_devmap_timer()
1044 static void arcmsr_init_set_datetime_timer(struct AdapterControlBlock *pacb) in arcmsr_init_set_datetime_timer()
1051 static int arcmsr_set_dma_mask(struct AdapterControlBlock *acb) in arcmsr_set_dma_mask()
1081 struct AdapterControlBlock *acb; in arcmsr_probe()
1088 host = scsi_host_alloc(&arcmsr_scsi_host_template, sizeof(struct AdapterControlBlock)); in arcmsr_probe()
1095 acb = (struct AdapterControlBlock *) host->hostdata; in arcmsr_probe()
1096 memset(acb,0,sizeof(struct AdapterControlBlock)); in arcmsr_probe()
1188 struct AdapterControlBlock *acb) in arcmsr_free_irq()
1201 struct AdapterControlBlock *acb = in arcmsr_suspend()
1202 (struct AdapterControlBlock *)host->hostdata; in arcmsr_suspend()
1219 struct AdapterControlBlock *acb = in arcmsr_resume()
1220 (struct AdapterControlBlock *)host->hostdata; in arcmsr_resume()
1272 static uint8_t arcmsr_hbaA_abort_allcmd(struct AdapterControlBlock *acb) in arcmsr_hbaA_abort_allcmd()
1285 static uint8_t arcmsr_hbaB_abort_allcmd(struct AdapterControlBlock *acb) in arcmsr_hbaB_abort_allcmd()
1298 static uint8_t arcmsr_hbaC_abort_allcmd(struct AdapterControlBlock *pACB) in arcmsr_hbaC_abort_allcmd()
1312 static uint8_t arcmsr_hbaD_abort_allcmd(struct AdapterControlBlock *pACB) in arcmsr_hbaD_abort_allcmd()
1325 static uint8_t arcmsr_hbaE_abort_allcmd(struct AdapterControlBlock *pACB) in arcmsr_hbaE_abort_allcmd()
1340 static uint8_t arcmsr_abort_allcmd(struct AdapterControlBlock *acb) in arcmsr_abort_allcmd()
1366 struct AdapterControlBlock *acb = ccb->acb; in arcmsr_ccb_complete()
1398 static u32 arcmsr_disable_outbound_ints(struct AdapterControlBlock *acb) in arcmsr_disable_outbound_ints()
1440 static void arcmsr_report_ccb_state(struct AdapterControlBlock *acb, in arcmsr_report_ccb_state()
1492 static void arcmsr_drain_donequeue(struct AdapterControlBlock *acb, struct CommandControlBlock *pCC… in arcmsr_drain_donequeue()
1520 static void arcmsr_done4abort_postqueue(struct AdapterControlBlock *acb) in arcmsr_done4abort_postqueue()
1642 static void arcmsr_remove_scsi_devices(struct AdapterControlBlock *acb) in arcmsr_remove_scsi_devices()
1678 static void arcmsr_free_pcidev(struct AdapterControlBlock *acb) in arcmsr_free_pcidev()
1704 struct AdapterControlBlock *acb = in arcmsr_remove()
1705 (struct AdapterControlBlock *) host->hostdata; in arcmsr_remove()
1763 struct AdapterControlBlock *acb = in arcmsr_shutdown()
1764 (struct AdapterControlBlock *)host->hostdata; in arcmsr_shutdown()
1791 static void arcmsr_enable_outbound_ints(struct AdapterControlBlock *acb, in arcmsr_enable_outbound_ints()
1842 static int arcmsr_build_ccb(struct AdapterControlBlock *acb, in arcmsr_build_ccb()
1897 static void arcmsr_post_ccb(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb) in arcmsr_post_ccb()
1996 static void arcmsr_hbaA_stop_bgrb(struct AdapterControlBlock *acb) in arcmsr_hbaA_stop_bgrb()
2008 static void arcmsr_hbaB_stop_bgrb(struct AdapterControlBlock *acb) in arcmsr_hbaB_stop_bgrb()
2021 static void arcmsr_hbaC_stop_bgrb(struct AdapterControlBlock *pACB) in arcmsr_hbaC_stop_bgrb()
2035 static void arcmsr_hbaD_stop_bgrb(struct AdapterControlBlock *pACB) in arcmsr_hbaD_stop_bgrb()
2046 static void arcmsr_hbaE_stop_bgrb(struct AdapterControlBlock *pACB) in arcmsr_hbaE_stop_bgrb()
2060 static void arcmsr_stop_adapter_bgrb(struct AdapterControlBlock *acb) in arcmsr_stop_adapter_bgrb()
2082 static void arcmsr_free_ccb_pool(struct AdapterControlBlock *acb) in arcmsr_free_ccb_pool()
2110 static void arcmsr_iop_message_read(struct AdapterControlBlock *acb) in arcmsr_iop_message_read()
2145 static void arcmsr_iop_message_wrote(struct AdapterControlBlock *acb) in arcmsr_iop_message_wrote()
2192 struct QBUFFER __iomem *arcmsr_get_iop_rqbuffer(struct AdapterControlBlock *acb) in arcmsr_get_iop_rqbuffer()
2230 static struct QBUFFER __iomem *arcmsr_get_iop_wqbuffer(struct AdapterControlBlock *acb) in arcmsr_get_iop_wqbuffer()
2268 arcmsr_Read_iop_rqbuffer_in_DWORD(struct AdapterControlBlock *acb, in arcmsr_Read_iop_rqbuffer_in_DWORD()
2309 arcmsr_Read_iop_rqbuffer_data(struct AdapterControlBlock *acb, in arcmsr_Read_iop_rqbuffer_data()
2332 static void arcmsr_iop2drv_data_wrote_handle(struct AdapterControlBlock *acb) in arcmsr_iop2drv_data_wrote_handle()
2353 static void arcmsr_write_ioctldata2iop_in_DWORD(struct AdapterControlBlock *acb) in arcmsr_write_ioctldata2iop_in_DWORD()
2398 arcmsr_write_ioctldata2iop(struct AdapterControlBlock *acb) in arcmsr_write_ioctldata2iop()
2427 static void arcmsr_iop2drv_data_read_handle(struct AdapterControlBlock *acb) in arcmsr_iop2drv_data_read_handle()
2440 static void arcmsr_hbaA_doorbell_isr(struct AdapterControlBlock *acb) in arcmsr_hbaA_doorbell_isr()
2455 static void arcmsr_hbaC_doorbell_isr(struct AdapterControlBlock *pACB) in arcmsr_hbaC_doorbell_isr()
2482 static void arcmsr_hbaD_doorbell_isr(struct AdapterControlBlock *pACB) in arcmsr_hbaD_doorbell_isr()
2502 static void arcmsr_hbaE_doorbell_isr(struct AdapterControlBlock *pACB) in arcmsr_hbaE_doorbell_isr()
2536 static void arcmsr_hbaA_postqueue_isr(struct AdapterControlBlock *acb) in arcmsr_hbaA_postqueue_isr()
2555 static void arcmsr_hbaB_postqueue_isr(struct AdapterControlBlock *acb) in arcmsr_hbaB_postqueue_isr()
2581 static void arcmsr_hbaC_postqueue_isr(struct AdapterControlBlock *acb) in arcmsr_hbaC_postqueue_isr()
2616 static void arcmsr_hbaD_postqueue_isr(struct AdapterControlBlock *acb) in arcmsr_hbaD_postqueue_isr()
2660 static void arcmsr_hbaE_postqueue_isr(struct AdapterControlBlock *acb) in arcmsr_hbaE_postqueue_isr()
2687 static void arcmsr_hbaF_postqueue_isr(struct AdapterControlBlock *acb) in arcmsr_hbaF_postqueue_isr()
2725 static void arcmsr_hbaA_message_isr(struct AdapterControlBlock *acb) in arcmsr_hbaA_message_isr()
2733 static void arcmsr_hbaB_message_isr(struct AdapterControlBlock *acb) in arcmsr_hbaB_message_isr()
2751 static void arcmsr_hbaC_message_isr(struct AdapterControlBlock *acb) in arcmsr_hbaC_message_isr()
2760 static void arcmsr_hbaD_message_isr(struct AdapterControlBlock *acb) in arcmsr_hbaD_message_isr()
2770 static void arcmsr_hbaE_message_isr(struct AdapterControlBlock *acb) in arcmsr_hbaE_message_isr()
2779 static int arcmsr_hbaA_handle_isr(struct AdapterControlBlock *acb) in arcmsr_hbaA_handle_isr()
2803 static int arcmsr_hbaB_handle_isr(struct AdapterControlBlock *acb) in arcmsr_hbaB_handle_isr()
2831 static int arcmsr_hbaC_handle_isr(struct AdapterControlBlock *pACB) in arcmsr_hbaC_handle_isr()
2857 static irqreturn_t arcmsr_hbaD_handle_isr(struct AdapterControlBlock *pACB) in arcmsr_hbaD_handle_isr()
2882 static irqreturn_t arcmsr_hbaE_handle_isr(struct AdapterControlBlock *pACB) in arcmsr_hbaE_handle_isr()
2907 static irqreturn_t arcmsr_hbaF_handle_isr(struct AdapterControlBlock *pACB) in arcmsr_hbaF_handle_isr()
2932 static irqreturn_t arcmsr_interrupt(struct AdapterControlBlock *acb) in arcmsr_interrupt()
2952 static void arcmsr_iop_parking(struct AdapterControlBlock *acb) in arcmsr_iop_parking()
2968 void arcmsr_clear_iop2drv_rqueue_buffer(struct AdapterControlBlock *acb) in arcmsr_clear_iop2drv_rqueue_buffer()
2991 static int arcmsr_iop_message_xfer(struct AdapterControlBlock *acb, in arcmsr_iop_message_xfer()
3245 static struct CommandControlBlock *arcmsr_get_freeccb(struct AdapterControlBlock *acb) in arcmsr_get_freeccb()
3264 static void arcmsr_handle_virtual_command(struct AdapterControlBlock *acb, in arcmsr_handle_virtual_command()
3317 struct AdapterControlBlock *acb = (struct AdapterControlBlock *) host->hostdata; in arcmsr_queue_command_lck()
3357 static void arcmsr_get_adapter_config(struct AdapterControlBlock *pACB, uint32_t *rwbuffer) in arcmsr_get_adapter_config()
3404 static bool arcmsr_hbaA_get_config(struct AdapterControlBlock *acb) in arcmsr_hbaA_get_config()
3418 static bool arcmsr_hbaB_get_config(struct AdapterControlBlock *acb) in arcmsr_hbaB_get_config()
3438 static bool arcmsr_hbaC_get_config(struct AdapterControlBlock *pACB) in arcmsr_hbaC_get_config()
3461 static bool arcmsr_hbaD_get_config(struct AdapterControlBlock *acb) in arcmsr_hbaD_get_config()
3483 static bool arcmsr_hbaE_get_config(struct AdapterControlBlock *pACB) in arcmsr_hbaE_get_config()
3509 static bool arcmsr_hbaF_get_config(struct AdapterControlBlock *pACB) in arcmsr_hbaF_get_config()
3534 static bool arcmsr_get_firmware_spec(struct AdapterControlBlock *acb) in arcmsr_get_firmware_spec()
3571 static int arcmsr_hbaA_polling_ccbdone(struct AdapterControlBlock *acb, in arcmsr_hbaA_polling_ccbdone()
3632 static int arcmsr_hbaB_polling_ccbdone(struct AdapterControlBlock *acb, in arcmsr_hbaB_polling_ccbdone()
3701 static int arcmsr_hbaC_polling_ccbdone(struct AdapterControlBlock *acb, in arcmsr_hbaC_polling_ccbdone()
3763 static int arcmsr_hbaD_polling_ccbdone(struct AdapterControlBlock *acb, in arcmsr_hbaD_polling_ccbdone()
3839 static int arcmsr_hbaE_polling_ccbdone(struct AdapterControlBlock *acb, in arcmsr_hbaE_polling_ccbdone()
3908 static int arcmsr_polling_ccbdone(struct AdapterControlBlock *acb, in arcmsr_polling_ccbdone()
3936 struct AdapterControlBlock *pacb = from_timer(pacb, t, refresh_timer); in arcmsr_set_iop_datetime()
4026 static int arcmsr_iop_confirm(struct AdapterControlBlock *acb) in arcmsr_iop_confirm()
4205 static void arcmsr_wait_firmware_ready(struct AdapterControlBlock *acb) in arcmsr_wait_firmware_ready()
4264 struct AdapterControlBlock *acb = from_timer(acb, t, eternal_timer); in arcmsr_request_device_map()
4319 static void arcmsr_hbaA_start_bgrb(struct AdapterControlBlock *acb) in arcmsr_hbaA_start_bgrb()
4330 static void arcmsr_hbaB_start_bgrb(struct AdapterControlBlock *acb) in arcmsr_hbaB_start_bgrb()
4341 static void arcmsr_hbaC_start_bgrb(struct AdapterControlBlock *pACB) in arcmsr_hbaC_start_bgrb()
4354 static void arcmsr_hbaD_start_bgrb(struct AdapterControlBlock *pACB) in arcmsr_hbaD_start_bgrb()
4366 static void arcmsr_hbaE_start_bgrb(struct AdapterControlBlock *pACB) in arcmsr_hbaE_start_bgrb()
4380 static void arcmsr_start_adapter_bgrb(struct AdapterControlBlock *acb) in arcmsr_start_adapter_bgrb()
4402 static void arcmsr_clear_doorbell_queue_buffer(struct AdapterControlBlock *acb) in arcmsr_clear_doorbell_queue_buffer()
4501 static void arcmsr_enable_eoi_mode(struct AdapterControlBlock *acb) in arcmsr_enable_eoi_mode()
4522 static void arcmsr_hardware_reset(struct AdapterControlBlock *acb) in arcmsr_hardware_reset()
4576 static bool arcmsr_reset_in_progress(struct AdapterControlBlock *acb) in arcmsr_reset_in_progress()
4615 static void arcmsr_iop_init(struct AdapterControlBlock *acb) in arcmsr_iop_init()
4632 static uint8_t arcmsr_iop_reset(struct AdapterControlBlock *acb) in arcmsr_iop_reset()
4668 struct AdapterControlBlock *acb; in arcmsr_bus_reset()
4671 acb = (struct AdapterControlBlock *) cmd->device->host->hostdata; in arcmsr_bus_reset()
4720 static int arcmsr_abort_one_cmd(struct AdapterControlBlock *acb, in arcmsr_abort_one_cmd()
4730 struct AdapterControlBlock *acb = in arcmsr_abort()
4731 (struct AdapterControlBlock *)cmd->device->host->hostdata; in arcmsr_abort()
4770 struct AdapterControlBlock *acb = in arcmsr_info()
4771 (struct AdapterControlBlock *) host->hostdata; in arcmsr_info()