Home
last modified time | relevance | path

Searched refs:regs (Results 1 – 25 of 32) 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 …]
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 …]
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 …]
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/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/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]
Dmethfix.py166 (a, b), (c, d) = fixprog.regs[1:3]
/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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dsre.h43 PyObject* regs; /* cached list of matching spans */ member
D_sre.c3201 Py_XDECREF(self->regs); in match_dealloc()
3481 PyObject* regs; in match_regs() local
3485 regs = PyTuple_New(self->groups); in match_regs()
3486 if (!regs) in match_regs()
3492 Py_DECREF(regs); in match_regs()
3495 PyTuple_SET_ITEM(regs, index, item); in match_regs()
3498 Py_INCREF(regs); in match_regs()
3499 self->regs = regs; in match_regs()
3501 return regs; in match_regs()
3523 Py_XINCREF(self->regs); in match_copy()
[all …]
/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/bonito/sdm710/kernel-headers/linux/mfd/
Dmsm-adie-codec.h58 struct adie_codec_register * regs; member
/device/google/crosshatch/sdm845/kernel-headers/linux/mfd/
Dmsm-adie-codec.h58 struct adie_codec_register * regs; member
/device/google/crosshatch/sdm845/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h89 struct adie_codec_register *regs; member
/device/google/bonito/sdm710/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h89 struct adie_codec_register *regs; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
D_sre.c3282 Py_XDECREF(self->regs); in match_dealloc()
3562 PyObject* regs; in match_regs() local
3566 regs = PyTuple_New(self->groups); in match_regs()
3567 if (!regs) in match_regs()
3573 Py_DECREF(regs); in match_regs()
3576 PyTuple_SET_ITEM(regs, index, item); in match_regs()
3579 Py_INCREF(regs); in match_regs()
3580 self->regs = regs; in match_regs()
3582 return regs; in match_regs()
3604 Py_XINCREF(self->regs); in match_copy()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
D_sre.c3201 Py_XDECREF(self->regs); in match_dealloc()
3481 PyObject* regs; in match_regs() local
3485 regs = PyTuple_New(self->groups); in match_regs()
3486 if (!regs) in match_regs()
3492 Py_DECREF(regs); in match_regs()
3495 PyTuple_SET_ITEM(regs, index, item); in match_regs()
3498 Py_INCREF(regs); in match_regs()
3499 self->regs = regs; in match_regs()
3501 return regs; in match_regs()
3523 Py_XINCREF(self->regs); in match_copy()
[all …]

12