Lines Matching refs:sg_descriptor

428 	struct pqi_sg_descriptor *sg_descriptor, void *buffer,  in pqi_map_single()  argument
441 put_unaligned_le64((u64)bus_address, &sg_descriptor->address); in pqi_map_single()
442 put_unaligned_le32(buffer_length, &sg_descriptor->length); in pqi_map_single()
443 put_unaligned_le32(CISS_SG_LAST, &sg_descriptor->flags); in pqi_map_single()
4192 &request.data.report_device_capability.sg_descriptor, in pqi_report_device_capability()
4202 &request.data.report_device_capability.sg_descriptor, 1, in pqi_report_device_capability()
4790 struct pqi_sg_descriptor *sg_descriptor, struct scatterlist *sg) in pqi_set_sg_descriptor() argument
4795 put_unaligned_le64(address, &sg_descriptor->address); in pqi_set_sg_descriptor()
4796 put_unaligned_le32(length, &sg_descriptor->length); in pqi_set_sg_descriptor()
4797 put_unaligned_le32(0, &sg_descriptor->flags); in pqi_set_sg_descriptor()
4811 struct pqi_sg_descriptor *sg_descriptor; in pqi_build_raid_sg_list() local
4824 sg_descriptor = request->sg_descriptors; in pqi_build_raid_sg_list()
4831 pqi_set_sg_descriptor(sg_descriptor, sg); in pqi_build_raid_sg_list()
4837 sg_descriptor++; in pqi_build_raid_sg_list()
4841 &sg_descriptor->address); in pqi_build_raid_sg_list()
4843 * sizeof(*sg_descriptor), in pqi_build_raid_sg_list()
4844 &sg_descriptor->length); in pqi_build_raid_sg_list()
4846 &sg_descriptor->flags); in pqi_build_raid_sg_list()
4849 sg_descriptor = io_request->sg_chain_buffer; in pqi_build_raid_sg_list()
4854 put_unaligned_le32(CISS_SG_LAST, &sg_descriptor->flags); in pqi_build_raid_sg_list()
4856 iu_length += num_sg_in_iu * sizeof(*sg_descriptor); in pqi_build_raid_sg_list()
4875 struct pqi_sg_descriptor *sg_descriptor; in pqi_build_aio_sg_list() local
4889 sg_descriptor = request->sg_descriptors; in pqi_build_aio_sg_list()
4895 pqi_set_sg_descriptor(sg_descriptor, sg); in pqi_build_aio_sg_list()
4901 sg_descriptor++; in pqi_build_aio_sg_list()
4905 &sg_descriptor->address); in pqi_build_aio_sg_list()
4907 * sizeof(*sg_descriptor), in pqi_build_aio_sg_list()
4908 &sg_descriptor->length); in pqi_build_aio_sg_list()
4910 &sg_descriptor->flags); in pqi_build_aio_sg_list()
4913 sg_descriptor = io_request->sg_chain_buffer; in pqi_build_aio_sg_list()
4918 put_unaligned_le32(CISS_SG_LAST, &sg_descriptor->flags); in pqi_build_aio_sg_list()
4920 iu_length += num_sg_in_iu * sizeof(*sg_descriptor); in pqi_build_aio_sg_list()
7739 mem_descriptor = &ofap->sg_descriptor[i]; in pqi_ofa_alloc_mem()
7755 mem_descriptor = &ofap->sg_descriptor[i]; in pqi_ofa_alloc_mem()
7828 mem_descriptor = ofap->sg_descriptor; in pqi_ofa_free_host_buffer()
7863 size = offsetof(struct pqi_ofa_memory, sg_descriptor) + in pqi_ofa_host_memory_update()
8891 data.report_device_capability.sg_descriptor) != 48); in verify_structures()