Lines Matching defs:bus

193 MODULE_PARM_DESC(max_speed, "Maximum bus speed (0-2). Default: 1=U160. Speeds: 0=80 MB/s, 1=U160, 2=U320");
228 "FFFE: Soft device bus error recovered by the IOA"},
230 "4101: Soft device bus fabric error"},
256 "FF3D: Soft PCI bus error recovered by the IOA"},
266 "FFF6: Device bus error, message or command phase"},
288 "Device bus connection is prohibited by host"},
304 "3100: Device bus error"},
308 "3120: SCSI bus is not operational"},
310 "4100: Hard device bus fabric error"},
344 "8150: PCI bus error"},
346 "Unsupported device bus message received"},
356 "Device bus status error"},
372 "3110: Device bus error, message or command phase"},
426 "3140: Device bus not ready to ready transition"},
428 "FFFB: SCSI bus was reset"},
430 "FFFE: SCSI bus transition to single ended"},
432 "FFFE: SCSI bus transition to LVD"},
434 "FFFB: SCSI bus was reset by another initiator"},
438 "4102: Device bus fabric performance degradation"},
446 "3020: IOA detected a SCSI bus configuration error"},
448 "3150: SCSI bus configuration error"},
1124 res->bus = 0;
1143 res->bus = IPR_IOAFP_VIRTUAL_BUS;
1146 res->bus = IPR_ARRAY_VIRTUAL_BUS;
1151 res->bus = IPR_VSET_VIRTUAL_BUS;
1168 res->bus = cfgtew->u.cfgte->res_addr.bus;
1194 if (res->bus == cfgtew->u.cfgte->res_addr.bus &&
1317 if (res->bus == IPR_ARRAY_VIRTUAL_BUS)
1319 else if (res->bus == IPR_VSET_VIRTUAL_BUS)
1321 else if (res->bus == 0 && res->type == IPR_RES_TYPE_GENERIC_SCSI) {
1327 } else if (res->bus == 0)
1752 error->last_func_vset_res_addr.bus,
1803 error->last_func_vset_res_addr.bus,
2436 /* Tell the midlayer we had a bus reset so it will handle the UA properly */
2438 hostrcb->hcam.u.error.fd_res_addr.bus);
2682 * ipr_get_max_scsi_speed - Determine max SCSI speed for a given bus
2684 * @bus: SCSI bus
2685 * @bus_width: bus width
2688 * SCSI bus speed in units of 100KHz, 1600 is 160 MHz
2689 * For a 2-byte wide SCSI bus, the maximum transfer speed is
2690 * twice the maximum transfer rate (e.g. for a wide enabled bus,
2693 static u32 ipr_get_max_scsi_speed(struct ipr_ioa_cfg *ioa_cfg, u8 bus, u8 bus_width)
2704 if (bus != res->bus)
3242 u8 bus, target, lun;
3277 bus = res->bus;
3282 scsi_add_device(ioa_cfg->host, bus, target, lun);
4474 res->bus, res->target, res->lun);
4680 * ipr_find_starget - Find target based on bus/target.
4693 if ((res->bus == starget->channel) &&
4725 * ipr_find_sdev - Find device based on bus/target/lun.
4737 if ((res->bus == sdev->channel) &&
5103 * ipr_bus_reset_done - Op done function for bus reset.
5106 * This function is the op done function for a bus reset
5120 scsi_report_bus_reset(ioa_cfg->host, res->bus);
5143 * happens we issue a bus reset since we have resources tied
5164 sdev_printk(KERN_ERR, ipr_cmd->u.sdev, "Abort timed out. Resetting bus.\n");
5251 * If the abort task timed out and we sent a bus reset, we will get
6147 * Report the bus reset and ask for a retry. The device
6679 struct ipr_dev_bus_entry *bus;
6687 bus = mode_page->bus;
6690 if (bus->flags & IPR_SCSI_ATTR_NO_TERM_PWR) {
6692 "Term power is absent on scsi bus %d\n",
6693 bus->res_addr.bus);
6696 bus = (struct ipr_dev_bus_entry *)((char *)bus + entry_length);
6706 * bus speed, the speed is limited for the bus.
6739 struct ipr_dev_bus_entry *bus;
6748 /* Loop for each device bus entry */
6749 for (i = 0, bus = mode_page->bus;
6751 i++, bus = (struct ipr_dev_bus_entry *)((u8 *)bus + entry_length)) {
6752 if (bus->res_addr.bus > IPR_MAX_NUM_BUSES) {
6755 IPR_GET_PHYS_LOC(bus->res_addr));
6760 bus->extended_reset_delay = IPR_EXTENDED_RESET_DELAY;
6761 bus->bus_width = bus_attr->bus_width;
6762 bus->max_xfer_rate = cpu_to_be32(bus_attr->max_xfer_rate);
6763 bus->flags &= ~IPR_SCSI_ATTR_QAS_MASK;
6765 bus->flags |= IPR_SCSI_ATTR_ENABLE_QAS;
6767 bus->flags |= IPR_SCSI_ATTR_DISABLE_QAS;
6802 * This function sets up the SCSI bus attributes and sends
6913 * retrieve SCSI bus attributes.
8623 * ipr_pci_frozen - Called when slot has experienced a PCI bus error.
8626 * Description: This routine is called to tell us that the PCI bus
8628 * into a holding pattern, waiting for the PCI bus to come back.
8671 * Description: This routine is called when the PCI bus has
9091 * ipr_initialize_bus_attr - Initialize SCSI bus attributes to default values
9102 ioa_cfg->bus_attr[i].bus = i;