setup_count 462 drivers/ide/cmd640.c u8 setup_count = setup_counts[index]; setup_count 477 drivers/ide/cmd640.c if (setup_count < setup_counts[mate]) setup_count 478 drivers/ide/cmd640.c setup_count = setup_counts[mate]; setup_count 489 drivers/ide/cmd640.c switch (setup_count) { setup_count 490 drivers/ide/cmd640.c case 4: setup_count = 0x00; break; setup_count 491 drivers/ide/cmd640.c case 3: setup_count = 0x80; break; setup_count 493 drivers/ide/cmd640.c case 2: setup_count = 0x40; break; setup_count 494 drivers/ide/cmd640.c default: setup_count = 0xc0; /* case 5 */ setup_count 506 drivers/ide/cmd640.c setup_count |= __get_cmd640_reg(arttim_regs[index]) & 0x3f; setup_count 507 drivers/ide/cmd640.c __put_cmd640_reg(arttim_regs[index], setup_count); setup_count 520 drivers/ide/cmd640.c u8 setup_count, active_count, recovery_count, recovery_count2, cycle_count; setup_count 539 drivers/ide/cmd640.c setup_count = DIV_ROUND_UP(setup_time, clock_time); setup_count 546 drivers/ide/cmd640.c recovery_count2 = cycle_count - (setup_count + active_count); setup_count 562 drivers/ide/cmd640.c setup_counts[index] = setup_count; setup_count 2917 drivers/scsi/aha152x.c static int setup_count; setup_count 3073 drivers/scsi/aha152x.c if ( setup_count ) { setup_count 3076 drivers/scsi/aha152x.c for (i = 0; i<setup_count; i++) { setup_count 3086 drivers/scsi/aha152x.c if (setup_count < ARRAY_SIZE(setup)) { setup_count 3089 drivers/scsi/aha152x.c if (setup_count == 0 || (override.io_port != setup[0].io_port)) { setup_count 3101 drivers/scsi/aha152x.c setup[setup_count++] = override; setup_count 3107 drivers/scsi/aha152x.c if (setup_count < ARRAY_SIZE(setup)) { setup_count 3110 drivers/scsi/aha152x.c if (setup_count == 0 || (override.io_port != setup[0].io_port)) { setup_count 3122 drivers/scsi/aha152x.c setup[setup_count++] = override; setup_count 3128 drivers/scsi/aha152x.c if (setup_count<ARRAY_SIZE(setup) && (aha152x[0]!=0 || io[0]!=0 || irq[0]!=0)) { setup_count 3130 drivers/scsi/aha152x.c setup[setup_count].conf = ""; setup_count 3131 drivers/scsi/aha152x.c setup[setup_count].io_port = aha152x[0]; setup_count 3132 drivers/scsi/aha152x.c setup[setup_count].irq = aha152x[1]; setup_count 3133 drivers/scsi/aha152x.c setup[setup_count].scsiid = aha152x[2]; setup_count 3134 drivers/scsi/aha152x.c setup[setup_count].reconnect = aha152x[3]; setup_count 3135 drivers/scsi/aha152x.c setup[setup_count].parity = aha152x[4]; setup_count 3136 drivers/scsi/aha152x.c setup[setup_count].synchronous = aha152x[5]; setup_count 3137 drivers/scsi/aha152x.c setup[setup_count].delay = aha152x[6]; setup_count 3138 drivers/scsi/aha152x.c setup[setup_count].ext_trans = aha152x[7]; setup_count 3140 drivers/scsi/aha152x.c if(io[0]!=0) setup[setup_count].io_port = io[0]; setup_count 3141 drivers/scsi/aha152x.c if(irq[0]!=0) setup[setup_count].irq = irq[0]; setup_count 3143 drivers/scsi/aha152x.c setup[setup_count].scsiid = scsiid[0]; setup_count 3144 drivers/scsi/aha152x.c setup[setup_count].reconnect = reconnect[0]; setup_count 3145 drivers/scsi/aha152x.c setup[setup_count].parity = parity[0]; setup_count 3146 drivers/scsi/aha152x.c setup[setup_count].synchronous = sync[0]; setup_count 3147 drivers/scsi/aha152x.c setup[setup_count].delay = delay[0]; setup_count 3148 drivers/scsi/aha152x.c setup[setup_count].ext_trans = exttrans[0]; setup_count 3151 drivers/scsi/aha152x.c if (checksetup(&setup[setup_count])) setup_count 3152 drivers/scsi/aha152x.c setup_count++; setup_count 3155 drivers/scsi/aha152x.c setup[setup_count].io_port, setup_count 3156 drivers/scsi/aha152x.c setup[setup_count].irq, setup_count 3157 drivers/scsi/aha152x.c setup[setup_count].scsiid, setup_count 3158 drivers/scsi/aha152x.c setup[setup_count].reconnect, setup_count 3159 drivers/scsi/aha152x.c setup[setup_count].parity, setup_count 3160 drivers/scsi/aha152x.c setup[setup_count].synchronous, setup_count 3161 drivers/scsi/aha152x.c setup[setup_count].delay, setup_count 3162 drivers/scsi/aha152x.c setup[setup_count].ext_trans); setup_count 3165 drivers/scsi/aha152x.c if (setup_count<ARRAY_SIZE(setup) && (aha152x1[0]!=0 || io[1]!=0 || irq[1]!=0)) { setup_count 3167 drivers/scsi/aha152x.c setup[setup_count].conf = ""; setup_count 3168 drivers/scsi/aha152x.c setup[setup_count].io_port = aha152x1[0]; setup_count 3169 drivers/scsi/aha152x.c setup[setup_count].irq = aha152x1[1]; setup_count 3170 drivers/scsi/aha152x.c setup[setup_count].scsiid = aha152x1[2]; setup_count 3171 drivers/scsi/aha152x.c setup[setup_count].reconnect = aha152x1[3]; setup_count 3172 drivers/scsi/aha152x.c setup[setup_count].parity = aha152x1[4]; setup_count 3173 drivers/scsi/aha152x.c setup[setup_count].synchronous = aha152x1[5]; setup_count 3174 drivers/scsi/aha152x.c setup[setup_count].delay = aha152x1[6]; setup_count 3175 drivers/scsi/aha152x.c setup[setup_count].ext_trans = aha152x1[7]; setup_count 3177 drivers/scsi/aha152x.c if(io[1]!=0) setup[setup_count].io_port = io[1]; setup_count 3178 drivers/scsi/aha152x.c if(irq[1]!=0) setup[setup_count].irq = irq[1]; setup_count 3180 drivers/scsi/aha152x.c setup[setup_count].scsiid = scsiid[1]; setup_count 3181 drivers/scsi/aha152x.c setup[setup_count].reconnect = reconnect[1]; setup_count 3182 drivers/scsi/aha152x.c setup[setup_count].parity = parity[1]; setup_count 3183 drivers/scsi/aha152x.c setup[setup_count].synchronous = sync[1]; setup_count 3184 drivers/scsi/aha152x.c setup[setup_count].delay = delay[1]; setup_count 3185 drivers/scsi/aha152x.c setup[setup_count].ext_trans = exttrans[1]; setup_count 3187 drivers/scsi/aha152x.c if (checksetup(&setup[setup_count])) setup_count 3188 drivers/scsi/aha152x.c setup_count++; setup_count 3191 drivers/scsi/aha152x.c setup[setup_count].io_port, setup_count 3192 drivers/scsi/aha152x.c setup[setup_count].irq, setup_count 3193 drivers/scsi/aha152x.c setup[setup_count].scsiid, setup_count 3194 drivers/scsi/aha152x.c setup[setup_count].reconnect, setup_count 3195 drivers/scsi/aha152x.c setup[setup_count].parity, setup_count 3196 drivers/scsi/aha152x.c setup[setup_count].synchronous, setup_count 3197 drivers/scsi/aha152x.c setup[setup_count].delay, setup_count 3198 drivers/scsi/aha152x.c setup[setup_count].ext_trans); setup_count 3203 drivers/scsi/aha152x.c for(i=0; setup_count<ARRAY_SIZE(setup) && id_table[i].vendor; i++) { setup_count 3204 drivers/scsi/aha152x.c while ( setup_count<ARRAY_SIZE(setup) && setup_count 3219 drivers/scsi/aha152x.c if (setup_count==1 && pnp_port_start(dev, 0)==setup[0].io_port) { setup_count 3224 drivers/scsi/aha152x.c setup[setup_count].io_port = pnp_port_start(dev, 0); setup_count 3225 drivers/scsi/aha152x.c setup[setup_count].irq = pnp_irq(dev, 0); setup_count 3226 drivers/scsi/aha152x.c setup[setup_count].scsiid = 7; setup_count 3227 drivers/scsi/aha152x.c setup[setup_count].reconnect = 1; setup_count 3228 drivers/scsi/aha152x.c setup[setup_count].parity = 1; setup_count 3229 drivers/scsi/aha152x.c setup[setup_count].synchronous = 1; setup_count 3230 drivers/scsi/aha152x.c setup[setup_count].delay = DELAY_DEFAULT; setup_count 3231 drivers/scsi/aha152x.c setup[setup_count].ext_trans = 0; setup_count 3233 drivers/scsi/aha152x.c pnpdev[setup_count] = dev; setup_count 3237 drivers/scsi/aha152x.c setup[setup_count].io_port, setup[setup_count].irq); setup_count 3238 drivers/scsi/aha152x.c setup_count++; setup_count 3244 drivers/scsi/aha152x.c if (setup_count<ARRAY_SIZE(setup)) { setup_count 3256 drivers/scsi/aha152x.c if (!ok && setup_count == 0) setup_count 3265 drivers/scsi/aha152x.c for (i = 0; i < ARRAY_SIZE(ports) && setup_count < 2; i++) { setup_count 3266 drivers/scsi/aha152x.c if ((setup_count == 1) && (setup[0].io_port == ports[i])) setup_count 3275 drivers/scsi/aha152x.c setup[setup_count].tc1550 = 0; setup_count 3280 drivers/scsi/aha152x.c setup[setup_count].tc1550 = 1; setup_count 3292 drivers/scsi/aha152x.c setup[setup_count].io_port = ports[i]; setup_count 3293 drivers/scsi/aha152x.c setup[setup_count].irq = IRQ_MIN + conf.cf_irq; setup_count 3294 drivers/scsi/aha152x.c setup[setup_count].scsiid = conf.cf_id; setup_count 3295 drivers/scsi/aha152x.c setup[setup_count].reconnect = conf.cf_tardisc; setup_count 3296 drivers/scsi/aha152x.c setup[setup_count].parity = !conf.cf_parity; setup_count 3297 drivers/scsi/aha152x.c setup[setup_count].synchronous = conf.cf_syncneg; setup_count 3298 drivers/scsi/aha152x.c setup[setup_count].delay = DELAY_DEFAULT; setup_count 3299 drivers/scsi/aha152x.c setup[setup_count].ext_trans = 0; setup_count 3300 drivers/scsi/aha152x.c setup_count++; setup_count 3309 drivers/scsi/aha152x.c printk("%d controller(s) configured\n", setup_count); setup_count 3311 drivers/scsi/aha152x.c for (i=0; i<setup_count; i++) { setup_count 3357 drivers/scsi/aha152x.c if(setup_count>=ARRAY_SIZE(setup)) { setup_count 3362 drivers/scsi/aha152x.c setup[setup_count].conf = str; setup_count 3363 drivers/scsi/aha152x.c setup[setup_count].io_port = ints[0] >= 1 ? ints[1] : 0x340; setup_count 3364 drivers/scsi/aha152x.c setup[setup_count].irq = ints[0] >= 2 ? ints[2] : 11; setup_count 3365 drivers/scsi/aha152x.c setup[setup_count].scsiid = ints[0] >= 3 ? ints[3] : 7; setup_count 3366 drivers/scsi/aha152x.c setup[setup_count].reconnect = ints[0] >= 4 ? ints[4] : 1; setup_count 3367 drivers/scsi/aha152x.c setup[setup_count].parity = ints[0] >= 5 ? ints[5] : 1; setup_count 3368 drivers/scsi/aha152x.c setup[setup_count].synchronous = ints[0] >= 6 ? ints[6] : 1; setup_count 3369 drivers/scsi/aha152x.c setup[setup_count].delay = ints[0] >= 7 ? ints[7] : DELAY_DEFAULT; setup_count 3370 drivers/scsi/aha152x.c setup[setup_count].ext_trans = ints[0] >= 8 ? ints[8] : 0; setup_count 3375 drivers/scsi/aha152x.c setup_count++; setup_count 3882 fs/cifs/cifssmb.c smb_init_nttransact(const __u16 sub_command, const int setup_count, setup_count 3890 fs/cifs/cifssmb.c rc = small_smb_init(SMB_COM_NT_TRANSACT, 19 + setup_count, tcon, setup_count 3902 fs/cifs/cifssmb.c (setup_count * 2) - 4 /* for rfc1001 length itself */; setup_count 3905 fs/cifs/cifssmb.c pSMB->SetupCount = setup_count; /* no need to le convert byte fields */