Home
last modified time | relevance | path

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

/linux/drivers/hid/
H A Dhid-sensor-custom.c585 struct device_attribute *device_attr; in hid_sensor_custom_add_attributes() local
587 device_attr = &sensor_inst->fields[i].sd_attrs[j]; in hid_sensor_custom_add_attributes()
593 sysfs_attr_init(&device_attr->attr); in hid_sensor_custom_add_attributes()
594 device_attr->attr.name = in hid_sensor_custom_add_attributes()
596 device_attr->attr.mode = hid_custom_attrs[j].mode; in hid_sensor_custom_add_attributes()
597 device_attr->show = show_value; in hid_sensor_custom_add_attributes()
599 device_attr->store = store_value; in hid_sensor_custom_add_attributes()
600 sensor_inst->fields[i].attrs[j] = &device_attr->attr; in hid_sensor_custom_add_attributes()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mfw_hsi.h529 u32 device_attr; member