Home
last modified time | relevance | path

Searched refs:pbclk (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/mips/pic32/pic32mzda/
Dearly_console.c60 u32 pbclk; in configure_uart() local
62 pbclk = pic32_get_pbclk(2); in configure_uart()
65 __raw_writel(((pbclk / baud) / 16) - 1, uart_base + U_BRG(port)); in configure_uart()
/Linux-v4.19/drivers/clk/microchip/
Dclk-core.c224 struct pic32_periph_clk *pbclk; in pic32_periph_clk_register() local
227 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()