• Home
  • Raw
  • Download

Lines Matching refs:clkrst

606 	struct clk_rst_ctlr *clkrst =  in clock_get_osc_freq()  local
610 reg = readl(&clkrst->crc_osc_ctrl); in clock_get_osc_freq()
622 struct clk_rst_ctlr *clkrst = in get_periph_source_reg() local
628 return &clkrst->crc_clk_src[PERIPH_ID_CSI+1]; in get_periph_source_reg()
635 return &clkrst->crc_clk_src_x[internal_id]; in get_periph_source_reg()
638 return &clkrst->crc_clk_src_vw[internal_id]; in get_periph_source_reg()
640 return &clkrst->crc_clk_src[internal_id]; in get_periph_source_reg()
722 struct clk_rst_ctlr *clkrst = in clock_set_enable() local
730 clk = &clkrst->crc_clk_out_enb[PERIPH_REG(periph_id)]; in clock_set_enable()
732 clk = &clkrst->crc_clk_out_enb_vw[PERIPH_REG(periph_id)]; in clock_set_enable()
734 clk = &clkrst->crc_clk_out_enb_x; in clock_set_enable()
745 struct clk_rst_ctlr *clkrst = in reset_set_enable() local
753 reset = &clkrst->crc_rst_dev[PERIPH_REG(periph_id)]; in reset_set_enable()
755 reset = &clkrst->crc_rst_dev_vw[PERIPH_REG(periph_id)]; in reset_set_enable()
757 reset = &clkrst->crc_rst_devices_x; in reset_set_enable()
836 struct clk_rst_ctlr *clkrst = in clock_early_init() local
845 clrbits_le32(&clkrst->crc_pll[CLOCK_ID_CGENERAL].pll_misc, PLLC_IDDQ); in clock_early_init()
878 writel(0x00561600, &clkrst->crc_pll[CLOCK_ID_CGENERAL].pll_out[1]); in clock_early_init()
882 setbits_le32(&clkrst->crc_pll[CLOCK_ID_CGENERAL].pll_misc, (1 << pllinfo->lock_ena)); in clock_early_init()
889 writel(data, &clkrst->crc_pll[CLOCK_ID_DISPLAY].pll_misc); in clock_early_init()
903 struct clk_rst_ctlr *clkrst = (struct clk_rst_ctlr *)NV_PA_CLK_RST_BASE; in clock_early_init_done() local
906 val = readl(&clkrst->crc_sclk_brst_pol); in clock_early_init_done()
1139 struct clk_rst_ctlr *clkrst = in clock_set_up_plldp() local
1144 writel(value | PLLDP_SS_CFG_CLAMP, &clkrst->crc_plldp_ss_cfg); in clock_set_up_plldp()
1146 writel(value, &clkrst->crc_plldp_ss_cfg); in clock_set_up_plldp()
1151 struct clk_rst_ctlr *clkrst = in clock_get_simple_pll() local
1155 return &clkrst->plldp; in clock_get_simple_pll()