Searched refs:onecell (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/clk/bcm/ |
D | clk-bcm2835-aux.c | 27 struct clk_hw_onecell_data *onecell; in bcm2835_aux_clk_probe() local 43 onecell = devm_kmalloc(dev, in bcm2835_aux_clk_probe() 44 struct_size(onecell, hws, in bcm2835_aux_clk_probe() 47 if (!onecell) in bcm2835_aux_clk_probe() 49 onecell->num = BCM2835_AUX_CLOCK_COUNT; in bcm2835_aux_clk_probe() 52 onecell->hws[BCM2835_AUX_CLOCK_UART] = in bcm2835_aux_clk_probe() 55 onecell->hws[BCM2835_AUX_CLOCK_SPI1] = in bcm2835_aux_clk_probe() 58 onecell->hws[BCM2835_AUX_CLOCK_SPI2] = in bcm2835_aux_clk_probe() 62 onecell); in bcm2835_aux_clk_probe()
|
D | clk-bcm2835.c | 329 struct clk_hw_onecell_data onecell; member 2145 struct_size(cprman, onecell.hws, asize), in bcm2835_clk_probe() 2174 cprman->onecell.num = asize; in bcm2835_clk_probe() 2175 hws = cprman->onecell.hws; in bcm2835_clk_probe() 2188 &cprman->onecell); in bcm2835_clk_probe()
|
/Linux-v4.19/drivers/clk/imgtec/ |
D | clk-boston.c | 39 struct clk_hw_onecell_data *onecell; in clk_boston_setup() local 65 onecell = kzalloc(sizeof(*onecell) + in clk_boston_setup() 68 if (!onecell) in clk_boston_setup() 71 onecell->num = BOSTON_CLK_COUNT; in clk_boston_setup() 78 onecell->hws[BOSTON_CLK_INPUT] = hw; in clk_boston_setup() 85 onecell->hws[BOSTON_CLK_SYS] = hw; in clk_boston_setup() 92 onecell->hws[BOSTON_CLK_CPU] = hw; in clk_boston_setup() 94 err = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, onecell); in clk_boston_setup()
|
/Linux-v4.19/drivers/rtc/ |
D | rtc-ds1307.c | 1320 struct clk_onecell_data *onecell; in ds3231_clks_register() local 1323 onecell = devm_kzalloc(ds1307->dev, sizeof(*onecell), GFP_KERNEL); in ds3231_clks_register() 1324 if (!onecell) in ds3231_clks_register() 1327 onecell->clk_num = ARRAY_SIZE(ds3231_clks_init); in ds3231_clks_register() 1328 onecell->clks = devm_kcalloc(ds1307->dev, onecell->clk_num, in ds3231_clks_register() 1329 sizeof(onecell->clks[0]), GFP_KERNEL); in ds3231_clks_register() 1330 if (!onecell->clks) in ds3231_clks_register() 1348 onecell->clks[i] = devm_clk_register(ds1307->dev, in ds3231_clks_register() 1350 if (IS_ERR(onecell->clks[i])) in ds3231_clks_register() 1351 return PTR_ERR(onecell->clks[i]); in ds3231_clks_register() [all …]
|
/Linux-v4.19/sound/soc/sh/rcar/ |
D | adg.c | 31 struct clk_onecell_data onecell; member 565 adg->onecell.clks = adg->clkout; in rsnd_adg_get_clkout() 566 adg->onecell.clk_num = CLKOUTMAX; in rsnd_adg_get_clkout() 568 &adg->onecell); in rsnd_adg_get_clkout()
|