Searched refs:bc_data (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/clk/imx/ |
H A D | clk-imx95-blk-ctl.c | 283 const struct imx95_blk_ctl_dev_data *bc_data; in imx95_bc_probe() local 313 bc_data = of_device_get_match_data(dev); in imx95_bc_probe() 314 if (!bc_data) in imx95_bc_probe() 317 clk_hw_data = devm_kzalloc(dev, struct_size(clk_hw_data, hws, bc_data->num_clks), in imx95_bc_probe() 322 if (bc_data->rpm_enabled) in imx95_bc_probe() 325 clk_hw_data->num = bc_data->num_clks; in imx95_bc_probe() 328 for (i = 0; i < bc_data->num_clks; i++) { in imx95_bc_probe() 329 const struct imx95_blk_ctl_clk_dev_data *data = &bc_data->clk_dev_data[i]; in imx95_bc_probe() 369 for (i = 0; i < bc_data->num_clks; i++) { in imx95_bc_probe() 375 if (bc_data->rpm_enabled) in imx95_bc_probe() [all …]
|
/linux/drivers/pmdomain/imx/ |
H A D | imx93-blk-ctrl.c | 195 const struct imx93_blk_ctrl_data *bc_data = of_device_get_match_data(dev); in imx93_blk_ctrl_probe() local 204 .rd_table = bc_data->reg_access_table, in imx93_blk_ctrl_probe() 205 .wr_table = bc_data->reg_access_table, in imx93_blk_ctrl_probe() 224 bc->domains = devm_kcalloc(dev, bc_data->num_domains, in imx93_blk_ctrl_probe() 230 bc->onecell_data.num_domains = bc_data->num_domains; in imx93_blk_ctrl_probe() 232 devm_kcalloc(dev, bc_data->num_domains, in imx93_blk_ctrl_probe() 237 for (i = 0; i < bc_data->num_clks; i++) in imx93_blk_ctrl_probe() 238 bc->clks[i].id = bc_data->clk_names[i]; in imx93_blk_ctrl_probe() 239 bc->num_clks = bc_data->num_clks; in imx93_blk_ctrl_probe() 247 for (i = 0; i < bc_data->num_domains; i++) { in imx93_blk_ctrl_probe() [all …]
|
H A D | imx8mp-blk-ctrl.c | 601 const struct imx8mp_blk_ctrl_data *bc_data; in imx8mp_blk_ctrl_probe() local 619 bc_data = of_device_get_match_data(dev); in imx8mp_blk_ctrl_probe() 620 num_domains = bc_data->num_domains; in imx8mp_blk_ctrl_probe() 626 regmap_config.max_register = bc_data->max_reg; in imx8mp_blk_ctrl_probe() 650 bc->power_off = bc_data->power_off; in imx8mp_blk_ctrl_probe() 651 bc->power_on = bc_data->power_on; in imx8mp_blk_ctrl_probe() 654 const struct imx8mp_blk_ctrl_domain_data *data = &bc_data->domains[i]; in imx8mp_blk_ctrl_probe() 736 bc->power_nb.notifier_call = bc_data->power_notifier_fn; in imx8mp_blk_ctrl_probe() 743 if (bc_data->probe) { in imx8mp_blk_ctrl_probe() 744 ret = bc_data->probe(bc); in imx8mp_blk_ctrl_probe()
|
H A D | imx8m-blk-ctrl.c | 171 const struct imx8m_blk_ctrl_data *bc_data; in imx8m_blk_ctrl_probe() local 189 bc_data = of_device_get_match_data(dev); in imx8m_blk_ctrl_probe() 195 regmap_config.max_register = bc_data->max_reg; in imx8m_blk_ctrl_probe() 201 bc->domains = devm_kcalloc(dev, bc_data->num_domains, in imx8m_blk_ctrl_probe() 207 bc->onecell_data.num_domains = bc_data->num_domains; in imx8m_blk_ctrl_probe() 209 devm_kcalloc(dev, bc_data->num_domains, in imx8m_blk_ctrl_probe() 224 for (i = 0; i < bc_data->num_domains; i++) { in imx8m_blk_ctrl_probe() 225 const struct imx8m_blk_ctrl_domain_data *data = &bc_data->domains[i]; in imx8m_blk_ctrl_probe() 308 bc->power_nb.notifier_call = bc_data->power_notifier_fn; in imx8m_blk_ctrl_probe()
|