| /freebsd/sys/dev/sound/pcm/ |
| H A D | feeder.c | 216 snd_fmtbestfunc(uint32_t fmt, uint32_t *fmts, int cheq) in snd_fmtbestfunc() argument 221 if (fmt == 0 || fmts == NULL || fmts[0] == 0) in snd_fmtbestfunc() 224 if (snd_fmtvalid(fmt, fmts)) in snd_fmtbestfunc() 230 for (i = 0; fmts[i] != 0; i++) { in snd_fmtbestfunc() 231 score2 = snd_fmtscore(fmts[i]); in snd_fmtbestfunc() 252 best = fmts[i]; in snd_fmtbestfunc() 261 snd_fmtbestbit(uint32_t fmt, uint32_t *fmts) in snd_fmtbestbit() argument 263 return snd_fmtbestfunc(fmt, fmts, 0); in snd_fmtbestbit() 267 snd_fmtbestchannel(uint32_t fmt, uint32_t *fmts) in snd_fmtbestchannel() argument 269 return snd_fmtbestfunc(fmt, fmts, 1); in snd_fmtbestchannel() [all …]
|
| H A D | feeder.h | 66 uint32_t snd_fmtbest(uint32_t fmt, uint32_t *fmts);
|
| H A D | dsp.c | 2152 uint32_t fmts; in dsp_oss_audioinfo() local 2256 fmts = 0; in dsp_oss_audioinfo() 2258 fmts |= AFMT_ENCODING(caps->fmtlist[i]); in dsp_oss_audioinfo() 2264 ai->oformats |= fmts; in dsp_oss_audioinfo() 2266 ai->iformats |= fmts; in dsp_oss_audioinfo() 2329 uint32_t fmts; in dsp_oss_engineinfo() local 2422 fmts = 0; in dsp_oss_engineinfo() 2424 fmts |= AFMT_ENCODING(caps->fmtlist[i]); in dsp_oss_engineinfo() 2430 ai->oformats = fmts; in dsp_oss_engineinfo() 2432 ai->iformats = fmts; in dsp_oss_engineinfo()
|
| H A D | channel.c | 2335 uint32_t *fmtlist, fmts; in chn_getformats() local 2339 fmts = 0; in chn_getformats() 2341 fmts |= fmtlist[i]; in chn_getformats() 2345 fmts |= AFMT_CONVERTIBLE; in chn_getformats() 2347 return (AFMT_ENCODING(fmts)); in chn_getformats()
|
| /freebsd/lib/libbsdstat/ |
| H A D | bsdstat.c | 56 if (j+4 > (int) sizeof(sf->fmts)) { in bsdstat_setfmt() 62 sf->fmts[j++] = ' '; in bsdstat_setfmt() 63 sf->fmts[j++] = FMTS_IS_STAT; in bsdstat_setfmt() 64 sf->fmts[j++] = i & 0xff; in bsdstat_setfmt() 65 sf->fmts[j++] = (i >> 8) & 0xff; in bsdstat_setfmt() 67 sf->fmts[j] = '\0'; in bsdstat_setfmt() 97 for (cp = sf->fmts; *cp != '\0'; cp++) { in bsdstat_print_header() 117 for (cp = sf->fmts; *cp != '\0'; cp++) { in bsdstat_print_current() 138 for (cp = sf->fmts; *cp != '\0'; cp++) { in bsdstat_print_total()
|
| H A D | bsdstat.h | 83 unsigned char fmts[4096]; /* private: compiled stats to display */ member
|
| /freebsd/sys/dev/firewire/ |
| H A D | fwisound_pcm.c | 44 chan->fmts[0] = SND_FORMAT(AFMT_S16_BE, 2, 0); in fwisound_chan_init() 45 chan->fmts[1] = 0; in fwisound_chan_init() 49 chan->caps.fmtlist = chan->fmts; in fwisound_chan_init()
|
| H A D | fwisound.h | 67 uint32_t fmts[2]; member
|
| /freebsd/sys/dev/sound/ |
| H A D | sndstat.c | 321 uint32_t *max_rate, uint32_t *fmts, uint32_t *minchn, uint32_t *maxchn) in sndstat_get_caps() argument 327 *fmts = 0; in sndstat_get_caps() 339 *fmts |= AFMT_ENCODING(caps->fmtlist[i]); in sndstat_get_caps() 382 uint32_t maxrate, minrate, fmts, minchn, maxchn, caps; in sndstat_build_sound4_nvlist() local 410 sndstat_get_caps(d, PCMDIR_PLAY, &minrate, &maxrate, &fmts, in sndstat_build_sound4_nvlist() 414 nvlist_add_number(di, "pfmts", fmts); in sndstat_build_sound4_nvlist() 415 diinfo = sndstat_create_diinfo_nv(minrate, maxrate, fmts, in sndstat_build_sound4_nvlist() 423 sndstat_get_caps(d, PCMDIR_REC, &minrate, &maxrate, &fmts, in sndstat_build_sound4_nvlist() 427 nvlist_add_number(di, "rfmts", fmts); in sndstat_build_sound4_nvlist() 428 diinfo = sndstat_create_diinfo_nv(minrate, maxrate, fmts, in sndstat_build_sound4_nvlist()
|
| /freebsd/contrib/tcsh/ |
| H A D | ed.screen.c | 522 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()
|
| /freebsd/contrib/libedit/ |
| H A D | terminal.c | 1460 static const char fmts[] = "%s\n", fmtd[] = "%d\n"; in terminal_echotc() local 1488 (void) fprintf(el->el_outfile, fmts, EL_CAN_TAB ? "yes" : "no"); in terminal_echotc() 1491 (void) fprintf(el->el_outfile, fmts, Val(T_km) ? "yes" : "no"); in terminal_echotc() 1494 (void) fprintf(el->el_outfile, fmts, EL_HAS_MAGIC_MARGINS ? in terminal_echotc() 1498 (void) fprintf(el->el_outfile, fmts, EL_HAS_AUTO_MARGINS ? in terminal_echotc()
|
| /freebsd/sys/dev/sound/pci/ |
| H A D | fm801.c | 110 static uint32_t fmts[] = { variable 120 fmts, 0
|
| /freebsd/sys/vm/ |
| H A D | uma_core.c | 2298 u_int fmts[2]; in keg_layout() local 2374 fmts[nfmt++] = 0; in keg_layout() 2391 fmts[nfmt++] = UMA_ZFLAG_INTERNAL; in keg_layout() 2393 fmts[nfmt++] = UMA_ZFLAG_OFFPAGE; in keg_layout() 2413 if ((fmts[j] & UMA_ZFLAG_INTERNAL) != 0 && in keg_layout() 2417 keg_layout_one(keg, size, rsize, slabsize, fmts[j], in keg_layout()
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | fw.c | 2122 kfree(fw->log.fmts); 2163 log->fmts = kcalloc(fmt_count, sizeof(char *), GFP_KERNEL); 2164 if (!log->fmts) 2172 (*log->fmts)[i] = fmts_ptr; 2190 if (log->fmts) 2200 const char *(*fmts)[] = rtwdev->fw.log.fmts; local 2225 snprintf(str_buf, RTW89_C2H_FW_LOG_STR_BUF_SIZE, (*fmts)[fmt_idx], 2256 if (!rtwdev->fw.log.fmts) 2264 (*rtwdev->fw.log.fmts)[fmt_idx], log_fmt->u.raw);
|
| H A D | core.h | 4848 const char *(*fmts)[]; member
|