Lines Matching refs:reg_base
63 assert(ufs_params.reg_base != 0); in ufshc_dme_get()
68 base = ufs_params.reg_base; in ufshc_dme_get()
104 assert((ufs_params.reg_base != 0)); in ufshc_dme_set()
106 base = ufs_params.reg_base; in ufshc_dme_set()
212 data = mmio_read_32(ufs_params.reg_base + UTRLDBR); in get_empty_slot()
272 mmio_write_32(ufs_params.reg_base + UTRLBA, in ufs_prepare_cmd()
274 mmio_write_32(ufs_params.reg_base + UTRLBAU, in ufs_prepare_cmd()
375 mmio_write_32(ufs_params.reg_base + UTRLBA, in ufs_prepare_query()
377 mmio_write_32(ufs_params.reg_base + UTRLBAU, in ufs_prepare_query()
428 mmio_write_32(ufs_params.reg_base + UTRLBA, in ufs_prepare_nop_out()
430 mmio_write_32(ufs_params.reg_base + UTRLBAU, in ufs_prepare_nop_out()
453 mmio_write_32(ufs_params.reg_base + IS, ~0); in ufs_send_request()
455 mmio_write_32(ufs_params.reg_base + UTRLRSR, 1); in ufs_send_request()
457 data = mmio_read_32(ufs_params.reg_base + UTRLRSR); in ufs_send_request()
462 mmio_write_32(ufs_params.reg_base + UTRIACR, data); in ufs_send_request()
464 mmio_setbits_32(ufs_params.reg_base + UTRLDBR, 1 << slot); in ufs_send_request()
479 data = mmio_read_32(ufs_params.reg_base + IS); in ufs_check_resp()
485 data = mmio_read_32(ufs_params.reg_base + UTRLDBR); in ufs_check_resp()
503 mmio_read_32(ufs_params.reg_base + UTRLDBR)); in dump_upiu()
655 assert((ufs_params.reg_base != 0) && in ufs_read_capacity()
702 assert((ufs_params.reg_base != 0) && in ufs_read_blocks()
726 assert((ufs_params.reg_base != 0) && in ufs_write_blocks()
750 nutrs = (mmio_read_32(ufs_params.reg_base + CAP) & CAP_NUTRS_MASK) + 1; in ufs_enum()
792 (params->reg_base != 0) && in ufs_init()
807 result = ufshc_send_uic_cmd(ufs_params.reg_base, in ufs_init()
810 data = mmio_read_32(ufs_params.reg_base + UCMDARG2); in ufs_init()
813 data = mmio_read_32(ufs_params.reg_base + IS); in ufs_init()
815 mmio_write_32(ufs_params.reg_base + IS, UFS_INT_UHXS); in ufs_init()
816 data = mmio_read_32(ufs_params.reg_base + HCS); in ufs_init()
826 result = ufshc_reset(ufs_params.reg_base); in ufs_init()
829 result = ufshc_link_startup(ufs_params.reg_base); in ufs_init()