Searched refs:pwm_num (Results 1 – 2 of 2) sorted by relevance
25 #define pwm_base_addr(pwm_num) (HI_PWM_REG_BASE + (pwm_num) * PWM_BASE_ADDR_STEP) argument
35 #define PWM_NUM_2_CONFIG(pwm_num, unit, signal_port) \ argument37 (unit) = (pwm_num) / UNIT_MAX_OUTPUT; \38 (signal_port) = (pwm_num) % UNIT_MAX_OUTPUT; \