Home
last modified time | relevance | path

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

/openbmc/linux/drivers/base/
H A Dbus.c153 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_show() local
158 if (bus_attr->show) in bus_attr_show()
159 ret = bus_attr->show(subsys_priv->bus, buf); in bus_attr_show()
166 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_store() local
171 if (bus_attr->store) in bus_attr_store()
172 ret = bus_attr->store(subsys_priv->bus, buf, count); in bus_attr_store()
/openbmc/linux/drivers/scsi/
H A Dipr.c6718 ioa_cfg->bus_attr[i].bus_width); in ipr_scsi_bus_speed_limit()
6720 if (max_xfer_rate < ioa_cfg->bus_attr[i].max_xfer_rate) in ipr_scsi_bus_speed_limit()
6721 ioa_cfg->bus_attr[i].max_xfer_rate = max_xfer_rate; in ipr_scsi_bus_speed_limit()
6740 struct ipr_bus_attributes *bus_attr; in ipr_modify_ioafp_mode_page_28() local
6759 bus_attr = &ioa_cfg->bus_attr[i]; in ipr_modify_ioafp_mode_page_28()
6761 bus->bus_width = bus_attr->bus_width; in ipr_modify_ioafp_mode_page_28()
6764 if (bus_attr->qas_enabled) in ipr_modify_ioafp_mode_page_28()
9102 ioa_cfg->bus_attr[i].bus = i; in ipr_initialize_bus_attr()
9103 ioa_cfg->bus_attr[i].qas_enabled = 0; in ipr_initialize_bus_attr()
9104 ioa_cfg->bus_attr[i].bus_width = IPR_DEFAULT_BUS_WIDTH; in ipr_initialize_bus_attr()
[all …]
H A Dipr.h1483 struct ipr_bus_attributes bus_attr[IPR_MAX_NUM_BUSES]; member