sci_clk 44 drivers/clk/keystone/sci-clk.c struct sci_clk **clocks; sci_clk 68 drivers/clk/keystone/sci-clk.c #define to_sci_clk(_hw) container_of(_hw, struct sci_clk, hw) sci_clk 78 drivers/clk/keystone/sci-clk.c struct sci_clk *clk = to_sci_clk(hw); sci_clk 97 drivers/clk/keystone/sci-clk.c struct sci_clk *clk = to_sci_clk(hw); sci_clk 117 drivers/clk/keystone/sci-clk.c struct sci_clk *clk = to_sci_clk(hw); sci_clk 145 drivers/clk/keystone/sci-clk.c struct sci_clk *clk = to_sci_clk(hw); sci_clk 174 drivers/clk/keystone/sci-clk.c struct sci_clk *clk = to_sci_clk(hw); sci_clk 209 drivers/clk/keystone/sci-clk.c struct sci_clk *clk = to_sci_clk(hw); sci_clk 223 drivers/clk/keystone/sci-clk.c struct sci_clk *clk = to_sci_clk(hw); sci_clk 250 drivers/clk/keystone/sci-clk.c struct sci_clk *clk = to_sci_clk(hw); sci_clk 280 drivers/clk/keystone/sci-clk.c struct sci_clk *sci_clk) sci_clk 288 drivers/clk/keystone/sci-clk.c name = kasprintf(GFP_KERNEL, "clk:%d:%d", sci_clk->dev_id, sci_clk 289 drivers/clk/keystone/sci-clk.c sci_clk->clk_id); sci_clk 299 drivers/clk/keystone/sci-clk.c if (sci_clk->num_parents < 2) sci_clk 300 drivers/clk/keystone/sci-clk.c sci_clk->num_parents = 0; sci_clk 302 drivers/clk/keystone/sci-clk.c if (sci_clk->num_parents) { sci_clk 303 drivers/clk/keystone/sci-clk.c parent_names = kcalloc(sci_clk->num_parents, sizeof(char *), sci_clk 311 drivers/clk/keystone/sci-clk.c for (i = 0; i < sci_clk->num_parents; i++) { sci_clk 315 drivers/clk/keystone/sci-clk.c sci_clk->dev_id, sci_clk 316 drivers/clk/keystone/sci-clk.c sci_clk->clk_id + 1 + i); sci_clk 327 drivers/clk/keystone/sci-clk.c init.num_parents = sci_clk->num_parents; sci_clk 328 drivers/clk/keystone/sci-clk.c sci_clk->hw.init = &init; sci_clk 330 drivers/clk/keystone/sci-clk.c ret = devm_clk_hw_register(provider->dev, &sci_clk->hw); sci_clk 336 drivers/clk/keystone/sci-clk.c for (i = 0; i < sci_clk->num_parents; i++) sci_clk 349 drivers/clk/keystone/sci-clk.c const struct sci_clk *ca = a; sci_clk 350 drivers/clk/keystone/sci-clk.c const struct sci_clk *cb = *(struct sci_clk **)b; sci_clk 373 drivers/clk/keystone/sci-clk.c struct sci_clk **clk; sci_clk 374 drivers/clk/keystone/sci-clk.c struct sci_clk key; sci_clk 416 drivers/clk/keystone/sci-clk.c struct sci_clk **clks = NULL; sci_clk 417 drivers/clk/keystone/sci-clk.c struct sci_clk **tmp_clks; sci_clk 418 drivers/clk/keystone/sci-clk.c struct sci_clk *sci_clk; sci_clk 452 drivers/clk/keystone/sci-clk.c sizeof(sci_clk), sci_clk 454 drivers/clk/keystone/sci-clk.c memcpy(tmp_clks, clks, max_clks * sizeof(sci_clk)); sci_clk 461 drivers/clk/keystone/sci-clk.c sci_clk = devm_kzalloc(dev, sizeof(*sci_clk), GFP_KERNEL); sci_clk 462 drivers/clk/keystone/sci-clk.c if (!sci_clk) sci_clk 464 drivers/clk/keystone/sci-clk.c sci_clk->dev_id = dev_id; sci_clk 465 drivers/clk/keystone/sci-clk.c sci_clk->clk_id = clk_id; sci_clk 466 drivers/clk/keystone/sci-clk.c sci_clk->provider = provider; sci_clk 467 drivers/clk/keystone/sci-clk.c sci_clk->num_parents = num_parents; sci_clk 469 drivers/clk/keystone/sci-clk.c clks[num_clks] = sci_clk; sci_clk 475 drivers/clk/keystone/sci-clk.c provider->clocks = devm_kmalloc_array(dev, num_clks, sizeof(sci_clk), sci_clk 480 drivers/clk/keystone/sci-clk.c memcpy(provider->clocks, clks, num_clks * sizeof(sci_clk)); sci_clk 494 drivers/clk/keystone/sci-clk.c struct sci_clk *ca = container_of(a, struct sci_clk, node); sci_clk 495 drivers/clk/keystone/sci-clk.c struct sci_clk *cb = container_of(b, struct sci_clk, node); sci_clk 508 drivers/clk/keystone/sci-clk.c struct sci_clk *sci_clk, *prev; sci_clk 541 drivers/clk/keystone/sci-clk.c sci_clk = devm_kzalloc(dev, sizeof(*sci_clk), sci_clk 543 drivers/clk/keystone/sci-clk.c if (!sci_clk) sci_clk 546 drivers/clk/keystone/sci-clk.c sci_clk->dev_id = args.args[0]; sci_clk 547 drivers/clk/keystone/sci-clk.c sci_clk->clk_id = args.args[1]; sci_clk 548 drivers/clk/keystone/sci-clk.c sci_clk->provider = provider; sci_clk 550 drivers/clk/keystone/sci-clk.c sci_clk->dev_id, sci_clk 551 drivers/clk/keystone/sci-clk.c sci_clk->clk_id, sci_clk 552 drivers/clk/keystone/sci-clk.c (void *)&sci_clk->num_parents); sci_clk 553 drivers/clk/keystone/sci-clk.c list_add_tail(&sci_clk->node, &clks); sci_clk 557 drivers/clk/keystone/sci-clk.c num_parents = sci_clk->num_parents; sci_clk 573 drivers/clk/keystone/sci-clk.c sci_clk->dev_id, sci_clk 574 drivers/clk/keystone/sci-clk.c sci_clk->clk_id, num_parents); sci_clk 581 drivers/clk/keystone/sci-clk.c sci_clk = devm_kzalloc(dev, sci_clk 582 drivers/clk/keystone/sci-clk.c sizeof(*sci_clk), sci_clk 584 drivers/clk/keystone/sci-clk.c if (!sci_clk) sci_clk 586 drivers/clk/keystone/sci-clk.c sci_clk->dev_id = args.args[0]; sci_clk 587 drivers/clk/keystone/sci-clk.c sci_clk->clk_id = clk_id++; sci_clk 588 drivers/clk/keystone/sci-clk.c sci_clk->provider = provider; sci_clk 589 drivers/clk/keystone/sci-clk.c list_add_tail(&sci_clk->node, &clks); sci_clk 601 drivers/clk/keystone/sci-clk.c provider->clocks = devm_kmalloc_array(dev, num_clks, sizeof(sci_clk), sci_clk 609 drivers/clk/keystone/sci-clk.c list_for_each_entry(sci_clk, &clks, node) { sci_clk 610 drivers/clk/keystone/sci-clk.c if (prev && prev->dev_id == sci_clk->dev_id && sci_clk 611 drivers/clk/keystone/sci-clk.c prev->clk_id == sci_clk->clk_id) sci_clk 614 drivers/clk/keystone/sci-clk.c provider->clocks[num_clks++] = sci_clk; sci_clk 615 drivers/clk/keystone/sci-clk.c prev = sci_clk;