Lines Matching defs:ext
748 const struct counter_comp *const ext,
755 err = counter_attr_create(dev, group, ext, scope, parent);
760 return counter_comp_id_attr_create(dev, group, ext->name, id);
770 struct counter_comp ext = *comp;
778 ext.name = devm_kasprintf(dev, GFP_KERNEL, "%s%zu", comp->name,
780 if (!ext.name)
790 ext.priv = element;
793 err = counter_ext_attrs_create(dev, group, &ext, scope, parent,
810 const struct counter_comp *ext;
817 ext = &exts[i];
818 if (ext->type == COUNTER_COMP_ARRAY) {
819 err = counter_array_attrs_create(dev, group, ext, scope,
821 array = ext->priv;
824 err = counter_ext_attrs_create(dev, group, ext, scope,
862 return counter_sysfs_exts_add(dev, cattr_group, signal->ext,
971 return counter_sysfs_exts_add(dev, cattr_group, count->ext,
1102 return counter_sysfs_exts_add(dev, cattr_group, counter->ext,
1128 /* Allocate space for attribute groups (signals, counts, and ext) */