HomeSort by: relevance | last modified time | path
    Searched defs:class (Results 1 - 25 of 90) sorted by relevancy

1 2 3 4

  /src/usr.bin/aiomixer/
parse.c 42 get_class(struct aiomixer *aio, int class)
47 if (aio->classes[i].index == class) {
91 struct aiomixer_class *class; local in function:aiomixer_parse
100 class = &aio->classes[aio->numclasses++];
101 memcpy(class->name, info.label.name, MAX_AUDIO_DEV_LEN);
102 class->index = info.index;
103 class->numcontrols = 0;
116 class = get_class(aio, info.mixer_class);
117 if (class == NULL)
119 if (class->numcontrols >= __arraycount(class->controls)
    [all...]
draw.c 331 struct aiomixer_class *class; local in function:create_widgets
343 class = &aio->classes[i];
344 class->height = 0;
345 class->widgetpad = newpad(4 * __arraycount(class->controls),
347 if (class->widgetpad == NULL)
349 for (j = 0; j < class->numcontrols; ++j) {
350 control = &class->controls[j];
361 control->widgetpad = subpad(class->widgetpad,
363 class->height, 0)
379 struct aiomixer_class *class; local in function:resize_widgets
    [all...]
main.c 65 struct aiomixer_class *class; local in function:select_class
71 class = &aio->classes[n];
76 for (i = 0; i < class->numcontrols; ++i) {
77 class->controls[i].setindex = -1;
78 draw_control(aio, &class->controls[i], false);
87 struct aiomixer_class *class; local in function:select_control
91 class = &aio->classes[aio->curclass];
93 if (n >= class->numcontrols)
96 lastcontrol = &class->controls[aio->curcontrol];
100 control = &class->controls[n]
216 struct aiomixer_class *class = &aio->classes[aio->curclass]; local in function:toggle_set
240 struct aiomixer_class *class; local in function:step_up
259 struct aiomixer_class *class; local in function:step_down
279 struct aiomixer_class *class; local in function:read_key
    [all...]
  /src/share/examples/rump/btplay/
btplay.c 150 unsigned class; local in function:main
156 class = r[0].uclass[1] & 0x1f;
157 printf("major class: %d (%s)\n", class,
158 class < __arraycount(btclasses)
159 ? btclasses[class] : "unknown");
  /src/sys/arch/powerpc/ibm4xx/pci/
pchb.c 90 int class, id; local in function:pchbmatch
99 class = pci_conf_read(pc, tag, PCI_CLASS_REG);
105 if (PCI_CLASS(class) == PCI_CLASS_BRIDGE &&
106 PCI_SUBCLASS(class) == PCI_SUBCLASS_BRIDGE_HOST) {
132 int class, id; local in function:pchbattach
137 class = pci_conf_read(pc, tag, PCI_CLASS_REG);
148 pci_devinfo(id, class, 0, devinfo, sizeof(devinfo));
150 PCI_REVISION(class));
  /src/sys/arch/powerpc/fpu/
fpu_explode.c 83 * returns the class code for the new number (but note that we use
217 int class; local in function:fpu_explode
226 class = fpu_xtof(fp, i);
231 class = fpu_itof(fp, lo);
235 class = fpu_stof(fp, hi);
239 class = fpu_dtof(fp, hi, lo);
246 if (class == FPC_QNAN && (fp->fp_mant[0] & FP_QUIETBIT) == 0) {
252 * (we can tell signalling ones by their class).
256 class = FPC_SNAN;
258 fp->fp_class = class;
    [all...]
  /src/lib/libc/locale/
c8rtomb.c 117 const utf8_class_t class = utf8_classtab[c8]; local in function:utf8_decode_step
120 ? (c8 & (0xff >> class))
123 return utf8_statetab[state + class];
  /src/sbin/modstat/
main.c 194 (int)maxnamelen, "NAME", "CLASS", "SOURCE", "FLAG", "REFS");
200 const char *class; local in function:main
218 class = classes[ms->ms_class];
220 class = "UNKNOWN";
227 (int)maxnamelen, ms->ms_name, class, source,
  /src/sys/arch/i386/stand/lib/
exec_multiboot1.c 48 int class; local in function:ksyms_addr_set
54 class = ((Elf_Ehdr *)ehdr)->e_ident[EI_CLASS];
56 switch (class) {
66 panic("Unexpected ELF class");
75 switch(class) {
91 panic("Unexpected ELF class");
103 switch(class) {
111 panic("Unexpected ELF class");
  /src/sys/arch/prep/pci/
pci_machdep.c 277 pcireg_t class; local in function:prep_pci_conf_hook
312 class = genppc_pci_indirect_conf_read(pc, tag,
316 class = prep_pci_direct_conf_read(pc, tag,
324 if (PCI_CLASS(class) == PCI_CLASS_BRIDGE &&
325 PCI_SUBCLASS(class) == PCI_SUBCLASS_BRIDGE_PCI) {
  /src/sys/arch/sparc64/dev/
central.c 144 char *class; local in function:central_print
148 class = prom_getpropstring(ca->ca_node, "device_type");
149 if (*class != '\0')
150 printf(" class %s", class);
fhc.c 138 char *class; local in function:fhc_print
142 class = prom_getpropstring(fa->fa_node, "device_type");
143 if (*class != '\0')
144 printf(" class %s", class);
  /src/usr.sbin/sdpd/
compat.c 758 uint16_t class; member in struct:__anon9158105f0108
780 uint16_t class; local in function:compat_register_request
797 class = be16dec(d.next);
807 if (known[i].class == class)
871 if (sdp_match_uuid16(&r, known[i].class))
  /src/sys/arch/evbarm/ixm1200/
nappi_nppb.c 90 uint32_t class, id; local in function:nppbmatch
92 class = pa->pa_class;
95 if (PCI_CLASS(class) == PCI_CLASS_BRIDGE &&
96 PCI_SUBCLASS(class) == PCI_SUBCLASS_BRIDGE_MISC) {
  /src/sys/arch/sandpoint/stand/altboot/
pci.c 198 printf(" rev %02x class %02x.%02x.%02x",
337 unsigned class; local in function:clsmatch
339 class = cfgread(bus, dev, func, PCI_CLASS_REG);
340 return PCI_CLASS(class) == (unsigned)data;
347 unsigned pciid, bhlcr, class; local in function:_pcilookup
355 class = cfgread(bus, device, 0, PCI_CLASS_REG);
356 if (PCI_CLASS(class) == PCI_CLASS_PPB) {
  /src/sys/arch/sparc/fpu/
fpu.c 69 static const char *class[] = { local in function:fpu_dumpfpn
73 printf("%s %c.%x %x %x %xE%d", class[fp->fp_class + 2],
  /src/sys/arch/sparc/sparc/
pci_fixup.c 73 int i, j, node, bus, dev, fun, maxbus, len, class; local in function:mspcic_pci_scan
249 len = OF_getproplen(node, "class-code");
254 OF_getprop(node, "class-code", &class, len);
255 if (!IS_PCI_BRIDGE(class)) {
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/
nouveau_nvkm_engine_gr_gk20a.c 33 #include <nvif/class.h>
166 u32 class = av->addr & 0xffff; local in function:gk20a_gr_av_to_method
169 if (prevclass != class) {
173 pack[classidx].type = class;
174 prevclass = class;
nouveau_nvkm_engine_gr_nv20.c 199 u32 class = nvkm_rd32(device, 0x400160 + subc * 4) & 0xfff; local in function:nv20_gr_intr
215 "class %04x mthd %04x data %08x\n",
218 subc, class, mthd, data);
nouveau_nvkm_engine_gr_nv40.c 251 u32 class = nvkm_rd32(device, 0x400160 + subc * 4) & 0xffff; local in function:nv40_gr_intr
281 "class %04x mthd %04x data %08x\n",
285 subc, class, mthd, data);
  /src/usr.sbin/memswitch/
memswitch.c 164 properties[i].class, properties[i].node);
165 if (strcmp(name, fullname) == 0 || strcmp(name, properties[i].class) == 0) {
173 errx(1, "No such %s: %s", strstr(name, ".")?"property":"class", name);
189 properties[i].class, properties[i].node);
202 const char *class; local in function:modify_single
212 for (class = p; *p; p++) {
228 if (class[0] == '\0' || node[0] == '\0' || value[0] == '\0')
232 if (strcmp(properties[i].class, class) == 0 &&
238 printf("%s.%s -> %s\n", class, node, valuestr)
    [all...]
  /src/sys/dev/ppbus/
ppbus_base.c 509 /* Stores the class ID of the peripheral in soft config data */
519 char * class = NULL; local in function:ppbus_pnp_detect
570 class = search_token(token, UNKNOWN_LENGTH, ":") + 1;
571 printf(" %s", class);
581 if (class) {
582 /* identify class ident */
584 if (search_token(class, len, pnp_tokens[i]) != NULL) {
  /src/sys/arch/atari/pci/
pci_vga.c 124 uint32_t id, class; local in function:check_for_vga
163 class = pci_conf_read(pc, tag, PCI_CLASS_REG);
165 if (PCI_CLASS(class) == PCI_CLASS_PREHISTORIC &&
166 PCI_SUBCLASS(class) == PCI_SUBCLASS_PREHISTORIC_VGA)
168 if (PCI_CLASS(class) == PCI_CLASS_DISPLAY &&
169 PCI_SUBCLASS(class) == PCI_SUBCLASS_DISPLAY_VGA)
  /src/usr.sbin/btpand/
btpand.c 63 uint16_t class; member in struct:__anon76a548220108
172 service_class = services[ul].class;
  /src/lib/libc/net/
hesiod.c 90 int classes[2]; /* The class search order. */
406 * Given a DNS class and a DNS name, do a lookup for TXT records, and
415 int ancount, qdcount, i, j, n, skip, type, class, len; local in function:get_txt_records
473 class = p[skip + 2] << 8 | p[skip + 3];
480 /* Skip entries of the wrong class and type. */
481 if (class != qclass || type != T_TXT) {

Completed in 22 milliseconds

1 2 3 4