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,
88 /* diag buffer support */
111 * struct mpt3_ioctl_header - main header structure
112 * @ioc_number - IOC unit number
113 * @port_number - IOC port number
114 * @max_data_size - maximum number bytes to transfer on read
123 * struct mpt3_ioctl_diag_reset - diagnostic reset
124 * @hdr - generic header
132 * struct mpt3_ioctl_pci_info - pci device info
133 * @device - pci device id
134 * @function - pci function id
135 * @bus - pci bus id
136 * @segment_id - pci segment id
162 * struct mpt3_ioctl_iocinfo - generic controller info
163 * @hdr - generic header
164 * @adapter_type - type of adapter (spi, fc, sas)
165 * @port_number - port number
166 * @pci_id - PCI Id
167 * @hw_rev - hardware revision
168 * @sub_system_device - PCI subsystem Device ID
169 * @sub_system_vendor - PCI subsystem Vendor ID
170 * @rsvd0 - reserved
171 * @firmware_version - firmware version
172 * @bios_version - BIOS version
173 * @driver_version - driver version - 32 ASCII characters
174 * @rsvd1 - reserved
175 * @scsi_id - scsi id of adapter 0
176 * @rsvd2 - reserved
177 * @pci_information - pci info (2nd revision)
202 * struct mpt3_ioctl_eventquery - query event count and type
203 * @hdr - generic header
204 * @event_entries - number of events returned by get_event_report
205 * @rsvd - reserved
206 * @event_types - type of events currently being captured
216 * struct mpt3_ioctl_eventenable - enable/disable event capturing
217 * @hdr - generic header
218 * @event_types - toggle off/on type of events to be captured
227 * struct MPT3_IOCTL_EVENTS -
228 * @event - the event that was reported
229 * @context - unique value for each event assigned by driver
230 * @data - event data returned in fw reply message
239 * struct mpt3_ioctl_eventreport - returing event log
240 * @hdr - generic header
241 * @event_data - (see struct MPT3_IOCTL_EVENTS)
249 * struct mpt3_ioctl_command - generic mpt firmware passthru ioctl
250 * @hdr - generic header
251 * @timeout - command timeout in seconds. (if zero then use driver default
253 * @reply_frame_buf_ptr - reply location
254 * @data_in_buf_ptr - destination for read
255 * @data_out_buf_ptr - data source for write
256 * @sense_data_ptr - sense data location
257 * @max_reply_bytes - maximum number of reply bytes to be sent to app.
258 * @data_in_size - number bytes for data transfer in (read)
259 * @data_out_size - number bytes for data transfer out (write)
260 * @max_sense_bytes - maximum number of bytes for auto sense buffers
261 * @data_sge_offset - offset in words from the start of the request message to
298 * struct mpt3_ioctl_btdh_mapping - mapping info
299 * @hdr - generic header
300 * @id - target device identification number
301 * @bus - SCSI bus number that the target device exists on
302 * @handle - device handle for the target device
303 * @rsvd - reserved
333 * struct mpt3_diag_register - application register with driver
334 * @hdr - generic header
335 * @reserved -
336 * @buffer_type - specifies either TRACE, SNAPSHOT, or EXTENDED
337 * @application_flags - misc flags
338 * @diagnostic_flags - specifies flags affecting command processing
339 * @product_specific - product specific information
340 * @requested_buffer_size - buffers size in bytes
341 * @unique_id - tag specified by application that is used to signal ownership
359 * struct mpt3_diag_unregister - application unregister with driver
360 * @hdr - generic header
361 * @unique_id - tag uniquely identifies the buffer to be unregistered
363 * This will allow the driver to cleanup any memory allocated for diag
372 * struct mpt3_diag_query - query relevant info associated with diag buffers
373 * @hdr - generic header
374 * @reserved -
375 * @buffer_type - specifies either TRACE, SNAPSHOT, or EXTENDED
376 * @application_flags - misc flags
377 * @diagnostic_flags - specifies flags affecting command processing
378 * @product_specific - product specific information
379 * @total_buffer_size - diag buffer size in bytes
380 * @driver_added_buffer_size - size of extra space appended to end of buffer
381 * @unique_id - unique id associated with this buffer.
400 * struct mpt3_diag_release - request to send Diag Release Message to firmware
401 * @hdr - generic header
402 * @unique_id - tag uniquely identifies the buffer to be released
414 * struct mpt3_diag_read_buffer - request for copy of the diag buffer
415 * @hdr - generic header
416 * @status -
417 * @reserved -
418 * @flags - misc flags
419 * @starting_offset - starting offset within drivers buffer where to start
421 * @bytes_to_read - number of bytes to copy from the drivers buffer into the
423 * @unique_id - unique id associated with this buffer.
424 * @diagnostic_data - data payload
438 * struct mpt3_addnl_diag_query - diagnostic buffer release reason
439 * @hdr - generic header
440 * @unique_id - unique id associated with this buffer.
441 * @rel_query - release query.