Lines Matching refs:rtsx_write

81 		int err = rtsx_write((sc), (reg), 0xff, (val));	\
88 int err = rtsx_write((sc), (reg), (bits), 0); \
95 int err = rtsx_write((sc), (reg), (bits), 0xff);\
102 int err = rtsx_write((sc), (reg), (mask), (bits));\
127 static int rtsx_write(struct rtsx_softc *, uint16_t, uint8_t, uint8_t);
621 int err = rtsx_write(sc, RTSX_LDO_VCC_CFG1, RTSX_LDO_VCC_TUNE_MASK, in rtsx_bus_power_on()
859 error = rtsx_write(sc, RTSX_SD_CFG1, RTSX_CLK_DIVIDE_128, 0xff); in rtsx_bus_clock()
867 error = rtsx_write(sc, RTSX_SD_CFG1, RTSX_CLK_DIVIDE_MASK, 0); in rtsx_bus_clock()
875 error = rtsx_write(sc, RTSX_SD_CFG1, RTSX_CLK_DIVIDE_MASK, 0); in rtsx_bus_clock()
883 error = rtsx_write(sc, RTSX_SD_CFG1, RTSX_CLK_DIVIDE_MASK, 0); in rtsx_bus_clock()
891 error = rtsx_write(sc, RTSX_SD_CFG1, RTSX_CLK_DIVIDE_MASK, 0); in rtsx_bus_clock()
899 error = rtsx_write(sc, RTSX_SD_CFG1, RTSX_CLK_DIVIDE_MASK, 0); in rtsx_bus_clock()
954 rtsx_write(struct rtsx_softc *sc, uint16_t addr, uint8_t mask, uint8_t val) in rtsx_write() function
1148 (void)rtsx_write(sc, reg, 0xff, sc->sc_regs[i++]); in rtsx_restore_regs()
1150 (void)rtsx_write(sc, reg, 0xff, sc->sc_regs[i++]); in rtsx_restore_regs()
1152 (void)rtsx_write(sc, reg, 0xff, sc->sc_regs[i++]); in rtsx_restore_regs()
1631 (void)rtsx_write(sc, RTSX_CARD_STOP, RTSX_SD_STOP|RTSX_SD_CLR_ERR, in rtsx_soft_reset()
1636 (void)rtsx_write(sc, RTSX_DMACTL, RTSX_DMA_RST, RTSX_DMA_RST); in rtsx_soft_reset()
1638 (void)rtsx_write(sc, RTSX_RBCTL, RTSX_RB_FLUSH, RTSX_RB_FLUSH); in rtsx_soft_reset()