Home
last modified time | relevance | path

Searched refs:phyno (Results 1 – 2 of 2) sorted by relevance

/external/arm-trusted-firmware/drivers/renesas/rcar/ddr/ddr_b/
Dboot_init_dram.c236 static uint32_t reg_ddrphy_read(uint32_t phyno, uint32_t regadd);
237 static void reg_ddrphy_write(uint32_t phyno, uint32_t regadd, uint32_t regdata);
522 static uint32_t reg_ddrphy_read(uint32_t phyno, uint32_t regadd) in reg_ddrphy_read() argument
530 mmio_write_32(DBSC_DBPDRGA(phyno), regadd); in reg_ddrphy_read()
533 while (mmio_read_32(DBSC_DBPDRGA(phyno)) != regadd) { in reg_ddrphy_read()
539 val = mmio_read_32(DBSC_DBPDRGD(phyno)); in reg_ddrphy_read()
544 mmio_write_32(DBSC_DBPDRGA(phyno), regadd | 0x00004000); in reg_ddrphy_read()
546 while (mmio_read_32(DBSC_DBPDRGA(phyno)) != in reg_ddrphy_read()
550 val = mmio_read_32(DBSC_DBPDRGA(phyno)); in reg_ddrphy_read()
551 mmio_write_32(DBSC_DBPDRGA(phyno), regadd | 0x00008000); in reg_ddrphy_read()
[all …]
/external/arm-trusted-firmware/drivers/renesas/rzg/ddr/ddr_b/
Dboot_init_dram.c224 static uint32_t reg_ddrphy_read(uint32_t phyno, uint32_t regadd);
225 static void reg_ddrphy_write(uint32_t phyno, uint32_t regadd, uint32_t regdata);
481 static uint32_t reg_ddrphy_read(uint32_t phyno, uint32_t regadd) in reg_ddrphy_read() argument
487 mmio_write_32(DBSC_DBPDRGA(phyno), regadd); in reg_ddrphy_read()
490 while (mmio_read_32(DBSC_DBPDRGA(phyno)) != regadd) { in reg_ddrphy_read()
496 val = mmio_read_32(DBSC_DBPDRGD(phyno)); in reg_ddrphy_read()
503 static void reg_ddrphy_write(uint32_t phyno, uint32_t regadd, uint32_t regdata) in reg_ddrphy_write() argument
507 mmio_write_32(DBSC_DBPDRGA(phyno), regadd); in reg_ddrphy_write()
510 mmio_read_32(DBSC_DBPDRGA(phyno)); in reg_ddrphy_write()
513 mmio_write_32(DBSC_DBPDRGD(phyno), regdata); in reg_ddrphy_write()
[all …]