Home
last modified time | relevance | path

Searched refs:fmts (Results 1 – 14 of 14) sorted by relevance

/dragonfly/sys/dev/sound/pcm/
HDfeeder.c349 snd_fmtbestfunc(u_int32_t fmt, u_int32_t *fmts, int cheq) in snd_fmtbestfunc() argument
354 if (fmt == 0 || fmts == NULL || fmts[0] == 0) in snd_fmtbestfunc()
357 if (snd_fmtvalid(fmt, fmts)) in snd_fmtbestfunc()
363 for (i = 0; fmts[i] != 0; i++) { in snd_fmtbestfunc()
364 score2 = snd_fmtscore(fmts[i]); in snd_fmtbestfunc()
385 best = fmts[i]; in snd_fmtbestfunc()
394 snd_fmtbestbit(u_int32_t fmt, u_int32_t *fmts) in snd_fmtbestbit() argument
396 return snd_fmtbestfunc(fmt, fmts, 0); in snd_fmtbestbit()
400 snd_fmtbestchannel(u_int32_t fmt, u_int32_t *fmts) in snd_fmtbestchannel() argument
402 return snd_fmtbestfunc(fmt, fmts, 1); in snd_fmtbestchannel()
[all …]
HDfeeder.h57 u_int32_t snd_fmtbestbit(u_int32_t fmt, u_int32_t *fmts);
58 u_int32_t snd_fmtbestchannel(u_int32_t fmt, u_int32_t *fmts);
59 u_int32_t snd_fmtbest(u_int32_t fmt, u_int32_t *fmts);
HDchannel.c2261 u_int32_t *fmtlist, fmts; in chn_getformats() local
2265 fmts = 0; in chn_getformats()
2267 fmts |= fmtlist[i]; in chn_getformats()
2271 fmts |= AFMT_CONVERTIBLE; in chn_getformats()
2273 return (AFMT_ENCODING(fmts)); in chn_getformats()
HDdsp.c2612 uint32_t fmts; in dsp_oss_audioinfo() local
2723 fmts = 0; in dsp_oss_audioinfo()
2725 fmts |= caps->fmtlist[i]; in dsp_oss_audioinfo()
2736 ai->oformats = fmts; in dsp_oss_audioinfo()
2738 ai->iformats = fmts; in dsp_oss_audioinfo()
/dragonfly/tools/tools/ath/athstats/
HDstatfoo.c56 if (j+3 > sizeof(sf->fmts)) { in statfoo_setfmt()
62 sf->fmts[j++] = ' '; in statfoo_setfmt()
63 sf->fmts[j++] = 0x80 | i; in statfoo_setfmt()
65 sf->fmts[j] = '\0'; in statfoo_setfmt()
93 for (cp = sf->fmts; *cp != '\0'; cp++) { in statfoo_print_header()
109 for (cp = sf->fmts; *cp != '\0'; cp++) { in statfoo_print_current()
126 for (cp = sf->fmts; *cp != '\0'; cp++) { in statfoo_print_total()
HDstatfoo.h82 unsigned char fmts[4096]; /* private: compiled stats to display */ member
/dragonfly/tools/tools/net80211/wlanstats/
HDstatfoo.c56 if (j+3 > sizeof(sf->fmts)) { in statfoo_setfmt()
67 sf->fmts[j++] = ' '; in statfoo_setfmt()
68 sf->fmts[j++] = 0x80 | field; in statfoo_setfmt()
71 sf->fmts[j] = '\0'; in statfoo_setfmt()
99 for (cp = sf->fmts; *cp != '\0'; cp++) { in statfoo_print_header()
116 for (cp = sf->fmts; *cp != '\0'; cp++) { in statfoo_print_current()
134 for (cp = sf->fmts; *cp != '\0'; cp++) { in statfoo_print_total()
HDstatfoo.h83 unsigned char fmts[4096]; /* private: compiled stats to display */ member
/dragonfly/contrib/tcsh-6/
HDed.screen.c522 static const char fmts[] = "%s\n", fmtd[] = "%d\n"; in EchoTC() local
556 xprintf(fmts, T_Tabs ? CGETS(7, 14, "yes") : in EchoTC()
561 xprintf(fmts, Val(T_km) ? CGETS(7, 14, "yes") : in EchoTC()
566 xprintf(fmts, T_Margin & MARGIN_MAGIC ? CGETS(7, 14, "yes") : in EchoTC()
571 xprintf(fmts, T_Margin & MARGIN_AUTO ? CGETS(7, 14, "yes") : in EchoTC()
580 xprintf(fmts, baud_rate[i].b_name); in EchoTC()
/dragonfly/lib/libevtr/
HDevtr.c212 struct hashtab_str *fmts; member
1005 if (!strhash_find(evtr->fmts, buf, &id)) { in evtr_dump_fmt()
1008 if ((err = strhash_insert(evtr->fmts, buf, &id))) { in evtr_dump_fmt()
1397 if (!(evtr->fmts = strhash_new())) in evtr_open_write()
1411 strhash_destroy(evtr->fmts); in evtr_open_write()
1438 hashtab_destroy(&evtr->fmts->tab); in evtr_close()
/dragonfly/sys/dev/drm/
HDdrm_connector.c681 u32 *fmts = NULL; in drm_display_info_set_bus_formats() local
687 fmts = kmemdup(formats, sizeof(*formats) * num_formats, in drm_display_info_set_bus_formats()
689 if (!fmts) in drm_display_info_set_bus_formats()
694 info->bus_formats = fmts; in drm_display_info_set_bus_formats()
/dragonfly/contrib/libedit/src/
HDterminal.c1462 static const char fmts[] = "%s\n", fmtd[] = "%d\n"; in terminal_echotc() local
1490 (void) fprintf(el->el_outfile, fmts, EL_CAN_TAB ? "yes" : "no"); in terminal_echotc()
1493 (void) fprintf(el->el_outfile, fmts, Val(T_km) ? "yes" : "no"); in terminal_echotc()
1496 (void) fprintf(el->el_outfile, fmts, EL_HAS_MAGIC_MARGINS ? in terminal_echotc()
1500 (void) fprintf(el->el_outfile, fmts, EL_HAS_AUTO_MARGINS ? in terminal_echotc()
/dragonfly/sys/dev/sound/pci/
HDfm801.c112 static u_int32_t fmts[] = { variable
122 fmts, 0
/dragonfly/sys/dev/video/bktr/
HDCHANGELOG.TXT98 to return driver-supported pix fmts GSUPPIXFMT.