Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/base/
Dbus.c105 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_show() local
109 if (bus_attr->show) in bus_attr_show()
110 ret = bus_attr->show(subsys_priv->bus, buf); in bus_attr_show()
117 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_store() local
121 if (bus_attr->store) in bus_attr_store()
122 ret = bus_attr->store(subsys_priv->bus, buf, count); in bus_attr_store()
/kernel/linux/linux-5.10/drivers/scsi/
Dipr.c7490 ioa_cfg->bus_attr[i].bus_width); in ipr_scsi_bus_speed_limit()
7492 if (max_xfer_rate < ioa_cfg->bus_attr[i].max_xfer_rate) in ipr_scsi_bus_speed_limit()
7493 ioa_cfg->bus_attr[i].max_xfer_rate = max_xfer_rate; in ipr_scsi_bus_speed_limit()
7512 struct ipr_bus_attributes *bus_attr; in ipr_modify_ioafp_mode_page_28() local
7531 bus_attr = &ioa_cfg->bus_attr[i]; in ipr_modify_ioafp_mode_page_28()
7533 bus->bus_width = bus_attr->bus_width; in ipr_modify_ioafp_mode_page_28()
7534 bus->max_xfer_rate = cpu_to_be32(bus_attr->max_xfer_rate); in ipr_modify_ioafp_mode_page_28()
7536 if (bus_attr->qas_enabled) in ipr_modify_ioafp_mode_page_28()
9877 ioa_cfg->bus_attr[i].bus = i; in ipr_initialize_bus_attr()
9878 ioa_cfg->bus_attr[i].qas_enabled = 0; in ipr_initialize_bus_attr()
[all …]
Dipr.h1543 struct ipr_bus_attributes bus_attr[IPR_MAX_NUM_BUSES]; member