/linux-4.1.27/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_ctl.c | 626 size_t data_out_sz = 0; _ctl_do_mpt_command() local 712 data_out_sz = karg.data_out_size; _ctl_do_mpt_command() 727 if (data_out_sz) /* WRITE */ { _ctl_do_mpt_command() 728 data_out = pci_alloc_consistent(ioc->pdev, data_out_sz, _ctl_do_mpt_command() 738 data_out_sz)) { _ctl_do_mpt_command() 777 ioc->build_sg(ioc, psge, data_out_dma, data_out_sz, _ctl_do_mpt_command() 809 ioc->build_sg_mpi(ioc, psge, data_out_dma, data_out_sz, _ctl_do_mpt_command() 840 ioc->build_sg(ioc, psge, data_out_dma, data_out_sz, data_in_dma, _ctl_do_mpt_command() 849 ioc->build_sg(ioc, psge, data_out_dma, data_out_sz, data_in_dma, _ctl_do_mpt_command() 860 ioc->build_sg(ioc, psge, data_out_dma, data_out_sz, _ctl_do_mpt_command() 863 ioc->build_sg_mpi(ioc, psge, data_out_dma, data_out_sz, _ctl_do_mpt_command() 883 ioc->build_sg_mpi(ioc, psge, data_out_dma, data_out_sz, _ctl_do_mpt_command() 998 pci_free_consistent(ioc->pdev, data_out_sz, data_out, _ctl_do_mpt_command()
|
H A D | mpt3sas_base.c | 1203 * @data_out_sz: data xfer size for WRITES 1211 dma_addr_t data_out_dma, size_t data_out_sz, dma_addr_t data_in_dma, _base_build_sg() 1216 if (!data_out_sz && !data_in_sz) { _base_build_sg() 1221 if (data_out_sz && data_in_sz) { _base_build_sg() 1227 data_out_sz, data_out_dma); _base_build_sg() 1239 } else if (data_out_sz) /* WRITE */ { _base_build_sg() 1245 data_out_sz, data_out_dma); _base_build_sg() 1431 * @data_out_sz: data xfer size for WRITES 1439 dma_addr_t data_out_dma, size_t data_out_sz, dma_addr_t data_in_dma, _base_build_sg_ieee() 1444 if (!data_out_sz && !data_in_sz) { _base_build_sg_ieee() 1449 if (data_out_sz && data_in_sz) { _base_build_sg_ieee() 1453 _base_add_sg_single_ieee(psge, sgl_flags, 0, data_out_sz, _base_build_sg_ieee() 1463 } else if (data_out_sz) /* WRITE */ { _base_build_sg_ieee() 1467 _base_add_sg_single_ieee(psge, sgl_flags, 0, data_out_sz, _base_build_sg_ieee() 1210 _base_build_sg(struct MPT3SAS_ADAPTER *ioc, void *psge, dma_addr_t data_out_dma, size_t data_out_sz, dma_addr_t data_in_dma, size_t data_in_sz) _base_build_sg() argument 1438 _base_build_sg_ieee(struct MPT3SAS_ADAPTER *ioc, void *psge, dma_addr_t data_out_dma, size_t data_out_sz, dma_addr_t data_in_dma, size_t data_in_sz) _base_build_sg_ieee() argument
|
H A D | mpt3sas_transport.c | 310 size_t data_out_sz; _transport_expander_report_manufacture() local 361 data_out_sz = sizeof(struct rep_manu_request); _transport_expander_report_manufacture() 363 data_out = pci_alloc_consistent(ioc->pdev, data_out_sz + data_in_sz, _transport_expander_report_manufacture() 386 mpi_request->RequestDataLength = cpu_to_le16(data_out_sz); _transport_expander_report_manufacture() 389 ioc->build_sg(ioc, psge, data_out_dma, data_out_sz, data_in_dma, _transport_expander_report_manufacture() 454 pci_free_consistent(ioc->pdev, data_out_sz + data_in_sz, _transport_expander_report_manufacture()
|
H A D | mpt3sas_base.h | 520 dma_addr_t data_out_dma, size_t data_out_sz,
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
H A D | mpt2sas_ctl.c | 631 size_t data_out_sz = 0; _ctl_do_mpt_command() local 716 data_out_sz = karg.data_out_size; _ctl_do_mpt_command() 731 if (data_out_sz) /* WRITE */ { _ctl_do_mpt_command() 732 data_out = pci_alloc_consistent(ioc->pdev, data_out_sz, _ctl_do_mpt_command() 742 data_out_sz)) { _ctl_do_mpt_command() 766 if (!data_out_sz && !data_in_sz) { _ctl_do_mpt_command() 768 } else if (data_out_sz && data_in_sz) { _ctl_do_mpt_command() 774 data_out_sz, data_out_dma); _ctl_do_mpt_command() 786 } else if (data_out_sz) /* WRITE */ { _ctl_do_mpt_command() 792 data_out_sz, data_out_dma); _ctl_do_mpt_command() 1006 pci_free_consistent(ioc->pdev, data_out_sz, data_out, _ctl_do_mpt_command()
|