Home
last modified time | relevance | path

Searched refs:regs (Results 1 – 25 of 37) sorted by relevance

12

/device/google/contexthub/firmware/os/platform/stm32/
Dspi.c96 struct StmSpi *regs; member
143 struct StmSpi *regs = pdev->cfg->regs; in stmSpiStartDma() local
158 mode.periphAddr = (uintptr_t)&regs->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 …]
Ddma.c94 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 …]
Di2c.c167 struct StmI2c *regs; member
191 .regs = (struct StmI2c *)I2C1_BASE,
199 .regs = (struct StmI2c *)I2C2_BASE,
207 .regs = (struct StmI2c *)I2C3_BASE,
253 pdev->cfg->regs->CR1 |= I2C_CR1_ACK; in stmI2cAckEnable()
258 pdev->cfg->regs->CR1 &= ~I2C_CR1_ACK; in stmI2cAckDisable()
263 pdev->cfg->regs->CR2 |= I2C_CR2_DMAEN; in stmI2cDmaEnable()
268 pdev->cfg->regs->CR2 &= ~I2C_CR2_DMAEN; in stmI2cDmaDisable()
273 struct StmI2c *regs = pdev->cfg->regs; in stmI2cStopEnable() local
275 while (regs->CR1 & (I2C_CR1_STOP | I2C_CR1_START)) in stmI2cStopEnable()
[all …]
Dpwr.c181 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/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
Ddb_machdep.h53 #define PC_REGS(regs) ((db_addr_t)(regs)->tf_special.__spare == 0) ? \
54 ((db_addr_t)(regs)->tf_special.rp) : \
55 ((db_addr_t)(regs)->tf_special.iip + (((regs)->tf_special.psr>>41) & 3))
59 #define PC_REGS(regs) ((db_addr_t)(regs)->tf_special.iip + (((regs)->tf_special.psr>>41) & 3)) argument
62 #define db_set_single_step(regs) ((regs)->tf_special.psr |= IA64_PSR_SS) argument
63 #define db_clear_single_step(regs) ((regs)->tf_special.psr &= ~IA64_PSR_SS) argument
93 #define PC_ADVANCE(regs) db_pc_advance(regs) argument
108 #define branch_taken(ins, pc, regs) pc argument
/device/google/coral/json-c/
Drandom_seed.c25 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/
Drandom_seed.c25 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/bonito/json-c/
Drandom_seed.c25 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/redbull/json-c/
Drandom_seed.c25 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/crosshatch/json-c/
Drandom_seed.c25 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/linaro/bootloader/arm-trusted-firmware/include/lib/aarch64/
Dsmcc_helpers.h82 const gp_regs_t *regs = get_gpregs_ctx(_hdl); \
83 _x1 = read_ctx_reg(regs, CTX_GPREG_X1); \
84 _x2 = read_ctx_reg(regs, CTX_GPREG_X2); \
85 _x3 = read_ctx_reg(regs, CTX_GPREG_X3); \
86 _x4 = read_ctx_reg(regs, CTX_GPREG_X4); \
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dreggnu.c67 struct re_registers* regs) in re_match() argument
70 (UChar* )(str + pos), regs, ONIG_OPTION_NONE); in re_match()
75 struct re_registers* regs) in re_search() argument
80 regs, ONIG_OPTION_NONE); in re_search()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dh2py.py152 regs = match.regs
153 a, b = regs[1]
Dpdeps.py80 (a, b), (a1, b1) = m_import.regs[:2]
82 (a, b), (a1, b1) = m_from.regs[:2]
Dclassfix.py162 (a0, b0), (a1, b1), (a2, b2) = classprog.regs[:3]
181 x1, y1 = baseprog.regs[1]
/device/linaro/bootloader/arm-trusted-firmware/include/lib/el3_runtime/aarch64/
Dcontext.h311 void el1_sysregs_context_save(el1_sys_regs_t *regs);
313 void el1_sysregs_context_restore(el1_sys_regs_t *regs);
315 void fpregs_context_save(fp_regs_t *regs);
316 void fpregs_context_restore(fp_regs_t *regs);
/device/linaro/bootloader/arm-trusted-firmware/include/lib/el3_runtime/aarch32/
Dcontext.h43 DEFINE_REG_STRUCT(regs, CTX_REG_ALL);
/device/google/coral-kernel/sm8150/original-kernel-headers/video/
Duvesafb.h36 struct v86_regs regs; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/video/
Duvesafb.h36 struct v86_regs regs; member
/device/google/sunfish-kernel/sm7150/kernel-headers/video/
Duvesafb.h48 struct v86_regs regs; member
/device/google/coral-kernel/sm8150/kernel-headers/video/
Duvesafb.h48 struct v86_regs regs; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dsre.h43 PyObject* regs; /* cached list of matching spans */ member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dsre.h53 PyObject* regs; /* cached list of matching spans */ member
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/common/
Dboard_common.mk26 ifeq (${ARM_ROTPK_LOCATION}, regs)
/device/google/crosshatch/sdm845/kernel-headers/linux/mfd/
Dmsm-adie-codec.h58 struct adie_codec_register * regs; member

12