/device/google/contexthub/firmware/os/platform/stm32/ |
D | i2c.c | 176 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 …]
|
D | spi.c | 108 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 …]
|
/device/generic/goldfish/audio/ |
D | device_port_sink.cpp | 50 const AudioConfig &cfg, in TinyalsaSink() 53 , mSampleRateHz(cfg.base.sampleRateHz) in TinyalsaSink() 54 , mFrameSize(util::countChannels(cfg.base.channelMask) * sizeof(int16_t)) in TinyalsaSink() 55 , mWriteSizeFrames(cfg.frameCount) in TinyalsaSink() 58 , mRingBuffer(mFrameSize * cfg.frameCount * 3) in TinyalsaSink() 61 util::countChannels(cfg.base.channelMask), in TinyalsaSink() 62 cfg.base.sampleRateHz, in TinyalsaSink() 63 cfg.frameCount, in TinyalsaSink() 77 static int getLatencyMs(const AudioConfig &cfg) { in getLatencyMs() 81 const size_t numerator = periodSettings.periodSizeMultiplier * cfg.frameCount; in getLatencyMs() [all …]
|
D | device_port_source.cpp | 54 const AudioConfig &cfg, uint64_t &frames) in TinyalsaSource() 56 , mSampleRateHz(cfg.base.sampleRateHz) in TinyalsaSource() 57 , mFrameSize(util::countChannels(cfg.base.channelMask) * sizeof(int16_t)) in TinyalsaSource() 58 , mReadSizeFrames(cfg.frameCount) in TinyalsaSource() 60 , mRingBuffer(mFrameSize * cfg.frameCount * 3) in TinyalsaSource() 63 util::countChannels(cfg.base.channelMask), in TinyalsaSource() 64 cfg.base.sampleRateHz, in TinyalsaSource() 65 cfg.frameCount, in TinyalsaSource() 200 const AudioConfig &cfg, in create() 206 cfg, frames); in create() [all …]
|
D | util.cpp | 135 bool checkAudioConfig(const AudioConfig &cfg) { in checkAudioConfig() argument 136 if (xsd::isUnknownAudioFormat(cfg.base.format) in checkAudioConfig() 137 || xsd::isUnknownAudioChannelMask(cfg.base.channelMask)) { in checkAudioConfig() 140 if (cfg.offloadInfo.getDiscriminator() == in checkAudioConfig() 142 if (const auto& info = cfg.offloadInfo.info(); in checkAudioConfig() 181 bool checkAudioPortConfig(const AudioPortConfig &cfg) { in checkAudioPortConfig() argument 182 if (cfg.base.format.getDiscriminator() == in checkAudioPortConfig() 184 if (xsd::isUnknownAudioFormat(cfg.base.format.value())) { in checkAudioPortConfig() 188 if (cfg.base.channelMask.getDiscriminator() == in checkAudioPortConfig() 190 if (xsd::isUnknownAudioChannelMask(cfg.base.channelMask.value())) { in checkAudioPortConfig() [all …]
|
/device/google/trout/hal/dumpstate/1.1/config/ |
D | XmlServiceSupplier.cpp | 30 if (auto cfg = dumpstate::hal::configuration::V1_0::readFile(path.c_str())) { in fromFile() local 31 return XmlServiceSupplier{*cfg}; in fromFile() 37 if (auto cfg = dumpstate::hal::configuration::V1_0::readBuffer(buffer)) { in fromBuffer() local 38 return XmlServiceSupplier{*cfg}; in fromBuffer() 43 XmlServiceSupplier::XmlServiceSupplier(const DumpstateHalConfiguration& cfg) { in XmlServiceSupplier() argument 46 if (cfg.hasSystemLogs()) { in XmlServiceSupplier() 47 auto sl = cfg.getFirstSystemLogs(); in XmlServiceSupplier() 56 if (cfg.hasServices()) { in XmlServiceSupplier() 57 auto svcs = cfg.getFirstServices(); in XmlServiceSupplier()
|
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/ |
D | lib.rs | 78 #[cfg(test)] 97 pub fn emit(cfg: &str) { in emit() 98 println!("cargo:rustc-cfg={}", cfg); in emit() 280 pub fn emit_path_cfg(&self, path: &str, cfg: &str) { in emit_path_cfg() 282 emit(cfg); in emit_path_cfg() 309 pub fn emit_trait_cfg(&self, name: &str, cfg: &str) { in emit_trait_cfg() 311 emit(cfg); in emit_trait_cfg() 338 pub fn emit_type_cfg(&self, name: &str, cfg: &str) { in emit_type_cfg() 340 emit(cfg); in emit_type_cfg() 357 pub fn emit_expression_cfg(&self, expr: &str, cfg: &str) { in emit_expression_cfg() [all …]
|
/device/generic/car/emulator/vhal_aidl/VehicleEmulator/ |
D | VehicleEmulator.cpp | 266 void VehicleEmulator::populateProtoVehicleConfig(const VehiclePropConfig& cfg, in populateProtoVehicleConfig() argument 268 protoCfg->set_prop(cfg.prop); in populateProtoVehicleConfig() 269 protoCfg->set_access(toInt(cfg.access)); in populateProtoVehicleConfig() 270 protoCfg->set_change_mode(toInt(cfg.changeMode)); in populateProtoVehicleConfig() 271 protoCfg->set_value_type(toInt(getPropType(cfg.prop))); in populateProtoVehicleConfig() 273 for (auto& configElement : cfg.configArray) { in populateProtoVehicleConfig() 277 if (cfg.configString.size() > 0) { in populateProtoVehicleConfig() 278 protoCfg->set_config_string(cfg.configString.c_str(), cfg.configString.size()); in populateProtoVehicleConfig() 282 for (auto& areaConfig : cfg.areaConfigs) { in populateProtoVehicleConfig() 286 switch (getPropType(cfg.prop)) { in populateProtoVehicleConfig() [all …]
|
/device/google/cuttlefish/tools/gigabyte-ampere-cuttlefish-installer/ |
D | addpreseed.sh | 12 PRESEEDFILE=$(realpath "${BASEDIR}"/preseed/preseed.cfg) 35 cp -f "${PRESEEDFILE}" preseed.cfg 42 echo preseed.cfg | cpio -H newc -o -A -F initrd 51 cp -f ../preseed.cfg . 53 echo preseed.cfg | cpio -H newc -o -A -F initrd 57 rm -f preseed.cfg after_install_1.sh 63 chmod ug+w boot/grub/grub.cfg 65 sed -i '0,/insmod gzio/{s#insmod gzio#set timeout=120\n\ninsmod gzio#}' boot/grub/grub.cfg 66 chmod a-w boot/grub/grub.cfg
|
/device/generic/goldfish/camera/ |
D | CameraDeviceSession.cpp | 171 const StreamConfiguration& cfg, in configureStreams() argument 177 cfg.streams.size(), static_cast<uint32_t>(cfg.operationMode), in configureStreams() 178 cfg.sessionParams.metadata.size(), cfg.streamConfigCounter, in configureStreams() 179 (cfg.multiResolutionInputImage ? "true" : "false")); in configureStreams() 181 for (const auto& s : cfg.streams) { in configureStreams() 210 auto [status, halStreams] = configureStreamsStatic(cfg, mHwCamera); in configureStreams() 215 const size_t nStreams = cfg.streams.size(); in configureStreams() 218 if (mHwCamera.configure(cfg.sessionParams, nStreams, in configureStreams() 219 cfg.streams.data(), halStreams.data())) { in configureStreams() 309 bool CameraDeviceSession::isStreamCombinationSupported(const StreamConfiguration& cfg, in isStreamCombinationSupported() argument [all …]
|
/device/google/cuttlefish_vmm/x86_64-linux-gnu/ |
D | Cargo.lock | 75 "cfg-if", 192 "cfg-if", 231 "cfg-if", 339 "cfg-if", 444 name = "cfg-if" 574 "cfg-if", 615 "cfg-if", 653 "cfg-if", 674 "cfg-if", 684 "cfg-if", [all …]
|
/device/google/cuttlefish_vmm/aarch64-linux-gnu/ |
D | Cargo.lock | 75 "cfg-if", 192 "cfg-if", 231 "cfg-if", 339 "cfg-if", 444 name = "cfg-if" 574 "cfg-if", 615 "cfg-if", 653 "cfg-if", 674 "cfg-if", 684 "cfg-if", [all …]
|
/device/google/trout/hal/vehicle/2.0/ |
D | DefaultVehicleHalServer.cpp | 39 VehiclePropConfig cfg = config.config; in storePropInitialValue() local 42 int32_t numAreas = isGlobalProp(cfg.prop) ? 1 : cfg.areaConfigs.size(); in storePropInitialValue() 45 int32_t curArea = isGlobalProp(cfg.prop) ? 0 : cfg.areaConfigs[i].areaId; in storePropInitialValue() 50 .prop = cfg.prop, in storePropInitialValue() 60 << " prop 0x" << std::hex << cfg.prop << " area 0x" << std::hex << curArea; in storePropInitialValue() 70 VehiclePropConfig cfg = it.config; in DefaultVehicleHalServer() local 71 mServerSidePropStore.registerProperty(cfg); in DefaultVehicleHalServer()
|
/device/google/caimito/location/komodo/ |
D | Android.bp | 29 name: "gps.cfg", 33 src: "user/gps.cfg", 36 src: "userdebug/gps.cfg", 39 src: "userdebug/gps.cfg", 42 src: "user/gps.cfg",
|
/device/google/caimito/location/caiman/ |
D | Android.bp | 29 name: "gps.cfg", 33 src: "user/gps.cfg", 36 src: "userdebug/gps.cfg", 39 src: "userdebug/gps.cfg", 42 src: "user/gps.cfg",
|
/device/google/caimito/location/ripcurrent24/ |
D | Android.bp | 29 name: "gps.cfg", 33 src: "user/gps.cfg", 36 src: "userdebug/gps.cfg", 39 src: "userdebug/gps.cfg", 42 src: "user/gps.cfg",
|
/device/google/caimito/location/ripcurrentpro/ |
D | Android.bp | 29 name: "gps.cfg", 33 src: "user/gps.cfg", 36 src: "userdebug/gps.cfg", 39 src: "userdebug/gps.cfg", 42 src: "user/gps.cfg",
|
/device/google/comet/location/ |
D | Android.bp | 29 name: "gps.cfg", 33 src: "user/gps.cfg", 36 src: "userdebug/gps.cfg", 39 src: "userdebug/gps.cfg", 42 src: "user/gps.cfg",
|
/device/google/caimito/location/tokay/ |
D | Android.bp | 29 name: "gps.cfg", 33 src: "user/gps.cfg", 36 src: "userdebug/gps.cfg", 39 src: "userdebug/gps.cfg", 42 src: "user/gps.cfg",
|
/device/google/akita/location/gnssd/ |
D | gnss_release.mk | 18 device/google/akita/location/gnssd/release/gps.cfg:vendor/etc/gnss/gps.cfg 23 device/google/akita/location/gnssd/release/gps_user.cfg:vendor/etc/gnss/gps.cfg
|
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/ |
D | lib.rs | 180 let instructions = if cfg!(target_os = "macos") || cfg!(target_os = "ios") { in fmt() 182 } else if cfg!(unix) { in fmt() 272 let cfg = Config::new(); in get_variable() localVariable 273 let out = run(cfg.command(package, &[&arg]))?; in get_variable() 644 let system_roots = if cfg!(target_os = "macos") { in parse_libs_cflags() 652 if cfg!(target_os = "windows") { in parse_libs_cflags() 873 #[cfg(test)] 878 #[cfg(target_os = "macos")] 921 #[cfg(target_os = "linux")]
|
/device/google/zumapro/radio/ |
D | Android.bp | 35 name: "default.cfg", 38 src: "config/default.cfg", 59 name: "Pixel_stability.cfg", 62 src: "config/Pixel_stability.cfg",
|
/device/google/zuma/radio/config/default/ |
D | Android.bp | 36 name: "default.cfg", 39 src: "default.cfg", 70 name: "default_modem_log_mask.cfg", 73 src: "default.cfg",
|
/device/google/cuttlefish/tools/ |
D | raw2iso.sh | 102 cat >"${workdir}"/grub.cfg <<EOF 194 sudo rm -f "${mount}"/boot/grub/${grub_arch}/grub.cfg 214 sudo cp "${workdir}"/grub.cfg "${mount}"/boot/grub/${grub_arch}/grub.cfg 222 "${mount}"/boot/grub/${grub_arch}/grub.cfg
|
/device/google/gs101/ |
D | device.mk | 588 …camera/libhfd/default_configuration.hfd.cfg.json:$(TARGET_COPY_OUT_VENDOR)/firmware/default_config… 940 device/google/gs101/radio/config/default.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/modem/default.cfg \ 943 …ce/google/gs101/radio/config/teamfood_default.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/modem/teamfood_def… 946 …e/google/gs101/radio/config/default_stability.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/modem/default_stab… 948 …vice/google/gs101/radio/config/default_NAS_RRC.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/modem/default_NAS… 950 …vice/google/gs101/radio/config/default_network.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/modem/default_net… 952 …device/google/gs101/radio/config/Pixel_Default.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/modem/Pixel_Defau… 955 …vice/google/gs101/radio/config/Pixel_stability.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/modem/Pixel_stabi…
|