/freebsd/sys/dev/sound/pcm/ |
H A D | feeder.c | 353 if (fmt == 0 || fmts == NULL || fmts[0] == 0) in snd_fmtbestfunc() 356 if (snd_fmtvalid(fmt, fmts)) in snd_fmtbestfunc() 362 for (i = 0; fmts[i] != 0; i++) { in snd_fmtbestfunc() 363 score2 = snd_fmtscore(fmts[i]); in snd_fmtbestfunc() 384 best = fmts[i]; in snd_fmtbestfunc() 395 return snd_fmtbestfunc(fmt, fmts, 0); in snd_fmtbestbit() 401 return snd_fmtbestfunc(fmt, fmts, 1); in snd_fmtbestchannel() 405 snd_fmtbest(u_int32_t fmt, u_int32_t *fmts) in snd_fmtbest() argument 410 if (snd_fmtvalid(fmt, fmts)) in snd_fmtbest() 413 best1 = snd_fmtbestchannel(fmt, fmts); in snd_fmtbest() [all …]
|
H A D | feeder.h | 57 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 D | sndstat.c | 336 *fmts = AFMT_ENCODING(d->pvchanformat); in sndstat_get_caps() 341 *fmts = AFMT_ENCODING(d->rvchanformat); in sndstat_get_caps() 346 *fmts = 0; in sndstat_get_caps() 363 *fmts |= AFMT_ENCODING(caps->fmtlist[i]); in sndstat_get_caps() 395 uint32_t maxrate, minrate, fmts, minchn, maxchn; in sndstat_build_sound4_nvlist() local 422 sndstat_get_caps(d, true, &minrate, &maxrate, &fmts, &minchn, in sndstat_build_sound4_nvlist() 426 nvlist_add_number(di, "pfmts", fmts); in sndstat_build_sound4_nvlist() 427 diinfo = sndstat_create_diinfo_nv(minrate, maxrate, fmts, in sndstat_build_sound4_nvlist() 435 sndstat_get_caps(d, false, &minrate, &maxrate, &fmts, &minchn, in sndstat_build_sound4_nvlist() 439 nvlist_add_number(di, "rfmts", fmts); in sndstat_build_sound4_nvlist() [all …]
|
H A D | dsp.c | 2085 uint32_t fmts; in dsp_oss_audioinfo() local 2181 fmts = 0; in dsp_oss_audioinfo() 2183 fmts |= AFMT_ENCODING(caps->fmtlist[i]); in dsp_oss_audioinfo() 2189 ai->oformats |= fmts; in dsp_oss_audioinfo() 2191 ai->iformats |= fmts; in dsp_oss_audioinfo() 2245 uint32_t fmts; in dsp_oss_engineinfo() local 2354 fmts = 0; in dsp_oss_engineinfo() 2356 fmts |= AFMT_ENCODING(caps->fmtlist[i]); in dsp_oss_engineinfo() 2362 ai->oformats = fmts; in dsp_oss_engineinfo() 2364 ai->iformats = fmts; in dsp_oss_engineinfo()
|
H A D | channel.c | 2416 u_int32_t *fmtlist, fmts; in chn_getformats() local 2420 fmts = 0; in chn_getformats() 2422 fmts |= fmtlist[i]; in chn_getformats() 2426 fmts |= AFMT_CONVERTIBLE; in chn_getformats() 2428 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/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 u_int32_t fmts[] = { variable 120 fmts, 0
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | fw.c | 1066 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 D | core.h | 3620 const char *(*fmts)[]; member
|
/freebsd/sys/vm/ |
H A D | uma_core.c | 2299 u_int fmts[2]; in keg_layout() local 2363 fmts[nfmt++] = 0; in keg_layout() 2380 fmts[nfmt++] = UMA_ZFLAG_INTERNAL; in keg_layout() 2382 fmts[nfmt++] = UMA_ZFLAG_OFFPAGE; in keg_layout() 2402 if ((fmts[j] & UMA_ZFLAG_INTERNAL) != 0 && in keg_layout() 2406 keg_layout_one(keg, rsize, slabsize, fmts[j], &kl_tmp); in keg_layout()
|