Lines Matching refs:buffer_length
501 size_t buffer_length, enum dma_data_direction data_direction) in pqi_map_single() argument
505 if (!buffer || buffer_length == 0 || data_direction == DMA_NONE) in pqi_map_single()
508 bus_address = dma_map_single(&pci_dev->dev, buffer, buffer_length, in pqi_map_single()
514 put_unaligned_le32(buffer_length, &sg_descriptor->length); in pqi_map_single()
538 u8 *scsi3addr, void *buffer, size_t buffer_length, in pqi_build_raid_path_request() argument
542 size_t cdb_length = buffer_length; in pqi_build_raid_path_request()
550 put_unaligned_le32(buffer_length, &request->buffer_length); in pqi_build_raid_path_request()
647 buffer, buffer_length, *dir); in pqi_build_raid_path_request()
686 u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, in pqi_send_scsi_raid_request() argument
694 buffer, buffer_length, vpd_page, &dir); in pqi_send_scsi_raid_request()
708 u8 cmd, void *buffer, size_t buffer_length) in pqi_send_ctrl_raid_request() argument
711 buffer, buffer_length, 0, NULL); in pqi_send_ctrl_raid_request()
715 u8 cmd, void *buffer, size_t buffer_length, in pqi_send_ctrl_raid_with_error() argument
719 buffer, buffer_length, 0, error_info); in pqi_send_ctrl_raid_with_error()
738 u8 *scsi3addr, u16 vpd_page, void *buffer, size_t buffer_length) in pqi_scsi_inquiry() argument
741 buffer, buffer_length, vpd_page, NULL); in pqi_scsi_inquiry()
746 struct bmic_identify_physical_device *buffer, size_t buffer_length) in pqi_identify_physical_device() argument
755 buffer_length, 0, &dir); in pqi_identify_physical_device()
830 get_unaligned_le16(&buffer->header.buffer_length) < in pqi_get_advanced_raid_bypass_config()
888 struct bmic_csmi_smp_passthru_buffer *buffer, size_t buffer_length, in pqi_csmi_smp_passthru() argument
892 buffer, buffer_length, error_info); in pqi_csmi_smp_passthru()
923 void *buffer, size_t buffer_length) in pqi_write_host_wellness() argument
926 buffer, buffer_length); in pqi_write_host_wellness()
947 size_t buffer_length; in pqi_write_driver_version_to_host_wellness() local
949 buffer_length = sizeof(*buffer); in pqi_write_driver_version_to_host_wellness()
951 buffer = kmalloc(buffer_length, GFP_KERNEL); in pqi_write_driver_version_to_host_wellness()
971 rc = pqi_write_host_wellness(ctrl_info, buffer, buffer_length); in pqi_write_driver_version_to_host_wellness()
996 size_t buffer_length; in pqi_write_current_time_to_host_wellness() local
1001 buffer_length = sizeof(*buffer); in pqi_write_current_time_to_host_wellness()
1003 buffer = kmalloc(buffer_length, GFP_KERNEL); in pqi_write_current_time_to_host_wellness()
1034 rc = pqi_write_host_wellness(ctrl_info, buffer, buffer_length); in pqi_write_current_time_to_host_wellness()
1071 size_t buffer_length) in pqi_report_luns() argument
1073 return pqi_send_ctrl_raid_request(ctrl_info, cmd, buffer, buffer_length); in pqi_report_luns()
1660 int buffer_length = 64; in pqi_keep_device_offline() local
1675 buffer = kmalloc(buffer_length, GFP_KERNEL); in pqi_keep_device_offline()
1682 buffer_length, 0, &dir); in pqi_keep_device_offline()
4632 &request.data.report_device_capability.buffer_length); in pqi_report_device_capability()
4966 &request.data.report_event_configuration.buffer_length); in pqi_configure_events()
5001 &request.data.report_event_configuration.buffer_length); in pqi_configure_events()
5449 put_unaligned_le32(scsi_bufflen(scmd), &request->buffer_length); in pqi_raid_submit_scsi_cmd_with_io_request()
5592 put_unaligned_le32(scsi_bufflen(scmd), &request->buffer_length); in pqi_aio_submit_io()
6556 put_unaligned_le32(iocommand.buf_size, &request.buffer_length); in pqi_passthru_ioctl()
8575 u32 buffer_length; in pqi_ofa_host_memory_update() local
8590 buffer_length = offsetof(struct pqi_ofa_memory, sg_descriptor) + in pqi_ofa_host_memory_update()
8596 put_unaligned_le32(buffer_length, in pqi_ofa_host_memory_update()
8597 &request.data.ofa_memory_allocation.buffer_length); in pqi_ofa_host_memory_update()
9649 data.report_device_capability.buffer_length) != 44); in verify_structures()
9729 buffer_length) != 12); in verify_structures()
9758 buffer_length) != 16); in verify_structures()
9798 data.report_event_configuration.buffer_length) != 12); in verify_structures()
9804 data.set_event_configuration.buffer_length) != 12); in verify_structures()
9967 buffer_length) != 2); in verify_structures()