Lines Matching defs:trayNum
38 remount_form(register PSTATUS *pps, FSTATUS *pfs, short trayNum)
40 trayNum--; /* make zero based */
41 if (pps->forms && (pps->forms[trayNum].form == pfs)) {
42 pps->forms[trayNum].isAvailable = (pfs ? 1 : 0);
52 if (pps->forms && pps->forms[trayNum].form) {
53 register FSTATUS *Opfs = pps->forms[trayNum].form;
55 pps->forms[trayNum].form = 0;
56 pps->forms[trayNum].isAvailable = 1;
81 pfs, (pfs ? pfs->form->name : "NULL"), trayNum);
84 pps->forms = (PFSTATUS *)calloc((trayNum +1),
86 pps->numForms = trayNum + 1;
89 if (pps && pps->forms && (pps->numForms > trayNum)) {
90 pps->forms[trayNum].form = pfs;
91 pps->forms[trayNum].isAvailable = 1;
339 short trayNum;
344 &trayNum);
347 (pwheel_name ? pwheel_name : "NULL"), trayNum);
361 else if ((trayNum <=0) || (trayNum > pps->numForms))
373 remount_form(pps, pfs,trayNum);
445 short trayNum;
450 &trayNum);
453 (pwheel_name ? pwheel_name : "NULL"), trayNum);
462 else if ((trayNum <=0) || (trayNum > pps->numForms))
471 remount_form (pps, (FSTATUS *)0,trayNum);