pACB 132 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaC_message_isr(struct AdapterControlBlock *pACB); pACB 419 drivers/scsi/arcmsr/arcmsr_hba.c static uint8_t arcmsr_hbaC_wait_msgint_ready(struct AdapterControlBlock *pACB) pACB 421 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_C __iomem *phbcmu = pACB->pmuC; pACB 437 drivers/scsi/arcmsr/arcmsr_hba.c static bool arcmsr_hbaD_wait_msgint_ready(struct AdapterControlBlock *pACB) pACB 439 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_D *reg = pACB->pmuD; pACB 454 drivers/scsi/arcmsr/arcmsr_hba.c static bool arcmsr_hbaE_wait_msgint_ready(struct AdapterControlBlock *pACB) pACB 458 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_E __iomem *phbcmu = pACB->pmuE; pACB 462 drivers/scsi/arcmsr/arcmsr_hba.c if ((read_doorbell ^ pACB->in_doorbell) & ARCMSR_HBEMU_IOP2DRV_MESSAGE_CMD_DONE) { pACB 464 drivers/scsi/arcmsr/arcmsr_hba.c pACB->in_doorbell = read_doorbell; pACB 504 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaC_flush_cache(struct AdapterControlBlock *pACB) pACB 506 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_C __iomem *reg = pACB->pmuC; pACB 511 drivers/scsi/arcmsr/arcmsr_hba.c if (arcmsr_hbaC_wait_msgint_ready(pACB)) { pACB 516 drivers/scsi/arcmsr/arcmsr_hba.c timeout,retry count down = %d \n", pACB->host->host_no, retry_count); pACB 522 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaD_flush_cache(struct AdapterControlBlock *pACB) pACB 525 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_D *reg = pACB->pmuD; pACB 529 drivers/scsi/arcmsr/arcmsr_hba.c if (arcmsr_hbaD_wait_msgint_ready(pACB)) pACB 535 drivers/scsi/arcmsr/arcmsr_hba.c pACB->host->host_no, retry_count); pACB 539 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaE_flush_cache(struct AdapterControlBlock *pACB) pACB 542 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_E __iomem *reg = pACB->pmuE; pACB 545 drivers/scsi/arcmsr/arcmsr_hba.c pACB->out_doorbell ^= ARCMSR_HBEMU_DRV2IOP_MESSAGE_CMD_DONE; pACB 546 drivers/scsi/arcmsr/arcmsr_hba.c writel(pACB->out_doorbell, ®->iobound_doorbell); pACB 548 drivers/scsi/arcmsr/arcmsr_hba.c if (arcmsr_hbaE_wait_msgint_ready(pACB)) pACB 553 drivers/scsi/arcmsr/arcmsr_hba.c pACB->host->host_no, retry_count); pACB 1177 drivers/scsi/arcmsr/arcmsr_hba.c static uint8_t arcmsr_hbaC_abort_allcmd(struct AdapterControlBlock *pACB) pACB 1179 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_C __iomem *reg = pACB->pmuC; pACB 1182 drivers/scsi/arcmsr/arcmsr_hba.c if (!arcmsr_hbaC_wait_msgint_ready(pACB)) { pACB 1185 drivers/scsi/arcmsr/arcmsr_hba.c , pACB->host->host_no); pACB 1191 drivers/scsi/arcmsr/arcmsr_hba.c static uint8_t arcmsr_hbaD_abort_allcmd(struct AdapterControlBlock *pACB) pACB 1193 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_D *reg = pACB->pmuD; pACB 1196 drivers/scsi/arcmsr/arcmsr_hba.c if (!arcmsr_hbaD_wait_msgint_ready(pACB)) { pACB 1198 drivers/scsi/arcmsr/arcmsr_hba.c "command' timeout\n", pACB->host->host_no); pACB 1204 drivers/scsi/arcmsr/arcmsr_hba.c static uint8_t arcmsr_hbaE_abort_allcmd(struct AdapterControlBlock *pACB) pACB 1206 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_E __iomem *reg = pACB->pmuE; pACB 1209 drivers/scsi/arcmsr/arcmsr_hba.c pACB->out_doorbell ^= ARCMSR_HBEMU_DRV2IOP_MESSAGE_CMD_DONE; pACB 1210 drivers/scsi/arcmsr/arcmsr_hba.c writel(pACB->out_doorbell, ®->iobound_doorbell); pACB 1211 drivers/scsi/arcmsr/arcmsr_hba.c if (!arcmsr_hbaE_wait_msgint_ready(pACB)) { pACB 1213 drivers/scsi/arcmsr/arcmsr_hba.c "command' timeout\n", pACB->host->host_no); pACB 1886 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaC_stop_bgrb(struct AdapterControlBlock *pACB) pACB 1888 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_C __iomem *reg = pACB->pmuC; pACB 1889 drivers/scsi/arcmsr/arcmsr_hba.c pACB->acb_flags &= ~ACB_F_MSG_START_BGRB; pACB 1892 drivers/scsi/arcmsr/arcmsr_hba.c if (!arcmsr_hbaC_wait_msgint_ready(pACB)) { pACB 1895 drivers/scsi/arcmsr/arcmsr_hba.c , pACB->host->host_no); pACB 1900 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaD_stop_bgrb(struct AdapterControlBlock *pACB) pACB 1902 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_D *reg = pACB->pmuD; pACB 1904 drivers/scsi/arcmsr/arcmsr_hba.c pACB->acb_flags &= ~ACB_F_MSG_START_BGRB; pACB 1906 drivers/scsi/arcmsr/arcmsr_hba.c if (!arcmsr_hbaD_wait_msgint_ready(pACB)) pACB 1908 drivers/scsi/arcmsr/arcmsr_hba.c "timeout\n", pACB->host->host_no); pACB 1911 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaE_stop_bgrb(struct AdapterControlBlock *pACB) pACB 1913 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_E __iomem *reg = pACB->pmuE; pACB 1915 drivers/scsi/arcmsr/arcmsr_hba.c pACB->acb_flags &= ~ACB_F_MSG_START_BGRB; pACB 1917 drivers/scsi/arcmsr/arcmsr_hba.c pACB->out_doorbell ^= ARCMSR_HBEMU_DRV2IOP_MESSAGE_CMD_DONE; pACB 1918 drivers/scsi/arcmsr/arcmsr_hba.c writel(pACB->out_doorbell, ®->iobound_doorbell); pACB 1919 drivers/scsi/arcmsr/arcmsr_hba.c if (!arcmsr_hbaE_wait_msgint_ready(pACB)) { pACB 1921 drivers/scsi/arcmsr/arcmsr_hba.c "timeout\n", pACB->host->host_no); pACB 2291 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaC_doorbell_isr(struct AdapterControlBlock *pACB) pACB 2294 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_C __iomem *reg = pACB->pmuC; pACB 2307 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_iop2drv_data_wrote_handle(pACB); pACB 2309 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_iop2drv_data_read_handle(pACB); pACB 2311 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_hbaC_message_isr(pACB); pACB 2318 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaD_doorbell_isr(struct AdapterControlBlock *pACB) pACB 2321 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_D *pmu = pACB->pmuD; pACB 2327 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_hbaD_message_isr(pACB); pACB 2329 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_iop2drv_data_wrote_handle(pACB); pACB 2331 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_iop2drv_data_read_handle(pACB); pACB 2338 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaE_doorbell_isr(struct AdapterControlBlock *pACB) pACB 2341 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_E __iomem *reg = pACB->pmuE; pACB 2344 drivers/scsi/arcmsr/arcmsr_hba.c outbound_doorbell = in_doorbell ^ pACB->in_doorbell; pACB 2348 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_iop2drv_data_wrote_handle(pACB); pACB 2351 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_iop2drv_data_read_handle(pACB); pACB 2354 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_hbaE_message_isr(pACB); pACB 2362 drivers/scsi/arcmsr/arcmsr_hba.c pACB->in_doorbell = in_doorbell; pACB 2632 drivers/scsi/arcmsr/arcmsr_hba.c static int arcmsr_hbaC_handle_isr(struct AdapterControlBlock *pACB) pACB 2635 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_C __iomem *phbcmu = pACB->pmuC; pACB 2648 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_hbaC_doorbell_isr(pACB); pACB 2651 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_hbaC_postqueue_isr(pACB); pACB 2658 drivers/scsi/arcmsr/arcmsr_hba.c static irqreturn_t arcmsr_hbaD_handle_isr(struct AdapterControlBlock *pACB) pACB 2661 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_D *pmu = pACB->pmuD; pACB 2672 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_hbaD_postqueue_isr(pACB); pACB 2675 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_hbaD_doorbell_isr(pACB); pACB 2683 drivers/scsi/arcmsr/arcmsr_hba.c static irqreturn_t arcmsr_hbaE_handle_isr(struct AdapterControlBlock *pACB) pACB 2686 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_E __iomem *pmu = pACB->pmuE; pACB 2696 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_hbaE_doorbell_isr(pACB); pACB 2700 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_hbaE_postqueue_isr(pACB); pACB 3123 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_get_adapter_config(struct AdapterControlBlock *pACB, uint32_t *rwbuffer) pACB 3126 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t *acb_firm_model = (uint32_t *)pACB->firm_model; pACB 3127 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t *acb_firm_version = (uint32_t *)pACB->firm_version; pACB 3128 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t *acb_device_map = (uint32_t *)pACB->device_map; pACB 3154 drivers/scsi/arcmsr/arcmsr_hba.c pACB->signature = readl(&rwbuffer[0]); pACB 3155 drivers/scsi/arcmsr/arcmsr_hba.c pACB->firm_request_len = readl(&rwbuffer[1]); pACB 3156 drivers/scsi/arcmsr/arcmsr_hba.c pACB->firm_numbers_queue = readl(&rwbuffer[2]); pACB 3157 drivers/scsi/arcmsr/arcmsr_hba.c pACB->firm_sdram_size = readl(&rwbuffer[3]); pACB 3158 drivers/scsi/arcmsr/arcmsr_hba.c pACB->firm_hd_channels = readl(&rwbuffer[4]); pACB 3159 drivers/scsi/arcmsr/arcmsr_hba.c pACB->firm_cfg_version = readl(&rwbuffer[25]); pACB 3161 drivers/scsi/arcmsr/arcmsr_hba.c pACB->host->host_no, pACB 3162 drivers/scsi/arcmsr/arcmsr_hba.c pACB->firm_model, pACB 3163 drivers/scsi/arcmsr/arcmsr_hba.c pACB->firm_version); pACB 3200 drivers/scsi/arcmsr/arcmsr_hba.c static bool arcmsr_hbaC_get_config(struct AdapterControlBlock *pACB) pACB 3203 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_C __iomem *reg = pACB->pmuC; pACB 3209 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_wait_firmware_ready(pACB); pACB 3214 drivers/scsi/arcmsr/arcmsr_hba.c if (!arcmsr_hbaC_wait_msgint_ready(pACB)) { pACB 3216 drivers/scsi/arcmsr/arcmsr_hba.c miscellaneous data' timeout \n", pACB->host->host_no); pACB 3219 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_get_adapter_config(pACB, reg->msgcode_rwbuffer); pACB 3245 drivers/scsi/arcmsr/arcmsr_hba.c static bool arcmsr_hbaE_get_config(struct AdapterControlBlock *pACB) pACB 3247 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_E __iomem *reg = pACB->pmuE; pACB 3254 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_wait_firmware_ready(pACB); pACB 3259 drivers/scsi/arcmsr/arcmsr_hba.c pACB->out_doorbell ^= ARCMSR_HBEMU_DRV2IOP_MESSAGE_CMD_DONE; pACB 3260 drivers/scsi/arcmsr/arcmsr_hba.c writel(pACB->out_doorbell, ®->iobound_doorbell); pACB 3262 drivers/scsi/arcmsr/arcmsr_hba.c if (!arcmsr_hbaE_wait_msgint_ready(pACB)) { pACB 3264 drivers/scsi/arcmsr/arcmsr_hba.c "miscellaneous data timeout\n", pACB->host->host_no); pACB 3267 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_get_adapter_config(pACB, reg->msgcode_rwbuffer); pACB 4045 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaC_start_bgrb(struct AdapterControlBlock *pACB) pACB 4047 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_C __iomem *phbcmu = pACB->pmuC; pACB 4048 drivers/scsi/arcmsr/arcmsr_hba.c pACB->acb_flags |= ACB_F_MSG_START_BGRB; pACB 4051 drivers/scsi/arcmsr/arcmsr_hba.c if (!arcmsr_hbaC_wait_msgint_ready(pACB)) { pACB 4053 drivers/scsi/arcmsr/arcmsr_hba.c rebuild' timeout \n", pACB->host->host_no); pACB 4058 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaD_start_bgrb(struct AdapterControlBlock *pACB) pACB 4060 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_D *pmu = pACB->pmuD; pACB 4062 drivers/scsi/arcmsr/arcmsr_hba.c pACB->acb_flags |= ACB_F_MSG_START_BGRB; pACB 4064 drivers/scsi/arcmsr/arcmsr_hba.c if (!arcmsr_hbaD_wait_msgint_ready(pACB)) { pACB 4066 drivers/scsi/arcmsr/arcmsr_hba.c "background rebuild' timeout\n", pACB->host->host_no); pACB 4070 drivers/scsi/arcmsr/arcmsr_hba.c static void arcmsr_hbaE_start_bgrb(struct AdapterControlBlock *pACB) pACB 4072 drivers/scsi/arcmsr/arcmsr_hba.c struct MessageUnit_E __iomem *pmu = pACB->pmuE; pACB 4074 drivers/scsi/arcmsr/arcmsr_hba.c pACB->acb_flags |= ACB_F_MSG_START_BGRB; pACB 4076 drivers/scsi/arcmsr/arcmsr_hba.c pACB->out_doorbell ^= ARCMSR_HBEMU_DRV2IOP_MESSAGE_CMD_DONE; pACB 4077 drivers/scsi/arcmsr/arcmsr_hba.c writel(pACB->out_doorbell, &pmu->iobound_doorbell); pACB 4078 drivers/scsi/arcmsr/arcmsr_hba.c if (!arcmsr_hbaE_wait_msgint_ready(pACB)) { pACB 4080 drivers/scsi/arcmsr/arcmsr_hba.c "background rebuild' timeout \n", pACB->host->host_no);