Lines Matching refs:sys_write32
51 sys_write32(phy_reg_addr_value, phy_reg_addr); in sdhc_cdns_write_phy_reg()
54 sys_write32(phy_reg_data_value, phy_reg_data); in sdhc_cdns_write_phy_reg()
102 sys_write32(BUS_VOLTAGE_3_3_V, in sdhc_cdns_vol_reset()
109 sys_write32(BUS_VOLTAGE_3_3_V | CDNS_SRS10_BP, in sdhc_cdns_vol_reset()
242 sys_write32(cdns_params.combophy + PHY_CTRL_REG, cdns_params.reg_base in sdhc_cdns_program_phy_reg()
248 sys_write32(value, cdns_params.reg_base + SDHC_CDNS_HRS05); in sdhc_cdns_program_phy_reg()
254 sys_write32(value, cdns_params.reg_base + SDHC_CDNS_HRS09); in sdhc_cdns_program_phy_reg()
346 sys_write32((uint32_t)desc_base, cdns_params.reg_base + SDHC_CDNS_SRS22); in sdhc_cdns_prepare()
347 sys_write32((uint32_t)(desc_base >> 32), cdns_params.reg_base + SDHC_CDNS_SRS23); in sdhc_cdns_prepare()
351 sys_write32((data->block_size << CDNS_SRS01_BLK_SIZE | in sdhc_cdns_prepare()
366 sys_write32(0, cdns_params.reg_base + SDHC_CDNS_SRS11); in sdhc_cdns_host_set_clk()
367 sys_write32(((dtcvval << CDNS_SRS11_DTCV) | (sdclkfsval << CDNS_SRS11_SDCLKFS) | in sdhc_cdns_host_set_clk()
378 sys_write32(((sys_read32(cdns_params.reg_base + SDHC_CDNS_HRS09) in sdhc_cdns_host_set_clk()
385 sys_write32(((dtcvval << CDNS_SRS11_DTCV) | (sdclkfsval << CDNS_SRS11_SDCLKFS) in sdhc_cdns_host_set_clk()
389 sys_write32(0xFFFFFFFF, cdns_params.reg_base + SDHC_CDNS_SRS13); in sdhc_cdns_host_set_clk()
440 sys_write32(value, cdns_params.reg_base + SDHC_CDNS_HRS09); in sdhc_cdns_init_hrs_io()
447 sys_write32(value, cdns_params.reg_base + SDHC_CDNS_HRS10); in sdhc_cdns_init_hrs_io()
461 sys_write32(value, cdns_params.reg_base + SDHC_CDNS_HRS16); in sdhc_cdns_init_hrs_io()
469 sys_write32(value, cdns_params.reg_base + SDHC_CDNS_HRS07); in sdhc_cdns_init_hrs_io()
503 sys_write32(0, cdns_params.reg_base + SDHC_CDNS_SRS11); in sdhc_cdns_set_clk()
504 sys_write32((dtcvval << CDNS_SRS11_DTCV) | in sdhc_cdns_set_clk()
515 sys_write32(((sys_read32(cdns_params.reg_base + SDHC_CDNS_HRS09) & in sdhc_cdns_set_clk()
522 sys_write32((dtcvval << CDNS_SRS11_DTCV) | (sdclkfsval << CDNS_SRS11_SDCLKFS) | in sdhc_cdns_set_clk()
526 sys_write32(0xFFFFFFFF, cdns_params.reg_base + SDHC_CDNS_SRS13); in sdhc_cdns_set_clk()
618 sys_write32(CDNS_SRS00_SAAR, cdns_params.reg_base + SDHC_CDNS_SRS00); in sdhc_cdns_send_cmd()
627 sys_write32(CDNS_SRS00_SAAR, cdns_params.reg_base + SDHC_CDNS_SRS00); in sdhc_cdns_send_cmd()
716 sys_write32(~0, cdns_params.reg_base + SDHC_CDNS_SRS12); in sdhc_cdns_send_cmd()
718 sys_write32(cmd->cmd_arg, cdns_params.reg_base + SDHC_CDNS_SRS02); in sdhc_cdns_send_cmd()
719 sys_write32(RESET_SRS14, cdns_params.reg_base + SDHC_CDNS_SRS14); in sdhc_cdns_send_cmd()
720 sys_write32(op | cmd_indx, cdns_params.reg_base + SDHC_CDNS_SRS03); in sdhc_cdns_send_cmd()