Home
last modified time | relevance | path

Searched refs:dw_readl (Results 1 – 4 of 4) sorted by relevance

/drivers/i2c/busses/
Di2c-designware-core.c176 static u32 dw_readl(struct dw_i2c_dev *dev, int offset) in dw_readl() function
272 if ((dw_readl(dev, DW_IC_ENABLE_STATUS) & 1) == enable) in __i2c_dw_enable_and_wait()
339 reg = dw_readl(dev, DW_IC_COMP_TYPE); in i2c_dw_init()
353 comp_param1 = dw_readl(dev, DW_IC_COMP_PARAM_1); in i2c_dw_init()
422 reg = dw_readl(dev, DW_IC_COMP_VERSION); in i2c_dw_init()
426 dev->sda_hold_time = dw_readl(dev, DW_IC_SDA_HOLD); in i2c_dw_init()
463 while (dw_readl(dev, DW_IC_STATUS) & DW_IC_STATUS_ACTIVITY) { in i2c_dw_wait_bus_not_busy()
484 ic_con = dw_readl(dev, DW_IC_CON); in i2c_dw_xfer_init()
513 dw_readl(dev, DW_IC_CLR_INTR); in i2c_dw_xfer_init()
570 tx_limit = dev->tx_fifo_depth - dw_readl(dev, DW_IC_TXFLR); in i2c_dw_xfer_msg()
[all …]
/drivers/spi/
Dspi-dw.c64 "CTRL0: \t\t0x%08x\n", dw_readl(dws, DW_SPI_CTRL0)); in dw_spi_show_regs()
66 "CTRL1: \t\t0x%08x\n", dw_readl(dws, DW_SPI_CTRL1)); in dw_spi_show_regs()
68 "SSIENR: \t0x%08x\n", dw_readl(dws, DW_SPI_SSIENR)); in dw_spi_show_regs()
70 "SER: \t\t0x%08x\n", dw_readl(dws, DW_SPI_SER)); in dw_spi_show_regs()
72 "BAUDR: \t\t0x%08x\n", dw_readl(dws, DW_SPI_BAUDR)); in dw_spi_show_regs()
74 "TXFTLR: \t0x%08x\n", dw_readl(dws, DW_SPI_TXFLTR)); in dw_spi_show_regs()
76 "RXFTLR: \t0x%08x\n", dw_readl(dws, DW_SPI_RXFLTR)); in dw_spi_show_regs()
78 "TXFLR: \t\t0x%08x\n", dw_readl(dws, DW_SPI_TXFLR)); in dw_spi_show_regs()
80 "RXFLR: \t\t0x%08x\n", dw_readl(dws, DW_SPI_RXFLR)); in dw_spi_show_regs()
82 "SR: \t\t0x%08x\n", dw_readl(dws, DW_SPI_SR)); in dw_spi_show_regs()
[all …]
Dspi-dw.h145 static inline u32 dw_readl(struct dw_spi *dws, u32 offset) in dw_readl() function
172 return dw_readl(dws, offset); in dw_read_io_reg()
204 new_mask = dw_readl(dws, DW_SPI_IMR) & ~mask; in spi_mask_intr()
213 new_mask = dw_readl(dws, DW_SPI_IMR) | mask; in spi_umask_intr()
Dspi-dw-mid.c101 u16 irq_status = dw_readl(dws, DW_SPI_ISR); in dma_transfer()
106 dw_readl(dws, DW_SPI_ICR); in dma_transfer()