Lines Matching refs:section

61 static struct section
70 static void dump_paramreg (const struct section *,
99 struct section *sec;
101 sec = malloc(sizeof(struct section));
102 bzero(sec, sizeof(struct section));
115 /* Deal with string section lookups. */
124 if (strcasecmp(assign->section->name, s) == 0) {
147 if (assign == NULL || assign->section != a->section)
164 struct section *
167 struct section *section;
169 TAILQ_FOREACH(section, &sh, link) {
170 if (strcasecmp(section->name, s) == 0)
171 return(section);
285 struct section *sec;
295 /* Find manufacturer section */
311 if (assign->section == sec) {
335 * in the manufacturer section and dump out the
340 if (assign->section == sec) {
378 struct section *sec;
388 /* Find manufacturer section */
404 if (assign->section == sec) {
428 * in the manufacturer section and dump out the
433 if (assign->section == sec) {
471 struct section *sec;
481 /* Find manufacturer section */
497 if (assign->section == sec) {
521 * in the manufacturer section and dump out the
526 if (assign->section == sec) {
563 struct section *sec;
566 /* Find the addreg section */
577 if (reg->section == sec) {
596 dump_enumreg(const struct section *s, const struct reg *r)
603 if (reg->section != s)
614 dump_editreg(const struct section *s, const struct reg *r)
619 if (reg->section != s)
636 dump_dwordreg(const struct section *s, const struct reg *r)
641 if (reg->section != s)
656 dump_defaultinfo(const struct section *s, const struct reg *r, int devidx)
660 if (reg->section != s)
676 dump_paramdesc(const struct section *s, const struct reg *r)
680 if (reg->section != s)
693 dump_typeinfo(const struct section *s, const struct reg *r)
697 if (reg->section != s)
717 dump_paramreg(const struct section *s, const struct reg *r, int devidx)
735 struct section *sec;
753 /* Find manufacturer section */
770 if (assign->section == sec) {
774 * Look for section names with .NT, unless
832 assign->section = TAILQ_LAST(&sh, section_head);
874 reg->section = TAILQ_LAST(&sh, section_head);