Lines Matching refs:kioc
2188 uioc_t *kioc; in megaraid_mbox_dpc() local
2231 kioc = (uioc_t *)scb->gp; in megaraid_mbox_dpc()
2232 kioc->status = 0; in megaraid_mbox_dpc()
2526 uioc_t *kioc; in megaraid_reset_handler() local
2554 kioc = (uioc_t *)scb->gp; in megaraid_reset_handler()
2555 kioc->status = -EFAULT; in megaraid_reset_handler()
3500 megaraid_mbox_mm_handler(unsigned long drvr_data, uioc_t *kioc, uint32_t action) in megaraid_mbox_mm_handler() argument
3520 switch (kioc->opcode) { in megaraid_mbox_mm_handler()
3524 kioc->status = gather_hbainfo(adapter, (mraid_hba_info_t *) in megaraid_mbox_mm_handler()
3525 (unsigned long)kioc->buf_vaddr); in megaraid_mbox_mm_handler()
3527 kioc->done(kioc); in megaraid_mbox_mm_handler()
3529 return kioc->status; in megaraid_mbox_mm_handler()
3533 return megaraid_mbox_mm_command(adapter, kioc); in megaraid_mbox_mm_handler()
3536 kioc->status = (-EINVAL); in megaraid_mbox_mm_handler()
3537 kioc->done(kioc); in megaraid_mbox_mm_handler()
3552 megaraid_mbox_mm_command(adapter_t *adapter, uioc_t *kioc) in megaraid_mbox_mm_command() argument
3584 mbox64 = (mbox64_t *)(unsigned long)kioc->cmdbuf; in megaraid_mbox_mm_command()
3589 scb->gp = (unsigned long)kioc; in megaraid_mbox_mm_command()
3601 kioc->status = -ETIME; in megaraid_mbox_mm_command()
3618 kioc->status = -EBUSY; in megaraid_mbox_mm_command()
3678 uioc_t *kioc; in megaraid_mbox_mm_done() local
3683 kioc = (uioc_t *)scb->gp; in megaraid_mbox_mm_done()
3684 mbox64 = (mbox64_t *)(unsigned long)kioc->cmdbuf; in megaraid_mbox_mm_done()
3708 kioc->done(kioc); in megaraid_mbox_mm_done()