Searched refs:onoff_pos (Results 1 – 1 of 1) sorted by relevance
655 int onoff_pos; in cpg_stop_xspi_clock() local661 onoff_pos = 9; in cpg_stop_xspi_clock()666 onoff_pos = 11; in cpg_stop_xspi_clock()677 mmio_write_32(CPG_CLKON_AXI_MCPU_BUS, 0x10000 << onoff_pos); in cpg_stop_xspi_clock()678 wait_until_32(CPG_CLKMON_AXI_MCPU_BUS, 1 << onoff_pos, 0); in cpg_stop_xspi_clock()684 int onoff_pos; in cpg_start_xspi_clock() local690 onoff_pos = 9; in cpg_start_xspi_clock()695 onoff_pos = 11; in cpg_start_xspi_clock()706 mmio_write_32(CPG_CLKON_AXI_MCPU_BUS, 0x10000 << onoff_pos | 0xffff); in cpg_start_xspi_clock()707 wait_until_32(CPG_CLKMON_AXI_MCPU_BUS, 1 << onoff_pos, 1 << onoff_pos); in cpg_start_xspi_clock()