Searched refs:pbclk (Results 1 – 2 of 2) sorted by relevance
52 u32 pbclk; in configure_uart() local54 pbclk = pic32_get_pbclk(2); in configure_uart()57 __raw_writel(((pbclk / baud) / 16) - 1, uart_base + U_BRG(port)); in configure_uart()
217 struct pic32_periph_clk *pbclk; in pic32_periph_clk_register() local220 pbclk = devm_kzalloc(core->dev, sizeof(*pbclk), GFP_KERNEL); in pic32_periph_clk_register()221 if (!pbclk) in pic32_periph_clk_register()224 pbclk->hw.init = &desc->init_data; in pic32_periph_clk_register()225 pbclk->core = core; in pic32_periph_clk_register()226 pbclk->ctrl_reg = desc->ctrl_reg + core->iobase; in pic32_periph_clk_register()228 clk = devm_clk_register(core->dev, &pbclk->hw); in pic32_periph_clk_register()231 devm_kfree(core->dev, pbclk); in pic32_periph_clk_register()