Searched refs:chan_attr_group (Results 1 – 2 of 2) sorted by relevance
1547 iio_dev_opaque->chan_attr_group.attrs = in iio_device_register_sysfs()1549 sizeof(iio_dev_opaque->chan_attr_group.attrs[0]), in iio_device_register_sysfs()1551 if (iio_dev_opaque->chan_attr_group.attrs == NULL) { in iio_device_register_sysfs()1557 memcpy(iio_dev_opaque->chan_attr_group.attrs, in iio_device_register_sysfs()1559 sizeof(iio_dev_opaque->chan_attr_group.attrs[0]) in iio_device_register_sysfs()1561 iio_dev_opaque->chan_attr_group.is_visible = in iio_device_register_sysfs()1563 iio_dev_opaque->chan_attr_group.bin_attrs = in iio_device_register_sysfs()1569 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_sysfs()1571 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_name.attr; in iio_device_register_sysfs()1573 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_label.attr; in iio_device_register_sysfs()[all …]
57 struct attribute_group chan_attr_group; member