Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/pci/mantis/
Dmantis_hif.c89 mmwrite(hif_addr, MANTIS_GPIF_BRADDR); in mantis_hif_read_mem()
90 mmwrite(count, MANTIS_GPIF_BRBYTES); in mantis_hif_read_mem()
92 mmwrite(hif_addr | MANTIS_GPIF_HIFRDWRN, MANTIS_GPIF_ADDR); in mantis_hif_read_mem()
119 mmwrite(slot->slave_cfg, MANTIS_GPIF_CFGSLA); /* Slot0 alone for now */ in mantis_hif_write_mem()
120 mmwrite(hif_addr, MANTIS_GPIF_ADDR); in mantis_hif_write_mem()
121 mmwrite(data, MANTIS_GPIF_DOUT); in mantis_hif_write_mem()
146 mmwrite(hif_addr, MANTIS_GPIF_BRADDR); in mantis_hif_read_iom()
147 mmwrite(1, MANTIS_GPIF_BRBYTES); in mantis_hif_read_iom()
149 mmwrite(hif_addr | MANTIS_GPIF_HIFRDWRN, MANTIS_GPIF_ADDR); in mantis_hif_read_iom()
177 mmwrite(hif_addr, MANTIS_GPIF_ADDR); in mantis_hif_write_iom()
[all …]
Dmantis_pcmcia.c39 mmwrite(0xda000000, MANTIS_CARD_RESET); in mantis_event_cam_plugin()
43 mmwrite(gpif_irqcfg, MANTIS_GPIF_IRQCFG); in mantis_event_cam_plugin()
63 mmwrite(0x00da0000, MANTIS_CARD_RESET); in mantis_event_cam_unplug()
67 mmwrite(gpif_irqcfg, MANTIS_GPIF_IRQCFG); in mantis_event_cam_unplug()
86 mmwrite(card_stat | MANTIS_MASK_PLUGOUT, MANTIS_GPIF_IRQCFG); in mantis_pcmcia_init()
93 mmwrite(card_stat | MANTIS_MASK_PLUGIN, MANTIS_GPIF_IRQCFG); in mantis_pcmcia_init()
107mmwrite(mmread(MANTIS_GPIF_STATUS) & (~MANTIS_CARD_PLUGOUT | ~MANTIS_CARD_PLUGIN), MANTIS_GPIF_STA… in mantis_pcmcia_exit()
Dmantis_uart.c114 mmwrite((mmread(MANTIS_UART_CTL) | (params->parity & 0x3)), MANTIS_UART_CTL); in mantis_uart_setup()
138 mmwrite(reg, 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_ioc.c79 mmwrite(mantis->gpio_status, MANTIS_GPIF_ADDR); in mantis_gpio_set_bits()
80 mmwrite(0x00, MANTIS_GPIF_DOUT); in mantis_gpio_set_bits()
93 mmwrite(reg, MANTIS_CONTROL); in mantis_stream_control()
95 mmwrite(reg, MANTIS_CONTROL); in mantis_stream_control()
101 mmwrite(reg, MANTIS_CONTROL); in mantis_stream_control()
103 mmwrite(reg, MANTIS_CONTROL); in mantis_stream_control()
Dmantis_dma.c129 mmwrite(0, MANTIS_DMA_CTL); in mantis_dma_init()
174 mmwrite(mantis->risc_dma, MANTIS_RISC_START); in mantis_dma_start()
175 mmwrite(mmread(MANTIS_GPIF_ADDR) | MANTIS_GPIF_HIFRDWRN, MANTIS_GPIF_ADDR); in mantis_dma_start()
177 mmwrite(0, MANTIS_DMA_CTL); in mantis_dma_start()
182 mmwrite(MANTIS_FIFO_EN | MANTIS_DCAP_EN 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()
Dmantis_i2c.c42 mmwrite(MANTIS_INT_I2CDONE, MANTIS_INT_STAT); in mantis_i2c_read()
43 mmwrite(rxd, MANTIS_I2CDATA_CTL); in mantis_i2c_read()
90 mmwrite(MANTIS_INT_I2CDONE, MANTIS_INT_STAT); in mantis_i2c_write()
91 mmwrite(txd, MANTIS_I2CDATA_CTL); in mantis_i2c_write()
146 mmwrite(txd, MANTIS_I2CDATA_CTL); in mantis_i2c_xfer()
234 mmwrite(intstat, MANTIS_INT_STAT); in mantis_i2c_init()
Dmantis_common.h48 #define mmwrite(dat, addr) mwrite((dat), (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_evm.c39 mmwrite(0xdada0000, MANTIS_CARD_RESET); in mantis_hifevm_work()
48 mmwrite(0xdada0000, MANTIS_CARD_RESET); in mantis_hifevm_work()
Dhopper_cards.c79 mmwrite(rst_stat, MANTIS_GPIF_STATUS); in hopper_irq_handler()
96 mmwrite(mmread(MANTIS_INT_MASK) & ~MANTIS_INT_IRQ1, in hopper_irq_handler()
125 mmwrite(stat, MANTIS_INT_STAT); in hopper_irq_handler()
Dmantis_cards.c88 mmwrite(rst_stat, MANTIS_GPIF_STATUS); in mantis_irq_handler()
105 mmwrite(mmread(MANTIS_INT_MASK) & ~MANTIS_INT_IRQ1, in mantis_irq_handler()
134 mmwrite(stat, MANTIS_INT_STAT); in mantis_irq_handler()
Dmantis_ca.c87 mmwrite(0xda, MANTIS_PCMCIA_RESET); /* Leading edge assert */ in mantis_ca_slot_reset()
89 mmwrite(0x00, MANTIS_PCMCIA_RESET); /* Trailing edge deassert */ in mantis_ca_slot_reset()
Dmantis_vp1034.c57 mmwrite(0x00, MANTIS_GPIF_DOUT); in vp1034_set_voltage()