Lines Matching refs:reply
726 u32 reply) in _base_display_reply_info() argument
732 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _base_display_reply_info()
769 u32 reply) in mpt3sas_base_done() argument
773 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_base_done()
783 memcpy(ioc->base_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_base_done()
801 _base_async_event(struct MPT3SAS_ADAPTER *ioc, u8 msix_index, u32 reply) in _base_async_event() argument
807 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _base_async_event()
836 mpt3sas_scsih_event_callback(ioc, msix_index, reply); in _base_async_event()
839 mpt3sas_ctl_event_callback(ioc, msix_index, reply); in _base_async_event()
935 u32 reply; in _base_interrupt() local
961 reply = 0; in _base_interrupt()
977 reply = le32_to_cpu( in _base_interrupt()
979 if (reply > ioc->reply_dma_max_address || in _base_interrupt()
980 reply < ioc->reply_dma_min_address) in _base_interrupt()
981 reply = 0; in _base_interrupt()
987 msix_index, reply); in _base_interrupt()
988 if (reply) in _base_interrupt()
990 smid, msix_index, reply); in _base_interrupt()
996 _base_async_event(ioc, msix_index, reply); in _base_interrupt()
1000 if (reply) { in _base_interrupt()
1006 cpu_to_le32(reply); in _base_interrupt()
2229 return ioc->reply + (phys_addr - (u32)ioc->reply_dma); in mpt3sas_base_get_reply_virt_addr()
3067 if (ioc->reply) { in _base_release_memory_pools()
3068 pci_pool_free(ioc->reply_dma_pool, ioc->reply, ioc->reply_dma); in _base_release_memory_pools()
3073 ioc->name, ioc->reply)); in _base_release_memory_pools()
3074 ioc->reply = NULL; in _base_release_memory_pools()
3494 ioc->reply = pci_pool_alloc(ioc->reply_dma_pool , GFP_KERNEL, in _base_allocate_memory_pools()
3496 if (!ioc->reply) { in _base_allocate_memory_pools()
3505 ioc->name, ioc->reply, in _base_allocate_memory_pools()
3814 u32 *request, int reply_bytes, u16 *reply, int timeout, int sleep_flag) in _base_handshake_req_reply_wait() argument
3816 MPI2DefaultReply_t *default_reply = (MPI2DefaultReply_t *)reply; in _base_handshake_req_reply_wait()
3878 reply[0] = le16_to_cpu(readl(&ioc->chip->Doorbell) in _base_handshake_req_reply_wait()
3887 reply[1] = le16_to_cpu(readl(&ioc->chip->Doorbell) in _base_handshake_req_reply_wait()
3901 reply[i] = le16_to_cpu(readl(&ioc->chip->Doorbell) in _base_handshake_req_reply_wait()
3914 mfp = (__le32 *)reply; in _base_handshake_req_reply_wait()
4013 memcpy(mpi_reply, ioc->base_cmds.reply, in mpt3sas_base_sas_iounit_control()
4111 memcpy(mpi_reply, ioc->base_cmds.reply, in mpt3sas_base_scsi_enclosure_processor()
4441 u32 reply) in mpt3sas_port_enable_done() argument
4449 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_port_enable_done()
4459 memcpy(ioc->port_enable_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_port_enable_done()
4532 mpi_reply = ioc->port_enable_cmds.reply; in _base_send_port_enable()
5293 ioc->base_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
5297 ioc->port_enable_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
5301 ioc->transport_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
5306 ioc->scsih_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
5311 ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
5316 ioc->config_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
5321 ioc->ctl_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
5326 if (!ioc->base_cmds.reply || !ioc->transport_cmds.reply || in mpt3sas_base_attach()
5327 !ioc->scsih_cmds.reply || !ioc->tm_cmds.reply || in mpt3sas_base_attach()
5328 !ioc->config_cmds.reply || !ioc->ctl_cmds.reply || in mpt3sas_base_attach()
5369 kfree(ioc->tm_cmds.reply); in mpt3sas_base_attach()
5370 kfree(ioc->transport_cmds.reply); in mpt3sas_base_attach()
5371 kfree(ioc->scsih_cmds.reply); in mpt3sas_base_attach()
5372 kfree(ioc->config_cmds.reply); in mpt3sas_base_attach()
5373 kfree(ioc->base_cmds.reply); in mpt3sas_base_attach()
5374 kfree(ioc->port_enable_cmds.reply); in mpt3sas_base_attach()
5375 kfree(ioc->ctl_cmds.reply); in mpt3sas_base_attach()
5378 ioc->ctl_cmds.reply = NULL; in mpt3sas_base_attach()
5379 ioc->base_cmds.reply = NULL; in mpt3sas_base_attach()
5380 ioc->tm_cmds.reply = NULL; in mpt3sas_base_attach()
5381 ioc->scsih_cmds.reply = NULL; in mpt3sas_base_attach()
5382 ioc->transport_cmds.reply = NULL; in mpt3sas_base_attach()
5383 ioc->config_cmds.reply = NULL; in mpt3sas_base_attach()
5411 kfree(ioc->ctl_cmds.reply); in mpt3sas_base_detach()
5413 kfree(ioc->base_cmds.reply); in mpt3sas_base_detach()
5414 kfree(ioc->port_enable_cmds.reply); in mpt3sas_base_detach()
5415 kfree(ioc->tm_cmds.reply); in mpt3sas_base_detach()
5416 kfree(ioc->transport_cmds.reply); in mpt3sas_base_detach()
5417 kfree(ioc->scsih_cmds.reply); in mpt3sas_base_detach()
5418 kfree(ioc->config_cmds.reply); in mpt3sas_base_detach()