/device/google/contexthub/firmware/os/platform/stm32/ |
D | spi.c | 96 struct StmSpi *regs; member 143 struct StmSpi *regs = pdev->cfg->regs; in stmSpiStartDma() local 158 mode.periphAddr = (uintptr_t)®s->DR; in stmSpiStartDma() 169 struct StmSpi *regs = pdev->cfg->regs; in stmSpiEnable() local 197 regs->CR1 &= ~SPI_CR1_BR_MASK; in stmSpiEnable() 198 regs->CR1 |= SPI_CR1_BR(div); in stmSpiEnable() 202 regs->CR1 &= ~SPI_CR1_CPOL; in stmSpiEnable() 204 regs->CR1 |= SPI_CR1_CPOL; in stmSpiEnable() 207 regs->CR1 &= ~SPI_CR1_CPHA; in stmSpiEnable() 209 regs->CR1 |= SPI_CR1_CPHA; in stmSpiEnable() [all …]
|
D | i2c.c | 167 struct StmI2c *regs; member 190 .regs = (struct StmI2c *)I2C1_BASE, 198 .regs = (struct StmI2c *)I2C2_BASE, 206 .regs = (struct StmI2c *)I2C3_BASE, 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() local 276 while (regs->CR1 & (I2C_CR1_STOP | I2C_CR1_START)) in stmI2cStopEnable() [all …]
|
D | dma.c | 94 struct StmDmaRegs *const regs; member 109 .regs = (struct StmDmaRegs *)DMA1_BASE, 112 .regs = (struct StmDmaRegs *)DMA2_BASE, 170 return &gDmaDevs[busId].regs->Sx[stream]; in dmaGetStreamRegs() 179 return (dev->regs->LISR >> STM_DMA_FEIFx_OFFSET[stream]) & STM_DMA_ISR_MASK; in dmaGetIsr() 181 return (dev->regs->HISR >> STM_DMA_FEIFx_OFFSET[stream - 4]) & STM_DMA_ISR_MASK; in dmaGetIsr() 188 dev->regs->LIFCR = mask << STM_DMA_FEIFx_OFFSET[stream]; in dmaClearIsr() 190 dev->regs->HIFCR = mask << STM_DMA_FEIFx_OFFSET[stream - 4]; in dmaClearIsr() 196 struct StmDmaStreamRegs *regs = dmaGetStreamRegs(busId, stream); in dmaIsrTeif() local 202 state->callback(state->cookie, regs->NDTR, -EIO); in dmaIsrTeif() [all …]
|
D | pwr.c | 181 uint32_t backupRegs[RTC_NUM_BACKUP_REGS], i, *regs = rtcGetBackupStorage(); in pwrEnableAndClockRtc() local 193 backupRegs[i] = regs[i]; in pwrEnableAndClockRtc() 206 regs[i] = backupRegs[i]; in pwrEnableAndClockRtc()
|
/device/google/gs201/dumpstate/ |
D | dump_power_gs201.sh | 182 regs=`cat $f/fg_model` 184 echo "$regs" 190 regs=`cat $f/algo_ver` 192 echo "$regs" 198 regs=`cat $f/model_ok` 200 echo "$regs" 206 regs=`cat $f/registers` 208 echo "$regs" 214 regs=`cat $f/nv_registers` 216 echo "$regs"
|
/device/google/redbull/json-c/ |
D | random_seed.c | 25 static void do_cpuid(int regs[], int h) in do_cpuid() argument 39 : "=a"(regs[0]), [ebx] "=r"(regs[1]), "=c"(regs[2]), "=d"(regs[3]) in do_cpuid() 57 int regs[4]; in has_rdrand() local 58 do_cpuid(regs, 1); in has_rdrand() 59 return (regs[2] & (1 << 30)) != 0; in has_rdrand()
|
/device/google/sunfish/json-c/ |
D | random_seed.c | 25 static void do_cpuid(int regs[], int h) in do_cpuid() argument 39 : "=a"(regs[0]), [ebx] "=r"(regs[1]), "=c"(regs[2]), "=d"(regs[3]) in do_cpuid() 57 int regs[4]; in has_rdrand() local 58 do_cpuid(regs, 1); in has_rdrand() 59 return (regs[2] & (1 << 30)) != 0; in has_rdrand()
|
/device/google/coral/json-c/ |
D | random_seed.c | 25 static void do_cpuid(int regs[], int h) in do_cpuid() argument 39 : "=a"(regs[0]), [ebx] "=r"(regs[1]), "=c"(regs[2]), "=d"(regs[3]) in do_cpuid() 57 int regs[4]; in has_rdrand() local 58 do_cpuid(regs, 1); in has_rdrand() 59 return (regs[2] & (1 << 30)) != 0; in has_rdrand()
|
/device/google/zuma/dumpstate/ |
D | dump_power.sh | 180 regs=`cat $f/fg_model` 182 echo "$regs" 188 regs=`cat $f/algo_ver` 190 echo "$regs" 196 regs=`cat $f/model_ok` 198 echo "$regs" 204 regs=`cat $f/registers` 206 echo "$regs" 212 regs=`cat $f/nv_registers` 214 echo "$regs"
|
/device/google/gs101/dumpstate/ |
D | dump_gs101.sh | 171 regs=`cat $f/fg_model` 173 echo "$regs" 179 regs=`cat $f/algo_ver` 181 echo "$regs" 187 regs=`cat $f/model_ok` 189 echo "$regs" 195 regs=`cat $f/registers` 197 echo "$regs"
|
/device/google/sunfish-kernel/sm7150/original-kernel-headers/video/ |
D | uvesafb.h | 36 struct v86_regs regs; member
|
/device/google/sunfish-kernel/sm7150/kernel-headers/video/ |
D | uvesafb.h | 48 struct v86_regs regs; member
|
/device/google/coral-kernel/sm8150/original-kernel-headers/video/ |
D | uvesafb.h | 36 struct v86_regs regs; member
|
/device/google/coral-kernel/sm8150/kernel-headers/video/ |
D | uvesafb.h | 48 struct v86_regs regs; member
|
/device/google/lynx-kernel/original-kernel-headers/linux/ |
D | bigo.h | 24 __u64 regs; member
|
/device/google/lynx-kernel/kernel-headers/linux/ |
D | bigo.h | 24 __u64 regs; member
|
/device/google/tangorpro-kernel/kernel-headers/linux/ |
D | bigo.h | 24 __u64 regs; member
|
/device/google/bluejay-kernel/kernel-headers/linux/ |
D | bigo.h | 24 __u64 regs; member
|
/device/google/raviole-kernel/kernel-headers/linux/ |
D | bigo.h | 24 __u64 regs; member
|
/device/google/tangorpro-kernel/original-kernel-headers/linux/ |
D | bigo.h | 24 __u64 regs; member
|
/device/google/bluejay-kernel/original-kernel-headers/linux/ |
D | bigo.h | 24 __u64 regs; member
|
/device/google/felix-kernel/original-kernel-headers/linux/ |
D | bigo.h | 24 __u64 regs; member
|
/device/google/raviole-kernel/original-kernel-headers/linux/ |
D | bigo.h | 24 __u64 regs; member
|
/device/google/pantah-kernel/kernel-headers/linux/ |
D | bigo.h | 24 __u64 regs; member
|
/device/google/felix-kernel/kernel-headers/linux/ |
D | bigo.h | 24 __u64 regs; member
|