Lines Matching refs:buffer_length

469 	size_t buffer_length, enum dma_data_direction data_direction)  in pqi_map_single()  argument
473 if (!buffer || buffer_length == 0 || data_direction == DMA_NONE) in pqi_map_single()
476 bus_address = dma_map_single(&pci_dev->dev, buffer, buffer_length, in pqi_map_single()
482 put_unaligned_le32(buffer_length, &sg_descriptor->length); in pqi_map_single()
506 u8 *scsi3addr, void *buffer, size_t buffer_length, in pqi_build_raid_path_request() argument
510 size_t cdb_length = buffer_length; in pqi_build_raid_path_request()
518 put_unaligned_le32(buffer_length, &request->buffer_length); in pqi_build_raid_path_request()
607 buffer, buffer_length, *dir); in pqi_build_raid_path_request()
646 u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, in pqi_send_scsi_raid_request() argument
654 buffer, buffer_length, vpd_page, &dir); in pqi_send_scsi_raid_request()
668 u8 cmd, void *buffer, size_t buffer_length) in pqi_send_ctrl_raid_request() argument
671 buffer, buffer_length, 0, NULL); in pqi_send_ctrl_raid_request()
675 u8 cmd, void *buffer, size_t buffer_length, in pqi_send_ctrl_raid_with_error() argument
679 buffer, buffer_length, 0, error_info); in pqi_send_ctrl_raid_with_error()
698 u8 *scsi3addr, u16 vpd_page, void *buffer, size_t buffer_length) in pqi_scsi_inquiry() argument
701 buffer, buffer_length, vpd_page, NULL); in pqi_scsi_inquiry()
706 struct bmic_identify_physical_device *buffer, size_t buffer_length) in pqi_identify_physical_device() argument
715 buffer_length, 0, &dir); in pqi_identify_physical_device()
790 get_unaligned_le16(&buffer->header.buffer_length) < in pqi_get_advanced_raid_bypass_config()
848 struct bmic_csmi_smp_passthru_buffer *buffer, size_t buffer_length, in pqi_csmi_smp_passthru() argument
852 buffer, buffer_length, error_info); in pqi_csmi_smp_passthru()
883 void *buffer, size_t buffer_length) in pqi_write_host_wellness() argument
886 buffer, buffer_length); in pqi_write_host_wellness()
907 size_t buffer_length; in pqi_write_driver_version_to_host_wellness() local
909 buffer_length = sizeof(*buffer); in pqi_write_driver_version_to_host_wellness()
911 buffer = kmalloc(buffer_length, GFP_KERNEL); in pqi_write_driver_version_to_host_wellness()
931 rc = pqi_write_host_wellness(ctrl_info, buffer, buffer_length); in pqi_write_driver_version_to_host_wellness()
956 size_t buffer_length; in pqi_write_current_time_to_host_wellness() local
961 buffer_length = sizeof(*buffer); in pqi_write_current_time_to_host_wellness()
963 buffer = kmalloc(buffer_length, GFP_KERNEL); in pqi_write_current_time_to_host_wellness()
994 rc = pqi_write_host_wellness(ctrl_info, buffer, buffer_length); in pqi_write_current_time_to_host_wellness()
1031 size_t buffer_length) in pqi_report_luns() argument
1033 return pqi_send_ctrl_raid_request(ctrl_info, cmd, buffer, buffer_length); in pqi_report_luns()
4433 &request.data.report_device_capability.buffer_length); in pqi_report_device_capability()
4767 &request.data.report_event_configuration.buffer_length); in pqi_configure_events()
4802 &request.data.report_event_configuration.buffer_length); in pqi_configure_events()
5250 put_unaligned_le32(scsi_bufflen(scmd), &request->buffer_length); in pqi_raid_submit_scsi_cmd_with_io_request()
5393 put_unaligned_le32(scsi_bufflen(scmd), &request->buffer_length); in pqi_aio_submit_io()
6340 put_unaligned_le32(iocommand.buf_size, &request.buffer_length); in pqi_passthru_ioctl()
8333 u32 buffer_length; in pqi_ofa_host_memory_update() local
8348 buffer_length = offsetof(struct pqi_ofa_memory, sg_descriptor) + in pqi_ofa_host_memory_update()
8354 put_unaligned_le32(buffer_length, in pqi_ofa_host_memory_update()
8355 &request.data.ofa_memory_allocation.buffer_length); in pqi_ofa_host_memory_update()
9393 data.report_device_capability.buffer_length) != 44); in verify_structures()
9473 buffer_length) != 12); in verify_structures()
9502 buffer_length) != 16); in verify_structures()
9542 data.report_event_configuration.buffer_length) != 12); in verify_structures()
9548 data.set_event_configuration.buffer_length) != 12); in verify_structures()
9711 buffer_length) != 2); in verify_structures()