Home
last modified time | relevance | path

Searched refs:NUM_ELEMENTS (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic79xx_osm.c1935 && (instance < NUM_ELEMENTS(aic79xx_tag_info))
1947 && (instance < NUM_ELEMENTS(aic79xx_rd_strm_info))) {
1958 && (instance < NUM_ELEMENTS(aic79xx_dv_settings))) {
1970 && (instance < NUM_ELEMENTS(aic79xx_iocell_info))) {
1988 for (i = 0; i < NUM_ELEMENTS(aic79xx_tag_info); i++) {
2042 for (i = 0; i < NUM_ELEMENTS(options); i++) {
2048 if (i == NUM_ELEMENTS(options))
2376 if (ahd->unit < NUM_ELEMENTS(aic79xx_iocell_info)) {
3899 if (ahd->unit >= NUM_ELEMENTS(aic79xx_tag_info)) {
3928 if (ahd->unit >= NUM_ELEMENTS(aic79xx_dv_settings)) {
[all …]
Daic7770.c110 const int ahc_num_aic7770_devs = NUM_ELEMENTS(aic7770_ident_table);
Daic7xxx_osm.c1614 for (i = 0; i < NUM_ELEMENTS(aic7xxx_tag_info); i++) {
1626 && (instance < NUM_ELEMENTS(aic7xxx_tag_info))
1639 && (instance < NUM_ELEMENTS(aic7xxx_dv_settings))) {
1691 for (i = 0; i < NUM_ELEMENTS(options); i++) {
1697 if (i == NUM_ELEMENTS(options))
3560 if (ahc->unit >= NUM_ELEMENTS(aic7xxx_tag_info)) {
3589 if (ahc->unit >= NUM_ELEMENTS(aic7xxx_dv_settings)) {
Daic79xx_pci.c231 const u_int ahd_num_pci_devs = NUM_ELEMENTS(ahd_pci_ident_table);
Daic7xxx.h72 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
Daic79xx.h71 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
Daic7xxx_pci.c629 const u_int ahc_num_pci_devs = NUM_ELEMENTS(ahc_pci_ident_table);
Daic79xx_core.c66 static const u_int num_chip_names = NUM_ELEMENTS(ahd_chip_names);
84 static const u_int num_errors = NUM_ELEMENTS(ahd_hard_errors);
104 static const u_int num_phases = NUM_ELEMENTS(ahd_phase_table) - 1;
6922 + NUM_ELEMENTS(ahd->qinfifo) - wrap_qinpos); in ahd_qinfifo_count()
Daic7xxx_core.c76 static const u_int num_chip_names = NUM_ELEMENTS(ahc_chip_names);
96 static const u_int num_errors = NUM_ELEMENTS(ahc_hard_errors);
116 static const u_int num_phases = NUM_ELEMENTS(ahc_phase_table) - 1;