Searched refs:mmread (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/media/pci/mantis/ |
D | mantis_uart.c | 72 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()
|
D | mantis_i2c.c | 59 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()
|
D | mantis_pcmcia.c | 52 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()
|
D | mantis_hif.c | 75 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()
|
D | mantis_dma.c | 187 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()
|
D | hopper_cards.c | 81 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()
|
D | mantis_cards.c | 91 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()
|
D | mantis_common.h | 61 #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()
|
D | mantis_ioc.c | 84 cur = mmread(MANTIS_GPIF_ADDR); in mantis_gpio_set_bits() 100 reg = mmread(MANTIS_CONTROL); in mantis_stream_control()
|
D | mantis_core.c | 182 cur = mmread(MANTIS_GPIF_ADDR); in gpio_set_bits() 198 reg = mmread(0x28); in mantis_set_direction()
|
D | mantis_evm.c | 46 gpif_stat = mmread(MANTIS_GPIF_STATUS); in mantis_hifevm_work()
|