Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 25 of 72) sorted by relevance

123

/device/generic/goldfish/audio/
Ddevice_port_sink.cpp41 const AudioConfig &cfg, in TinyalsaSink()
44 , mSampleRateHz(cfg.sampleRateHz) in TinyalsaSink()
45 , mFrameSize(util::countChannels(cfg.channelMask) * sizeof(int16_t)) in TinyalsaSink()
46 , mWriteSizeFrames(cfg.frameCount) in TinyalsaSink()
48 , mRingBuffer(mFrameSize * cfg.frameCount * 3) in TinyalsaSink()
51 util::countChannels(cfg.channelMask), in TinyalsaSink()
52 cfg.sampleRateHz, in TinyalsaSink()
53 cfg.frameCount, in TinyalsaSink()
184 const AudioConfig &cfg, in create()
189 cfg, frames); in create()
[all …]
Dutil.cpp110 const AudioConfig &cfg, in checkAudioConfig() argument
112 bool valid = checkSampleRateHz(cfg.sampleRateHz, suggested.sampleRateHz); in checkAudioConfig()
117 cfg.channelMask) == kSupportedOutChannelMask.end()) { in checkAudioConfig()
121 suggested.channelMask = cfg.channelMask; in checkAudioConfig()
126 cfg.channelMask) == kSupportedInChannelMask.end()) { in checkAudioConfig()
130 suggested.channelMask = cfg.channelMask; in checkAudioConfig()
136 cfg.format) == kSupportedAudioFormats.end()) { in checkAudioConfig()
140 suggested.format = cfg.format; in checkAudioConfig()
143 suggested.offloadInfo = cfg.offloadInfo; // don't care in checkAudioConfig()
145 suggested.frameCount = (cfg.frameCount == 0) in checkAudioConfig()
[all …]
Ddevice_port_source.cpp45 const AudioConfig &cfg, uint64_t &frames) in TinyalsaSource()
47 , mSampleRateHz(cfg.sampleRateHz) in TinyalsaSource()
48 , mFrameSize(util::countChannels(cfg.channelMask) * sizeof(int16_t)) in TinyalsaSource()
49 , mReadSizeFrames(cfg.frameCount) in TinyalsaSource()
51 , mRingBuffer(mFrameSize * cfg.frameCount * 3) in TinyalsaSource()
54 util::countChannels(cfg.channelMask), in TinyalsaSource()
55 cfg.sampleRateHz, in TinyalsaSource()
56 cfg.frameCount, in TinyalsaSource()
183 const AudioConfig &cfg, in create()
189 cfg, frames); in create()
[all …]
Dutil.h43 const AudioConfig &cfg,
/device/google/contexthub/firmware/os/platform/stm32/
Di2c.c176 const struct StmI2cCfg *cfg; member
254 pdev->cfg->regs->CR1 |= I2C_CR1_ACK; in stmI2cAckEnable()
259 pdev->cfg->regs->CR1 &= ~I2C_CR1_ACK; in stmI2cAckDisable()
264 pdev->cfg->regs->CR2 |= I2C_CR2_DMAEN; in stmI2cDmaEnable()
269 pdev->cfg->regs->CR2 &= ~I2C_CR2_DMAEN; in stmI2cDmaDisable()
274 struct StmI2c *regs = pdev->cfg->regs; in stmI2cStopEnable()
283 struct StmI2c *regs = pdev->cfg->regs; in stmI2cStartEnable()
293 pdev->cfg->regs->CR2 |= mask; in stmI2cIrqEnable()
299 pdev->cfg->regs->CR2 &= ~mask; in stmI2cIrqDisable()
304 pdev->cfg->regs->CR1 |= I2C_CR1_PE; in stmI2cEnable()
[all …]
Dspi.c108 const struct StmSpiCfg *cfg; member
143 struct StmSpi *regs = pdev->cfg->regs; in stmSpiStartDma()
162 dmaStart(pdev->cfg->dmaBus, dmaCfg->stream, buf, size, &mode, callback, in stmSpiStartDma()
169 struct StmSpi *regs = pdev->cfg->regs; in stmSpiEnable()
181 uint32_t pclk = pwrGetBusSpeed(pdev->cfg->clockBus); in stmSpiEnable()
194 pwrUnitClock(pdev->cfg->clockBus, pdev->cfg->clockUnit, true); in stmSpiEnable()
268 struct StmSpi *regs = pdev->cfg->regs; in stmSpiIsMaster()
274 struct StmSpi *regs = pdev->cfg->regs; in stmSpiDone()
296 struct StmSpi *regs = pdev->cfg->regs; in stmSpiRxDone()
311 struct StmSpi *regs = pdev->cfg->regs; in stmSpiTxDone()
[all …]
Dpwr.c131 uint32_t cfg = RCC->CFGR; in pwrGetBusSpeed() local
136 ahbDiv = (cfg >> 4) & 0x0F; in pwrGetBusSpeed()
137 apb1Div = (cfg >> 10) & 0x07; in pwrGetBusSpeed()
138 apb2Div = (cfg >> 13) & 0x07; in pwrGetBusSpeed()
/device/google/bonito/sdm710/kernel-headers/media/
Dmsm_cam_sensor.h220 } cfg; member
228 } cfg; member
235 } cfg; member
292 } cfg; member
452 } cfg; member
473 } cfg; member
502 } cfg; member
520 } cfg; member
/device/google/crosshatch/sdm845/original-kernel-headers/media/
Dmsm_cam_sensor.h240 } cfg; member
249 } cfg; member
257 } cfg; member
324 } cfg; member
501 } cfg; member
525 } cfg; member
558 } cfg; member
580 } cfg; member
/device/google/bonito/sdm710/original-kernel-headers/media/
Dmsm_cam_sensor.h240 } cfg; member
249 } cfg; member
257 } cfg; member
324 } cfg; member
501 } cfg; member
525 } cfg; member
558 } cfg; member
580 } cfg; member
/device/google/crosshatch/sdm845/kernel-headers/media/
Dmsm_cam_sensor.h220 } cfg; member
228 } cfg; member
235 } cfg; member
292 } cfg; member
452 } cfg; member
473 } cfg; member
502 } cfg; member
520 } cfg; member
/device/linaro/dragonboard/qcom/qrtr/
DAndroid.bp30 name: "qrtr-cfg",
35 "src/cfg.c",
DMakefile20 $(proj)-cfg-srcs := \
23 src/cfg.c \
25 $(proj)-cfg-cflags := -Ilib
52 targets := $(proj)-ns $(proj)-cfg $(proj)-lookup lib$(proj).so
/device/google_car/crosshatch_car/
Ddevice-crosshatch-car.mk23 … device/google/crosshatch/init.insmod.crosshatch.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg
/device/google/crosshatch/
Ddevice-crosshatch.mk24 $(LOCAL_PATH)/init.insmod.crosshatch.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg
Ddevice-blueline.mk24 $(LOCAL_PATH)/init.insmod.blueline.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg
Dinit.insmod.blueline.cfg2 # init.insmod.cfg #
Dinit.insmod.crosshatch.cfg2 # init.insmod.cfg #
/device/google/taimen/
Ddevice.mk50 device/google/taimen/init.insmod.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg \
51 … device/google/taimen/init.insmod_charger.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod_charger.cfg
/device/google/muskie/
Ddevice-common.mk72 $(LOCAL_PATH)/init.insmod.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg \
73 $(LOCAL_PATH)/init.insmod_charger.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod_charger.cfg
/device/generic/common/mgsi/
Dmgsi_release.mk48 gsi_skip_mount.cfg \
/device/generic/x86/
DBoardConfig.mk26 BOARD_EGL_CFG := device/generic/goldfish-opengl/system/egl/egl.cfg
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dstreamer.cpp81 StreamerImpl(const StreamerConfig& cfg,
160 const StreamerConfig& cfg, in StreamerImpl() argument
167 : config_(cfg), in StreamerImpl()
472 const StreamerConfig& cfg, in Create() argument
502 cfg, pc_factory, std::move(network_thread), std::move(worker_thread), in Create()
Dstreamer.h69 const StreamerConfig& cfg,
/device/google/coral/
Dinit.insmod.coral.cfg2 # init.insmod.cfg #

123