Home
last modified time | relevance | path

Searched refs:pwm_reg (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/pwm/
Dpwm_npcx.c39 struct pwm_reg *base;
56 struct pwm_reg *inst = config->base; in pwm_npcx_configure()
89 struct pwm_reg *inst = config->base; in pwm_npcx_set_cycles()
175 struct pwm_reg *const inst = config->base; in pwm_npcx_init()
224 .base = (struct pwm_reg *)DT_INST_REG_ADDR(inst), \
/Zephyr-latest/soc/nuvoton/npcx/common/
Dregisters.c47 NPCX_REG_SIZE_CHECK(pwm_reg, 0x00e);
48 NPCX_REG_OFFSET_CHECK(pwm_reg, PWMCTL, 0x004);
49 NPCX_REG_OFFSET_CHECK(pwm_reg, DCR, 0x006);
50 NPCX_REG_OFFSET_CHECK(pwm_reg, PWMCTLEX, 0x00c);
/Zephyr-latest/drivers/led/
Dis31fl3216a.c110 uint8_t pwm_reg = IS31FL3216A_REG_PWM_LAST - led; in is31fl3216a_led_set_brightness() local
119 status = is31fl3216a_write_reg(&config->i2c, pwm_reg, pwm_value); in is31fl3216a_led_set_brightness()
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_npcx.c101 struct pwm_reg *const inst = (struct pwm_reg *)(reg); in npcx_periph_pwm_drive_mode_configure()
/Zephyr-latest/drivers/regulator/
Dregulator_npm1300.c297 uint8_t pwm_reg; in set_buck_mode() local
303 pwm_reg = BUCK_OFFSET_PWM_SET; in set_buck_mode()
307 pwm_reg = BUCK_OFFSET_PWM_CLR; in set_buck_mode()
311 pwm_reg = BUCK_OFFSET_PWM_CLR; in set_buck_mode()
322 return mfd_npm1300_reg_write(config->mfd, BUCK_BASE, pwm_reg + (chan * 2U), 1U); in set_buck_mode()
/Zephyr-latest/soc/nuvoton/npcx/common/reg/
Dreg_def.h463 struct pwm_reg { struct