Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
megasas_ctrl_info Struct Reference

#include <megaraid_sas.h>

Public Member Functions

struct {
   u16   vendor_id
 
   u16   device_id
 
   u16   sub_vendor_id
 
   u16   sub_device_id
 
   u8   reserved [24]
 
__attribute__ ((packed)) pci
 
struct {
   u8   PCIX:1
 
   u8   PCIE:1
 
   u8   iSCSI:1
 
   u8   SAS_3G:1
 
   u8   reserved_0:4
 
   u8   reserved_1 [6]
 
   u8   port_count
 
   u64   port_addr [8]
 
__attribute__ ((packed)) host_interface
 
struct {
   u8   SPI:1
 
   u8   SAS_3G:1
 
   u8   SATA_1_5G:1
 
   u8   SATA_3G:1
 
   u8   reserved_0:4
 
   u8   reserved_1 [6]
 
   u8   port_count
 
   u64   port_addr [8]
 
__attribute__ ((packed)) device_interface
 
struct {
   char   name [8]
 
   char   version [32]
 
   char   build_date [16]
 
   char   built_time [16]
 
__attribute__ ((packed)) image_component[8]
 
struct {
   char   name [8]
 
   char   version [32]
 
   char   build_date [16]
 
   char   build_time [16]
 
__attribute__ ((packed)) pending_image_component[8]
 
struct {
   u32   bbu:1
 
   u32   alarm:1
 
   u32   nvram:1
 
   u32   uart:1
 
   u32   reserved:28
 
__attribute__ ((packed)) hw_present
 
struct {
   u32   raid_level_0:1
 
   u32   raid_level_1:1
 
   u32   raid_level_5:1
 
   u32   raid_level_1E:1
 
   u32   raid_level_6:1
 
   u32   reserved:27
 
__attribute__ ((packed)) raid_levels
 
struct {
   u32   rbld_rate:1
 
   u32   cc_rate:1
 
   u32   bgi_rate:1
 
   u32   recon_rate:1
 
   u32   patrol_rate:1
 
   u32   alarm_control:1
 
   u32   cluster_supported:1
 
   u32   bbu:1
 
   u32   spanning_allowed:1
 
   u32   dedicated_hotspares:1
 
   u32   revertible_hotspares:1
 
   u32   foreign_config_import:1
 
   u32   self_diagnostic:1
 
   u32   mixed_redundancy_arr:1
 
   u32   global_hot_spares:1
 
   u32   reserved:17
 
__attribute__ ((packed)) adapter_operations
 
struct {
   u32   read_policy:1
 
   u32   write_policy:1
 
   u32   io_policy:1
 
   u32   access_policy:1
 
   u32   disk_cache_policy:1
 
   u32   reserved:27
 
__attribute__ ((packed)) ld_operations
 
struct {
   u8   min
 
   u8   max
 
   u8   reserved [2]
 
__attribute__ ((packed)) stripe_sz_ops
 
struct {
   u32   force_online:1
 
   u32   force_offline:1
 
   u32   force_rebuild:1
 
   u32   reserved:29
 
__attribute__ ((packed)) pd_operations
 
struct {
   u32   ctrl_supports_sas:1
 
   u32   ctrl_supports_sata:1
 
   u32   allow_mix_in_encl:1
 
   u32   allow_mix_in_ld:1
 
   u32   allow_sata_in_cluster:1
 
   u32   reserved:27
 
__attribute__ ((packed)) pd_mix_support
 

Data Fields

u32 image_check_word
 
u32 image_component_count
 
u32 pending_image_component_count
 
u8 max_arms
 
u8 max_spans
 
u8 max_arrays
 
u8 max_lds
 
char product_name [80]
 
char serial_no [32]
 
u32 current_fw_time
 
u16 max_concurrent_cmds
 
u16 max_sge_count
 
u32 max_request_size
 
u16 ld_present_count
 
u16 ld_degraded_count
 
u16 ld_offline_count
 
u16 pd_present_count
 
u16 pd_disk_present_count
 
u16 pd_disk_pred_failure_count
 
u16 pd_disk_failed_count
 
u16 nvram_size
 
u16 memory_size
 
u16 flash_size
 
u16 mem_correctable_error_count
 
u16 mem_uncorrectable_error_count
 
u8 cluster_permitted
 
u8 cluster_active
 
u16 max_strips_per_io
 
u8 ecc_bucket_count
 
u8 reserved_2 [11]
 
struct megasas_ctrl_prop properties
 
char package_version [0x60]
 
u8 pad [0x800-0x6a0]
 

Detailed Description

Definition at line 469 of file megaraid_sas.h.

Member Function Documentation

struct megasas_ctrl_info::@5646 __attribute__ ( (packed)  )
struct megasas_ctrl_info::@5647 __attribute__ ( (packed)  )
struct megasas_ctrl_info::@5648 __attribute__ ( (packed)  )
struct megasas_ctrl_info::@5649 __attribute__ ( (packed)  )
struct megasas_ctrl_info::@5650 __attribute__ ( (packed)  )
struct megasas_ctrl_info::@5651 __attribute__ ( (packed)  )
struct megasas_ctrl_info::@5652 __attribute__ ( (packed)  )
struct megasas_ctrl_info::@5653 __attribute__ ( (packed)  )
struct megasas_ctrl_info::@5654 __attribute__ ( (packed)  )
struct megasas_ctrl_info::@5655 __attribute__ ( (packed)  )
struct megasas_ctrl_info::@5656 __attribute__ ( (packed)  )
struct megasas_ctrl_info::@5657 __attribute__ ( (packed)  )

Field Documentation

u32 access_policy

Definition at line 655 of file megaraid_sas.h.

Definition at line 563 of file megaraid_sas.h.

u32 alarm_control

Definition at line 636 of file megaraid_sas.h.

u32 allow_mix_in_encl

Definition at line 682 of file megaraid_sas.h.

u32 allow_mix_in_ld

Definition at line 683 of file megaraid_sas.h.

u32 allow_sata_in_cluster

Definition at line 684 of file megaraid_sas.h.

u32 bbu

Definition at line 562 of file megaraid_sas.h.

u32 bgi_rate

Definition at line 633 of file megaraid_sas.h.

char build_date[16]

Definition at line 526 of file megaraid_sas.h.

char build_time[16]

Definition at line 544 of file megaraid_sas.h.

char built_time[16]

Definition at line 527 of file megaraid_sas.h.

u32 cc_rate

Definition at line 632 of file megaraid_sas.h.

u8 cluster_active

Definition at line 608 of file megaraid_sas.h.

u8 cluster_permitted

Definition at line 607 of file megaraid_sas.h.

u32 cluster_supported

Definition at line 637 of file megaraid_sas.h.

u32 ctrl_supports_sas

Definition at line 680 of file megaraid_sas.h.

u32 ctrl_supports_sata

Definition at line 681 of file megaraid_sas.h.

u32 current_fw_time

Definition at line 570 of file megaraid_sas.h.

u32 dedicated_hotspares

Definition at line 640 of file megaraid_sas.h.

u16 device_id

Definition at line 477 of file megaraid_sas.h.

u32 disk_cache_policy

Definition at line 656 of file megaraid_sas.h.

u8 ecc_bucket_count

Definition at line 692 of file megaraid_sas.h.

u16 flash_size

Definition at line 596 of file megaraid_sas.h.

u32 force_offline

Definition at line 672 of file megaraid_sas.h.

u32 force_online

Definition at line 671 of file megaraid_sas.h.

u32 force_rebuild

Definition at line 673 of file megaraid_sas.h.

u32 foreign_config_import

Definition at line 642 of file megaraid_sas.h.

u32 global_hot_spares

Definition at line 645 of file megaraid_sas.h.

u32 image_check_word

Definition at line 519 of file megaraid_sas.h.

u32 image_component_count

Definition at line 520 of file megaraid_sas.h.

u32 io_policy

Definition at line 654 of file megaraid_sas.h.

u8 iSCSI

Definition at line 491 of file megaraid_sas.h.

u16 ld_degraded_count

Definition at line 583 of file megaraid_sas.h.

u16 ld_offline_count

Definition at line 584 of file megaraid_sas.h.

u16 ld_present_count

Definition at line 582 of file megaraid_sas.h.

u8 max

Definition at line 664 of file megaraid_sas.h.

u8 max_arms

Definition at line 548 of file megaraid_sas.h.

u8 max_arrays

Definition at line 550 of file megaraid_sas.h.

u16 max_concurrent_cmds

Definition at line 575 of file megaraid_sas.h.

u8 max_lds

Definition at line 551 of file megaraid_sas.h.

u32 max_request_size

Definition at line 577 of file megaraid_sas.h.

u16 max_sge_count

Definition at line 576 of file megaraid_sas.h.

u8 max_spans

Definition at line 549 of file megaraid_sas.h.

u16 max_strips_per_io

Definition at line 613 of file megaraid_sas.h.

u16 mem_correctable_error_count

Definition at line 601 of file megaraid_sas.h.

u16 mem_uncorrectable_error_count

Definition at line 602 of file megaraid_sas.h.

u16 memory_size

Definition at line 595 of file megaraid_sas.h.

u8 min

Definition at line 663 of file megaraid_sas.h.

u32 mixed_redundancy_arr

Definition at line 644 of file megaraid_sas.h.

char name[8]

Definition at line 524 of file megaraid_sas.h.

Definition at line 564 of file megaraid_sas.h.

u16 nvram_size

Definition at line 594 of file megaraid_sas.h.

char package_version[0x60]

Definition at line 703 of file megaraid_sas.h.

u8 pad[0x800-0x6a0]

Definition at line 705 of file megaraid_sas.h.

u32 patrol_rate

Definition at line 635 of file megaraid_sas.h.

u8 PCIE

Definition at line 490 of file megaraid_sas.h.

u8 PCIX

Definition at line 489 of file megaraid_sas.h.

u16 pd_disk_failed_count

Definition at line 589 of file megaraid_sas.h.

u16 pd_disk_pred_failure_count

Definition at line 588 of file megaraid_sas.h.

u16 pd_disk_present_count

Definition at line 587 of file megaraid_sas.h.

u16 pd_present_count

Definition at line 586 of file megaraid_sas.h.

u32 pending_image_component_count

Definition at line 537 of file megaraid_sas.h.

u64 port_addr[8]

Definition at line 496 of file megaraid_sas.h.

u8 port_count

Definition at line 495 of file megaraid_sas.h.

char product_name[80]

Definition at line 553 of file megaraid_sas.h.

Definition at line 698 of file megaraid_sas.h.

u32 raid_level_0

Definition at line 620 of file megaraid_sas.h.

u32 raid_level_1

Definition at line 621 of file megaraid_sas.h.

u32 raid_level_1E

Definition at line 623 of file megaraid_sas.h.

u32 raid_level_5

Definition at line 622 of file megaraid_sas.h.

u32 raid_level_6

Definition at line 624 of file megaraid_sas.h.

u32 rbld_rate

Definition at line 631 of file megaraid_sas.h.

u32 read_policy

Definition at line 652 of file megaraid_sas.h.

u32 recon_rate

Definition at line 634 of file megaraid_sas.h.

u8 reserved[2]

Definition at line 480 of file megaraid_sas.h.

u32 reserved

Definition at line 566 of file megaraid_sas.h.

u8 reserved_0

Definition at line 493 of file megaraid_sas.h.

u8 reserved_1[6]

Definition at line 494 of file megaraid_sas.h.

u8 reserved_2[11]

Definition at line 693 of file megaraid_sas.h.

u32 revertible_hotspares

Definition at line 641 of file megaraid_sas.h.

u8 SAS_3G

Definition at line 492 of file megaraid_sas.h.

u8 SATA_1_5G

Definition at line 507 of file megaraid_sas.h.

u8 SATA_3G

Definition at line 508 of file megaraid_sas.h.

u32 self_diagnostic

Definition at line 643 of file megaraid_sas.h.

char serial_no[32]

Definition at line 554 of file megaraid_sas.h.

u32 spanning_allowed

Definition at line 639 of file megaraid_sas.h.

Definition at line 505 of file megaraid_sas.h.

u16 sub_device_id

Definition at line 479 of file megaraid_sas.h.

u16 sub_vendor_id

Definition at line 478 of file megaraid_sas.h.

Definition at line 565 of file megaraid_sas.h.

u16 vendor_id

Definition at line 476 of file megaraid_sas.h.

char version[32]

Definition at line 525 of file megaraid_sas.h.

u32 write_policy

Definition at line 653 of file megaraid_sas.h.


The documentation for this struct was generated from the following file: