Lines Matching refs:chan_attr_group
1543 iio_dev_opaque->chan_attr_group.attrs = in iio_device_register_sysfs()
1545 sizeof(iio_dev_opaque->chan_attr_group.attrs[0]), in iio_device_register_sysfs()
1547 if (iio_dev_opaque->chan_attr_group.attrs == NULL) { in iio_device_register_sysfs()
1553 memcpy(iio_dev_opaque->chan_attr_group.attrs, in iio_device_register_sysfs()
1555 sizeof(iio_dev_opaque->chan_attr_group.attrs[0]) in iio_device_register_sysfs()
1557 iio_dev_opaque->chan_attr_group.is_visible = in iio_device_register_sysfs()
1559 iio_dev_opaque->chan_attr_group.bin_attrs = in iio_device_register_sysfs()
1565 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_sysfs()
1567 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_name.attr; in iio_device_register_sysfs()
1569 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_label.attr; in iio_device_register_sysfs()
1571 iio_dev_opaque->chan_attr_group.attrs[attrn++] = clk; in iio_device_register_sysfs()
1574 &iio_dev_opaque->chan_attr_group); in iio_device_register_sysfs()
1591 kfree(iio_dev_opaque->chan_attr_group.attrs); in iio_device_unregister_sysfs()
1592 iio_dev_opaque->chan_attr_group.attrs = NULL; in iio_device_unregister_sysfs()