Searched refs:usbn_clk_ctl (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/staging/octeon-usb/
H A Docteon-hcd.c674 union cvmx_usbnx_clk_ctl usbn_clk_ctl; cvmx_usb_shutdown() local
685 usbn_clk_ctl.u64 = cvmx_read64_uint64(CVMX_USBNX_CLK_CTL(usb->index)); cvmx_usb_shutdown()
686 usbn_clk_ctl.s.enable = 1; cvmx_usb_shutdown()
687 usbn_clk_ctl.s.por = 1; cvmx_usb_shutdown()
688 usbn_clk_ctl.s.hclk_rst = 1; cvmx_usb_shutdown()
689 usbn_clk_ctl.s.prst = 0; cvmx_usb_shutdown()
690 usbn_clk_ctl.s.hrst = 0; cvmx_usb_shutdown()
691 cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); cvmx_usb_shutdown()
712 union cvmx_usbnx_clk_ctl usbn_clk_ctl; cvmx_usb_initialize() local
728 usbn_clk_ctl.u64 = cvmx_read64_uint64(CVMX_USBNX_CLK_CTL(usb->index)); cvmx_usb_initialize()
729 usbn_clk_ctl.s.por = 1; cvmx_usb_initialize()
730 usbn_clk_ctl.s.hrst = 0; cvmx_usb_initialize()
731 usbn_clk_ctl.s.prst = 0; cvmx_usb_initialize()
732 usbn_clk_ctl.s.hclk_rst = 0; cvmx_usb_initialize()
733 usbn_clk_ctl.s.enable = 0; cvmx_usb_initialize()
748 usbn_clk_ctl.s.p_rtype = 2; /* p_rclk=1 & p_xenbn=0 */ cvmx_usb_initialize()
751 usbn_clk_ctl.s.p_rtype = 1; cvmx_usb_initialize()
756 usbn_clk_ctl.s.p_c_sel = 0; cvmx_usb_initialize()
759 usbn_clk_ctl.s.p_c_sel = 1; cvmx_usb_initialize()
762 usbn_clk_ctl.s.p_c_sel = 2; cvmx_usb_initialize()
772 usbn_clk_ctl.s.p_rtype = 3; /* p_rclk=1 & p_xenbn=1 */ cvmx_usb_initialize()
775 usbn_clk_ctl.s.p_rtype = 0; cvmx_usb_initialize()
777 usbn_clk_ctl.s.p_c_sel = 0; cvmx_usb_initialize()
788 usbn_clk_ctl.s.divide = divisor; cvmx_usb_initialize()
789 usbn_clk_ctl.s.divide2 = 0; cvmx_usb_initialize()
790 cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); cvmx_usb_initialize()
793 usbn_clk_ctl.s.hclk_rst = 1; cvmx_usb_initialize()
794 cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); cvmx_usb_initialize()
802 usbn_clk_ctl.s.por = 0; cvmx_usb_initialize()
803 cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); cvmx_usb_initialize()
829 usbn_clk_ctl.s.prst = 1; cvmx_usb_initialize()
830 cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); cvmx_usb_initialize()
845 usbn_clk_ctl.s.hrst = 1; cvmx_usb_initialize()
846 cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); cvmx_usb_initialize()
848 usbn_clk_ctl.s.enable = 1; cvmx_usb_initialize()
849 cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); cvmx_usb_initialize()

Completed in 61 milliseconds