Lines Matching defs:init_def
507 struct as3722_regnode_init_def *init_def)
514 &init_def->reg_init_def);
516 rv = OF_getencprop(node, "ams,ext-control", &init_def->ext_control,
517 sizeof(init_def->ext_control));
519 init_def->ext_control = 0;
520 if (init_def->ext_control > 3) {
523 init_def->ext_control);
524 init_def->ext_control = 0;
527 init_def->enable_tracking = 1;
542 (void **)&init_def->reg_init_def.parent_name);
544 init_def->reg_init_def.parent_name = NULL;
551 struct as3722_regnode_init_def init_def;
554 bzero(&init_def, sizeof(init_def));
556 as3722_fdt_parse(sc, node, def, &init_def);
557 init_def.reg_init_def.id = def->id;
558 init_def.reg_init_def.ofw_node = node;
560 &init_def.reg_init_def);
574 reg_sc->ext_control = init_def.ext_control;
575 reg_sc->enable_tracking = init_def.enable_tracking;