Home
last modified time | relevance | path

Searched refs:cfg_flags (Results 1 – 12 of 12) sorted by relevance

/hal_microchip-latest/mec5/drivers/
Dmec_bdp.c41 int mec_hal_bdp_init(struct mec_bdp_regs *regs, uint32_t cfg_flags) in mec_hal_bdp_init() argument
59 temp = (cfg_flags & MEC5_BDP_CFG_FIFO_THRES_MSK) >> MEC5_BDP_CFG_FIFO_THRES_POS; in mec_hal_bdp_init()
64 if (cfg_flags & MEC_BIT(MEC5_BDP_CFG_ALIAS_EN_POS)) { in mec_hal_bdp_init()
66 ((cfg_flags & MEC5_BDP_CFG_ALIAS_BYTE_LANE_MSK) >> MEC5_BDP_CFG_ALIAS_BYTE_LANE_POS); in mec_hal_bdp_init()
70 if (cfg_flags & MEC_BIT(MEC5_BDP_CFG_THRH_IEN_POS)) { in mec_hal_bdp_init()
75 if (cfg_flags & MEC_BIT(MEC5_BDP_CFG_ALIAS_EN_POS)) { in mec_hal_bdp_init()
76 if (cfg_flags & MEC_BIT(MEC5_BDP_CFG_ALIAS_ACTV_POS)) { in mec_hal_bdp_init()
81 if (cfg_flags & MEC_BIT(MEC5_BDP_CFG_ACTV_POS)) { in mec_hal_bdp_init()
Dmec_wktimer.c96 if (cfg->cfg_flags & MEC_BIT(MEC_WKTMR_CFG_SYS_PWR_PRES_EN_POS)) { in mec_hal_wktimer_init()
100 if (cfg->cfg_flags & MEC_BIT(MEC_WKTMR_CFG_SUBWK_RELOAD_POS)) { in mec_hal_wktimer_init()
104 if (cfg->cfg_flags & MEC_BIT(MEC_WKTMR_CFG_VCI_PWR_UP_EV_EN_POS)) { in mec_hal_wktimer_init()
108 if (cfg->cfg_flags & MEC_BIT(MEC_WKTMR_CFG_ENABLE_POS)) { in mec_hal_wktimer_init()
Dmec_htimer.c26 uint8_t cfg_flags) in mec_hal_htimer_init() argument
57 if (cfg_flags & MEC_BIT(MEC_HTMR_CFG_RESOLUTION_125MS_POS)) { in mec_hal_htimer_init()
61 if (cfg_flags & MEC_BIT(MEC_HTMR_CFG_IEN_POS)) { in mec_hal_htimer_init()
Dmec_espi.c346 if (cfg->cfg_flags & MEC_BIT(MEC_ESPI_CFG_FLAG_VW_CT_GIRQ_EN_POS)) { in mec_hal_espi_init()
351 if (cfg->cfg_flags & MEC_BIT(MEC_ESPI_CFG_FLAG_PC_GIRQ_EN_POS)) { in mec_hal_espi_init()
355 if (cfg->cfg_flags & MEC_BIT(MEC_ESPI_CFG_FLAG_BM1_GIRQ_EN_POS)) { in mec_hal_espi_init()
359 if (cfg->cfg_flags & MEC_BIT(MEC_ESPI_CFG_FLAG_BM2_GIRQ_EN_POS)) { in mec_hal_espi_init()
363 if (cfg->cfg_flags & MEC_BIT(MEC_ESPI_CFG_FLAG_LTR_GIRQ_EN_POS)) { in mec_hal_espi_init()
367 if (cfg->cfg_flags & MEC_BIT(MEC_ESPI_CFG_FLAG_OOB_UP_GIRQ_EN_POS)) { in mec_hal_espi_init()
371 if (cfg->cfg_flags & MEC_BIT(MEC_ESPI_CFG_FLAG_OOB_DN_GIRQ_EN_POS)) { in mec_hal_espi_init()
375 if (cfg->cfg_flags & MEC_BIT(MEC_ESPI_CFG_FLAG_FC_GIRQ_EN_POS)) { in mec_hal_espi_init()
379 if (cfg->cfg_flags & MEC_BIT(MEC_ESPI_CFG_FLAG_VW_CHEN_GIRQ_EN_POS)) { in mec_hal_espi_init()
383 if (cfg->cfg_flags & MEC_BIT(MEC_ESPI_CFG_FLAG_ERST_GIRQ_EN_POS)) { in mec_hal_espi_init()
Dmec_uart_api.h89 uint8_t cfg_flags; member
144 int mec_hal_uart_power_on(struct mec_uart_regs *regs, uint32_t cfg_flags);
Dmec_wktimer_api.h72 uint8_t cfg_flags; member
Dmec_htimer_api.h46 uint8_t cfg_flags);
Dmec_bdp_api.h93 int mec_hal_bdp_init(struct mec_bdp_regs *regs, uint32_t cfg_flags);
Dmec_espi_core.h257 uint32_t cfg_flags; member
Dmec_i2c_api.h116 uint8_t cfg_flags; member
Dmec_uart.c402 int mec_hal_uart_power_on(struct mec_uart_regs *regs, uint32_t cfg_flags) in mec_hal_uart_power_on() argument
413 prog_cfg1(regs, cfg_flags, 0); in mec_hal_uart_power_on()
Dmec_i2c.c186 if (config->cfg_flags & MEC_I2C_SMB_CFG_CUST_FREQ) { in i2c_config()
243 if (config->cfg_flags & MEC_I2C_SMB_CFG_PRESERVE_TARGET_ADDRS) { in mec_hal_i2c_smb_init()
256 if ((config->cfg_flags & MEC_I2C_SMB_CFG_CUST_FREQ) && !custom_freq_cfg) { in mec_hal_i2c_smb_init()