Searched refs:dw_writel (Results 1 – 3 of 3) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-designware-core.c | 176 void dw_writel(struct dw_i2c_dev *dev, u32 b, int offset) in dw_writel() function 269 dw_writel(dev, 0, DW_IC_ENABLE); in i2c_dw_init() 283 dw_writel(dev, hcnt, DW_IC_SS_SCL_HCNT); in i2c_dw_init() 284 dw_writel(dev, lcnt, DW_IC_SS_SCL_LCNT); in i2c_dw_init() 297 dw_writel(dev, hcnt, DW_IC_FS_SCL_HCNT); in i2c_dw_init() 298 dw_writel(dev, lcnt, DW_IC_FS_SCL_LCNT); in i2c_dw_init() 302 dw_writel(dev, dev->tx_fifo_depth - 1, DW_IC_TX_TL); in i2c_dw_init() 303 dw_writel(dev, 0, DW_IC_RX_TL); in i2c_dw_init() 306 dw_writel(dev, dev->master_cfg , DW_IC_CON); in i2c_dw_init() 336 dw_writel(dev, 0, DW_IC_ENABLE); in i2c_dw_xfer_init() [all …]
|
D | i2c-designware-core.h | 94 extern void dw_writel(struct dw_i2c_dev *dev, u32 b, int offset);
|
/drivers/spi/ |
D | spi-dw.h | 167 static inline void dw_writel(struct dw_spi *dws, u32 offset, u32 val) in dw_writel() function 184 dw_writel(dws, DW_SPI_SSIENR, (enable ? 1 : 0)); in spi_enable_chip() 189 dw_writel(dws, DW_SPI_BAUDR, div); in spi_set_clk() 200 dw_writel(dws, DW_SPI_SER, 1 << cs); in spi_chip_sel() 209 dw_writel(dws, DW_SPI_IMR, new_mask); in spi_mask_intr() 218 dw_writel(dws, DW_SPI_IMR, new_mask); in spi_umask_intr()
|