Lines Matching refs:fsp_ctrl

39 	gpt_instance_ctrl_t fsp_ctrl;  member
142 if ((data->fsp_ctrl.variant == TIMER_VARIANT_16_BIT && period_cycles > UINT16_MAX) || in pwm_renesas_ra_set_cycles()
143 (data->fsp_ctrl.variant == TIMER_VARIANT_32_BIT && period_cycles > UINT32_MAX)) { in pwm_renesas_ra_set_cycles()
158 pwm_renesas_ra_apply_gtior_config(&data->fsp_ctrl, &data->fsp_cfg); in pwm_renesas_ra_set_cycles()
161 err = R_GPT_Stop(&data->fsp_ctrl); in pwm_renesas_ra_set_cycles()
167 err = R_GPT_PeriodSet(&data->fsp_ctrl, period_cycles); in pwm_renesas_ra_set_cycles()
173 err = R_GPT_DutyCycleSet(&data->fsp_ctrl, pulse, pin); in pwm_renesas_ra_set_cycles()
179 err = R_GPT_Start(&data->fsp_ctrl); in pwm_renesas_ra_set_cycles()
202 err = R_GPT_InfoGet(&data->fsp_ctrl, &info); in pwm_renesas_ra_get_cycles_per_sec()
334 err = R_GPT_Enable(&data->fsp_ctrl); in pwm_renesas_ra_enable_capture()
340 enable_irq(data->fsp_cfg.cycle_end_irq, data->fsp_cfg.cycle_end_irq, &data->fsp_ctrl); in pwm_renesas_ra_enable_capture()
341 enable_irq(data->extend_cfg.capture_a_irq, data->extend_cfg.capture_a_ipl, &data->fsp_ctrl); in pwm_renesas_ra_enable_capture()
368 err = R_GPT_Disable(&data->fsp_ctrl); in pwm_renesas_ra_disable_capture()
374 err = R_GPT_Stop(&data->fsp_ctrl); in pwm_renesas_ra_disable_capture()
380 err = R_GPT_Reset(&data->fsp_ctrl); in pwm_renesas_ra_disable_capture()
394 (void)R_GPT_InfoGet(&data->fsp_ctrl, &info); in fsp_callback()
402 if (data->fsp_ctrl.variant == TIMER_VARIANT_16_BIT) { in fsp_callback()
480 err = R_GPT_Open(&data->fsp_ctrl, &data->fsp_cfg); in pwm_renesas_ra_init()