Lines Matching refs:reply
722 u32 reply) in _base_display_reply_info() argument
727 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in _base_display_reply_info()
757 u32 reply) in mpt2sas_base_done() argument
761 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in mpt2sas_base_done()
771 memcpy(ioc->base_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt2sas_base_done()
788 _base_async_event(struct MPT2SAS_ADAPTER *ioc, u8 msix_index, u32 reply) in _base_async_event() argument
794 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in _base_async_event()
823 mpt2sas_scsih_event_callback(ioc, msix_index, reply); in _base_async_event()
826 mpt2sas_ctl_event_callback(ioc, msix_index, reply); in _base_async_event()
922 u32 reply; in _base_interrupt() local
948 reply = 0; in _base_interrupt()
952 reply = le32_to_cpu in _base_interrupt()
954 if (reply > ioc->reply_dma_max_address || in _base_interrupt()
955 reply < ioc->reply_dma_min_address) in _base_interrupt()
956 reply = 0; in _base_interrupt()
968 msix_index, reply); in _base_interrupt()
969 if (reply) in _base_interrupt()
971 msix_index, reply); in _base_interrupt()
977 _base_async_event(ioc, msix_index, reply); in _base_interrupt()
980 if (reply) { in _base_interrupt()
986 cpu_to_le32(reply); in _base_interrupt()
1677 return ioc->reply + (phys_addr - (u32)ioc->reply_dma); in mpt2sas_base_get_reply_virt_addr()
2419 if (ioc->reply) { in _base_release_memory_pools()
2420 pci_pool_free(ioc->reply_dma_pool, ioc->reply, ioc->reply_dma); in _base_release_memory_pools()
2424 ": free\n", ioc->name, ioc->reply)); in _base_release_memory_pools()
2425 ioc->reply = NULL; in _base_release_memory_pools()
2833 ioc->reply = pci_pool_alloc(ioc->reply_dma_pool , GFP_KERNEL, in _base_allocate_memory_pools()
2835 if (!ioc->reply) { in _base_allocate_memory_pools()
2843 "(%d), frame_size(%d), pool_size(%d kB)\n", ioc->name, ioc->reply, in _base_allocate_memory_pools()
3143 u32 *request, int reply_bytes, u16 *reply, int timeout, int sleep_flag) in _base_handshake_req_reply_wait() argument
3145 MPI2DefaultReply_t *default_reply = (MPI2DefaultReply_t *)reply; in _base_handshake_req_reply_wait()
3202 reply[0] = le16_to_cpu(readl(&ioc->chip->Doorbell) in _base_handshake_req_reply_wait()
3210 reply[1] = le16_to_cpu(readl(&ioc->chip->Doorbell) in _base_handshake_req_reply_wait()
3224 reply[i] = le16_to_cpu(readl(&ioc->chip->Doorbell) in _base_handshake_req_reply_wait()
3237 mfp = (__le32 *)reply; in _base_handshake_req_reply_wait()
3336 memcpy(mpi_reply, ioc->base_cmds.reply, in mpt2sas_base_sas_iounit_control()
3434 memcpy(mpi_reply, ioc->base_cmds.reply, in mpt2sas_base_scsi_enclosure_processor()
3763 u32 reply) in mpt2sas_port_enable_done() argument
3768 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in mpt2sas_port_enable_done()
3778 memcpy(ioc->port_enable_cmds.reply, mpi_reply, in mpt2sas_port_enable_done()
3856 mpi_reply = ioc->port_enable_cmds.reply; in _base_send_port_enable()
4564 ioc->base_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt2sas_base_attach()
4568 ioc->port_enable_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt2sas_base_attach()
4572 ioc->transport_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt2sas_base_attach()
4577 ioc->scsih_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt2sas_base_attach()
4582 ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt2sas_base_attach()
4587 ioc->config_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt2sas_base_attach()
4592 ioc->ctl_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt2sas_base_attach()
4597 if (!ioc->base_cmds.reply || !ioc->transport_cmds.reply || in mpt2sas_base_attach()
4598 !ioc->scsih_cmds.reply || !ioc->tm_cmds.reply || in mpt2sas_base_attach()
4599 !ioc->config_cmds.reply || !ioc->ctl_cmds.reply || in mpt2sas_base_attach()
4605 if (!ioc->base_cmds.reply || !ioc->transport_cmds.reply || in mpt2sas_base_attach()
4606 !ioc->scsih_cmds.reply || !ioc->tm_cmds.reply || in mpt2sas_base_attach()
4607 !ioc->config_cmds.reply || !ioc->ctl_cmds.reply) { in mpt2sas_base_attach()
4646 kfree(ioc->tm_cmds.reply); in mpt2sas_base_attach()
4647 kfree(ioc->transport_cmds.reply); in mpt2sas_base_attach()
4648 kfree(ioc->scsih_cmds.reply); in mpt2sas_base_attach()
4649 kfree(ioc->config_cmds.reply); in mpt2sas_base_attach()
4650 kfree(ioc->base_cmds.reply); in mpt2sas_base_attach()
4651 kfree(ioc->port_enable_cmds.reply); in mpt2sas_base_attach()
4652 kfree(ioc->ctl_cmds.reply); in mpt2sas_base_attach()
4655 ioc->ctl_cmds.reply = NULL; in mpt2sas_base_attach()
4656 ioc->base_cmds.reply = NULL; in mpt2sas_base_attach()
4657 ioc->tm_cmds.reply = NULL; in mpt2sas_base_attach()
4658 ioc->scsih_cmds.reply = NULL; in mpt2sas_base_attach()
4659 ioc->transport_cmds.reply = NULL; in mpt2sas_base_attach()
4660 ioc->config_cmds.reply = NULL; in mpt2sas_base_attach()
4689 kfree(ioc->ctl_cmds.reply); in mpt2sas_base_detach()
4691 kfree(ioc->base_cmds.reply); in mpt2sas_base_detach()
4692 kfree(ioc->port_enable_cmds.reply); in mpt2sas_base_detach()
4693 kfree(ioc->tm_cmds.reply); in mpt2sas_base_detach()
4694 kfree(ioc->transport_cmds.reply); in mpt2sas_base_detach()
4695 kfree(ioc->scsih_cmds.reply); in mpt2sas_base_detach()
4696 kfree(ioc->config_cmds.reply); in mpt2sas_base_detach()