Lines Matching refs:ptp
977 register struct proto *ptp;
980 for (ptbx = 0; (ptp = ptab[ptbx]) != NULL; ptbx++) {
981 if (eq(str, ptp->p_name))
982 return(ptp);
991 register struct proto *ptp;
993 ptp = find_proto(dp->d_conn->d_name);
994 if (ptp == NULL) {
1000 for (entry = ptp->p_fields; entry->p_name != NULL; entry++) {
1010 dp->d_fields[entry-ptp->p_fields] = num;
1024 register struct proto *ptp;
1051 for (ptbx = 0; (ptp = ptab[ptbx]) != NULL; ptbx++) {
1054 fprintf(fp, " * %s device configuration.\n", ptp->p_name);
1057 fprintf(fp, "#include <sqt%s/ioconf.h>\n", ptp->p_name);
1066 !eq(mp->d_name, ptp->p_name) ||
1070 ptp->p_name, namep = dp->d_name);
1071 ptp->p_seen = 1;
1078 !eq(mp->d_name, ptp->p_name))
1086 ptp->p_name,
1087 ptp->p_name,
1090 entry = ptp->p_fields;
1098 for (entry = ptp->p_fields; entry->p_name != NULL; entry++) {
1103 dp->d_fields[entry-ptp->p_fields]);
1115 ptp->p_name, ptp->p_name);
1118 ptp->p_name, ptp->p_name);
1123 !eq(mp->d_name, ptp->p_name))
1129 namep, count, ptp->p_name, namep, namep);
1138 namep, count, ptp->p_name, namep, namep);
1191 for (ptbx = 0; (ptp = ptab[ptbx]) != NULL; ptbx++) {
1192 if (ptp->p_seen)
1194 ptp->p_name, ptp->p_name, ptp->p_name);
1199 for (ptbx = 0; (ptp = ptab[ptbx]) != NULL; ptbx++) {
1200 if (ptp->p_seen)
1202 ptp->p_name, ptp->p_name, ptp->p_name);