Home
last modified time | relevance | path

Searched refs:pcfg (Results 1 – 25 of 228) sorted by relevance

12345678910

/Zephyr-latest/drivers/memc/
Dmemc_stm32.c36 const struct pinctrl_dev_config *pcfg; member
47 r = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in memc_stm32_init()
97 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(0),
Dmemc_sam_smc.c30 const struct pinctrl_dev_config *pcfg; member
43 ret = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in memc_smc_init()
100 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
/Zephyr-latest/drivers/i2c/
Di2c_nrfx_twim_common.c38 (void)pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in i2c_nrfx_twim_recover_bus()
111 (void)pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in twim_nrfx_pm_action()
116 (void)pinctrl_apply_state(config->pcfg, PINCTRL_STATE_SLEEP); in twim_nrfx_pm_action()
131 (void)pinctrl_apply_state(config->pcfg, PINCTRL_STATE_SLEEP); in i2c_nrfx_twim_common_init()
Di2c_b91.c22 const struct pinctrl_dev_config *pcfg; member
140 status = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in i2c_b91_init()
170 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
/Zephyr-latest/tests/drivers/pinctrl/nrf/src/
Dmain.c13 static const struct pinctrl_dev_config *pcfg = PINCTRL_DT_DEV_CONFIG_GET(TEST_DEVICE); variable
19 zassert_equal(pcfg->reg, 0x0U); in ZTEST()
20 zassert_equal(pcfg->state_cnt, 1U); in ZTEST()
22 scfg = &pcfg->states[0]; in ZTEST()
/Zephyr-latest/drivers/clock_control/
Dclock_stm32_mco.c22 const struct pinctrl_dev_config *pcfg; member
64 return pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in stm32_mco_init()
72 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
Dclock_control_ambiq.c21 const struct pinctrl_dev_config *pcfg; member
109 ret = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in ambiq_clock_configure()
133 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(n)}; \
/Zephyr-latest/drivers/ps2/
Dps2_npcx_channel.c35 const struct pinctrl_dev_config *pcfg; member
90 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in ps2_npcx_channel_init()
115 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
/Zephyr-latest/drivers/pwm/
Dpwm_ene_kb1200.c17 const struct pinctrl_dev_config *pcfg; member
103 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in pwm_kb1200_init()
116 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
Dpwm_xmc4xxx_ccu4.c26 const struct pinctrl_dev_config *pcfg; member
48 return pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in pwm_xmc4xxx_ccu4_init()
106 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(n), \
Dpwm_nrfx.c47 const struct pinctrl_dev_config *pcfg; member
278 (void)pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in pwm_resume()
281 nrf_gpd_retain_pins_set(config->pcfg, false); in pwm_resume()
313 nrf_gpd_retain_pins_set(config->pcfg, true); in pwm_suspend()
317 (void)pinctrl_apply_state(config->pcfg, PINCTRL_STATE_SLEEP); in pwm_suspend()
342 (void)pinctrl_apply_state(config->pcfg, PINCTRL_STATE_SLEEP); in pwm_nrfx_init()
390 .pcfg = PINCTRL_DT_DEV_CONFIG_GET(PWM(idx)), \
Dpwm_b91.c15 const struct pinctrl_dev_config *pcfg; member
49 status = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in pwm_b91_init()
123 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(n), \
Dpwm_sam.c28 const struct pinctrl_dev_config *pcfg; member
110 retval = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in sam_pwm_init()
130 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
Dpwm_cc13xx_cc26xx_timer.c41 const struct pinctrl_dev_config *pcfg; member
173 pinctrl_soc_pin_t pin = config->pcfg->states[0].pins[0]; in init_pwm()
195 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in init_pwm()
239 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(idx), \
Dpwm_mchp_xec_bbled.c124 const struct pinctrl_dev_config *pcfg; member
289 ret = pinctrl_apply_state(devcfg->pcfg, PINCTRL_STATE_DEFAULT); in pwm_bbled_xec_pm_action()
311 ret = pinctrl_apply_state(devcfg->pcfg, PINCTRL_STATE_SLEEP); in pwm_bbled_xec_pm_action()
333 int ret = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in pwm_bbled_xec_init()
363 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
/Zephyr-latest/drivers/input/
Dinput_xec_kbd.c32 const struct pinctrl_dev_config *pcfg; member
157 ret = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in xec_kbd_pm_action()
172 ret = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_SLEEP); in xec_kbd_pm_action()
193 ret = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in xec_kbd_init()
241 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(0),
/Zephyr-latest/drivers/sensor/ene_tach_kb1200/
Dtach_ene_kb1200.c21 const struct pinctrl_dev_config *pcfg; member
115 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in tach_kb1200_init()
136 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
/Zephyr-latest/drivers/sensor/qdec_sam/
Dqdec_sam.c30 const struct pinctrl_dev_config *pcfg; member
102 retval = pinctrl_apply_state(dev_cfg->pcfg, PINCTRL_STATE_DEFAULT); in qdec_sam_initialize()
129 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(n), \
/Zephyr-latest/drivers/dac/
Ddac_sam0.c29 const struct pinctrl_dev_config *pcfg; member
84 retval = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in dac_sam0_init()
121 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(n), \
Ddac_gd32.c40 const struct pinctrl_dev_config *pcfg; member
157 ret = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in dac_gd32_init()
179 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(0),
Ddac_sam.c38 const struct pinctrl_dev_config *pcfg; member
149 retval = pinctrl_apply_state(dev_cfg->pcfg, PINCTRL_STATE_DEFAULT); in dac_sam_init()
182 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(0),
/Zephyr-latest/drivers/mdio/
Dmdio_esp32.c30 const struct pinctrl_dev_config *pcfg; member
97 res = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in mdio_esp32_initialize()
132 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(n), \
/Zephyr-latest/soc/nordic/nrf54h/gpd/include/nrf/
Dgpd.h43 int nrf_gpd_retain_pins_set(const struct pinctrl_dev_config *pcfg, bool retain);
/Zephyr-latest/drivers/serial/
Duart_ite_it8xxx2.c32 const struct pinctrl_dev_config *pcfg; member
134 status = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in uart_it8xxx2_init()
195 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
/Zephyr-latest/drivers/sensor/nordic/qdec_nrfx/
Dqdec_nrfx.c40 const struct pinctrl_dev_config *pcfg; member
202 (void)pinctrl_apply_state(config->pcfg, PINCTRL_STATE_SLEEP); in qdec_pm_suspend()
209 (void)pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in qdec_pm_resume()
249 (void)pinctrl_apply_state(config->pcfg, PINCTRL_STATE_SLEEP); in qdec_nrfx_init()
283 .pcfg = PINCTRL_DT_DEV_CONFIG_GET(QDEC(idx)), \

12345678910