Searched refs:current_override (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dg_NCR5380.c254 static int current_override = 0; generic_NCR5380_detect() local
289 if (!current_override && isapnp_present()) { generic_NCR5380_detect()
323 for (count = 0; current_override < NO_OVERRIDES; ++current_override) { generic_NCR5380_detect()
324 if (!(overrides[current_override].NCR5380_map_name)) generic_NCR5380_detect()
328 switch (overrides[current_override].board) { generic_NCR5380_detect()
357 if (overrides[current_override].NCR5380_map_name != PORT_AUTO) generic_NCR5380_detect()
361 if (overrides[current_override].NCR5380_map_name == ports[i]) generic_NCR5380_detect()
384 overrides[current_override].NCR5380_map_name = ports[i]; generic_NCR5380_detect()
391 if(!(request_region(overrides[current_override].NCR5380_map_name, NCR5380_region_size, "ncr5380"))) generic_NCR5380_detect()
396 base = overrides[current_override].NCR5380_map_name; generic_NCR5380_detect()
408 release_region(overrides[current_override].NCR5380_map_name, region_size); generic_NCR5380_detect()
416 instance->NCR5380_instance_name = overrides[current_override].NCR5380_map_name; generic_NCR5380_detect()
425 if (overrides[current_override].irq != IRQ_AUTO) generic_NCR5380_detect()
426 instance->irq = overrides[current_override].irq; generic_NCR5380_detect()
446 ++current_override; generic_NCR5380_detect()
H A Ddtc.c191 static int current_override = 0, current_base = 0; dtc_detect() local
197 for (count = 0; current_override < NO_OVERRIDES; ++current_override) { dtc_detect()
201 if (overrides[current_override].address) { dtc_detect()
202 addr = overrides[current_override].address; dtc_detect()
246 if (overrides[current_override].irq != IRQ_AUTO) dtc_detect()
247 instance->irq = overrides[current_override].irq; dtc_detect()
278 ++current_override; dtc_detect()
H A Dt128.c168 static int current_override = 0, current_base = 0; t128_detect() local
174 for (count = 0; current_override < NO_OVERRIDES; ++current_override) { t128_detect()
178 if (overrides[current_override].address) { t128_detect()
179 base = overrides[current_override].address; t128_detect()
223 if (overrides[current_override].irq != IRQ_AUTO) t128_detect()
224 instance->irq = overrides[current_override].irq; t128_detect()
249 ++current_override; t128_detect()
H A Dpas16.c347 static int current_override = 0; pas16_detect() local
369 for (count = 0; current_override < NO_OVERRIDES; ++current_override) { pas16_detect()
372 if (overrides[current_override].io_port) pas16_detect()
374 io_port = overrides[current_override].io_port; pas16_detect()
375 enable_board( current_override, io_port ); pas16_detect()
376 init_board( io_port, overrides[current_override].irq, 1 ); pas16_detect()
409 if (overrides[current_override].irq != IRQ_AUTO) pas16_detect()
410 instance->irq = overrides[current_override].irq; pas16_detect()
438 ++current_override; pas16_detect()

Completed in 177 milliseconds