Searched refs:device_attr (Results 1 – 3 of 3) sorted by relevance
462 result->page_size_cap = resp.u.device_attr.page_size_cap; in efa_com_get_device_attr()463 result->fw_version = resp.u.device_attr.fw_version; in efa_com_get_device_attr()464 result->admin_api_version = resp.u.device_attr.admin_api_version; in efa_com_get_device_attr()465 result->device_version = resp.u.device_attr.device_version; in efa_com_get_device_attr()466 result->supported_features = resp.u.device_attr.supported_features; in efa_com_get_device_attr()467 result->phys_addr_width = resp.u.device_attr.phys_addr_width; in efa_com_get_device_attr()468 result->virt_addr_width = resp.u.device_attr.virt_addr_width; in efa_com_get_device_attr()469 result->db_bar = resp.u.device_attr.db_bar; in efa_com_get_device_attr()479 edev->supported_features = resp.u.device_attr.supported_features; in efa_com_get_device_attr()
658 struct efa_admin_feature_device_attr_desc device_attr; member
581 struct device_attribute *device_attr; in hid_sensor_custom_add_attributes() local583 device_attr = &sensor_inst->fields[i].sd_attrs[j]; in hid_sensor_custom_add_attributes()589 sysfs_attr_init(&device_attr->attr); in hid_sensor_custom_add_attributes()590 device_attr->attr.name = in hid_sensor_custom_add_attributes()592 device_attr->attr.mode = hid_custom_attrs[j].mode; in hid_sensor_custom_add_attributes()593 device_attr->show = show_value; in hid_sensor_custom_add_attributes()595 device_attr->store = store_value; in hid_sensor_custom_add_attributes()596 sensor_inst->fields[i].attrs[j] = &device_attr->attr; in hid_sensor_custom_add_attributes()