Home
last modified time | relevance | path

Searched +full:mic +full:- +full:channel +full:- +full:cfg (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/dts/bindings/usb/
Dusb-audio-hs.yaml2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "usb-audio-hs"
10 include: [usb-audio.yaml, usb-audio-feature-volume.yaml]
13 mic-resolution:
17 - 8
18 - 16
19 - 24
20 - 32
21 mic-sync-type:
29 - "No Synchronization"
[all …]
Dusb-audio-mic.yaml2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "usb-audio-mic"
10 include: usb-audio.yaml
17 - 8
18 - 16
19 - 24
20 - 32
21 sync-type:
29 - "No Synchronization"
30 - "Asynchronous"
[all …]
/Zephyr-latest/include/zephyr/audio/
Ddmic.h7 * SPDX-License-Identifier: Apache-2.0
71 PDM_CHAN_LEFT, /**< Left channel */
72 PDM_CHAN_RIGHT, /**< Right channel */
83 /** Minimum clock frequency supported by the mic */
85 /** Maximum clock frequency supported by the mic */
87 /** Minimum duty cycle in % supported by the mic */
89 /** Maximum duty cycle in % supported by the mic */
101 /** Bit mask to optionally invert mic data */
128 * Mapping/ordering of the PDM channels to logical PCM output channel
134 * If 2 streams are enabled, the channel order will be the same for
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_cc2520.c1 /* ieee802154_cc2520.c - TI CC2520 driver */
8 * SPDX-License-Identifier: Apache-2.0
47 * 1 - Debug related functions
48 * 2 - Generic helper functions (for any parts)
49 * 3 - GPIO related functions
50 * 4 - TX related helper functions
51 * 5 - RX related helper functions
52 * 6 - Radio device API functions
53 * 7 - Legacy radio device API functions
54 * 8 - Initialization
[all …]
/Zephyr-latest/subsys/usb/device/class/audio/
Daudio.c4 * SPDX-License-Identifier: Apache-2.0
70 * @param [in] dev Device type. Must be HP/MIC
185 * Helper function for getting channel number directly from the
190 return (fu->bLength - FU_FIXED_ELEMS_SIZE)/sizeof(uint16_t); in get_num_of_channels()
199 return sys_get_le16((uint8_t *)&fu->bmaControls[0]); in get_controls()
210 ((uint8_t *)fu + fu->bLength); in get_fu_dir()
213 if (ot->wTerminalType == USB_AUDIO_USB_STREAMING) { in get_fu_dir()
234 header->bLength + in fix_fu_descriptors()
239 (void)memcpy(&fu->bmaControls[i], in fix_fu_descriptors()
240 &fu->bmaControls[0], in fix_fu_descriptors()
[all …]
/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic.c4 * SPDX-License-Identifier: Apache-2.0
33 /* Helper macro to read 64-bit data using two 32-bit data read */
40 * fairly accurately exponent for x in range -2.0 .. +2.0. The iteration
61 p = num * x; /* Q9.23 x Q3.29 -> Q12.52 */ in exp_small_fixed()
79 if (x < Q_CONVERT_FLOAT(-11.5, 27)) { in exp_fixed()
110 if (db < Q_CONVERT_FLOAT(-100.0, 24)) { in db2lin_fixed()
122 uint32_t dest = dmic->reg_base + reg; in dai_dmic_update_bits()
130 sys_write32(val, dmic->reg_base + reg); in dai_dmic_write()
136 return sys_read32(dmic->reg_base + reg); in dai_dmic_read()
143 sys_write32(sys_read32(dmic->shim_base + DMICLCTL_OFFSET) | in dai_dmic_claim_ownership()
[all …]