Home
last modified time | relevance | path

Searched refs:tlc (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/hid/
H A Dhidbus.c195 struct hidbus_ivars *tlc; in hidbus_add_child() local
202 tlc = malloc(sizeof(struct hidbus_ivars), M_DEVBUF, M_WAITOK | M_ZERO); in hidbus_add_child()
203 tlc->mtx = &sc->mtx; in hidbus_add_child()
204 device_set_ivars(child, tlc); in hidbus_add_child()
206 CK_STAILQ_INSERT_TAIL(&sc->tlcs, tlc, link); in hidbus_add_child()
399 struct hidbus_ivars *tlc = device_get_ivars(child); in hidbus_child_detached() local
401 KASSERT(tlc->refcnt == 0, ("Child device is running")); in hidbus_child_detached()
402 tlc->mtx = &sc->mtx; in hidbus_child_detached()
403 tlc->intr_handler = NULL; in hidbus_child_detached()
404 tlc->flags &= ~HIDBUS_FLAG_CAN_POLL; in hidbus_child_detached()
[all …]
/freebsd/usr.sbin/bsdconfig/timezone/share/
H A Dzones.subr163 function add_zone_to_country(lineno, tlc, descr, file, cont)
168 if (!match(tlc, /^[A-Z][A-Z]$/))
172 argv[3] = tlc
175 if (!ENVIRON["country_" tlc "_name"])
179 argv[3] = tlc
188 if (country_nzones[tlc] < 0)
195 n = ++country_nzones[tlc]
196 country_cont[tlc,n] = cont
197 country_filename[tlc,n] = file
198 country_descr[tlc,n] = descr
[all …]
H A Diso3166.subr102 function add_country(tlc, name)
104 if (country_name[tlc])
108 argv[3] = tlc
113 country_name[tlc] = name
115 function print_country_name(tlc)
117 name = country_name[tlc]
119 printf "country_%s_name=\"%s\"\n", tlc, name
120 printf "export country_%s_name\n", tlc
133 tlc = line[1]
138 if (length(tlc) != 2)
[all …]
H A Dmenus.subr103 function add_zone_n_to_country_menu(tlc, n)
105 zone_title = ENVIRON["country_" tlc "_descr_" n]
107 country_menu_list[tlc] = country_menu_list[tlc] \
108 ( length(country_menu_list[tlc]) > 0 ? "\n" : "" ) \
121 tlc = countries[cp]
122 title = ENVIRON["country_" tlc "_name"]
124 nzones = ENVIRON["country_" tlc "_nzones"]
133 cont = ENVIRON["country_" tlc "_cont"]
135 continent_tlc[cont,nitems] = tlc
143 add_zone_n_to_country_menu(tlc, n)
[all …]
H A Dcountries.subr83 tlc = array[item]
84 name = ENVIRON["country_" tlc "_name"]
85 countries[name] = tlc
/freebsd/usr.sbin/bsdconfig/timezone/
H A Dtimezone389 f_country $tlc nzones nzones
391 f_country $tlc cont real_cont
393 f_country $tlc name name
394 f_country $tlc filename filename
402 f_country $tlc name name
408 f_country $tlc menu_list menu_list
437 f_country $tlc cont_$n real_cont
439 f_country $tlc name name
440 f_country $tlc filename_$n filename
/freebsd/usr.sbin/tzsetup/
H A Dtzsetup.c276 char *tlc; member
352 cp->tlc = strdup(t); in read_iso3166_table()
353 if (cp->tlc == NULL) in read_iso3166_table()
361 find_country(int lineno, const char *tlc) in find_country() argument
365 if (strlen(tlc) != 2 || in find_country()
366 tlc[0] < 'A' || tlc[0] > 'Z' || tlc[1] < 'A' || tlc[1] > 'Z') in find_country()
368 lineno, tlc); in find_country()
370 cp = &countries[CODE2INT(tlc)]; in find_country()
373 lineno, tlc); in find_country()
456 char *line, *country_list, *tlc, *file, *descr; in read_zones() local
[all …]
/freebsd/sys/dev/iwn/
H A Dif_iwnreg.h1424 uint8_t tlc; member