Lines Matching refs:ucb1x00_reg_write
58 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_io_set_dir()
86 ucb1x00_reg_write(ucb, UCB_IO_DATA, ucb->io_out); in ucb1x00_io_write()
119 ucb1x00_reg_write(ucb, UCB_IO_DATA, ucb->io_out); in ucb1x00_gpio_set()
144 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_gpio_direction_input()
167 ucb1x00_reg_write(ucb, UCB_IO_DATA, ucb->io_out); in ucb1x00_gpio_direction_output()
171 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_gpio_direction_output()
218 ucb1x00_reg_write(ucb, UCB_ADC_CR, ucb->adc_cr); in ucb1x00_adc_enable()
244 ucb1x00_reg_write(ucb, UCB_ADC_CR, ucb->adc_cr | adc_channel); in ucb1x00_adc_read()
245 ucb1x00_reg_write(ucb, UCB_ADC_CR, ucb->adc_cr | adc_channel | UCB_ADC_START); in ucb1x00_adc_read()
268 ucb1x00_reg_write(ucb, UCB_ADC_CR, ucb->adc_cr); in ucb1x00_adc_disable()
289 ucb1x00_reg_write(ucb, UCB_IE_CLEAR, isr); in ucb1x00_irq()
290 ucb1x00_reg_write(ucb, UCB_IE_CLEAR, 0); in ucb1x00_irq()
302 ucb1x00_reg_write(ucb, UCB_IE_RIS, ucb->irq_ris_enbl & in ucb1x00_irq_update()
305 ucb1x00_reg_write(ucb, UCB_IE_FAL, ucb->irq_fal_enbl & in ucb1x00_irq_update()
352 ucb1x00_reg_write(ucb, UCB_IE_RIS, ucb->irq_ris_enbl & in ucb1x00_irq_set_type()
354 ucb1x00_reg_write(ucb, UCB_IE_FAL, ucb->irq_fal_enbl & in ucb1x00_irq_set_type()
450 ucb1x00_reg_write(ucb, UCB_IE_RIS, UCB_IE_ADC); in ucb1x00_detect_irq()
451 ucb1x00_reg_write(ucb, UCB_IE_FAL, UCB_IE_ADC); in ucb1x00_detect_irq()
452 ucb1x00_reg_write(ucb, UCB_IE_CLEAR, 0xffff); in ucb1x00_detect_irq()
453 ucb1x00_reg_write(ucb, UCB_IE_CLEAR, 0); in ucb1x00_detect_irq()
458 ucb1x00_reg_write(ucb, UCB_ADC_CR, UCB_ADC_ENA); in ucb1x00_detect_irq()
459 ucb1x00_reg_write(ucb, UCB_ADC_CR, UCB_ADC_ENA | UCB_ADC_START); in ucb1x00_detect_irq()
465 ucb1x00_reg_write(ucb, UCB_ADC_CR, 0); in ucb1x00_detect_irq()
470 ucb1x00_reg_write(ucb, UCB_IE_RIS, 0); in ucb1x00_detect_irq()
471 ucb1x00_reg_write(ucb, UCB_IE_FAL, 0); in ucb1x00_detect_irq()
472 ucb1x00_reg_write(ucb, UCB_IE_CLEAR, 0xffff); in ucb1x00_detect_irq()
473 ucb1x00_reg_write(ucb, UCB_IE_CLEAR, 0); in ucb1x00_detect_irq()
681 ucb1x00_reg_write(ucb, UCB_IE_RIS, ucb->irq_ris_enbl & in ucb1x00_suspend()
683 ucb1x00_reg_write(ucb, UCB_IE_FAL, ucb->irq_fal_enbl & in ucb1x00_suspend()
705 ucb1x00_reg_write(ucb, UCB_IO_DATA, ucb->io_out); in ucb1x00_resume()
706 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_resume()
712 ucb1x00_reg_write(ucb, UCB_IE_RIS, ucb->irq_ris_enbl & in ucb1x00_resume()
714 ucb1x00_reg_write(ucb, UCB_IE_FAL, ucb->irq_fal_enbl & in ucb1x00_resume()