Searched refs:device_attr (Results 1 – 3 of 3) sorted by relevance
441 result->page_size_cap = resp.u.device_attr.page_size_cap; in efa_com_get_device_attr()442 result->fw_version = resp.u.device_attr.fw_version; in efa_com_get_device_attr()443 result->admin_api_version = resp.u.device_attr.admin_api_version; in efa_com_get_device_attr()444 result->device_version = resp.u.device_attr.device_version; in efa_com_get_device_attr()445 result->supported_features = resp.u.device_attr.supported_features; in efa_com_get_device_attr()446 result->phys_addr_width = resp.u.device_attr.phys_addr_width; in efa_com_get_device_attr()447 result->virt_addr_width = resp.u.device_attr.virt_addr_width; in efa_com_get_device_attr()448 result->db_bar = resp.u.device_attr.db_bar; in efa_com_get_device_attr()449 result->max_rdma_size = resp.u.device_attr.max_rdma_size; in efa_com_get_device_attr()450 result->device_caps = resp.u.device_attr.device_caps; in efa_com_get_device_attr()[all …]
722 struct efa_admin_feature_device_attr_desc device_attr; member
585 struct device_attribute *device_attr; in hid_sensor_custom_add_attributes() local587 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()