Home
last modified time | relevance | path

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

/freebsd/sys/dev/sound/pcm/
H A Dfeeder.c352 if (fmt == 0 || fmts == NULL || fmts[0] == 0) in snd_fmtbestfunc()
355 if (snd_fmtvalid(fmt, fmts)) in snd_fmtbestfunc()
361 for (i = 0; fmts[i] != 0; i++) { in snd_fmtbestfunc()
362 score2 = snd_fmtscore(fmts[i]); in snd_fmtbestfunc()
383 best = fmts[i]; in snd_fmtbestfunc()
394 return snd_fmtbestfunc(fmt, fmts, 0); in snd_fmtbestbit()
400 return snd_fmtbestfunc(fmt, fmts, 1); in snd_fmtbestchannel()
404 snd_fmtbest(u_int32_t fmt, u_int32_t *fmts) in snd_fmtbest() argument
409 if (snd_fmtvalid(fmt, fmts)) in snd_fmtbest()
412 best1 = snd_fmtbestchannel(fmt, fmts); in snd_fmtbest()
[all …]
H A Dfeeder.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);
H A Dsndstat.c331 uint32_t *max_rate, uint32_t *fmts, uint32_t *minchn, uint32_t *maxchn) in sndstat_get_caps() argument
341 *fmts = AFMT_ENCODING(d->pvchanformat); in sndstat_get_caps()
346 *fmts = AFMT_ENCODING(d->rvchanformat); in sndstat_get_caps()
400 uint32_t maxrate, minrate, fmts, minchn, maxchn; in sndstat_build_sound4_nvlist() local
427 sndstat_get_caps(d, true, &minrate, &maxrate, &fmts, &minchn, in sndstat_build_sound4_nvlist()
431 nvlist_add_number(di, "pfmts", fmts); in sndstat_build_sound4_nvlist()
432 diinfo = sndstat_create_diinfo_nv(minrate, maxrate, fmts, in sndstat_build_sound4_nvlist()
440 sndstat_get_caps(d, false, &minrate, &maxrate, &fmts, &minchn, in sndstat_build_sound4_nvlist()
444 nvlist_add_number(di, "rfmts", fmts); in sndstat_build_sound4_nvlist()
445 diinfo = sndstat_create_diinfo_nv(minrate, maxrate, fmts, in sndstat_build_sound4_nvlist()
H A Dchannel.c2300 u_int32_t *fmtlist, fmts; in chn_getformats() local
2304 fmts = 0; in chn_getformats()
2306 fmts |= fmtlist[i]; in chn_getformats()
2310 fmts |= AFMT_CONVERTIBLE; in chn_getformats()
2312 return (AFMT_ENCODING(fmts)); in chn_getformats()
H A Ddsp.c2115 uint32_t fmts; in dsp_oss_audioinfo() local
2224 fmts = 0; in dsp_oss_audioinfo()
2226 fmts |= caps->fmtlist[i]; in dsp_oss_audioinfo()
2237 ai->oformats = fmts; in dsp_oss_audioinfo()
2239 ai->iformats = fmts; in dsp_oss_audioinfo()
/freebsd/lib/libbsdstat/
H A Dbsdstat.c56 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 Dbsdstat.h83 unsigned char fmts[4096]; /* private: compiled stats to display */ member
/freebsd/contrib/tcsh/
H A Ded.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()
/freebsd/contrib/libedit/
H A Dterminal.c1460 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 Dfm801.c110 static u_int32_t fmts[] = { variable
120 fmts, 0
/freebsd/sys/contrib/dev/rtw89/
H A Dfw.c1066 kfree(fw->log.fmts); in rtw89_unload_firmware()
1107 log->fmts = kcalloc(fmt_count, sizeof(char *), GFP_KERNEL); in rtw89_fw_log_create_fmts_dict()
1108 if (!log->fmts) in rtw89_fw_log_create_fmts_dict()
1116 (*log->fmts)[i] = fmts_ptr; in rtw89_fw_log_create_fmts_dict()
1134 if (log->fmts) in rtw89_fw_log_prepare()
1144 const char *(*fmts)[] = rtwdev->fw.log.fmts; in rtw89_fw_log_dump_data() local
1169 snprintf(str_buf, RTW89_C2H_FW_LOG_STR_BUF_SIZE, (*fmts)[fmt_idx], in rtw89_fw_log_dump_data()
1200 if (!rtwdev->fw.log.fmts) in rtw89_fw_log_dump()
1208 (*rtwdev->fw.log.fmts)[fmt_idx], log_fmt->u.raw); in rtw89_fw_log_dump()
H A Dcore.h3620 const char *(*fmts)[]; member
/freebsd/sys/vm/
H A Duma_core.c2264 u_int fmts[2]; in keg_layout() local
2328 fmts[nfmt++] = 0; in keg_layout()
2345 fmts[nfmt++] = UMA_ZFLAG_INTERNAL; in keg_layout()
2347 fmts[nfmt++] = UMA_ZFLAG_OFFPAGE; in keg_layout()
2367 if ((fmts[j] & UMA_ZFLAG_INTERNAL) != 0 && in keg_layout()
2371 keg_layout_one(keg, rsize, slabsize, fmts[j], &kl_tmp); in keg_layout()