Searched refs:onecell (Results 1 – 6 of 6) sorted by relevance
| /drivers/clk/imgtec/ |
| A D | clk-boston.c | 35 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() 98 clk_hw_unregister_fixed_rate(onecell->hws[BOSTON_CLK_CPU]); in clk_boston_setup() 100 clk_hw_unregister_fixed_rate(onecell->hws[BOSTON_CLK_SYS]); in clk_boston_setup() 102 clk_hw_unregister_fixed_rate(onecell->hws[BOSTON_CLK_INPUT]); in clk_boston_setup() [all …]
|
| /drivers/clk/bcm/ |
| A D | clk-bcm2835-aux.c | 19 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()
|
| A D | clk-bcm2835.c | 328 struct clk_hw_onecell_data onecell; member 2283 struct_size(cprman, onecell.hws, asize), in bcm2835_clk_probe() 2311 cprman->onecell.num = asize; in bcm2835_clk_probe() 2313 hws = cprman->onecell.hws; in bcm2835_clk_probe() 2328 &cprman->onecell); in bcm2835_clk_probe()
|
| /drivers/interconnect/ |
| A D | icc-clk.c | 83 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() 90 onecell->num_nodes = 2 * num_clocks; in icc_clk_register() 105 provider->data = onecell; in icc_clk_register() 129 onecell->nodes[j++] = node; in icc_clk_register() 146 onecell->nodes[j++] = node; in icc_clk_register()
|
| /drivers/rtc/ |
| A D | rtc-ds1307.c | 1618 struct clk_onecell_data *onecell; in ds3231_clks_register() local 1621 onecell = devm_kzalloc(ds1307->dev, sizeof(*onecell), GFP_KERNEL); in ds3231_clks_register() 1622 if (!onecell) in ds3231_clks_register() 1625 onecell->clk_num = ARRAY_SIZE(ds3231_clks_init); in ds3231_clks_register() 1626 onecell->clks = devm_kcalloc(ds1307->dev, onecell->clk_num, in ds3231_clks_register() 1627 sizeof(onecell->clks[0]), GFP_KERNEL); in ds3231_clks_register() 1628 if (!onecell->clks) in ds3231_clks_register() 1649 onecell->clks[i] = devm_clk_register(ds1307->dev, in ds3231_clks_register() 1651 if (IS_ERR(onecell->clks[i])) in ds3231_clks_register() 1652 return PTR_ERR(onecell->clks[i]); in ds3231_clks_register() [all …]
|
| /drivers/clk/ |
| A D | clk-rp1.c | 319 struct clk_hw_onecell_data onecell; member 1440 clockman = devm_kzalloc(dev, struct_size(clockman, onecell.hws, asize), in rp1_clk_probe() 1460 clockman->onecell.num = asize; in rp1_clk_probe() 1461 hws = clockman->onecell.hws; in rp1_clk_probe() 1472 &clockman->onecell); in rp1_clk_probe()
|
Completed in 26 milliseconds