Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/
Daha152x.c2916 static int setup_count; variable
3072 if ( setup_count ) { in aha152x_init()
3075 for (i = 0; i<setup_count; i++) { in aha152x_init()
3085 if (setup_count < ARRAY_SIZE(setup)) { in aha152x_init()
3088 if (setup_count == 0 || (override.io_port != setup[0].io_port)) { in aha152x_init()
3100 setup[setup_count++] = override; in aha152x_init()
3106 if (setup_count < ARRAY_SIZE(setup)) { in aha152x_init()
3109 if (setup_count == 0 || (override.io_port != setup[0].io_port)) { in aha152x_init()
3121 setup[setup_count++] = override; in aha152x_init()
3127 if (setup_count<ARRAY_SIZE(setup) && (aha152x[0]!=0 || io[0]!=0 || irq[0]!=0)) { in aha152x_init()
[all …]
/kernel/linux/linux-5.10/drivers/ide/
Dcmd640.c462 u8 setup_count = setup_counts[index]; in program_drive_counts() local
477 if (setup_count < setup_counts[mate]) in program_drive_counts()
478 setup_count = setup_counts[mate]; in program_drive_counts()
489 switch (setup_count) { in program_drive_counts()
490 case 4: setup_count = 0x00; break; in program_drive_counts()
491 case 3: setup_count = 0x80; break; in program_drive_counts()
493 case 2: setup_count = 0x40; break; in program_drive_counts()
494 default: setup_count = 0xc0; /* case 5 */ in program_drive_counts()
506 setup_count |= __get_cmd640_reg(arttim_regs[index]) & 0x3f; in program_drive_counts()
507 __put_cmd640_reg(arttim_regs[index], setup_count); in program_drive_counts()
[all …]
/kernel/linux/linux-5.10/fs/cifs/
Dcifssmb.c3808 smb_init_nttransact(const __u16 sub_command, const int setup_count, in smb_init_nttransact() argument
3816 rc = small_smb_init(SMB_COM_NT_TRANSACT, 19 + setup_count, tcon, in smb_init_nttransact()
3828 (setup_count * 2) - 4 /* for rfc1001 length itself */; in smb_init_nttransact()
3831 pSMB->SetupCount = setup_count; /* no need to le convert byte fields */ in smb_init_nttransact()