Home
last modified time | relevance | path

Searched refs:rtsx_add_cmd (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/staging/rts5208/
H A Dspi.c90 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_TRANSFER0, 0xFF, in sf_polling_status()
116 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_CA_NUMBER, 0xFF, in sf_enable_write()
118 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_TRANSFER0, 0xFF, in sf_enable_write()
144 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_CA_NUMBER, 0xFF, in sf_disable_write()
171 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_ADDR1, 0xFF, in sf_program()
173 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_ADDR2, 0xFF, in sf_program()
196 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_ADDR1, 0xFF, in sf_erase()
198 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_ADDR2, 0xFF, in sf_erase()
505 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_TRANSFER0, in spi_read_flash_id()
508 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_TRANSFER0, in spi_read_flash_id()
[all …]
H A Dxd.c105 rtsx_add_cmd(chip, WRITE_REG_CMD, XD_ADDRESS2, in xd_assign_phy_addr()
107 rtsx_add_cmd(chip, WRITE_REG_CMD, XD_ADDRESS3, in xd_assign_phy_addr()
109 rtsx_add_cmd(chip, WRITE_REG_CMD, XD_CFG, 0xFF, in xd_assign_phy_addr()
117 rtsx_add_cmd(chip, WRITE_REG_CMD, XD_ADDRESS1, in xd_assign_phy_addr()
119 rtsx_add_cmd(chip, WRITE_REG_CMD, XD_ADDRESS2, in xd_assign_phy_addr()
121 rtsx_add_cmd(chip, WRITE_REG_CMD, XD_CFG, 0xFF, in xd_assign_phy_addr()
140 rtsx_add_cmd(chip, WRITE_REG_CMD, XD_TRANSFER, in xd_read_redundant()
142 rtsx_add_cmd(chip, CHECK_REG_CMD, XD_TRANSFER, in xd_read_redundant()
458 rtsx_add_cmd(chip, WRITE_REG_CMD, XD_INIT, in reset_xd()
1020 rtsx_add_cmd(chip, CHECK_REG_CMD, XD_TRANSFER, in xd_mark_bad_block()
[all …]
H A Dsd.c141 rtsx_add_cmd(chip, WRITE_REG_CMD, CARD_DATA_SOURCE,
143 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_TRANSFER,
145 rtsx_add_cmd(chip, CHECK_REG_CMD, REG_SD_TRANSFER,
152 rtsx_add_cmd(chip, READ_REG_CMD, reg_addr, 0, 0);
158 rtsx_add_cmd(chip, READ_REG_CMD, reg_addr, 0, 0);
300 rtsx_add_cmd(chip, WRITE_REG_CMD,
356 rtsx_add_cmd(chip, WRITE_REG_CMD,
892 rtsx_add_cmd(chip, CHECK_REG_CMD, SD_DCMPS_CTL,
4327 rtsx_add_cmd(chip, WRITE_REG_CMD,
4338 rtsx_add_cmd(chip, WRITE_REG_CMD,
[all …]
H A Dms.c119 rtsx_add_cmd(chip, WRITE_REG_CMD, in ms_transfer_data()
125 rtsx_add_cmd(chip, WRITE_REG_CMD, in ms_transfer_data()
133 rtsx_add_cmd(chip, WRITE_REG_CMD, in ms_transfer_data()
135 rtsx_add_cmd(chip, CHECK_REG_CMD, in ms_transfer_data()
174 rtsx_add_cmd(chip, WRITE_REG_CMD, in ms_write_bytes()
186 rtsx_add_cmd(chip, WRITE_REG_CMD, in ms_write_bytes()
188 rtsx_add_cmd(chip, CHECK_REG_CMD, in ms_write_bytes()
473 rtsx_add_cmd(chip, WRITE_REG_CMD, in ms_pull_ctl_enable()
475 rtsx_add_cmd(chip, WRITE_REG_CMD, in ms_pull_ctl_enable()
477 rtsx_add_cmd(chip, WRITE_REG_CMD, in ms_pull_ctl_enable()
[all …]
H A Drtsx_card.c667 rtsx_add_cmd(chip, WRITE_REG_CMD, SSC_CTL1, SSC_RSTB, 0); in switch_ssc_clock()
669 rtsx_add_cmd(chip, WRITE_REG_CMD, SSC_DIV_N_0, 0xFF, n); in switch_ssc_clock()
670 rtsx_add_cmd(chip, WRITE_REG_CMD, SSC_CTL1, SSC_RSTB, SSC_RSTB); in switch_ssc_clock()
672 rtsx_add_cmd(chip, WRITE_REG_CMD, SD_VPCLK0_CTL, in switch_ssc_clock()
674 rtsx_add_cmd(chip, WRITE_REG_CMD, SD_VPCLK0_CTL, in switch_ssc_clock()
830 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC1, 0xFF, (u8)(byte_cnt >> 8)); in trans_dma_enable()
831 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC0, 0xFF, (u8)byte_cnt); in trans_dma_enable()
834 rtsx_add_cmd(chip, WRITE_REG_CMD, DMACTL, in trans_dma_enable()
838 rtsx_add_cmd(chip, WRITE_REG_CMD, DMACTL, in trans_dma_enable()
900 rtsx_add_cmd(chip, WRITE_REG_CMD, CARD_PWR_CTL, mask, val1); in card_power_on()
[all …]
H A Drtsx_transport.h34 void rtsx_add_cmd(struct rtsx_chip *chip, u8 cmd_type, u16 reg_addr, u8 mask,
H A Drtsx_chip.c2032 rtsx_add_cmd(chip, READ_REG_CMD, reg_addr++, 0, 0); in rtsx_read_ppbuf()
2046 rtsx_add_cmd(chip, READ_REG_CMD, reg_addr++, 0, 0); in rtsx_read_ppbuf()
2074 rtsx_add_cmd(chip, WRITE_REG_CMD, reg_addr++, 0xFF, in rtsx_write_ppbuf()
2088 rtsx_add_cmd(chip, WRITE_REG_CMD, reg_addr++, 0xFF, in rtsx_write_ppbuf()
H A Drtsx_transport.c193 void rtsx_add_cmd(struct rtsx_chip *chip, in rtsx_add_cmd() function
H A Drtsx_scsi.c1749 rtsx_add_cmd(chip, cmd_type, addr, mask, value); in rw_mem_cmd_buf()