/freebsd/sys/dev/sound/pcm/ |
H A D | feeder.c | 299 snd_fmtbestfunc(u_int32_t fmt, u_int32_t *fmts, int cheq) in snd_fmtbestfunc() argument 304 if (fmt == 0 || fmts == NULL || fmts[0] == 0) in snd_fmtbestfunc() 307 if (snd_fmtvalid(fmt, fmts)) in snd_fmtbestfunc() 313 for (i = 0; fmts[i] != 0; i++) { in snd_fmtbestfunc() 314 score2 = snd_fmtscore(fmts[i]); in snd_fmtbestfunc() 335 best = fmts[i]; in snd_fmtbestfunc() 344 snd_fmtbestbit(u_int32_t fmt, u_int32_t *fmts) in snd_fmtbestbit() argument 346 return snd_fmtbestfunc(fmt, fmts, 0); in snd_fmtbestbit() 350 snd_fmtbestchannel(u_int32_t fmt, u_int32_t *fmts) in snd_fmtbestchannel() argument 352 return snd_fmtbestfunc(fmt, fmts, 1); in snd_fmtbestchannel() [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 | 323 uint32_t *max_rate, uint32_t *fmts, uint32_t *minchn, uint32_t *maxchn) in sndstat_get_caps() argument 329 *fmts = 0; in sndstat_get_caps() 341 *fmts |= AFMT_ENCODING(caps->fmtlist[i]); in sndstat_get_caps() 384 uint32_t maxrate, minrate, fmts, minchn, maxchn, caps; in sndstat_build_sound4_nvlist() local 412 sndstat_get_caps(d, PCMDIR_PLAY, &minrate, &maxrate, &fmts, in sndstat_build_sound4_nvlist() 416 nvlist_add_number(di, "pfmts", fmts); in sndstat_build_sound4_nvlist() 417 diinfo = sndstat_create_diinfo_nv(minrate, maxrate, fmts, in sndstat_build_sound4_nvlist() 425 sndstat_get_caps(d, PCMDIR_REC, &minrate, &maxrate, &fmts, in sndstat_build_sound4_nvlist() 429 nvlist_add_number(di, "rfmts", fmts); in sndstat_build_sound4_nvlist() 430 diinfo = sndstat_create_diinfo_nv(minrate, maxrate, fmts, in sndstat_build_sound4_nvlist()
|
H A D | dsp.c | 2008 uint32_t fmts; in dsp_oss_audioinfo() local 2109 fmts = 0; in dsp_oss_audioinfo() 2111 fmts |= AFMT_ENCODING(caps->fmtlist[i]); in dsp_oss_audioinfo() 2117 ai->oformats |= fmts; in dsp_oss_audioinfo() 2119 ai->iformats |= fmts; in dsp_oss_audioinfo() 2182 uint32_t fmts; in dsp_oss_engineinfo() local 2274 fmts = 0; in dsp_oss_engineinfo() 2276 fmts |= AFMT_ENCODING(caps->fmtlist[i]); in dsp_oss_engineinfo() 2282 ai->oformats = fmts; in dsp_oss_engineinfo() 2284 ai->iformats = fmts; in dsp_oss_engineinfo()
|
H A D | channel.c | 2336 u_int32_t *fmtlist, fmts; in chn_getformats() local 2340 fmts = 0; in chn_getformats() 2342 fmts |= fmtlist[i]; in chn_getformats() 2346 fmts |= AFMT_CONVERTIBLE; in chn_getformats() 2348 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 | 1621 kfree(fw->log.fmts); 1662 log->fmts = kcalloc(fmt_count, sizeof(char *), GFP_KERNEL); in rtw89_fw_h2c_p2p_act() 1663 if (!log->fmts) in rtw89_fw_h2c_p2p_act() 1671 (*log->fmts)[i] = fmts_ptr; in rtw89_fw_h2c_p2p_act() 1689 if (log->fmts) in __rtw89_fw_h2c_set_tx_path() 1699 const char *(*fmts)[] = rtwdev->fw.log.fmts; in rtw89_fw_h2c_default_cmac_tbl() 1724 snprintf(str_buf, RTW89_C2H_FW_LOG_STR_BUF_SIZE, (*fmts)[fmt_idx], in rtw89_fw_h2c_default_cmac_tbl() 1755 if (!rtwdev->fw.log.fmts) in __get_sta_he_pkt_padding() 1763 (*rtwdev->fw.log.fmts)[fmt_id in __get_sta_he_pkt_padding() 1144 const char *(*fmts)[] = rtwdev->fw.log.fmts; rtw89_fw_log_dump_data() local [all...] |
H A D | core.h | 4425 const char *(*fmts)[]; 3620 const char *(*fmts)[]; global() member
|
/freebsd/sys/vm/ |
H A D | uma_core.c | 2302 u_int fmts[2]; in keg_layout() local 2366 fmts[nfmt++] = 0; in keg_layout() 2383 fmts[nfmt++] = UMA_ZFLAG_INTERNAL; in keg_layout() 2385 fmts[nfmt++] = UMA_ZFLAG_OFFPAGE; in keg_layout() 2405 if ((fmts[j] & UMA_ZFLAG_INTERNAL) != 0 && in keg_layout() 2409 keg_layout_one(keg, rsize, slabsize, fmts[j], &kl_tmp); in keg_layout()
|