Home
last modified time | relevance | path

Searched refs:setup_count (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Daha152x.c411 static int setup_count = 0; variable
819 if(setup_count>=ARRAY_SIZE(setup)) {
824 setup[setup_count].conf = str;
825 setup[setup_count].io_port = ints[0] >= 1 ? ints[1] : 0x340;
826 setup[setup_count].irq = ints[0] >= 2 ? ints[2] : 11;
827 setup[setup_count].scsiid = ints[0] >= 3 ? ints[3] : 7;
828 setup[setup_count].reconnect = ints[0] >= 4 ? ints[4] : 1;
829 setup[setup_count].parity = ints[0] >= 5 ? ints[5] : 1;
830 setup[setup_count].synchronous = ints[0] >= 6 ? ints[6] : 1;
831 setup[setup_count].delay = ints[0] >= 7 ? ints[7] : DELAY_DEFAULT;
[all …]
/linux-2.4.37.9/drivers/ide/pci/
Dcmd640.c532 u8 setup_count = setup_counts[index]; in program_drive_counts() local
545 if (setup_count < setup_counts[mate]) in program_drive_counts()
546 setup_count = setup_counts[mate]; in program_drive_counts()
557 switch (setup_count) { in program_drive_counts()
558 case 4: setup_count = 0x00; break; in program_drive_counts()
559 case 3: setup_count = 0x80; break; in program_drive_counts()
561 case 2: setup_count = 0x40; break; in program_drive_counts()
562 default: setup_count = 0xc0; /* case 5 */ in program_drive_counts()
574 setup_count |= __get_cmd640_reg(arttim_regs[index]) & 0x3f; in program_drive_counts()
575 __put_cmd640_reg(arttim_regs[index], setup_count); in program_drive_counts()
[all …]
Dcmd64x.c173 static void program_drive_counts (ide_drive_t *drive, int setup_count, int active_count, int recove… in program_drive_counts() argument
194 setup_count, active_count, recovery_count, drive->present); in program_drive_counts()
203 drive->drive_data = setup_count; in program_drive_counts()
204 setup_count = IDE_MAX(drives[0].drive_data, in program_drive_counts()
207 setup_count); in program_drive_counts()
213 setup_count = (setup_count > 5) ? 0xc0 : (int) setup_counts[setup_count]; in program_drive_counts()
218 setup_count, active_count, recovery_count); in program_drive_counts()
230 ((u8) setup_count) | (temp_b & 0x3f)); in program_drive_counts()
234 ((u8) setup_count) | (temp_b & 0x3f), in program_drive_counts()
255 int setup_count, active_count, recovery_count; in cmd64x_tuneproc() local
[all …]