Home
last modified time | relevance | path

Searched refs:RTS51X_WRITE_REG (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/staging/rts5139/
Drts51x_card.c518 RTS51X_WRITE_REG(chip, CLK_DIV, CLK_CHANGE, 0); in switch_ssc_clock()
657 RTS51X_WRITE_REG(chip, CLK_DIV, CLK_CHANGE, 0); in switch_normal_clock()
725 RTS51X_WRITE_REG(chip, CARD_SHARE_MODE, CARD_SHARE_MASK, value); in card_share_mode()
745 RTS51X_WRITE_REG(chip, CARD_SELECT, 0x07, mod); in rts51x_select_card()
821 RTS51X_WRITE_REG(chip, CARD_CLK_EN, clk_en, clk_en); in enable_card_clock()
837 RTS51X_WRITE_REG(chip, CARD_CLK_EN, clk_en, 0); in disable_card_clock()
852 RTS51X_WRITE_REG(chip, CARD_PWR_CTL, mask | LDO3318_PWR_MASK, in card_power_on()
866 RTS51X_WRITE_REG(chip, CARD_PWR_CTL, mask, val1); in card_power_on()
871 RTS51X_WRITE_REG(chip, CARD_PWR_CTL, mask, val2); in card_power_on()
888 RTS51X_WRITE_REG(chip, CARD_PWR_CTL, mask, val); in card_power_off()
Dsd.c774 RTS51X_WRITE_REG(chip, SD_BUS_STAT,
803 RTS51X_WRITE_REG(chip, SD_BUS_STAT, 0xFF, SD_CLK_TOGGLE_EN);
818 RTS51X_WRITE_REG(chip, SD_BUS_STAT,
843 RTS51X_WRITE_REG(chip, CLK_DIV, CLK_CHANGE, CLK_CHANGE);
844 RTS51X_WRITE_REG(chip, SD_VP_CTL, 0x1F, sample_point);
845 RTS51X_WRITE_REG(chip, SD_VPCLK0_CTL, PHASE_NOT_RESET, 0);
846 RTS51X_WRITE_REG(chip, SD_VPCLK0_CTL, PHASE_NOT_RESET,
848 RTS51X_WRITE_REG(chip, CLK_DIV, CLK_CHANGE, 0);
857 RTS51X_WRITE_REG(chip, CLK_DIV, CLK_CHANGE, CLK_CHANGE);
859 RTS51X_WRITE_REG(chip, SD_VP_CTL, 0xFF,
[all …]
Drts51x_chip.c63 RTS51X_WRITE_REG(chip, CARD_PWR_CTL, LDO3318_PWR_MASK, in rts51x_reset_chip()
65 RTS51X_WRITE_REG(chip, CARD_PWR_CTL, FORCE_LDO_POWERB, in rts51x_reset_chip()
67 RTS51X_WRITE_REG(chip, CARD_PULL_CTL1, 0x30, 0x10); in rts51x_reset_chip()
68 RTS51X_WRITE_REG(chip, CARD_PULL_CTL5, 0x03, 0x01); in rts51x_reset_chip()
69 RTS51X_WRITE_REG(chip, CARD_PULL_CTL6, 0x0C, 0x04); in rts51x_reset_chip()
72 RTS51X_WRITE_REG(chip, SYS_DUMMY0, NYET_MSAK, NYET_EN); in rts51x_reset_chip()
73 RTS51X_WRITE_REG(chip, CD_DEGLITCH_WIDTH, 0xFF, 0x08); in rts51x_reset_chip()
Dxd.c299 RTS51X_WRITE_REG(chip, CARD_STOP, XD_STOP | XD_CLR_ERR, in xd_read_cis()
1086 RTS51X_WRITE_REG(chip, CARD_DATA_SOURCE, 0x01, PINGPONG_BUFFER); in xd_copy_page()
1090 RTS51X_WRITE_REG(chip, CARD_STOP, XD_STOP | XD_CLR_ERR, in xd_copy_page()
1134 RTS51X_WRITE_REG(chip, XD_PAGE_STATUS, in xd_copy_page()
1136 RTS51X_WRITE_REG(chip, XD_BLOCK_STATUS, in xd_copy_page()
Dms.c800 RTS51X_WRITE_REG(chip, MS_CFG, 0x98, in ms_switch_8bit_bus()
850 RTS51X_WRITE_REG(chip, MS_CFG, 0x18, MS_BUS_WIDTH_4); in ms_pro_reset_flow()
852 RTS51X_WRITE_REG(chip, MS_CFG, PUSH_TIME_ODD, PUSH_TIME_ODD); in ms_pro_reset_flow()
2181 RTS51X_WRITE_REG(chip, PPBUF_BASE2, 0xFF, 0x88);
2182 RTS51X_WRITE_REG(chip, PPBUF_BASE2 + 1, 0xFF, 0);
2189 RTS51X_WRITE_REG(chip, MS_CFG, 0x58 | MS_NO_CHECK_INT,
Drts51x_chip.h886 #define RTS51X_WRITE_REG(chip, addr, mask, data) \ macro