Lines Matching refs:ext
365 const struct counter_signal_ext *ext;
373 const struct counter_signal_ext *const ext = comp->ext;
375 return ext->read(dev_get_drvdata(dev), comp->signal, ext->priv, buf);
384 const struct counter_signal_ext *const ext = comp->ext;
386 return ext->write(dev_get_drvdata(dev), comp->signal, ext->priv, buf,
409 const struct counter_signal_ext *ext;
416 ext = signal->ext + i;
425 signal_ext_comp->ext = ext;
430 parm.name = ext->name;
431 parm.show = (ext->read) ? counter_signal_ext_show : NULL;
432 parm.store = (ext->write) ? counter_signal_ext_store : NULL;
813 const struct counter_count_ext *ext;
821 const struct counter_count_ext *const ext = comp->ext;
823 return ext->read(dev_get_drvdata(dev), comp->count, ext->priv, buf);
832 const struct counter_count_ext *const ext = comp->ext;
834 return ext->write(dev_get_drvdata(dev), comp->count, ext->priv, buf,
843 const struct counter_count_ext *ext;
850 ext = count->ext + i;
859 count_ext_comp->ext = ext;
864 parm.name = ext->name;
865 parm.show = (ext->read) ? counter_count_ext_show : NULL;
866 parm.store = (ext->write) ? counter_count_ext_store : NULL;
1086 const struct counter_device_ext *ext;
1094 const struct counter_device_ext *const ext = component->ext;
1096 return ext->read(dev_get_drvdata(dev), ext->priv, buf);
1105 const struct counter_device_ext *const ext = component->ext;
1107 return ext->write(dev_get_drvdata(dev), ext->priv, buf, len);
1128 ext_comp->ext = counter->ext + i;
1133 parm.name = counter->ext[i].name;
1134 parm.show = (counter->ext[i].read) ? counter_device_ext_show : NULL;
1135 parm.store = (counter->ext[i].write) ? counter_device_ext_store : NULL;
1216 /* Allocate space for attribute groups (signals, counts, and ext) */