Lines Matching refs:reply
700 u32 reply) in _base_display_reply_info() argument
706 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _base_display_reply_info()
743 u32 reply) in mpt3sas_base_done() argument
747 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_base_done()
757 memcpy(ioc->base_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_base_done()
775 _base_async_event(struct MPT3SAS_ADAPTER *ioc, u8 msix_index, u32 reply) in _base_async_event() argument
781 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _base_async_event()
810 mpt3sas_scsih_event_callback(ioc, msix_index, reply); in _base_async_event()
813 mpt3sas_ctl_event_callback(ioc, msix_index, reply); in _base_async_event()
909 u32 reply; in _base_interrupt() local
935 reply = 0; in _base_interrupt()
951 reply = le32_to_cpu( in _base_interrupt()
953 if (reply > ioc->reply_dma_max_address || in _base_interrupt()
954 reply < ioc->reply_dma_min_address) in _base_interrupt()
955 reply = 0; in _base_interrupt()
961 msix_index, reply); in _base_interrupt()
962 if (reply) in _base_interrupt()
964 smid, msix_index, reply); in _base_interrupt()
970 _base_async_event(ioc, msix_index, reply); in _base_interrupt()
974 if (reply) { in _base_interrupt()
980 cpu_to_le32(reply); in _base_interrupt()
1959 return ioc->reply + (phys_addr - (u32)ioc->reply_dma); in mpt3sas_base_get_reply_virt_addr()
2583 if (ioc->reply) { in _base_release_memory_pools()
2584 pci_pool_free(ioc->reply_dma_pool, ioc->reply, ioc->reply_dma); in _base_release_memory_pools()
2589 ioc->name, ioc->reply)); in _base_release_memory_pools()
2590 ioc->reply = NULL; in _base_release_memory_pools()
3006 ioc->reply = pci_pool_alloc(ioc->reply_dma_pool , GFP_KERNEL, in _base_allocate_memory_pools()
3008 if (!ioc->reply) { in _base_allocate_memory_pools()
3017 ioc->name, ioc->reply, in _base_allocate_memory_pools()
3323 u32 *request, int reply_bytes, u16 *reply, int timeout, int sleep_flag) in _base_handshake_req_reply_wait() argument
3325 MPI2DefaultReply_t *default_reply = (MPI2DefaultReply_t *)reply; in _base_handshake_req_reply_wait()
3387 reply[0] = le16_to_cpu(readl(&ioc->chip->Doorbell) in _base_handshake_req_reply_wait()
3396 reply[1] = le16_to_cpu(readl(&ioc->chip->Doorbell) in _base_handshake_req_reply_wait()
3410 reply[i] = le16_to_cpu(readl(&ioc->chip->Doorbell) in _base_handshake_req_reply_wait()
3423 mfp = (__le32 *)reply; in _base_handshake_req_reply_wait()
3522 memcpy(mpi_reply, ioc->base_cmds.reply, in mpt3sas_base_sas_iounit_control()
3620 memcpy(mpi_reply, ioc->base_cmds.reply, in mpt3sas_base_scsi_enclosure_processor()
3885 u32 reply) in mpt3sas_port_enable_done() argument
3893 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_port_enable_done()
3903 memcpy(ioc->port_enable_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_port_enable_done()
3976 mpi_reply = ioc->port_enable_cmds.reply; in _base_send_port_enable()
4700 ioc->base_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
4704 ioc->port_enable_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
4708 ioc->transport_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
4713 ioc->scsih_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
4718 ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
4723 ioc->config_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
4728 ioc->ctl_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
4733 if (!ioc->base_cmds.reply || !ioc->transport_cmds.reply || in mpt3sas_base_attach()
4734 !ioc->scsih_cmds.reply || !ioc->tm_cmds.reply || in mpt3sas_base_attach()
4735 !ioc->config_cmds.reply || !ioc->ctl_cmds.reply || in mpt3sas_base_attach()
4773 kfree(ioc->tm_cmds.reply); in mpt3sas_base_attach()
4774 kfree(ioc->transport_cmds.reply); in mpt3sas_base_attach()
4775 kfree(ioc->scsih_cmds.reply); in mpt3sas_base_attach()
4776 kfree(ioc->config_cmds.reply); in mpt3sas_base_attach()
4777 kfree(ioc->base_cmds.reply); in mpt3sas_base_attach()
4778 kfree(ioc->port_enable_cmds.reply); in mpt3sas_base_attach()
4779 kfree(ioc->ctl_cmds.reply); in mpt3sas_base_attach()
4782 ioc->ctl_cmds.reply = NULL; in mpt3sas_base_attach()
4783 ioc->base_cmds.reply = NULL; in mpt3sas_base_attach()
4784 ioc->tm_cmds.reply = NULL; in mpt3sas_base_attach()
4785 ioc->scsih_cmds.reply = NULL; in mpt3sas_base_attach()
4786 ioc->transport_cmds.reply = NULL; in mpt3sas_base_attach()
4787 ioc->config_cmds.reply = NULL; in mpt3sas_base_attach()
4813 kfree(ioc->ctl_cmds.reply); in mpt3sas_base_detach()
4815 kfree(ioc->base_cmds.reply); in mpt3sas_base_detach()
4816 kfree(ioc->port_enable_cmds.reply); in mpt3sas_base_detach()
4817 kfree(ioc->tm_cmds.reply); in mpt3sas_base_detach()
4818 kfree(ioc->transport_cmds.reply); in mpt3sas_base_detach()
4819 kfree(ioc->scsih_cmds.reply); in mpt3sas_base_detach()
4820 kfree(ioc->config_cmds.reply); in mpt3sas_base_detach()