Home
last modified time | relevance | path

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

/drivers/infiniband/hw/efa/
Defa_com_cmd.c441 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 …]
Defa_admin_cmds_defs.h722 struct efa_admin_feature_device_attr_desc device_attr; member
/drivers/hid/
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()