Lines Matching refs:chan_attr_group
1460 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()
1501 kfree(iio_dev_opaque->chan_attr_group.attrs); in iio_device_unregister_sysfs()
1502 iio_dev_opaque->chan_attr_group.attrs = NULL; in iio_device_unregister_sysfs()