Searched refs:tiadc_writel (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/adc/ |
H A D | ti_am335x_adc.c | 59 static void tiadc_writel(struct tiadc_device *adc, unsigned int reg, in tiadc_writel() function 135 tiadc_writel(adc_dev, REG_STEPCONFIG(steps), in tiadc_step_config() 140 tiadc_writel(adc_dev, REG_STEPDELAY(steps), in tiadc_step_config() 166 tiadc_writel(adc_dev, REG_CTRL, config); in tiadc_irq_h() 167 tiadc_writel(adc_dev, REG_IRQSTATUS, in tiadc_irq_h() 180 tiadc_writel(adc_dev, REG_CTRL, (config | CNTRLREG_SSENB)); in tiadc_irq_h() 184 tiadc_writel(adc_dev, REG_IRQCLR, IRQENB_FIFO1THRES); in tiadc_irq_h() 207 tiadc_writel(adc_dev, REG_IRQSTATUS, IRQENB_FIFO1THRES); in tiadc_worker_h() 208 tiadc_writel(adc_dev, REG_IRQENABLE, IRQENB_FIFO1THRES); in tiadc_worker_h() 269 tiadc_writel(adc_dev, REG_FIFO1THR, dma->fifo_thresh); in tiadc_start_dma() [all …]
|