/freebsd/sys/dev/sound/pci/ |
H A D | spicds.c | 56 spicds_wrbit(struct spicds_info *codec, int bit) in spicds_wrbit() argument 59 if (codec->cif) in spicds_wrbit() 67 codec->ctrl(codec->devinfo, cs, 0, cdti); in spicds_wrbit() 69 codec->ctrl(codec->devinfo, cs, 1, cdti); in spicds_wrbit() 76 spicds_wrcd(struct spicds_info *codec, int reg, u_int16_t val) in spicds_wrcd() argument 81 device_printf(codec->dev, "spicds_wrcd(codec, 0x%02x, 0x%02x)\n", reg, val); in spicds_wrcd() 84 if (codec->cif) in spicds_wrcd() 85 codec->ctrl(codec->devinfo, 1, 1, 0); in spicds_wrcd() 87 codec->ctrl(codec->devinfo, 0, 1, 0); in spicds_wrcd() 89 if (codec->type != SPICDS_TYPE_WM8770) { in spicds_wrcd() [all …]
|
H A D | spicds.h | 114 void spicds_destroy(struct spicds_info *codec); 115 void spicds_settype(struct spicds_info *codec, unsigned int type); 116 void spicds_setcif(struct spicds_info *codec, unsigned int cif); 117 void spicds_setformat(struct spicds_info *codec, unsigned int format); 118 void spicds_setdvc(struct spicds_info *codec, unsigned int dvc); 119 void spicds_init(struct spicds_info *codec); 120 void spicds_reinit(struct spicds_info *codec); 121 void spicds_set(struct spicds_info *codec, int dir, unsigned int left, unsigned int right);
|
/freebsd/sys/dev/sound/pcm/ |
H A D | ac97.c | 316 ac97_rdcd(struct ac97_info *codec, int reg) in ac97_rdcd() argument 318 if (codec->flags & AC97_F_RDCD_BUG) { in ac97_rdcd() 321 i[0] = AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd() 322 i[1] = AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd() 324 i[j-- & 1] = AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd() 327 return AC97_READ(codec->methods, codec->devinfo, reg); in ac97_rdcd() 331 ac97_wrcd(struct ac97_info *codec, int reg, u_int16_t val) in ac97_wrcd() argument 333 AC97_WRITE(codec->methods, codec->devinfo, reg, val); in ac97_wrcd() 337 ac97_reset(struct ac97_info *codec) in ac97_reset() argument 340 ac97_wrcd(codec, AC97_REG_RESET, 0); in ac97_reset() [all …]
|
H A D | ac97.h | 96 void ac97_destroy(struct ac97_info *codec); 97 void ac97_setflags(struct ac97_info *codec, u_int32_t val); 98 u_int32_t ac97_getflags(struct ac97_info *codec); 99 int ac97_setrate(struct ac97_info *codec, int which, int rate); 100 int ac97_setextmode(struct ac97_info *codec, u_int16_t mode); 101 u_int16_t ac97_getextmode(struct ac97_info *codec); 102 u_int16_t ac97_getextcaps(struct ac97_info *codec); 103 u_int16_t ac97_getcaps(struct ac97_info *codec); 104 u_int32_t ac97_getsubvendor(struct ac97_info *codec); 106 u_int16_t ac97_rdcd(struct ac97_info *codec, int reg); [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | mt8183-mt6358-ts3a227-max98357.txt | 4 - compatible : "mediatek,mt8183_mt6358_ts3a227_max98357" for MAX98357A codec 5 "mediatek,mt8183_mt6358_ts3a227_max98357b" for MAX98357B codec 6 "mediatek,mt8183_mt6358_ts3a227_rt1015" for RT1015 codec 7 "mediatek,mt8183_mt6358_ts3a227_rt1015p" for RT1015P codec 11 - mediatek,headset-codec: the phandles of ts3a227 codecs 12 - mediatek,ec-codec: the phandle of EC codecs. 13 See google,cros-ec-codec.txt for more details. 14 - mediatek,hdmi-codec: the phandles of HDMI codec 20 mediatek,headset-codec = <&ts3a227>; 21 mediatek,ec-codec = <&ec_codec>; [all …]
|
H A D | rockchip-max98090.txt | 10 - rockchip,audio-codec: The phandle of the MAX98090 audio codec. 11 - rockchip,headset-codec: The phandle of Ext chip for jack detection. This is 12 required if there is rockchip,audio-codec. 13 - rockchip,hdmi-codec: The phandle of HDMI device for HDMI codec. 22 rockchip,audio-codec = <&max98090>; 23 rockchip,headset-codec = <&headsetcodec>; 31 rockchip,hdmi-codec = <&hdmi>; 39 rockchip,audio-codec = <&max98090>; 40 rockchip,headset-codec = <&headsetcodec>; 41 rockchip,hdmi-codec = <&hdmi>;
|
H A D | mt8183-da7219-max98357.txt | 4 - compatible : "mediatek,mt8183_da7219_max98357" for MAX98357A codec 5 "mediatek,mt8183_da7219_rt1015" for RT1015 codec 6 "mediatek,mt8183_da7219_rt1015p" for RT1015P codec 7 - mediatek,headset-codec: the phandles of da7219 codecs 11 - mediatek,hdmi-codec: the phandles of HDMI codec 17 mediatek,headset-codec = <&da7219>; 18 mediatek,hdmi-codec = <&it6505dptx>;
|
H A D | audio-graph-card.txt | 3 Audio Graph Card specifies audio DAI connections of SoC <-> codec. 57 audio-codec { 80 audio-codec@0 { 89 audio-codec@1 { 98 audio-codec@2 { 146 prefix = "codec"; 147 routing = "codec Playback", "DAI0 Playback", 148 "DAI0 Capture", "codec Capture"; 154 audio-codec { 183 routing = "codec Playback", "DAI0 Playback", [all …]
|
H A D | mt8173-rt5650.txt | 5 - mediatek,audio-codec: the phandles of rt5650 codecs 10 - codec-capture : the subnode of rt5650 codec capture 11 Required codec-capture subnode properties: 12 - sound-dai: audio codec dai name on capture path 24 mediatek,audio-codec = <&rt5650 &hdmi0>; 27 codec-capture {
|
H A D | inno-rk3036.txt | 1 Inno audio codec for RK3036 3 Inno audio codec is integrated inside RK3036 SoC. 6 - compatible : Should be "rockchip,rk3036-codec". 7 - reg : The registers of codec. 9 - clocks : The clock of codec. 15 compatible = "rk3036-codec";
|
H A D | davinci-evm-audio.txt | 6 - ti,audio-codec : The phandle of the TLV320AIC3x audio codec 11 sinks are the codec's pins, and the jacks on the board: 14 - ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec. 17 - Either codec-clock-rate or the codec-clock reference has to be defined. If 34 ti,audio-codec = <&tlv320aic3x>; 36 ti,codec-clock-rate = <12000000>;
|
H A D | rockchip,rk3328-codec.txt | 1 * Rockchip Rk3328 internal codec 5 - compatible: "rockchip,rk3328-codec" 18 Example for rk3328 internal codec: 20 codec: codec@ff410000 { 21 compatible = "rockchip,rk3328-codec";
|
H A D | ux500-mop500.txt | 10 - stericsson,audio-codec : Phandle to the Audio CODEC 19 stericsson,audio-codec = <&codec>; 36 codec: ab8500-codec { 37 compatible = "stericsson,ab8500-codec";
|
H A D | qcom,msm8916-wcd-digital.txt | 3 ## Bindings for codec core in lpass: 6 - compatible = "qcom,msm8916-wcd-digital-codec"; 7 - reg: address space for lpass codec. 13 audio-codec@771c000{ 14 compatible = "qcom,msm8916-wcd-digital-codec";
|
H A D | st,sti-asoc-card.txt | 4 codec or external codecs. 50 Should be declared depending on associated codec. 98 2) sti-sas-codec: internal audio codec IPs driver 102 - compatible: "st,sti<chip>-sas-codec" . 103 Should be chip "st,stih416-sas-codec" or "st,stih407-sas-codec" 112 sti_sas_codec: sti-sas-codec { 113 compatible = "st,stih407-sas-codec"; 133 codec { 144 codec { 160 codec {
|
H A D | amlogic,axg-sound-card.txt | 42 - codec: dai-link representing backend links should have at least one subnode. 43 One subnode for each codec of the dai-link. 44 dai-link representing frontend links have no codec, therefore have no 47 Required codec subnodes properties: 51 Optional codec subnodes properties: 99 codec@0 { 103 codec@1 { 107 codec@2 { 111 codec@3 { 120 codec {
|
H A D | mt2701-cs42448.txt | 7 - mediatek,audio-codec: the phandles of cs42448 codec 8 - mediatek,audio-codec-bt-mrg the phandles of bt-sco dummy codec 37 mediatek,audio-codec = <&cs42448>; 38 mediatek,audio-codec-bt-mrg = <&bt_sco_codec>;
|
H A D | ux500-msp.txt | 18 stericsson,audio-codec = <&codec>; 39 codec: ab8500-codec { 40 compatible = "stericsson,ab8500-codec";
|
H A D | sirf-audio-codec.txt | 5 - compatible : "sirf,atlas6-audio-codec" or "sirf,prima2-audio-codec" 9 - clocks: the clock of SiRF internal audio codec 14 compatible = "sirf,atlas6-audio-codec";
|
H A D | sirf-audio.txt | 1 * SiRF atlas6 and prima2 internal audio codec and port based audio setups 6 - sirf,audio-codec: phandle for the SiRF internal codec node 24 SiRF internal audio codec pins: 35 sirf,audio-codec = <&audiocodec>;
|
/freebsd/sys/dev/sound/pci/hda/ |
H A D | hdacc.c | 63 #define hdacc_lock(codec) snd_mtxlock((codec)->lock) argument 64 #define hdacc_unlock(codec) snd_mtxunlock((codec)->lock) argument 65 #define hdacc_lockassert(codec) snd_mtxassert((codec)->lock) argument 487 struct hdacc_softc *codec = device_get_softc(dev); in hdacc_attach() local 495 codec->lock = HDAC_GET_MTX(device_get_parent(dev), dev); in hdacc_attach() 496 codec->dev = dev; in hdacc_attach() 497 codec->cad = cad; in hdacc_attach() 499 hdacc_lock(codec); in hdacc_attach() 502 hdacc_unlock(codec); in hdacc_attach() 505 codec->fgcnt = HDA_PARAM_SUB_NODE_COUNT_TOTAL(subnode); in hdacc_attach() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | ac100.txt | 3 AC100 is a audio codec and RTC subsystem combo IC. The 2 parts are 11 - codec 12 - compatible: "x-powers,ac100-codec" 22 - clocks: A phandle to the codec's "4M_adda" clock 30 ac100: codec@e89 { 34 ac100_codec: codec { 35 compatible = "x-powers,ac100-codec";
|
/freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
H A D | rk3288-veyron-analog-audio.dtsi | 4 * codec and analog headphone jack. 16 rockchip,audio-codec = <&max98090>; 19 rockchip,headset-codec = <&headsetcodec>; 20 rockchip,hdmi-codec = <&hdmi>; 75 codec { 85 int_codec: int-codec {
|
/freebsd/lib/libbearssl/ |
H A D | Makefile.libsa.inc | 17 codec/ccopy.c \ 18 codec/dec32be.c \ 19 codec/dec64be.c \ 20 codec/enc32be.c \ 21 codec/enc64be.c \ 22 codec/pemdec.c \
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_hda.c | 151 struct hda_codec_class *codec, const char *play, const char *rec); 317 struct hda_codec_class *codec = NULL; in hda_init() local 337 codec = hda_find_codec_class("hda_codec"); in hda_init() 338 if (codec) { in hda_init() 351 err = hda_codec_constructor(sc, codec, play, rec); in hda_init() 426 hda_codec_constructor(struct hda_softc *sc, struct hda_codec_class *codec, in hda_codec_constructor() argument 441 hci->codec = codec; in hda_codec_constructor() 445 if (!codec->init) { in hda_codec_constructor() 450 return (codec->init(hci, play, rec)); in hda_codec_constructor() 472 struct hda_codec_class *codec = NULL; in hda_send_command() local [all …]
|