Searched refs:mmwrite (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/drivers/media/pci/mantis/ |
D | mantis_hif.c | 89 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 …]
|
D | mantis_pcmcia.c | 39 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() 107 …mmwrite(mmread(MANTIS_GPIF_STATUS) & (~MANTIS_CARD_PLUGOUT | ~MANTIS_CARD_PLUGIN), MANTIS_GPIF_STA… in mantis_pcmcia_exit()
|
D | mantis_uart.c | 114 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()
|
D | mantis_ioc.c | 79 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()
|
D | mantis_dma.c | 129 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()
|
D | mantis_i2c.c | 42 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()
|
D | mantis_common.h | 48 #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()
|
D | mantis_evm.c | 39 mmwrite(0xdada0000, MANTIS_CARD_RESET); in mantis_hifevm_work() 48 mmwrite(0xdada0000, MANTIS_CARD_RESET); in mantis_hifevm_work()
|
D | hopper_cards.c | 79 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()
|
D | mantis_cards.c | 88 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()
|
D | mantis_ca.c | 87 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()
|
D | mantis_vp1034.c | 57 mmwrite(0x00, MANTIS_GPIF_DOUT); in vp1034_set_voltage()
|