Searched refs:sc_formats (Results 1 – 7 of 7) sorted by relevance
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/pci/ |
H A D | auacer.c | 130 struct audio_format sc_formats[AUACER_NFORMATS]; member 336 memcpy(sc->sc_formats, auacer_formats, sizeof(auacer_formats)); in auacer_attach() 339 AUFMT_INVALIDATE(&sc->sc_formats[AUACER_FORMATS_4CH]); in auacer_attach() 341 AUFMT_INVALIDATE(&sc->sc_formats[AUACER_FORMATS_6CH]); in auacer_attach() 344 sc->sc_formats[i].frequency_type = 1; in auacer_attach() 345 sc->sc_formats[i].frequency[0] = 48000; in auacer_attach() 350 if (0 != auconv_create_encodings(sc->sc_formats, AUACER_NFORMATS, in auacer_attach() 576 index = auconv_set_converter(sc->sc_formats, AUACER_NFORMATS, in auacer_set_params() 583 if (sc->sc_formats[index].frequency_type != 1 in auacer_set_params()
|
H A D | auixp.c | 411 index = auconv_set_converter(sc->sc_formats, AUIXP_NFORMATS, in auixp_set_params() 423 if ((sc->sc_formats[index].frequency_type != 1) && in auixp_set_params() 1226 AUFMT_INVALIDATE(&sc->sc_formats[i]); in auixp_post_config() 1232 memcpy(sc->sc_formats, auixp_formats, sizeof(auixp_formats)); in auixp_post_config() 1242 sc->sc_formats[i].frequency_type = 1; in auixp_post_config() 1243 sc->sc_formats[i].frequency[0] = 48000; in auixp_post_config() 1245 switch (sc->sc_formats[i].channels) { in auixp_post_config() 1249 AUFMT_INVALIDATE(&sc->sc_formats[i]); in auixp_post_config() 1254 AUFMT_INVALIDATE(&sc->sc_formats[i]); in auixp_post_config() 1264 res = auconv_create_encodings(sc->sc_formats, AUIXP_NFORMATS, in auixp_post_config()
|
H A D | auvia.c | 476 memcpy(sc->sc_formats, auvia_formats, sizeof(auvia_formats)); in auvia_attach() 479 AUFMT_INVALIDATE(&sc->sc_formats[AUVIA_FORMATS_4CH_8]); in auvia_attach() 480 AUFMT_INVALIDATE(&sc->sc_formats[AUVIA_FORMATS_4CH_16]); in auvia_attach() 483 AUFMT_INVALIDATE(&sc->sc_formats[AUVIA_FORMATS_6CH_8]); in auvia_attach() 484 AUFMT_INVALIDATE(&sc->sc_formats[AUVIA_FORMATS_6CH_16]); in auvia_attach() 488 sc->sc_formats[r].frequency_type = 1; in auvia_attach() 489 sc->sc_formats[r].frequency[0] = 48000; in auvia_attach() 494 if (0 != auconv_create_encodings(sc->sc_formats, AUVIA_NFORMATS, in auvia_attach() 762 index = auconv_set_converter(sc->sc_formats, in auvia_set_params()
|
H A D | auviavar.h | 75 struct audio_format sc_formats[AUVIA_NFORMATS]; member
|
H A D | auixpvar.h | 132 struct audio_format sc_formats[AUIXP_NFORMATS]; member
|
H A D | gcscaudio.c | 102 struct audio_format sc_formats[GCSCAUDIO_MAXFORMATS]; member 254 sc->sc_formats[sc->sc_nformats++] = *format; in gcscaudio_append_formats() 342 sc->sc_formats[i].frequency_type = 1; in gcscaudio_attach() 343 sc->sc_formats[i].frequency[0] = 48000; in gcscaudio_attach() 348 if ((rc = auconv_create_encodings(sc->sc_formats, sc->sc_nformats, in gcscaudio_attach() 525 if ((idx = auconv_set_converter(sc->sc_formats, sc->sc_nformats, in gcscaudio_set_params_ch()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/usb/ |
H A D | uaudio.c | 208 struct audio_format *sc_formats; member 548 if (sc->sc_formats != NULL) in uaudio_detach() 549 kmem_free(sc->sc_formats, in uaudio_detach() 1831 sc->sc_formats = kmem_alloc(sizeof(struct audio_format) * sc->sc_nalts, in uaudio_identify_as() 1833 if (sc->sc_formats == NULL) in uaudio_identify_as() 1837 auf = &sc->sc_formats[i]; in uaudio_identify_as() 1869 if (0 != auconv_create_encodings(sc->sc_formats, sc->sc_nformats, in uaudio_identify_as() 1871 kmem_free(sc->sc_formats, in uaudio_identify_as() 1873 sc->sc_formats = NULL; in uaudio_identify_as() 3077 i = auconv_set_converter(sc->sc_formats, sc->sc_nformats, in uaudio_set_params()
|