Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/block/paride/
Dpt.c110 #define PT_UNITS 4 macro
255 struct pt_unit pt[PT_UNITS];
280 for (unit=0;unit<PT_UNITS;unit++) { in pt_init_units()
311 for (unit=0;unit<PT_UNITS;unit++) in pt_init()
354 for (unit=0;unit<PT_UNITS;unit++) in cleanup_module()
676 } else for (unit=0;unit<PT_UNITS;unit++) if (DU[D_PRT]) in pt_detect()
698 if ((unit >= PT_UNITS) || (!PT.present)) return -ENODEV; in pt_open()
741 if (unit >= PT_UNITS) in pt_ioctl()
779 if ((unit >= PT_UNITS) || (PT.access <= 0)) in pt_release()