Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/pci/mantis/
Dmantis_uart.c72 int data = mmread(MANTIS_UART_RXD); in mantis_uart_read()
97 stat = mmread(MANTIS_UART_STAT); in mantis_uart_work()
111 stat = mmread(MANTIS_UART_STAT); in mantis_uart_work()
126 mmwrite((mmread(MANTIS_UART_CTL) | (params->parity & 0x3)), MANTIS_UART_CTL); in mantis_uart_setup()
128 reg = mmread(MANTIS_UART_BAUD); in mantis_uart_setup()
170 mmwrite(mmread(MANTIS_UART_CTL) & 0xffef, MANTIS_UART_CTL); in mantis_uart_init()
175 mmwrite((mmread(MANTIS_UART_BAUD) | (config->bytes << 8)), MANTIS_UART_BAUD); in mantis_uart_init()
178 mmwrite((mmread(MANTIS_UART_CTL) | MANTIS_UART_RXFLUSH), MANTIS_UART_CTL); in mantis_uart_init()
181 mmwrite(mmread(MANTIS_UART_CTL) | MANTIS_UART_RXINT, MANTIS_UART_CTL); in mantis_uart_init()
195 mmwrite(mmread(MANTIS_UART_CTL) & 0xffef, MANTIS_UART_CTL); in mantis_uart_exit()
Dmantis_i2c.c59 stat = mmread(MANTIS_INT_STAT); in mantis_i2c_read()
68 stat = mmread(MANTIS_INT_STAT); in mantis_i2c_read()
75 rxd = mmread(MANTIS_I2CDATA_CTL); in mantis_i2c_read()
107 stat = mmread(MANTIS_INT_STAT); in mantis_i2c_write()
116 stat = mmread(MANTIS_INT_STAT); in mantis_i2c_write()
161 stat = mmread(MANTIS_INT_STAT); in mantis_i2c_xfer()
170 data = mmread(MANTIS_I2CDATA_CTL); in mantis_i2c_xfer()
244 intstat = mmread(MANTIS_INT_STAT); in mantis_i2c_init()
245 mmread(MANTIS_INT_MASK); in mantis_i2c_init()
Dmantis_pcmcia.c52 gpif_irqcfg = mmread(MANTIS_GPIF_IRQCFG); in mantis_event_cam_plugin()
76 gpif_irqcfg = mmread(MANTIS_GPIF_IRQCFG); in mantis_event_cam_unplug()
93 gpif_stat = mmread(MANTIS_GPIF_STATUS); in mantis_pcmcia_init()
94 card_stat = mmread(MANTIS_GPIF_IRQCFG); in mantis_pcmcia_init()
119 …mmwrite(mmread(MANTIS_GPIF_STATUS) & (~MANTIS_CARD_PLUGOUT | ~MANTIS_CARD_PLUGIN), MANTIS_GPIF_STA… in mantis_pcmcia_exit()
Dmantis_hif.c75 opdone = (mmread(MANTIS_GPIF_STATUS) & MANTIS_SBUF_OPDONE); in mantis_hif_write_wait()
111 data = mmread(MANTIS_GPIF_DIN); in mantis_hif_read_mem()
168 data = mmread(MANTIS_GPIF_DIN); in mantis_hif_read_iom()
214 irqcfg = mmread(MANTIS_GPIF_IRQCFG); in mantis_hif_init()
235 irqcfg = mmread(MANTIS_GPIF_IRQCFG); in mantis_hif_exit()
Dmantis_dma.c187 mmwrite(mmread(MANTIS_GPIF_ADDR) | MANTIS_GPIF_HIFRDWRN, MANTIS_GPIF_ADDR); in mantis_dma_start()
203 mmwrite((mmread(MANTIS_GPIF_ADDR) & (~(MANTIS_GPIF_HIFRDWRN))), MANTIS_GPIF_ADDR); in mantis_dma_stop()
205 mmwrite((mmread(MANTIS_DMA_CTL) & ~(MANTIS_FIFO_EN | in mantis_dma_stop()
209 mmwrite(mmread(MANTIS_INT_STAT), MANTIS_INT_STAT); in mantis_dma_stop()
Dhopper_cards.c81 stat = mmread(MANTIS_INT_STAT); in hopper_irq_handler()
82 mask = mmread(MANTIS_INT_MASK); in hopper_irq_handler()
91 rst_stat = mmread(MANTIS_GPIF_STATUS); in hopper_irq_handler()
110 mmwrite(mmread(MANTIS_INT_MASK) & ~MANTIS_INT_IRQ1, in hopper_irq_handler()
Dmantis_cards.c91 stat = mmread(MANTIS_INT_STAT); in mantis_irq_handler()
92 mask = mmread(MANTIS_INT_MASK); in mantis_irq_handler()
101 rst_stat = mmread(MANTIS_GPIF_STATUS); in mantis_irq_handler()
120 mmwrite(mmread(MANTIS_INT_MASK) & ~MANTIS_INT_IRQ1, in mantis_irq_handler()
Dmantis_common.h61 #define mmread(addr) mread(mantis->mmio + (addr)) macro
191 mmwrite(mmread(MANTIS_INT_MASK) & ~mask, MANTIS_INT_MASK); in mantis_mask_ints()
200 mmwrite(mmread(MANTIS_INT_MASK) | mask, MANTIS_INT_MASK); in mantis_unmask_ints()
Dmantis_ioc.c84 cur = mmread(MANTIS_GPIF_ADDR); in mantis_gpio_set_bits()
100 reg = mmread(MANTIS_CONTROL); in mantis_stream_control()
Dmantis_core.c182 cur = mmread(MANTIS_GPIF_ADDR); in gpio_set_bits()
198 reg = mmread(0x28); in mantis_set_direction()
Dmantis_evm.c46 gpif_stat = mmread(MANTIS_GPIF_STATUS); in mantis_hifevm_work()