Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/pci/mantis/
Dmantis_uart.c60 int data = mmread(MANTIS_UART_RXD); in mantis_uart_read()
85 stat = mmread(MANTIS_UART_STAT); in mantis_uart_work()
99 stat = mmread(MANTIS_UART_STAT); in mantis_uart_work()
114 mmwrite((mmread(MANTIS_UART_CTL) | (params->parity & 0x3)), MANTIS_UART_CTL); in mantis_uart_setup()
116 reg = mmread(MANTIS_UART_BAUD); in mantis_uart_setup()
158 mmwrite(mmread(MANTIS_UART_CTL) & 0xffef, MANTIS_UART_CTL); in mantis_uart_init()
163 mmwrite((mmread(MANTIS_UART_BAUD) | (config->bytes << 8)), MANTIS_UART_BAUD); in mantis_uart_init()
166 mmwrite((mmread(MANTIS_UART_CTL) | MANTIS_UART_RXFLUSH), MANTIS_UART_CTL); in mantis_uart_init()
169 mmwrite(mmread(MANTIS_UART_CTL) | MANTIS_UART_RXINT, MANTIS_UART_CTL); in mantis_uart_init()
183 mmwrite(mmread(MANTIS_UART_CTL) & 0xffef, MANTIS_UART_CTL); in mantis_uart_exit()
Dmantis_i2c.c47 stat = mmread(MANTIS_INT_STAT); in mantis_i2c_read()
56 stat = mmread(MANTIS_INT_STAT); in mantis_i2c_read()
63 rxd = mmread(MANTIS_I2CDATA_CTL); in mantis_i2c_read()
95 stat = mmread(MANTIS_INT_STAT); in mantis_i2c_write()
104 stat = mmread(MANTIS_INT_STAT); in mantis_i2c_write()
149 stat = mmread(MANTIS_INT_STAT); in mantis_i2c_xfer()
158 data = mmread(MANTIS_I2CDATA_CTL); in mantis_i2c_xfer()
232 intstat = mmread(MANTIS_INT_STAT); in mantis_i2c_init()
233 mmread(MANTIS_INT_MASK); in mantis_i2c_init()
Dmantis_pcmcia.c40 gpif_irqcfg = mmread(MANTIS_GPIF_IRQCFG); in mantis_event_cam_plugin()
64 gpif_irqcfg = mmread(MANTIS_GPIF_IRQCFG); in mantis_event_cam_unplug()
81 gpif_stat = mmread(MANTIS_GPIF_STATUS); in mantis_pcmcia_init()
82 card_stat = mmread(MANTIS_GPIF_IRQCFG); in mantis_pcmcia_init()
107 …mmwrite(mmread(MANTIS_GPIF_STATUS) & (~MANTIS_CARD_PLUGOUT | ~MANTIS_CARD_PLUGIN), MANTIS_GPIF_STA… in mantis_pcmcia_exit()
Dmantis_hif.c63 opdone = (mmread(MANTIS_GPIF_STATUS) & MANTIS_SBUF_OPDONE); in mantis_hif_write_wait()
99 data = mmread(MANTIS_GPIF_DIN); in mantis_hif_read_mem()
156 data = mmread(MANTIS_GPIF_DIN); in mantis_hif_read_iom()
202 irqcfg = mmread(MANTIS_GPIF_IRQCFG); in mantis_hif_init()
223 irqcfg = mmread(MANTIS_GPIF_IRQCFG); in mantis_hif_exit()
Dmantis_dma.c175 mmwrite(mmread(MANTIS_GPIF_ADDR) | MANTIS_GPIF_HIFRDWRN, MANTIS_GPIF_ADDR); in mantis_dma_start()
191 mmwrite((mmread(MANTIS_GPIF_ADDR) & (~(MANTIS_GPIF_HIFRDWRN))), MANTIS_GPIF_ADDR); in mantis_dma_stop()
193 mmwrite((mmread(MANTIS_DMA_CTL) & ~(MANTIS_FIFO_EN | in mantis_dma_stop()
197 mmwrite(mmread(MANTIS_INT_STAT), MANTIS_INT_STAT); in mantis_dma_stop()
Dhopper_cards.c67 stat = mmread(MANTIS_INT_STAT); in hopper_irq_handler()
68 mask = mmread(MANTIS_INT_MASK); in hopper_irq_handler()
77 rst_stat = mmread(MANTIS_GPIF_STATUS); in hopper_irq_handler()
96 mmwrite(mmread(MANTIS_INT_MASK) & ~MANTIS_INT_IRQ1, in hopper_irq_handler()
Dmantis_cards.c76 stat = mmread(MANTIS_INT_STAT); in mantis_irq_handler()
77 mask = mmread(MANTIS_INT_MASK); in mantis_irq_handler()
86 rst_stat = mmread(MANTIS_GPIF_STATUS); in mantis_irq_handler()
105 mmwrite(mmread(MANTIS_INT_MASK) & ~MANTIS_INT_IRQ1, in mantis_irq_handler()
Dmantis_common.h49 #define mmread(addr) mread(mantis->mmio + (addr)) macro
179 mmwrite(mmread(MANTIS_INT_MASK) & ~mask, MANTIS_INT_MASK); in mantis_mask_ints()
188 mmwrite(mmread(MANTIS_INT_MASK) | mask, MANTIS_INT_MASK); in mantis_unmask_ints()
Dmantis_ioc.c72 cur = mmread(MANTIS_GPIF_ADDR); in mantis_gpio_set_bits()
88 reg = mmread(MANTIS_CONTROL); in mantis_stream_control()
Dmantis_evm.c34 gpif_stat = mmread(MANTIS_GPIF_STATUS); in mantis_hifevm_work()