Home
last modified time | relevance | path

Searched refs:onecell (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/imgtec/
H A Dclk-boston.c35 struct clk_hw_onecell_data *onecell; in clk_boston_setup() local
61 onecell = kzalloc(struct_size(onecell, hws, BOSTON_CLK_COUNT), in clk_boston_setup()
63 if (!onecell) in clk_boston_setup()
66 onecell->num = BOSTON_CLK_COUNT; in clk_boston_setup()
73 onecell->hws[BOSTON_CLK_INPUT] = hw; in clk_boston_setup()
80 onecell->hws[BOSTON_CLK_SYS] = hw; in clk_boston_setup()
87 onecell->hws[BOSTON_CLK_CPU] = hw; in clk_boston_setup()
89 err = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, onecell); in clk_boston_setup()
98 clk_hw_unregister_fixed_rate(onecell in clk_boston_setup()
[all...]
/kernel/linux/linux-6.6/drivers/clk/imgtec/
H A Dclk-boston.c35 struct clk_hw_onecell_data *onecell; in clk_boston_setup() local
61 onecell = kzalloc(struct_size(onecell, hws, BOSTON_CLK_COUNT), in clk_boston_setup()
63 if (!onecell) in clk_boston_setup()
66 onecell->num = BOSTON_CLK_COUNT; in clk_boston_setup()
73 onecell->hws[BOSTON_CLK_INPUT] = hw; in clk_boston_setup()
80 onecell->hws[BOSTON_CLK_SYS] = hw; in clk_boston_setup()
87 onecell->hws[BOSTON_CLK_CPU] = hw; in clk_boston_setup()
89 err = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, onecell); in clk_boston_setup()
98 clk_hw_unregister_fixed_rate(onecell in clk_boston_setup()
[all...]
/kernel/linux/linux-5.10/drivers/clk/bcm/
H A Dclk-bcm2835-aux.c19 struct clk_hw_onecell_data *onecell; in bcm2835_aux_clk_probe() local
33 onecell = devm_kmalloc(dev, in bcm2835_aux_clk_probe()
34 struct_size(onecell, hws, in bcm2835_aux_clk_probe()
37 if (!onecell) in bcm2835_aux_clk_probe()
39 onecell->num = BCM2835_AUX_CLOCK_COUNT; in bcm2835_aux_clk_probe()
42 onecell->hws[BCM2835_AUX_CLOCK_UART] = in bcm2835_aux_clk_probe()
45 onecell->hws[BCM2835_AUX_CLOCK_SPI1] = in bcm2835_aux_clk_probe()
48 onecell->hws[BCM2835_AUX_CLOCK_SPI2] = in bcm2835_aux_clk_probe()
52 onecell); in bcm2835_aux_clk_probe()
H A Dclk-bcm2835.c327 struct clk_hw_onecell_data onecell; member
2249 struct_size(cprman, onecell.hws, asize), in bcm2835_clk_probe()
2277 cprman->onecell.num = asize; in bcm2835_clk_probe()
2279 hws = cprman->onecell.hws; in bcm2835_clk_probe()
2294 &cprman->onecell); in bcm2835_clk_probe()
/kernel/linux/linux-6.6/drivers/clk/bcm/
H A Dclk-bcm2835-aux.c19 struct clk_hw_onecell_data *onecell; in bcm2835_aux_clk_probe() local
33 onecell = devm_kmalloc(dev, in bcm2835_aux_clk_probe()
34 struct_size(onecell, hws, in bcm2835_aux_clk_probe()
37 if (!onecell) in bcm2835_aux_clk_probe()
39 onecell->num = BCM2835_AUX_CLOCK_COUNT; in bcm2835_aux_clk_probe()
42 onecell->hws[BCM2835_AUX_CLOCK_UART] = in bcm2835_aux_clk_probe()
45 onecell->hws[BCM2835_AUX_CLOCK_SPI1] = in bcm2835_aux_clk_probe()
48 onecell->hws[BCM2835_AUX_CLOCK_SPI2] = in bcm2835_aux_clk_probe()
52 onecell); in bcm2835_aux_clk_probe()
H A Dclk-bcm2835.c328 struct clk_hw_onecell_data onecell; member
2278 struct_size(cprman, onecell.hws, asize), in bcm2835_clk_probe()
2306 cprman->onecell.num = asize; in bcm2835_clk_probe()
2308 hws = cprman->onecell.hws; in bcm2835_clk_probe()
2323 &cprman->onecell); in bcm2835_clk_probe()
/kernel/linux/linux-6.6/drivers/interconnect/
H A Dicc-clk.c83 struct icc_onecell_data *onecell; in icc_clk_register() local
87 onecell = devm_kzalloc(dev, struct_size(onecell, nodes, 2 * num_clocks), GFP_KERNEL); in icc_clk_register()
88 if (!onecell) in icc_clk_register()
104 provider->data = onecell; in icc_clk_register()
122 onecell->nodes[j++] = node; in icc_clk_register()
133 onecell->nodes[j++] = node; in icc_clk_register()
136 onecell->num_nodes = j; in icc_clk_register()
/kernel/linux/linux-5.10/sound/soc/sh/rcar/
H A Dadg.c31 struct clk_onecell_data onecell; member
543 adg->onecell.clks = adg->clkout; in rsnd_adg_get_clkout()
544 adg->onecell.clk_num = CLKOUTMAX; in rsnd_adg_get_clkout()
546 &adg->onecell); in rsnd_adg_get_clkout()
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-ds1307.c1651 struct clk_onecell_data *onecell; in ds3231_clks_register() local
1654 onecell = devm_kzalloc(ds1307->dev, sizeof(*onecell), GFP_KERNEL); in ds3231_clks_register()
1655 if (!onecell) in ds3231_clks_register()
1658 onecell->clk_num = ARRAY_SIZE(ds3231_clks_init); in ds3231_clks_register()
1659 onecell->clks = devm_kcalloc(ds1307->dev, onecell->clk_num, in ds3231_clks_register()
1660 sizeof(onecell->clks[0]), GFP_KERNEL); in ds3231_clks_register()
1661 if (!onecell->clks) in ds3231_clks_register()
1679 onecell in ds3231_clks_register()
[all...]
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-ds1307.c1597 struct clk_onecell_data *onecell; in ds3231_clks_register() local
1600 onecell = devm_kzalloc(ds1307->dev, sizeof(*onecell), GFP_KERNEL); in ds3231_clks_register()
1601 if (!onecell) in ds3231_clks_register()
1604 onecell->clk_num = ARRAY_SIZE(ds3231_clks_init); in ds3231_clks_register()
1605 onecell->clks = devm_kcalloc(ds1307->dev, onecell->clk_num, in ds3231_clks_register()
1606 sizeof(onecell->clks[0]), GFP_KERNEL); in ds3231_clks_register()
1607 if (!onecell->clks) in ds3231_clks_register()
1628 onecell in ds3231_clks_register()
[all...]
/kernel/linux/linux-6.6/sound/soc/sh/rcar/
H A Dadg.c36 struct clk_onecell_data onecell; member
656 adg->onecell.clks = adg->clkout; in rsnd_adg_get_clkout()
657 adg->onecell.clk_num = clkout_size; in rsnd_adg_get_clkout()
660 &adg->onecell); in rsnd_adg_get_clkout()

Completed in 18 milliseconds