Lines Matching refs:buffer_length
572 size_t buffer_length, enum dma_data_direction data_direction) in pqi_map_single() argument
576 if (!buffer || buffer_length == 0 || data_direction == DMA_NONE) in pqi_map_single()
579 bus_address = dma_map_single(&pci_dev->dev, buffer, buffer_length, in pqi_map_single()
585 put_unaligned_le32(buffer_length, &sg_descriptor->length); in pqi_map_single()
609 u8 *scsi3addr, void *buffer, size_t buffer_length, in pqi_build_raid_path_request() argument
613 size_t cdb_length = buffer_length; in pqi_build_raid_path_request()
621 put_unaligned_le32(buffer_length, &request->buffer_length); in pqi_build_raid_path_request()
714 buffer, buffer_length, *dir); in pqi_build_raid_path_request()
767 u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, in pqi_send_scsi_raid_request() argument
775 buffer, buffer_length, vpd_page, &dir); in pqi_send_scsi_raid_request()
789 u8 cmd, void *buffer, size_t buffer_length) in pqi_send_ctrl_raid_request() argument
792 buffer, buffer_length, 0, NULL); in pqi_send_ctrl_raid_request()
796 u8 cmd, void *buffer, size_t buffer_length, in pqi_send_ctrl_raid_with_error() argument
800 buffer, buffer_length, 0, error_info); in pqi_send_ctrl_raid_with_error()
819 u8 *scsi3addr, u16 vpd_page, void *buffer, size_t buffer_length) in pqi_scsi_inquiry() argument
822 buffer, buffer_length, vpd_page, NULL); in pqi_scsi_inquiry()
827 struct bmic_identify_physical_device *buffer, size_t buffer_length) in pqi_identify_physical_device() argument
836 buffer_length, 0, &dir); in pqi_identify_physical_device()
911 get_unaligned_le16(&buffer->header.buffer_length) < in pqi_get_advanced_raid_bypass_config()
969 struct bmic_csmi_smp_passthru_buffer *buffer, size_t buffer_length, in pqi_csmi_smp_passthru() argument
973 buffer, buffer_length, error_info); in pqi_csmi_smp_passthru()
1004 void *buffer, size_t buffer_length) in pqi_write_host_wellness() argument
1007 buffer, buffer_length); in pqi_write_host_wellness()
1028 size_t buffer_length; in pqi_write_driver_version_to_host_wellness() local
1030 buffer_length = sizeof(*buffer); in pqi_write_driver_version_to_host_wellness()
1032 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()
4729 &request.data.report_device_capability.buffer_length); in pqi_report_device_capability()
5063 &request.data.report_event_configuration.buffer_length); in pqi_configure_events()
5098 &request.data.report_event_configuration.buffer_length); in pqi_configure_events()
5549 put_unaligned_le32(scsi_bufflen(scmd), &request->buffer_length); in pqi_raid_submit_io()
5702 put_unaligned_le32(scsi_bufflen(scmd), &request->buffer_length); in pqi_aio_submit_io()
6791 put_unaligned_le32(iocommand.buf_size, &request.buffer_length); in pqi_passthru_ioctl()
8947 u32 buffer_length; in pqi_ofa_host_memory_update() local
8962 buffer_length = offsetof(struct pqi_ofa_memory, sg_descriptor) + in pqi_ofa_host_memory_update()
8968 put_unaligned_le32(buffer_length, in pqi_ofa_host_memory_update()
8969 &request.data.ofa_memory_allocation.buffer_length); in pqi_ofa_host_memory_update()
10459 data.report_device_capability.buffer_length) != 44); in pqi_verify_structures()
10539 buffer_length) != 12); in pqi_verify_structures()
10568 buffer_length) != 16); in pqi_verify_structures()
10608 data.report_event_configuration.buffer_length) != 12); in pqi_verify_structures()
10614 data.set_event_configuration.buffer_length) != 12); in pqi_verify_structures()
10777 buffer_length) != 2); in pqi_verify_structures()