Home
last modified time | relevance | path

Searched refs:prepost_bits (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/comedi/drivers/
H A Dcb_pcidas64.c377 static inline unsigned int dma_chain_flag_bits(u16 prepost_bits) in dma_chain_flag_bits() argument
379 return (prepost_bits >> 6) & 0x3; in dma_chain_flag_bits()
382 static inline unsigned int adc_upper_read_ptr_code(u16 prepost_bits) in adc_upper_read_ptr_code() argument
384 return (prepost_bits >> 12) & 0x3; in adc_upper_read_ptr_code()
387 static inline unsigned int adc_upper_write_ptr_code(u16 prepost_bits) in adc_upper_write_ptr_code() argument
389 return (prepost_bits >> 14) & 0x3; in adc_upper_write_ptr_code()
2677 u16 prepost_bits; in pio_drain_ai_fifo_16() local
2694 prepost_bits = readw(devpriv->main_iobase + PREPOST_REG); in pio_drain_ai_fifo_16()
2700 read_segment = adc_upper_read_ptr_code(prepost_bits); in pio_drain_ai_fifo_16()
2701 write_segment = adc_upper_write_ptr_code(prepost_bits); in pio_drain_ai_fifo_16()