Lines Matching refs:eadc
225 } eadc; member
400 spec = config->eadc.spec_vbus ? config->eadc.spec_vbus : config->eadc.spec_vconn; in numaker_eadc_vref_init()
466 if (config->eadc.spec_vbus == NULL) { in numaker_utcpd_vbus_measure()
1059 if (config->eadc.spec_vbus != NULL) { in numaker_utcpd_vbus_init()
1103 if (config->eadc.spec_vbus != NULL) { in numaker_utcpd_vbus_init()
1418 if (config->eadc.spec_vbus != NULL) { in numaker_utcpd_init_startup()
1419 muxsel |= (config->eadc.spec_vbus->channel_id << UTCPD_MUXSEL_ADCSELVB_Pos); in numaker_utcpd_init_startup()
1423 if (config->eadc.spec_vconn != NULL) { in numaker_utcpd_init_startup()
1424 muxsel |= (config->eadc.spec_vconn->channel_id << UTCPD_MUXSEL_ADCSELVC_Pos); in numaker_utcpd_init_startup()
1474 spec = config->eadc.spec_vbus; in numaker_eadc_init_startup()
1476 rc = numaker_eadc_smplmod_init(dev, spec, config->eadc.trgsel_vbus); in numaker_eadc_init_startup()
1488 spec = config->eadc.spec_vconn; in numaker_eadc_init_startup()
1490 rc = numaker_eadc_smplmod_init(dev, spec, config->eadc.trgsel_vconn); in numaker_eadc_init_startup()
1511 TIMER_Open(timer_base, TIMER_PERIODIC_MODE, config->eadc.timer_trigger_rate); in numaker_timer_init_startup()
1605 if (config->eadc.spec_vbus != NULL || config->eadc.spec_vconn != NULL) { in numaker_tcpc_init_startup()
2421 (BUILD_ASSERT(DT_INST_REG_ADDR_BY_NAME(inst, eadc) == \
2529 .eadc_base = (EADC_T *)DT_INST_REG_ADDR_BY_NAME(inst, eadc), \
2540 .eadc = NUMAKER_EADC_INIT(inst), \