Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-core.c1460 iio_dev_opaque->chan_attr_group.attrs = in iio_device_register_sysfs()
1462 sizeof(iio_dev_opaque->chan_attr_group.attrs[0]), in iio_device_register_sysfs()
1464 if (iio_dev_opaque->chan_attr_group.attrs == NULL) { in iio_device_register_sysfs()
1470 memcpy(iio_dev_opaque->chan_attr_group.attrs, in iio_device_register_sysfs()
1472 sizeof(iio_dev_opaque->chan_attr_group.attrs[0]) in iio_device_register_sysfs()
1477 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_sysfs()
1479 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_name.attr; in iio_device_register_sysfs()
1481 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_label.attr; in iio_device_register_sysfs()
1483 iio_dev_opaque->chan_attr_group.attrs[attrn++] = clk; in iio_device_register_sysfs()
1486 &iio_dev_opaque->chan_attr_group; in iio_device_register_sysfs()
[all …]
/kernel/linux/linux-5.10/include/linux/iio/
Diio-opaque.h24 struct attribute_group chan_attr_group; member