Lines Matching +full:diag +full:- +full:version
6 * Copyright (C) 2012-2014 LSI Corporation
7 * Copyright (C) 2013-2014 Avago Technologies
8 * (mailto: MPT-FusionLinux.pdl@avagotech.com)
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
23 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
42 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
86 /* diag buffer support */
107 * struct mpt3_ioctl_header - main header structure
108 * @ioc_number - IOC unit number
109 * @port_number - IOC port number
110 * @max_data_size - maximum number bytes to transfer on read
119 * struct mpt3_ioctl_diag_reset - diagnostic reset
120 * @hdr - generic header
128 * struct mpt3_ioctl_pci_info - pci device info
129 * @device - pci device id
130 * @function - pci function id
131 * @bus - pci bus id
132 * @segment_id - pci segment id
158 * struct mpt3_ioctl_iocinfo - generic controller info
159 * @hdr - generic header
160 * @adapter_type - type of adapter (spi, fc, sas)
161 * @port_number - port number
162 * @pci_id - PCI Id
163 * @hw_rev - hardware revision
164 * @sub_system_device - PCI subsystem Device ID
165 * @sub_system_vendor - PCI subsystem Vendor ID
166 * @rsvd0 - reserved
167 * @firmware_version - firmware version
168 * @bios_version - BIOS version
169 * @driver_version - driver version - 32 ASCII characters
170 * @rsvd1 - reserved
171 * @scsi_id - scsi id of adapter 0
172 * @rsvd2 - reserved
173 * @pci_information - pci info (2nd revision)
198 * struct mpt3_ioctl_eventquery - query event count and type
199 * @hdr - generic header
200 * @event_entries - number of events returned by get_event_report
201 * @rsvd - reserved
202 * @event_types - type of events currently being captured
212 * struct mpt3_ioctl_eventenable - enable/disable event capturing
213 * @hdr - generic header
214 * @event_types - toggle off/on type of events to be captured
223 * struct MPT3_IOCTL_EVENTS -
224 * @event - the event that was reported
225 * @context - unique value for each event assigned by driver
226 * @data - event data returned in fw reply message
235 * struct mpt3_ioctl_eventreport - returing event log
236 * @hdr - generic header
237 * @event_data - (see struct MPT3_IOCTL_EVENTS)
245 * struct mpt3_ioctl_command - generic mpt firmware passthru ioctl
246 * @hdr - generic header
247 * @timeout - command timeout in seconds. (if zero then use driver default
249 * @reply_frame_buf_ptr - reply location
250 * @data_in_buf_ptr - destination for read
251 * @data_out_buf_ptr - data source for write
252 * @sense_data_ptr - sense data location
253 * @max_reply_bytes - maximum number of reply bytes to be sent to app.
254 * @data_in_size - number bytes for data transfer in (read)
255 * @data_out_size - number bytes for data transfer out (write)
256 * @max_sense_bytes - maximum number of bytes for auto sense buffers
257 * @data_sge_offset - offset in words from the start of the request message to
294 * struct mpt3_ioctl_btdh_mapping - mapping info
295 * @hdr - generic header
296 * @id - target device identification number
297 * @bus - SCSI bus number that the target device exists on
298 * @handle - device handle for the target device
299 * @rsvd - reserved
329 * struct mpt3_diag_register - application register with driver
330 * @hdr - generic header
331 * @reserved -
332 * @buffer_type - specifies either TRACE, SNAPSHOT, or EXTENDED
333 * @application_flags - misc flags
334 * @diagnostic_flags - specifies flags affecting command processing
335 * @product_specific - product specific information
336 * @requested_buffer_size - buffers size in bytes
337 * @unique_id - tag specified by application that is used to signal ownership
355 * struct mpt3_diag_unregister - application unregister with driver
356 * @hdr - generic header
357 * @unique_id - tag uniquely identifies the buffer to be unregistered
359 * This will allow the driver to cleanup any memory allocated for diag
368 * struct mpt3_diag_query - query relevant info associated with diag buffers
369 * @hdr - generic header
370 * @reserved -
371 * @buffer_type - specifies either TRACE, SNAPSHOT, or EXTENDED
372 * @application_flags - misc flags
373 * @diagnostic_flags - specifies flags affecting command processing
374 * @product_specific - product specific information
375 * @total_buffer_size - diag buffer size in bytes
376 * @driver_added_buffer_size - size of extra space appended to end of buffer
377 * @unique_id - unique id associated with this buffer.
396 * struct mpt3_diag_release - request to send Diag Release Message to firmware
397 * @hdr - generic header
398 * @unique_id - tag uniquely identifies the buffer to be released
410 * struct mpt3_diag_read_buffer - request for copy of the diag buffer
411 * @hdr - generic header
412 * @status -
413 * @reserved -
414 * @flags - misc flags
415 * @starting_offset - starting offset within drivers buffer where to start
417 * @bytes_to_read - number of bytes to copy from the drivers buffer into the
419 * @unique_id - unique id associated with this buffer.
420 * @diagnostic_data - data payload