Searched refs:sd_attrs (Results 1 – 4 of 4) sorted by relevance
83 struct sensor_device_attribute sd_attrs[TOTAL_ATTRS]; member395 sysfs_attr_init(&tdata->sd_attrs[i].dev_attr.attr); in create_core_attrs()396 tdata->sd_attrs[i].dev_attr.attr.name = tdata->attr_name[i]; in create_core_attrs()397 tdata->sd_attrs[i].dev_attr.attr.mode = 0444; in create_core_attrs()398 tdata->sd_attrs[i].dev_attr.show = rd_ptr[i]; in create_core_attrs()399 tdata->sd_attrs[i].index = attr_no; in create_core_attrs()400 tdata->attrs[i] = &tdata->sd_attrs[i].dev_attr.attr; in create_core_attrs()
3067 void sd_attrs_to_i_attrs(__u16 sd_attrs, struct inode *inode) in sd_attrs_to_i_attrs() argument3070 if (sd_attrs & REISERFS_SYNC_FL) in sd_attrs_to_i_attrs()3074 if (sd_attrs & REISERFS_IMMUTABLE_FL) in sd_attrs_to_i_attrs()3078 if (sd_attrs & REISERFS_APPEND_FL) in sd_attrs_to_i_attrs()3082 if (sd_attrs & REISERFS_NOATIME_FL) in sd_attrs_to_i_attrs()3086 if (sd_attrs & REISERFS_NOTAIL_FL) in sd_attrs_to_i_attrs()
1797 __le16 sd_attrs; /* persistent inode flags */ member1845 #define sd_v2_attrs(sdp) (le16_to_cpu((sdp)->sd_attrs))1846 #define set_sd_v2_attrs(sdp,v) ((sdp)->sd_attrs = cpu_to_le16(v))3102 void sd_attrs_to_i_attrs(__u16 sd_attrs, struct inode *inode);
31 struct device_attribute sd_attrs[HID_CUSTOM_MAX_CORE_ATTRS]; member587 device_attr = &sensor_inst->fields[i].sd_attrs[j]; in hid_sensor_custom_add_attributes()