Lines Matching defs:regs
83 static uint8_t bbled_get_pwm_size(struct mec_bbled_regs *regs) in bbled_get_pwm_size()
88 static void bbled_set_pwm_size(struct mec_bbled_regs *regs, uint8_t pwm_width) in bbled_set_pwm_size()
94 static void bbled_set_clk_src(struct mec_bbled_regs *regs, uint8_t use_sys_clk) in bbled_set_clk_src()
103 static void bbled_set_wdt_reload(struct mec_bbled_regs *regs, uint32_t bbcfg) in bbled_set_wdt_reload()
111 static void bbled_set_mode(struct mec_bbled_regs *regs, uint8_t mode) in bbled_set_mode()
117 static uint8_t bbled_get_mode(struct mec_bbled_regs *regs) in bbled_get_mode()
124 bool mec_hal_bbled_is_valid(struct mec_bbled_regs *regs) in mec_hal_bbled_is_valid()
133 void mec_hal_bbled_synchronize_enable(struct mec_bbled_regs *regs, uint8_t enable) in mec_hal_bbled_synchronize_enable()
142 bool mec_hal_bbled_is_off(struct mec_bbled_regs *regs) in mec_hal_bbled_is_off()
151 void mec_hal_bbled_asym_enable(struct mec_bbled_regs *regs, uint8_t enable) in mec_hal_bbled_asym_enable()
161 int mec_hal_bbled_init(struct mec_bbled_regs *regs, uint32_t bbled_config) in mec_hal_bbled_init()
195 int mec_hal_bbled_girq_ctrl(struct mec_bbled_regs *regs, uint8_t enable) in mec_hal_bbled_girq_ctrl()
208 int mec_hal_bbled_girq_status_clr(struct mec_bbled_regs *regs) in mec_hal_bbled_girq_status_clr()
221 void mec_hal_bbled_enable_update(struct mec_bbled_regs *regs) in mec_hal_bbled_enable_update()
226 bool mec_hal_bbled_enable_is_update(struct mec_bbled_regs *regs) in mec_hal_bbled_enable_is_update()
235 uint32_t mec_hal_bbled_clk_freq(struct mec_bbled_regs *regs) in mec_hal_bbled_clk_freq()
243 int mec_hal_bbled_breathe_pwm_width(struct mec_bbled_regs *regs, uint8_t pwm_width) in mec_hal_bbled_breathe_pwm_width()
261 uint8_t mec_hal_bbled_breathe_pwm_width_get(struct mec_bbled_regs *regs) in mec_hal_bbled_breathe_pwm_width_get()
266 int mec_hal_bbled_blink_clk_sel(struct mec_bbled_regs *regs, uint8_t blink_clk_sel) in mec_hal_bbled_blink_clk_sel()
283 uint8_t mec_hal_bbled_blink_clk_sel_get(struct mec_bbled_regs *regs) in mec_hal_bbled_blink_clk_sel_get()
294 uint32_t mec_hal_bbled_blink_pwm_freq_get(struct mec_bbled_regs *regs) in mec_hal_bbled_blink_pwm_freq_get()
313 int mec_hal_bbled_mode(struct mec_bbled_regs *regs, uint8_t mode) in mec_hal_bbled_mode()
324 uint8_t mec_hal_bbled_mode_get(struct mec_bbled_regs *regs) in mec_hal_bbled_mode_get()
329 int mec_hal_bbled_breathe_config(struct mec_bbled_regs *regs, struct mec_bbled_breathe_config *br_c… in mec_hal_bbled_breathe_config()
357 int mec_hal_bbled_breathe_config_get(struct mec_bbled_regs *regs, in mec_hal_bbled_breathe_config_get()
382 int mec_hal_bbled_blink_config(struct mec_bbled_regs *regs, struct mec_bbled_blink_config *bl_cfg) in mec_hal_bbled_blink_config()
403 int mec_hal_bbled_blink_config_get(struct mec_bbled_regs *regs, struct mec_bbled_blink_config *bl_c… in mec_hal_bbled_blink_config_get()