Searched refs:tcbpwmc (Results 1 – 1 of 1) sorted by relevance
75 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_set_polarity() local76 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_set_polarity()86 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_request() local95 ret = clk_prepare_enable(tcbpwmc->clk); in atmel_tcb_pwm_request()106 spin_lock(&tcbpwmc->lock); in atmel_tcb_pwm_request()107 regmap_read(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), &cmr); in atmel_tcb_pwm_request()114 regmap_read(tcbpwmc->regmap, in atmel_tcb_pwm_request()115 ATMEL_TC_REG(tcbpwmc->channel, RA), in atmel_tcb_pwm_request()118 regmap_read(tcbpwmc->regmap, in atmel_tcb_pwm_request()119 ATMEL_TC_REG(tcbpwmc->channel, RB), in atmel_tcb_pwm_request()[all …]