Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/block/paride/
Dpd.c120 #define PD_UNITS 4 macro
218 #define PD_DEVS PD_PARTNS*PD_UNITS
313 struct pd_unit pd[PD_UNITS];
370 for (unit=0;unit<PD_UNITS;unit++) { in pd_init_units()
432 if ((unit >= PD_UNITS) || (!PD.present)) return -ENODEV; in pd_open()
504 if ((unit >= PD_UNITS) || (PD.access <= 0)) in pd_release()
520 if ((unit >= PD_UNITS) || (!PD.present)) return -ENODEV; in pd_check_media()
534 if ((unit >= PD_UNITS) || (!PD.present)) return -ENODEV; in pd_revalidate()
586 for (unit=0;unit<PD_UNITS;unit++) in cleanup_module()
826 } else for (unit=0;unit<PD_UNITS;unit++) if (DU[D_PRT]) in pd_detect()
[all …]