Lines Matching refs:scc_subsys
347 struct numaker_scc_subsys scc_subsys; in numaker_usbd_hw_setup() local
362 memset(&scc_subsys, 0x00, sizeof(scc_subsys)); in numaker_usbd_hw_setup()
363 scc_subsys.subsys_id = NUMAKER_SCC_SUBSYS_ID_PCC; in numaker_usbd_hw_setup()
364 scc_subsys.pcc.clk_modidx = config->clk_modidx; in numaker_usbd_hw_setup()
365 scc_subsys.pcc.clk_src = config->clk_src; in numaker_usbd_hw_setup()
366 scc_subsys.pcc.clk_div = config->clk_div; in numaker_usbd_hw_setup()
369 rc = clock_control_on(config->clkctrl_dev, (clock_control_subsys_t)&scc_subsys); in numaker_usbd_hw_setup()
374 rc = clock_control_configure(config->clkctrl_dev, (clock_control_subsys_t)&scc_subsys, in numaker_usbd_hw_setup()
415 struct numaker_scc_subsys scc_subsys; in numaker_usbd_hw_shutdown() local
429 memset(&scc_subsys, 0x00, sizeof(scc_subsys)); in numaker_usbd_hw_shutdown()
430 scc_subsys.subsys_id = NUMAKER_SCC_SUBSYS_ID_PCC; in numaker_usbd_hw_shutdown()
431 scc_subsys.pcc.clk_modidx = config->clk_modidx; in numaker_usbd_hw_shutdown()
434 clock_control_off(config->clkctrl_dev, (clock_control_subsys_t)&scc_subsys); in numaker_usbd_hw_shutdown()