Searched refs:setup_count (Results 1 – 3 of 3) sorted by relevance
2916 static int setup_count; variable3072 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 …]
462 u8 setup_count = setup_counts[index]; in program_drive_counts() local477 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 …]
3808 smb_init_nttransact(const __u16 sub_command, const int setup_count, in smb_init_nttransact() argument3816 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()