Searched refs:NPCM7XX_PWM_MAX_CHN_NUM_IN_A_MODULE (Results 1 – 1 of 1) sorted by relevance
50 #define NPCM7XX_PWM_MAX_CHN_NUM_IN_A_MODULE 4 macro217 u32 pwm_ch = (channel % NPCM7XX_PWM_MAX_CHN_NUM_IN_A_MODULE); in npcm7xx_pwm_config_set()218 u32 module = (channel / NPCM7XX_PWM_MAX_CHN_NUM_IN_A_MODULE); in npcm7xx_pwm_config_set()512 u32 pmw_ch = (channel % NPCM7XX_PWM_MAX_CHN_NUM_IN_A_MODULE); in npcm7xx_read_pwm()513 u32 module = (channel / NPCM7XX_PWM_MAX_CHN_NUM_IN_A_MODULE); in npcm7xx_read_pwm()720 for (ch = 0; ch < NPCM7XX_PWM_MAX_CHN_NUM_IN_A_MODULE; ch++) { in npcm7xx_pwm_init()949 data->pwm_modules = data->info->pwm_max_channel / NPCM7XX_PWM_MAX_CHN_NUM_IN_A_MODULE; in npcm7xx_pwm_fan_probe()