D | stm32-cec.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * STM32 CEC driver 17 #include <media/cec.h> 19 #define CEC_NAME "stm32-cec" 21 /* CEC registers */ 80 static void cec_hw_init(struct stm32_cec *cec) in cec_hw_init() argument 82 regmap_update_bits(cec->regmap, CEC_CR, TXEOM | TXSOM | CECEN, 0); in cec_hw_init() 84 regmap_update_bits(cec->regmap, CEC_IER, ALL_TX_IT | ALL_RX_IT, in cec_hw_init() 87 regmap_update_bits(cec->regmap, CEC_CFGR, FULL_CFG, FULL_CFG); in cec_hw_init() 90 static void stm32_tx_done(struct stm32_cec *cec, u32 status) in stm32_tx_done() argument [all …]
|