Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/device/google/contexthub/firmware/os/platform/stm32/
Dspi.c144 struct dmaMode mode; in stmSpiStartDma() local
146 memset(&mode, 0, sizeof(mode)); in stmSpiStartDma()
149 mode.psize = DMA_SIZE_8_BITS; in stmSpiStartDma()
150 mode.msize = DMA_SIZE_8_BITS; in stmSpiStartDma()
152 mode.psize = DMA_SIZE_16_BITS; in stmSpiStartDma()
153 mode.msize = DMA_SIZE_16_BITS; in stmSpiStartDma()
155 mode.priority = DMA_PRIORITY_HIGH; in stmSpiStartDma()
156 mode.direction = rx ? DMA_DIRECTION_PERIPH_TO_MEM : in stmSpiStartDma()
158 mode.periphAddr = (uintptr_t)&regs->DR; in stmSpiStartDma()
159 mode.minc = minc; in stmSpiStartDma()
[all …]
Ddma.c239 const struct dmaMode *mode, DmaCallbackF callback, void *cookie) in dmaStart() argument
256 regs->PAR = mode->periphAddr; in dmaStart()
261 STM_DMA_CR_DIR(mode->direction) | in dmaStart()
262 STM_DMA_CR_PSIZE(mode->psize) | in dmaStart()
263 STM_DMA_CR_MSIZE(mode->msize) | in dmaStart()
264 STM_DMA_CR_PL(mode->priority) | in dmaStart()
265 STM_DMA_CR_PBURST(mode->pburst) | in dmaStart()
266 STM_DMA_CR_MBURST(mode->mburst) | in dmaStart()
267 STM_DMA_CR_CHSEL(mode->channel); in dmaStart()
268 if (mode->minc) in dmaStart()
Di2c.c151 } mode; member
603 struct dmaMode mode; in stmI2cMasterStartDma() local
605 memset(&mode, 0, sizeof(mode)); in stmI2cMasterStartDma()
606 mode.priority = DMA_PRIORITY_HIGH; in stmI2cMasterStartDma()
607 mode.direction = rx ? DMA_DIRECTION_PERIPH_TO_MEM : in stmI2cMasterStartDma()
609 mode.periphAddr = (uintptr_t)&regs->DR; in stmI2cMasterStartDma()
610 mode.minc = true; in stmI2cMasterStartDma()
611 mode.channel = dmaCfg->channel; in stmI2cMasterStartDma()
613 dmaStart(I2C_DMA_BUS, dmaCfg->stream, buf, size, &mode, callback, pdev); in stmI2cMasterStartDma()
719 if (pdev->state.mode == STM_I2C_SLAVE) { in stmI2cIsrEvent()
[all …]
/device/google/contexthub/firmware/os/core/
Dspi.c40 struct SpiMode mode; member
62 spi_cs_t cs, const struct SpiMode *mode) in spiMasterStart() argument
67 return dev->ops->masterStartAsync(dev, cs, mode); in spiMasterStart()
70 int err = dev->ops->masterStartSync(dev, cs, mode); in spiMasterStart()
76 state->packets[0].txBuf, state->packets[0].size, mode); in spiMasterStart()
106 const struct SpiMode *mode = &state->mode; in spiMasterNext() local
108 int err = dev->ops->masterRxTx(dev, rxBuf, txBuf, size, mode); in spiMasterNext()
165 const struct SpiMode *mode) in spiSlaveStart() argument
170 return dev->ops->slaveStartAsync(dev, mode); in spiSlaveStart()
173 int err = dev->ops->slaveStartSync(dev, mode); in spiSlaveStart()
[all …]
/device/google/contexthub/firmware/os/inc/
Dspi_priv.h30 const struct SpiMode *mode);
32 const struct SpiMode *mode);
35 size_t size, const struct SpiMode *mode);
40 int (*slaveStartSync)(struct SpiDevice *dev, const struct SpiMode *mode);
41 int (*slaveStartAsync)(struct SpiDevice *dev, const struct SpiMode *mode);
43 int (*slaveIdle)(struct SpiDevice *dev, const struct SpiMode *mode);
45 size_t size, const struct SpiMode *mode);
/device/google/contexthub/util/common/
Dfile.cpp30 File::File(const char *path, const char *mode) in File() argument
33 mInitCheck = setTo(path, mode); in File()
44 status_t File::setTo(const char *path, const char *mode) { in setTo() argument
48 if (!strcmp("r", mode)) { in setTo()
50 } else if (!strcmp("w", mode)) { in setTo()
52 } else if (!strcmp("rw", mode)) { in setTo()
/device/generic/opengl-transport/host/libs/virglrenderer/
Dgen_entries.py249 def parse_file(filename, lines, mode): argument
263 if mode == 'def':
265 elif mode == 'sym':
267 elif mode == 'wrapper':
269 elif mode == 'symbols':
271 elif mode == '_symbols':
273 elif mode == 'functions':
275 elif mode == 'funcargs':
307 if not args.mode:
315 parse_file("<stdin>", sys.stdin, args.mode)
[all …]
DGLESv3.cpp211 static void glDrawElementsData(GLenum mode, GLsizei count, GLenum type, void* indices, GLuint) { in glDrawElementsData() argument
212 s_gles3.glDrawElements(mode, count, type, indices); in glDrawElementsData()
215 static void glDrawElementsOffset(GLenum mode, GLsizei count, GLenum type, GLuint offset) { in glDrawElementsOffset() argument
216 s_gles3.glDrawElements(mode, count, type, reinterpret_cast<const GLvoid*>(offset)); in glDrawElementsOffset()
308 static void glDrawArraysIndirectDataAEMU(GLenum mode, const void* indirect, GLuint) { in glDrawArraysIndirectDataAEMU() argument
309 s_gles3.glDrawArraysIndirect(mode, indirect); in glDrawArraysIndirectDataAEMU()
312 static void glDrawArraysIndirectOffsetAEMU(GLenum mode, GLuint offset) { in glDrawArraysIndirectOffsetAEMU() argument
313 s_gles3.glDrawArraysIndirect(mode, reinterpret_cast<const void*>(offset)); in glDrawArraysIndirectOffsetAEMU()
316 static void glDrawElementsIndirectDataAEMU(GLenum mode, GLenum type, const void* indirect, GLuint) { in glDrawElementsIndirectDataAEMU() argument
317 s_gles3.glDrawElementsIndirect(mode, type, indirect); in glDrawElementsIndirectDataAEMU()
[all …]
/device/google/coral/
Dconfig.fs39 mode: 0755
45 mode: 0755
51 mode: 0755
57 mode: 0755
63 mode: 0755
69 mode: 0755
75 mode: 0755
81 mode: 0755
/device/google/crosshatch/
Dconfig.fs30 mode: 0755
36 mode: 0755
42 mode: 0755
48 mode: 0755
54 mode: 0755
60 mode: 0755
Dinit.hardware.chamber.rc.userdebug22 write /sys/devices/virtual/thermal/tz-by-name/quiet-therm-adc/mode disabled
23 write /sys/devices/virtual/thermal/tz-by-name/quiet-therm-monitor/mode disabled
26 write /sys/devices/virtual/thermal/tz-by-name/fps-therm-adc/mode disabled
27 write /sys/devices/virtual/thermal/tz-by-name/fps-therm-monitor/mode disabled
/device/google/bonito/
Dconfig.fs30 mode: 0755
36 mode: 0755
42 mode: 0755
48 mode: 0755
54 mode: 0755
60 mode: 0755
/device/linaro/dragonboard/installer/db845c/
DREADME8 Boot the board into fastboot mode:
10 The easiest way to boot into fastboot mode is to run something
14 to work, so you may need to manually enter fastboot mode as
18 To manually enter fastboot mode:
20 * To manually boot the board into fastboot mode, press DOWN arrow
28 button. The board should then boot to fastboot mode. Be sure to
41 Once the board is in fastboot mode, you can then flash it by
59 * If you cannot get the board into fastboot mode, or for some
67 First boot into recovery mode. After removing the power cable
72 display output in recovery mode, and initially no serial output.
/device/google/wahoo/
Dconfig.fs21 mode: 0755
27 mode: 0755
33 mode: 0755
39 mode: 0755
45 mode: 0755
/device/generic/goldfish/tnc/
Dmain.cpp183 Mode mode; in main() local
185 mode = Mode::Bridge; in main()
187 mode = Mode::Client; in main()
189 mode = Mode::Server; in main()
197 if (mode == Mode::Client || mode == Mode::Server) { in main()
208 switch (mode) { in main()
/device/google/cuttlefish/host/commands/modem_simulator/
Dnvram_config.cpp156 void NvramConfig::InstanceSpecific::set_network_selection_mode(int mode) { in set_network_selection_mode() argument
157 (*Dictionary())[kNetworkSelectionMode] = mode; in set_network_selection_mode()
180 void NvramConfig::InstanceSpecific::set_preferred_network_mode(int mode) { in set_preferred_network_mode() argument
181 (*Dictionary())[kPreferredNetworkMode] = mode; in set_preferred_network_mode()
188 void NvramConfig::InstanceSpecific::set_emergency_mode(bool mode) { in set_emergency_mode() argument
189 (*Dictionary())[kEmergencyMode] = mode; in set_emergency_mode()
Dsup_service.cpp299 int mode = cmd.GetNextInt(); in HandleCallWaiting() local
302 if (mode == 2) { // Query in HandleCallWaiting()
306 ss << "+CCWA: " << call_waiting_info_.mode << "," << classx; in HandleCallWaiting()
308 } else if (mode == 0 || mode == 1) { // Enable or disable in HandleCallWaiting()
309 call_waiting_info_.mode = mode; in HandleCallWaiting()
/device/google/bonito/sdm710/kernel-headers/linux/
Dmsm_rmnet.h26 #define RMNET_IS_MODE_QOS(mode) ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS) argument
27 #define RMNET_IS_MODE_IP(mode) ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP) argument
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dmsm_rmnet.h13 #define RMNET_IS_MODE_QOS(mode) \ argument
14 ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS)
15 #define RMNET_IS_MODE_IP(mode) \ argument
16 ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP)
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dmsm_rmnet.h13 #define RMNET_IS_MODE_QOS(mode) \ argument
14 ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS)
15 #define RMNET_IS_MODE_IP(mode) \ argument
16 ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP)
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_rmnet.h26 #define RMNET_IS_MODE_QOS(mode) ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS) argument
27 #define RMNET_IS_MODE_IP(mode) ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP) argument
/device/generic/goldfish/tools/
Dmk_qemu_ramdisk.py14 with open(f1name, mode='rb') as file:
17 with open(f2name, mode='rb') as file:
29 with open(f3name, mode='wb') as file:
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_rmnet.h13 #define RMNET_IS_MODE_QOS(mode) \ argument
14 ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS)
15 #define RMNET_IS_MODE_IP(mode) \ argument
16 ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP)
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_rmnet.h26 #define RMNET_IS_MODE_QOS(mode) ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS) argument
27 #define RMNET_IS_MODE_IP(mode) ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP) argument
/device/google/crosshatch/blueline/
Dinit.blueline.rc21 write /sys/devices/virtual/thermal/tz-by-name/quiet-therm-adc/mode enabled
26 write /sys/devices/virtual/thermal/tz-by-name/quiet-therm-adc/mode enabled
31 write /sys/devices/virtual/thermal/tz-by-name/quiet-therm-adc/mode enabled
36 write /sys/devices/virtual/thermal/tz-by-name/quiet-therm-adc/mode enabled
41 write /sys/devices/virtual/thermal/tz-by-name/quiet-therm-adc/mode enabled
46 write /sys/devices/virtual/thermal/tz-by-name/quiet-therm-adc/mode enabled
51 write /sys/devices/virtual/thermal/tz-by-name/quiet-therm-adc/mode enabled

12345678910>>...13