Home
last modified time | relevance | path

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

123456

/Zephyr-Core-3.4.0/drivers/memc/
Dmemc_stm32.c27 const struct pinctrl_dev_config *pcfg; member
38 r = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in memc_stm32_init()
77 .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-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/drivers/dac/
Ddac_sam0.c27 const struct pinctrl_dev_config *pcfg; member
73 retval = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in dac_sam0_init()
110 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(n), \
Ddac_stm32.c50 const struct pinctrl_dev_config *pcfg; member
141 err = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in dac_stm32_init()
166 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(index), \
Ddac_gd32.c40 const struct pinctrl_dev_config *pcfg; member
152 ret = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in dac_gd32_init()
174 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(0),
Ddac_sam.c38 const struct pinctrl_dev_config *pcfg; member
140 retval = pinctrl_apply_state(dev_cfg->pcfg, PINCTRL_STATE_DEFAULT); in dac_sam_init()
173 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(0),
/Zephyr-Core-3.4.0/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-Core-3.4.0/drivers/sensor/qdec_nrfx/
Dqdec_nrfx.c38 const struct pinctrl_dev_config *pcfg; member
185 ret = pinctrl_apply_state(config->pcfg, in qdec_nrfx_pm_action()
197 ret = pinctrl_apply_state(config->pcfg, in qdec_nrfx_pm_action()
208 ret = pinctrl_apply_state(config->pcfg, in qdec_nrfx_pm_action()
228 int err = pinctrl_apply_state(dev_config->pcfg, PINCTRL_STATE_DEFAULT); in qdec_nrfx_init()
281 .pcfg = PINCTRL_DT_DEV_CONFIG_GET(QDEC(idx)), \
/Zephyr-Core-3.4.0/drivers/pwm/
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_nrfx.c27 const struct pinctrl_dev_config *pcfg; member
245 int ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in pwm_nrfx_init()
300 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in pwm_nrfx_pm_action()
310 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_SLEEP); in pwm_nrfx_pm_action()
350 .pcfg = PINCTRL_DT_DEV_CONFIG_GET(PWM(idx)), \
Dpwm_rpi_pico.c34 const struct pinctrl_dev_config *pcfg; member
133 err = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in pwm_rpi_init()
165 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(idx), \
Dpwm_gd32.c47 const struct pinctrl_dev_config *pcfg; member
163 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in pwm_gd32_init()
202 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(i), \
Dpwm_npcx.c43 const struct pinctrl_dev_config *pcfg; member
210 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in pwm_npcx_init()
225 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
/Zephyr-Core-3.4.0/drivers/i2c/
Di2c_b91.c22 const struct pinctrl_dev_config *pcfg; member
140 status = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in i2c_b91_init()
167 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
Di2c_nrfx_twi.c35 const struct pinctrl_dev_config *pcfg; member
244 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in twi_nrfx_pm_action()
257 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_SLEEP); in twi_nrfx_pm_action()
291 int err = pinctrl_apply_state(config->pcfg, \
312 .pcfg = PINCTRL_DT_DEV_CONFIG_GET(I2C(idx)), \
Di2c_nrfx_twim.c40 const struct pinctrl_dev_config *pcfg; member
290 (void)pinctrl_apply_state(dev_config->pcfg, in i2c_nrfx_twim_recover_bus()
313 ret = pinctrl_apply_state(dev_config->pcfg, in twim_nrfx_pm_action()
324 ret = pinctrl_apply_state(dev_config->pcfg, in twim_nrfx_pm_action()
346 int err = pinctrl_apply_state(dev_config->pcfg, in i2c_nrfx_twim_init()
427 .pcfg = PINCTRL_DT_DEV_CONFIG_GET(I2C(idx)), \
Di2c_npcx_port.c50 const struct pinctrl_dev_config *pcfg; member
186 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in i2c_npcx_port_init()
222 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
/Zephyr-Core-3.4.0/drivers/sensor/mchp_tach_xec/
Dtach_mchp_xec.c32 const struct pinctrl_dev_config *pcfg; member
125 int ret = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in tach_xec_init()
154 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \
/Zephyr-Core-3.4.0/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-Core-3.4.0/drivers/mdio/
Dmdio_sam.c33 const struct pinctrl_dev_config *pcfg; member
121 retval = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in mdio_sam_initialize()
136 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(n), \
Dmdio_esp32.c30 const struct pinctrl_dev_config *pcfg; member
107 res = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in mdio_esp32_initialize()
143 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(n), \
/Zephyr-Core-3.4.0/drivers/sensor/ite_tach_it8xxx2/
Dtach_ite_it8xxx2.c73 const struct pinctrl_dev_config *pcfg; member
194 status = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in tach_it8xxx2_init()
230 .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(inst), \

123456