Home
last modified time | relevance | path

Searched refs:chan_attr_group (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/iio/
Dindustrialio-core.c1586 iio_dev_opaque->chan_attr_group.attrs = in iio_device_register_sysfs()
1588 sizeof(iio_dev_opaque->chan_attr_group.attrs[0]), in iio_device_register_sysfs()
1590 if (iio_dev_opaque->chan_attr_group.attrs == NULL) { in iio_device_register_sysfs()
1596 memcpy(iio_dev_opaque->chan_attr_group.attrs, in iio_device_register_sysfs()
1598 sizeof(iio_dev_opaque->chan_attr_group.attrs[0]) in iio_device_register_sysfs()
1600 iio_dev_opaque->chan_attr_group.is_visible = in iio_device_register_sysfs()
1606 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_sysfs()
1608 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_name.attr; in iio_device_register_sysfs()
1610 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_label.attr; in iio_device_register_sysfs()
1612 iio_dev_opaque->chan_attr_group.attrs[attrn++] = clk; in iio_device_register_sysfs()
[all …]
/linux-5.19.10/include/linux/iio/
Diio-opaque.h53 struct attribute_group chan_attr_group; member