Home
last modified time | relevance | path

Searched refs:porttype (Results 1 – 3 of 3) sorted by relevance

/dragonfly/usr.bin/tset/
H A Dmap.c54 char *porttype; /* Port type, or "" for any. */ member
85 mapp->porttype = arg; in add_mapping()
91 mapp->type = mapp->porttype; in add_mapping()
92 mapp->porttype = NULL; in add_mapping()
96 if (arg == mapp->porttype) /* [><@=! baud]:term */ in add_mapping()
97 termp = mapp->porttype = NULL; in add_mapping()
151 if (mapp->porttype) in add_mapping()
153 mapp->porttype = strdup(port); in add_mapping()
157 (void)printf("port: %s\n", mapp->porttype ? mapp->porttype : "ANY"); in add_mapping()
188 if (mapp->porttype == NULL || !strcmp(mapp->porttype, type)) { in mapped()
/dragonfly/contrib/ncurses/progs/
H A Dtset.c219 const char *porttype; /* Port type, or "" for any. */ member
389 mapp->porttype = arg; in add_mapping()
395 mapp->type = mapp->porttype; in add_mapping()
396 mapp->porttype = 0; in add_mapping()
400 if (arg == mapp->porttype) /* [><@=! baud]:term */ in add_mapping()
401 termp = mapp->porttype = 0; in add_mapping()
455 if (mapp->porttype) { in add_mapping()
459 mapp->porttype = port; in add_mapping()
463 (void) printf("port: %s\n", mapp->porttype ? mapp->porttype : "ANY"); in add_mapping()
493 if (mapp->porttype == 0 || !strcmp(mapp->porttype, type)) { in mapped()
/dragonfly/sys/dev/netif/wi/
H A Dif_wi.c645 wi_setup_locked(struct wi_softc *sc, int porttype, int mode, in wi_setup_locked() argument
652 wi_write_val(sc, WI_RID_PORTTYPE, porttype); in wi_setup_locked()