Home
last modified time | relevance | path

Searched refs:write_fn (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/spi/
Dspi-xilinx.c93 void (*write_fn)(u32, void __iomem *); member
121 xspi->write_fn(0, xspi->regs + XSPI_TXD_OFFSET); in xilinx_spi_tx()
137 xspi->write_fn(data, xspi->regs + XSPI_TXD_OFFSET); in xilinx_spi_tx()
168 xspi->write_fn(XIPIF_V123B_RESET_MASK, in xspi_init_hw()
173 xspi->write_fn(XSPI_INTR_TX_EMPTY, in xspi_init_hw()
176 xspi->write_fn(0, regs_base + XIPIF_V123B_DGIER_OFFSET); in xspi_init_hw()
178 xspi->write_fn(0xffff, regs_base + XSPI_SSR_OFFSET); in xspi_init_hw()
181 xspi->write_fn(XSPI_CR_MANUAL_SSELECT | XSPI_CR_MASTER_MODE | in xspi_init_hw()
194 xspi->write_fn(xspi->cs_inactive, xspi->regs + XSPI_SSR_OFFSET); in xilinx_spi_chipselect()
208 xspi->write_fn(cr, xspi->regs + XSPI_CR_OFFSET); in xilinx_spi_chipselect()
[all …]
/linux-6.1.9/arch/microblaze/kernel/
Dtimer.c49 static void (*write_fn)(u32, void __iomem *); variable
73 write_fn(read_fn(timer_baseaddr + TCSR0) & ~TCSR_ENT, in xilinx_timer0_stop()
82 write_fn(load_val, timer_baseaddr + TLR0); in xilinx_timer0_start_periodic()
85 write_fn(TCSR_LOAD, timer_baseaddr + TCSR0); in xilinx_timer0_start_periodic()
100 write_fn(TCSR_TINT|TCSR_ENIT|TCSR_ENT|TCSR_ARHT|TCSR_UDT, in xilinx_timer0_start_periodic()
109 write_fn(load_val, timer_baseaddr + TLR0); in xilinx_timer0_start_oneshot()
112 write_fn(TCSR_LOAD, timer_baseaddr + TCSR0); in xilinx_timer0_start_oneshot()
114 write_fn(TCSR_TINT|TCSR_ENIT|TCSR_ENT|TCSR_ARHT|TCSR_UDT, in xilinx_timer0_start_oneshot()
153 write_fn(read_fn(timer_baseaddr + TCSR0), timer_baseaddr + TCSR0); in timer_ack()
237 write_fn(read_fn(timer_baseaddr + TCSR1) & ~TCSR_ENT, in xilinx_clocksource_init()
[all …]
/linux-6.1.9/drivers/usb/gadget/udc/
Dudc-xilinx.c196 void (*write_fn)(void __iomem *, u32, u32); member
268 udc->write_fn(udc->addr, ep0->offset, epcfgreg); in xudc_wrstatus()
269 udc->write_fn(udc->addr, ep0->offset + XUSB_EP_BUF0COUNT_OFFSET, 0); in xudc_wrstatus()
270 udc->write_fn(udc->addr, XUSB_BUFFREADY_OFFSET, 1); in xudc_wrstatus()
291 udc->write_fn(udc->addr, ep->offset, epcfgreg); in xudc_epconfig()
294 udc->write_fn(udc->addr, ep->offset + XUSB_EP_BUF0COUNT_OFFSET, in xudc_epconfig()
296 udc->write_fn(udc->addr, ep->offset + XUSB_EP_BUF1COUNT_OFFSET, in xudc_epconfig()
299 udc->write_fn(udc->addr, XUSB_BUFFREADY_OFFSET, in xudc_epconfig()
302 udc->write_fn(udc->addr, XUSB_BUFFREADY_OFFSET, in xudc_epconfig()
331 udc->write_fn(udc->addr, XUSB_DMA_DSAR_ADDR_OFFSET, src); in xudc_start_dma()
[all …]