Lines Matching refs:dp
81 register struct device *dp;
85 for (dp = dtab; dp != 0; dp = dp->d_next) {
86 if (dp->d_type != PSEUDO_DEVICE || dp->d_init == 0)
88 fprintf(fp, "extern int %s(int);\n", dp->d_init);
91 for (dp = dtab; dp != 0; dp = dp->d_next) {
92 if (dp->d_type != PSEUDO_DEVICE || dp->d_init == 0)
94 count = dp->d_slave;
97 fprintf(fp, "\t{%d,\t%s},\n", count, dp->d_init);