/openbmc/linux/drivers/staging/rts5208/ |
H A D | spi.c | 90 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 D | xd.c | 105 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 D | sd.c | 141 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 D | ms.c | 119 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 D | rtsx_card.c | 667 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 D | rtsx_transport.h | 34 void rtsx_add_cmd(struct rtsx_chip *chip, u8 cmd_type, u16 reg_addr, u8 mask,
|
H A D | rtsx_chip.c | 2032 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 D | rtsx_transport.c | 193 void rtsx_add_cmd(struct rtsx_chip *chip, in rtsx_add_cmd() function
|
H A D | rtsx_scsi.c | 1749 rtsx_add_cmd(chip, cmd_type, addr, mask, value); in rw_mem_cmd_buf()
|