Lines Matching refs:CW_BASE
12 #define CW_BASE DT_REG_ADDR(CW_DT_NODE) macro
757 uint32_t status = sys_read32(CW_BASE + USSTS); in cw_upstream_ready()
760 sys_write32(status, CW_BASE + USSTS); in cw_upstream_ready()
761 return !(sys_read32(CW_BASE + USSTS) & USSTS_SMSTS); in cw_upstream_ready()
779 sys_write32(attr, CW_BASE + USATTR); in cw_upstream_set_attr()
789 sys_write32(address, CW_BASE + USLADDR); in cw_upstream_set_address16()
790 sys_write32(0, CW_BASE + USUADDR); in cw_upstream_set_address16()
800 sys_write32(data, CW_BASE + USDATA); in cw_upstream_set_data()
810 uint32_t cmd = sys_read32(CW_BASE + USCMD); in cw_upstream_enable_sent_intr()
818 sys_write32(cmd, CW_BASE + USCMD); in cw_upstream_enable_sent_intr()
826 uint32_t cmd = sys_read32(CW_BASE + USCMD); in cw_upstream_do_pw()
833 sys_write32(cmd, CW_BASE + USCMD); in cw_upstream_do_pw()
841 uint32_t sts = sys_read32(CW_BASE + USSTS); in cw_upstream_clear_msgsent()
844 sys_write32(sts, CW_BASE + USSTS); in cw_upstream_clear_msgsent()
852 WAIT_FOR(sys_read32(CW_BASE + USSTS) & USSTS_MSGSENT, 100, k_busy_wait(1)); in cw_upstream_wait_for_sent()