Searched refs:pbclk (Results 1 – 2 of 2) sorted by relevance
60 u32 pbclk; in configure_uart() local62 pbclk = pic32_get_pbclk(2); in configure_uart()65 __raw_writel(((pbclk / baud) / 16) - 1, uart_base + U_BRG(port)); in configure_uart()
224 struct pic32_periph_clk *pbclk; in pic32_periph_clk_register() local227 pbclk = devm_kzalloc(core->dev, sizeof(*pbclk), GFP_KERNEL); in pic32_periph_clk_register()228 if (!pbclk) in pic32_periph_clk_register()231 pbclk->hw.init = &desc->init_data; in pic32_periph_clk_register()232 pbclk->core = core; in pic32_periph_clk_register()233 pbclk->ctrl_reg = desc->ctrl_reg + core->iobase; in pic32_periph_clk_register()235 clk = devm_clk_register(core->dev, &pbclk->hw); in pic32_periph_clk_register()238 devm_kfree(core->dev, pbclk); in pic32_periph_clk_register()