Searched refs:cr (Results 1 – 8 of 8) sorted by relevance
/trusted-firmware-a-3.7.0/drivers/nxp/i2c/ |
D | i2c.c | 26 i2c_out(&ccsr_i2c->cr, I2C_CR_DIS); in i2c_init() 29 i2c_out(&ccsr_i2c->cr, I2C_CR_EN); in i2c_init() 81 unsigned char cr; in gen_stop() local 84 cr = i2c_in(&ccsr_i2c->cr); in gen_stop() 85 cr &= ~(I2C_CR_MA | I2C_CR_TX); in gen_stop() 86 i2c_out(&ccsr_i2c->cr, cr); in gen_stop() 98 unsigned char cr; in i2c_write_addr() local 115 cr = i2c_in(&ccsr_i2c->cr); in i2c_write_addr() 116 cr |= I2C_CR_MA; in i2c_write_addr() 117 i2c_out(&ccsr_i2c->cr, cr); in i2c_write_addr() [all …]
|
/trusted-firmware-a-3.7.0/drivers/st/crypto/ |
D | stm32_saes.c | 136 #define IS_CHAINING_MODE(mod, cr) \ argument 137 (((cr) & _SAES_CR_CHMOD_MASK) == (_SAES_CR_CHMOD_##mod << _SAES_CR_CHMOD_SHIFT)) 139 #define SET_CHAINING_MODE(mod, cr) \ argument 140 mmio_clrsetbits_32((cr), _SAES_CR_CHMOD_MASK, _SAES_CR_CHMOD_##mod << _SAES_CR_CHMOD_SHIFT) 175 static bool does_chaining_mode_need_iv(uint32_t cr) in does_chaining_mode_need_iv() argument 177 return !(IS_CHAINING_MODE(ECB, cr)); in does_chaining_mode_need_iv() 180 static bool is_encrypt(uint32_t cr) in is_encrypt() argument 182 return (cr & _SAES_CR_MODE_MASK) == (_SAES_CR_MODE_ENC << _SAES_CR_MODE_SHIFT); in is_encrypt() 185 static bool is_decrypt(uint32_t cr) in is_decrypt() argument 187 return (cr & _SAES_CR_MODE_MASK) == (_SAES_CR_MODE_DEC << _SAES_CR_MODE_SHIFT); in is_decrypt() [all …]
|
/trusted-firmware-a-3.7.0/drivers/marvell/ |
D | gwin.c | 163 uint32_t cr; in dump_gwin() local 166 cr = mmio_read_32(GWIN_CR_OFFSET(ap_index, win_num)); in dump_gwin() 168 if (cr & WIN_ENABLE_BIT) { in dump_gwin() 174 (cr >> 8) & 0xF, alr, ahr); in dump_gwin()
|
/trusted-firmware-a-3.7.0/include/drivers/nxp/i2c/ |
D | i2c.h | 38 unsigned char cr; /* I2c Bus Control Register */ member
|
/trusted-firmware-a-3.7.0/include/drivers/st/ |
D | stm32_saes.h | 40 uint32_t cr; member
|
/trusted-firmware-a-3.7.0/drivers/st/spi/ |
D | stm32_qspi.c | 339 uint32_t cr; in stm32_qspi_claim_bus() local 346 cr = QSPI_CR_EN; in stm32_qspi_claim_bus() 348 cr |= QSPI_CR_FSEL; in stm32_qspi_claim_bus() 351 mmio_clrsetbits_32(qspi_base() + QSPI_CR, QSPI_CR_FSEL, cr); in stm32_qspi_claim_bus()
|
/trusted-firmware-a-3.7.0/drivers/mtd/nor/ |
D | spi_nor.c | 59 static inline int spi_nor_read_cr(uint8_t *cr) in spi_nor_read_cr() argument 61 return spi_nor_reg(SPI_NOR_OP_READ_CR, cr, 1U, SPI_MEM_DATA_IN); in spi_nor_read_cr()
|
/trusted-firmware-a-3.7.0/make_helpers/ |
D | build_macros.mk | 486 $$(Q)$$(AR) cr $$@ $$?
|