Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/stm32/
Dclk-stm32-core.c29 int n, max_binding; in stm32_rcc_clock_init() local
31 max_binding = data->maxbinding; in stm32_rcc_clock_init()
33 clk_data = devm_kzalloc(dev, struct_size(clk_data, hws, max_binding), GFP_KERNEL); in stm32_rcc_clock_init()
37 clk_data->num = max_binding; in stm32_rcc_clock_init()
41 for (n = 0; n < max_binding; n++) in stm32_rcc_clock_init()
Dclk-stm32mp1.c2211 int err, n, max_binding; in stm32_rcc_clock_init() local
2213 max_binding = data->maxbinding; in stm32_rcc_clock_init()
2215 clk_data = devm_kzalloc(dev, struct_size(clk_data, hws, max_binding), in stm32_rcc_clock_init()
2220 clk_data->num = max_binding; in stm32_rcc_clock_init()
2224 for (n = 0; n < max_binding; n++) in stm32_rcc_clock_init()