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