Searched refs:cfg1 (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.7.0/drivers/gpio/ |
D | gpio_intel.c | 259 uint32_t raw_pin, reg, cfg0, cfg1; in gpio_intel_config() local 277 cfg1 = sys_read32(reg + 4); in gpio_intel_config() 309 cfg1 &= ~(PAD_CFG1_TERM_MASK | PAD_CFG1_IOSTERM_MASK); in gpio_intel_config() 311 cfg1 |= (PAD_CFG1_TERM_PU_20K | PAD_CFG1_IOSTERM_PU); in gpio_intel_config() 313 cfg1 |= (PAD_CFG1_TERM_PD_20K | PAD_CFG1_IOSTERM_PD); in gpio_intel_config() 315 cfg1 |= (PAD_CFG1_TERM_NONE | PAD_CFG1_IOSTERM_FUNC); in gpio_intel_config() 319 cfg1 &= ~PAD_CFG1_IOSSTATE_MASK; in gpio_intel_config() 323 sys_write32(cfg1, reg + 4); in gpio_intel_config() 334 uint32_t raw_pin, cfg0, cfg1; in gpio_intel_pin_interrupt_configure() local 359 cfg1 = sys_read32(reg + 4); in gpio_intel_pin_interrupt_configure() [all …]
|
/Zephyr-Core-3.7.0/tests/unit/timeutil/ |
D | test_sync.c | 13 static const struct timeutil_sync_config cfg1 = { variable 103 .cfg = &cfg1, in test_state_set_skew() 157 .cfg = &cfg1, in test_estimate_skew() 160 .ref = cfg1.ref_Hz, in test_estimate_skew() 163 .ref = si0.ref + cfg1.ref_Hz, in test_estimate_skew() 164 .local = si0.local + cfg1.local_Hz, in test_estimate_skew() 288 tref_from_local("std", &cfg1); in test_ref_from_local() 356 tlocal_from_ref("std", &cfg1); in test_local_from_ref()
|
/Zephyr-Core-3.7.0/drivers/clock_control/ |
D | clock_control_gd32.c | 141 uint32_t cfg1 = sys_read32(config->base + RCU_CFG1_OFFSET); in clock_control_gd32_get_rate() local 155 if ((cfg1 & RCU_CFG1_TIMERSEL_MSK) == 0U) { in clock_control_gd32_get_rate()
|
/Zephyr-Core-3.7.0/tests/subsys/ipc/pbuf/src/ |
D | main.c | 119 static const struct pbuf_cfg cfg1 = PBUF_CFG_INIT(memory_area, MEM_AREA_SZ, 0); in ZTEST() local 127 .cfg = &cfg1, in ZTEST()
|
/Zephyr-Core-3.7.0/drivers/usb_c/tcpc/ |
D | ucpd_stm32.c | 1364 uint32_t cfg1; in ucpd_init() local 1393 cfg1 = LL_UCPD_ReadReg(config->ucpd_port, CFG1); in ucpd_init() 1394 cfg1 |= LL_UCPD_ORDERSET_SOP | LL_UCPD_ORDERSET_SOP1 | in ucpd_init() 1396 LL_UCPD_WriteReg(config->ucpd_port, CFG1, cfg1); in ucpd_init()
|
/Zephyr-Core-3.7.0/drivers/i3c/ |
D | i3c_cdns.c | 2660 uint32_t cfg1 = sys_read32(config->base + CONF_STATUS1); in cdns_i3c_read_hw_cfg() local 2664 data->hw_cfg.cmd_mem_depth = CONF_STATUS1_CMD_DEPTH(cfg1) * 4; in cdns_i3c_read_hw_cfg() 2665 data->hw_cfg.rx_mem_depth = CONF_STATUS1_RX_DEPTH(cfg1) * 4; in cdns_i3c_read_hw_cfg() 2666 data->hw_cfg.tx_mem_depth = CONF_STATUS1_TX_DEPTH(cfg1) * 4; in cdns_i3c_read_hw_cfg() 2667 data->hw_cfg.ddr_rx_mem_depth = CONF_STATUS1_SLV_DDR_RX_DEPTH(cfg1) * 4; in cdns_i3c_read_hw_cfg() 2668 data->hw_cfg.ddr_tx_mem_depth = CONF_STATUS1_SLV_DDR_TX_DEPTH(cfg1) * 4; in cdns_i3c_read_hw_cfg()
|