Lines Matching refs:sg_descriptor
351 struct pqi_sg_descriptor *sg_descriptor, void *buffer, in pqi_map_single() argument
364 put_unaligned_le64((u64)bus_address, &sg_descriptor->address); in pqi_map_single()
365 put_unaligned_le32(buffer_length, &sg_descriptor->length); in pqi_map_single()
366 put_unaligned_le32(CISS_SG_LAST, &sg_descriptor->flags); in pqi_map_single()
3823 &request.data.report_device_capability.sg_descriptor, in pqi_report_device_capability()
3833 &request.data.report_device_capability.sg_descriptor, 1, in pqi_report_device_capability()
4420 struct pqi_sg_descriptor *sg_descriptor, struct scatterlist *sg) in pqi_set_sg_descriptor() argument
4425 put_unaligned_le64(address, &sg_descriptor->address); in pqi_set_sg_descriptor()
4426 put_unaligned_le32(length, &sg_descriptor->length); in pqi_set_sg_descriptor()
4427 put_unaligned_le32(0, &sg_descriptor->flags); in pqi_set_sg_descriptor()
4441 struct pqi_sg_descriptor *sg_descriptor; in pqi_build_raid_sg_list() local
4454 sg_descriptor = request->sg_descriptors; in pqi_build_raid_sg_list()
4461 pqi_set_sg_descriptor(sg_descriptor, sg); in pqi_build_raid_sg_list()
4467 sg_descriptor++; in pqi_build_raid_sg_list()
4471 &sg_descriptor->address); in pqi_build_raid_sg_list()
4473 * sizeof(*sg_descriptor), in pqi_build_raid_sg_list()
4474 &sg_descriptor->length); in pqi_build_raid_sg_list()
4476 &sg_descriptor->flags); in pqi_build_raid_sg_list()
4479 sg_descriptor = io_request->sg_chain_buffer; in pqi_build_raid_sg_list()
4484 put_unaligned_le32(CISS_SG_LAST, &sg_descriptor->flags); in pqi_build_raid_sg_list()
4486 iu_length += num_sg_in_iu * sizeof(*sg_descriptor); in pqi_build_raid_sg_list()
4505 struct pqi_sg_descriptor *sg_descriptor; in pqi_build_aio_sg_list() local
4519 sg_descriptor = request->sg_descriptors; in pqi_build_aio_sg_list()
4525 pqi_set_sg_descriptor(sg_descriptor, sg); in pqi_build_aio_sg_list()
4531 sg_descriptor++; in pqi_build_aio_sg_list()
4535 &sg_descriptor->address); in pqi_build_aio_sg_list()
4537 * sizeof(*sg_descriptor), in pqi_build_aio_sg_list()
4538 &sg_descriptor->length); in pqi_build_aio_sg_list()
4540 &sg_descriptor->flags); in pqi_build_aio_sg_list()
4543 sg_descriptor = io_request->sg_chain_buffer; in pqi_build_aio_sg_list()
4548 put_unaligned_le32(CISS_SG_LAST, &sg_descriptor->flags); in pqi_build_aio_sg_list()
4550 iu_length += num_sg_in_iu * sizeof(*sg_descriptor); in pqi_build_aio_sg_list()
7235 data.report_device_capability.sg_descriptor) != 48); in verify_structures()