Lines Matching refs:buffer_length
573 size_t buffer_length, enum dma_data_direction data_direction) in pqi_map_single() argument
577 if (!buffer || buffer_length == 0 || data_direction == DMA_NONE) in pqi_map_single()
580 bus_address = dma_map_single(&pci_dev->dev, buffer, buffer_length, in pqi_map_single()
586 put_unaligned_le32(buffer_length, &sg_descriptor->length); in pqi_map_single()
610 u8 *scsi3addr, void *buffer, size_t buffer_length, in pqi_build_raid_path_request() argument
614 size_t cdb_length = buffer_length; in pqi_build_raid_path_request()
622 put_unaligned_le32(buffer_length, &request->buffer_length); in pqi_build_raid_path_request()
715 buffer, buffer_length, *dir); in pqi_build_raid_path_request()
768 u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, in pqi_send_scsi_raid_request() argument
776 buffer, buffer_length, vpd_page, &dir); in pqi_send_scsi_raid_request()
790 u8 cmd, void *buffer, size_t buffer_length) in pqi_send_ctrl_raid_request() argument
793 buffer, buffer_length, 0, NULL); in pqi_send_ctrl_raid_request()
797 u8 cmd, void *buffer, size_t buffer_length, in pqi_send_ctrl_raid_with_error() argument
801 buffer, buffer_length, 0, error_info); in pqi_send_ctrl_raid_with_error()
820 u8 *scsi3addr, u16 vpd_page, void *buffer, size_t buffer_length) in pqi_scsi_inquiry() argument
823 buffer, buffer_length, vpd_page, NULL); in pqi_scsi_inquiry()
828 struct bmic_identify_physical_device *buffer, size_t buffer_length) in pqi_identify_physical_device() argument
837 buffer_length, 0, &dir); in pqi_identify_physical_device()
912 get_unaligned_le16(&buffer->header.buffer_length) < in pqi_get_advanced_raid_bypass_config()
970 struct bmic_csmi_smp_passthru_buffer *buffer, size_t buffer_length, in pqi_csmi_smp_passthru() argument
974 buffer, buffer_length, error_info); in pqi_csmi_smp_passthru()
1005 void *buffer, size_t buffer_length) in pqi_write_host_wellness() argument
1008 buffer, buffer_length); in pqi_write_host_wellness()
1029 size_t buffer_length; in pqi_write_driver_version_to_host_wellness() local
1031 buffer_length = sizeof(*buffer); in pqi_write_driver_version_to_host_wellness()
1033 buffer = kmalloc(buffer_length, GFP_KERNEL); in pqi_write_driver_version_to_host_wellness()
1052 rc = pqi_write_host_wellness(ctrl_info, buffer, buffer_length); in pqi_write_driver_version_to_host_wellness()
1077 size_t buffer_length; in pqi_write_current_time_to_host_wellness() local
1082 buffer_length = sizeof(*buffer); in pqi_write_current_time_to_host_wellness()
1084 buffer = kmalloc(buffer_length, GFP_KERNEL); in pqi_write_current_time_to_host_wellness()
1115 rc = pqi_write_host_wellness(ctrl_info, buffer, buffer_length); in pqi_write_current_time_to_host_wellness()
1152 size_t buffer_length) in pqi_report_luns() argument
1154 return pqi_send_ctrl_raid_request(ctrl_info, cmd, buffer, buffer_length); in pqi_report_luns()
4758 &request.data.report_device_capability.buffer_length); in pqi_report_device_capability()
5092 &request.data.report_event_configuration.buffer_length); in pqi_configure_events()
5127 &request.data.report_event_configuration.buffer_length); in pqi_configure_events()
5577 put_unaligned_le32(scsi_bufflen(scmd), &request->buffer_length); in pqi_raid_submit_io()
5730 put_unaligned_le32(scsi_bufflen(scmd), &request->buffer_length); in pqi_aio_submit_io()
6819 put_unaligned_le32(iocommand.buf_size, &request.buffer_length); in pqi_passthru_ioctl()
9070 u32 buffer_length; in pqi_host_memory_update() local
9083 …buffer_length = offsetof(struct pqi_host_memory, sg_descriptor) + get_unaligned_le16(&host_memory-… in pqi_host_memory_update()
9085 put_unaligned_le32(buffer_length, &request.data.host_memory_allocation.buffer_length); in pqi_host_memory_update()
10810 data.report_device_capability.buffer_length) != 44); in pqi_verify_structures()
10890 buffer_length) != 12); in pqi_verify_structures()
10919 buffer_length) != 16); in pqi_verify_structures()
10959 data.report_event_configuration.buffer_length) != 12); in pqi_verify_structures()
10965 data.set_event_configuration.buffer_length) != 12); in pqi_verify_structures()
11128 buffer_length) != 2); in pqi_verify_structures()