• Home
  • Raw
  • Download

Lines Matching full:list

417 				struct rockchip_pll_clock *list,  in rockchip_clk_register_plls()  argument
423 for (idx = 0; idx < nr_pll; idx++, list++) { in rockchip_clk_register_plls()
424 clk = rockchip_clk_register_pll(ctx, list->type, list->name, in rockchip_clk_register_plls()
425 list->parent_names, list->num_parents, in rockchip_clk_register_plls()
426 list->con_offset, grf_lock_offset, in rockchip_clk_register_plls()
427 list->lock_shift, list->mode_offset, in rockchip_clk_register_plls()
428 list->mode_shift, list->rate_table, in rockchip_clk_register_plls()
429 list->flags, list->pll_flags); in rockchip_clk_register_plls()
432 list->name); in rockchip_clk_register_plls()
436 rockchip_clk_add_lookup(ctx, clk, list->id); in rockchip_clk_register_plls()
442 struct rockchip_clk_branch *list, in rockchip_clk_register_branches() argument
449 for (idx = 0; idx < nr_clk; idx++, list++) { in rockchip_clk_register_branches()
450 flags = list->flags; in rockchip_clk_register_branches()
453 switch (list->branch_type) { in rockchip_clk_register_branches()
455 clk = clk_register_mux(NULL, list->name, in rockchip_clk_register_branches()
456 list->parent_names, list->num_parents, in rockchip_clk_register_branches()
457 flags, ctx->reg_base + list->muxdiv_offset, in rockchip_clk_register_branches()
458 list->mux_shift, list->mux_width, in rockchip_clk_register_branches()
459 list->mux_flags, &ctx->lock); in rockchip_clk_register_branches()
462 clk = rockchip_clk_register_muxgrf(list->name, in rockchip_clk_register_branches()
463 list->parent_names, list->num_parents, in rockchip_clk_register_branches()
464 flags, ctx->grf, list->muxdiv_offset, in rockchip_clk_register_branches()
465 list->mux_shift, list->mux_width, in rockchip_clk_register_branches()
466 list->mux_flags); in rockchip_clk_register_branches()
469 if (list->div_table) in rockchip_clk_register_branches()
471 list->name, list->parent_names[0], in rockchip_clk_register_branches()
473 ctx->reg_base + list->muxdiv_offset, in rockchip_clk_register_branches()
474 list->div_shift, list->div_width, in rockchip_clk_register_branches()
475 list->div_flags, list->div_table, in rockchip_clk_register_branches()
478 clk = clk_register_divider(NULL, list->name, in rockchip_clk_register_branches()
479 list->parent_names[0], flags, in rockchip_clk_register_branches()
480 ctx->reg_base + list->muxdiv_offset, in rockchip_clk_register_branches()
481 list->div_shift, list->div_width, in rockchip_clk_register_branches()
482 list->div_flags, &ctx->lock); in rockchip_clk_register_branches()
485 clk = rockchip_clk_register_frac_branch(ctx, list->name, in rockchip_clk_register_branches()
486 list->parent_names, list->num_parents, in rockchip_clk_register_branches()
487 ctx->reg_base, list->muxdiv_offset, in rockchip_clk_register_branches()
488 list->div_flags, in rockchip_clk_register_branches()
489 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
490 list->gate_flags, flags, list->child, in rockchip_clk_register_branches()
494 clk = rockchip_clk_register_halfdiv(list->name, in rockchip_clk_register_branches()
495 list->parent_names, list->num_parents, in rockchip_clk_register_branches()
496 ctx->reg_base, list->muxdiv_offset, in rockchip_clk_register_branches()
497 list->mux_shift, list->mux_width, in rockchip_clk_register_branches()
498 list->mux_flags, list->div_shift, in rockchip_clk_register_branches()
499 list->div_width, list->div_flags, in rockchip_clk_register_branches()
500 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
501 list->gate_flags, flags, &ctx->lock); in rockchip_clk_register_branches()
506 clk = clk_register_gate(NULL, list->name, in rockchip_clk_register_branches()
507 list->parent_names[0], flags, in rockchip_clk_register_branches()
508 ctx->reg_base + list->gate_offset, in rockchip_clk_register_branches()
509 list->gate_shift, list->gate_flags, &ctx->lock); in rockchip_clk_register_branches()
512 clk = rockchip_clk_register_branch(list->name, in rockchip_clk_register_branches()
513 list->parent_names, list->num_parents, in rockchip_clk_register_branches()
514 ctx->reg_base, list->muxdiv_offset, in rockchip_clk_register_branches()
515 list->mux_shift, in rockchip_clk_register_branches()
516 list->mux_width, list->mux_flags, in rockchip_clk_register_branches()
517 list->div_offset, list->div_shift, list->div_width, in rockchip_clk_register_branches()
518 list->div_flags, list->div_table, in rockchip_clk_register_branches()
519 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
520 list->gate_flags, flags, &ctx->lock); in rockchip_clk_register_branches()
524 list->name, in rockchip_clk_register_branches()
525 list->parent_names, list->num_parents, in rockchip_clk_register_branches()
526 ctx->reg_base + list->muxdiv_offset, in rockchip_clk_register_branches()
527 list->div_shift in rockchip_clk_register_branches()
532 list->name, list->parent_names, in rockchip_clk_register_branches()
533 list->num_parents, in rockchip_clk_register_branches()
534 ctx->reg_base + list->muxdiv_offset, in rockchip_clk_register_branches()
535 list->div_shift, list->div_flags, &ctx->lock); in rockchip_clk_register_branches()
539 list->name, list->parent_names, in rockchip_clk_register_branches()
540 list->num_parents, ctx->reg_base, in rockchip_clk_register_branches()
541 list->div_shift, list->div_width, in rockchip_clk_register_branches()
542 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
543 list->gate_flags, flags, &ctx->lock); in rockchip_clk_register_branches()
547 list->name, list->flags, in rockchip_clk_register_branches()
548 list->parent_names, list->num_parents, in rockchip_clk_register_branches()
549 list->muxdiv_offset, list->mux_shift, in rockchip_clk_register_branches()
550 list->mux_width, list->div_shift, in rockchip_clk_register_branches()
551 list->div_width, list->div_flags, in rockchip_clk_register_branches()
559 __func__, list->branch_type); in rockchip_clk_register_branches()
565 __func__, list->name, PTR_ERR(clk)); in rockchip_clk_register_branches()
569 rockchip_clk_add_lookup(ctx, clk, list->id); in rockchip_clk_register_branches()