Searched refs:PT_UNITS (Results 1 – 1 of 1) sorted by relevance
110 #define PT_UNITS 4 macro255 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()