Lines Matching defs:channel
73 * Reserved channel for integrated raid
547 * @channel: fw mapped id's
554 mptsas_add_device_component(MPT_ADAPTER *ioc, u8 channel, u8 id,
570 (sas_info->fw.channel == channel &&
585 sas_info->fw.channel = channel;
602 sas_info->os.channel = starget->channel;
614 * @channel: fw mapped id's
619 mptsas_add_device_component_by_fw(MPT_ADAPTER *ioc, u8 channel, u8 id)
628 (channel << 8) + id);
638 mptsas_add_device_component(ioc, sas_device.channel,
646 * @channel: fw mapped id's
665 /* assumption that all volumes on channel = 0 */
708 (sas_info->fw.channel == phys_disk.PhysDiskBus &&
735 sas_info->os.channel = starget->channel;
776 mptsas_add_device_component(ioc, phy_info->attached.channel,
785 * @channel: os mapped id's
790 mptsas_del_device_component_by_os(MPT_ADAPTER *ioc, u8 channel, u8 id)
799 if (sas_info->os.channel == channel && sas_info->os.id == id)
966 mptsas_find_vtarget(MPT_ADAPTER *ioc, u8 channel, u8 id)
982 vdevice->vtarget->channel == channel)
1032 * @channel
1040 mptsas_target_reset(MPT_ADAPTER *ioc, u8 channel, u8 id)
1064 pScsiTm->Bus = channel;
1073 ioc->name, MPI_SCSITASKMGMT_TASKTYPE_TARGET_RESET, channel, id));
1116 u8 id, channel;
1119 channel = sas_event_data->Bus;
1121 vtarget = mptsas_find_vtarget(ioc, channel, id);
1142 if (mptsas_target_reset(ioc, channel, id)) {
1163 u8 id, channel;
1175 channel = target_reset_list->sas_event_data.Bus;
1178 if (mptsas_target_reset(ioc, channel, id))
1197 u8 id, channel;
1253 channel = pScsiTmReply->Bus;
1260 if (mptsas_target_reset(ioc, channel, id))
1460 phy_info->attached.channel, phy_info->attached.id,
1541 "sas_addr 0x%llx\n", ioc->name, ds, phy_info->attached.channel,
1595 port_info->phy_info[i].attached.channel = sas_device->channel;
1701 if (sdev->channel == MPTSAS_RAID_CHANNEL) {
1720 u8 id, channel;
1734 channel = 0;
1739 if (starget->channel == MPTSAS_RAID_CHANNEL) {
1747 channel = ioc->raid_data.pIocPg2->
1763 channel = p->phy_info[i].attached.channel;
1769 if (mptscsih_is_phys_disk(ioc, channel, id)) {
1771 channel, id);
1787 vtarget->channel = channel;
1808 mptsas_del_device_component_by_os(ioc, starget->channel,
1812 if (starget->channel == MPTSAS_RAID_CHANNEL)
1825 p->phy_info[i].attached.channel,
1862 if (sdev->channel == MPTSAS_RAID_CHANNEL)
1877 p->phy_info[i].attached.channel,
2621 device_info->channel = buffer->Bus;
3267 phy_info->attached.channel,
3735 u8 channel, id;
3737 channel = phy_info->attached.channel;
3741 phy_info->attached.channel));
3753 vdevice->vtarget->channel ==
3754 channel)
3807 (sas_info->fw.channel << 8) +
3844 sas_info->fw.channel, sas_info->fw.id);
4010 printk(MYIOC_s_INFO_FMT "attaching raid volume, channel %d, "
4028 int channel = -1;
4048 (sas_info->fw.channel == fw_channel &&
4051 channel = MPTSAS_RAID_CHANNEL;
4062 if (sas_info->fw.channel == fw_channel &&
4065 channel = sas_info->os.channel;
4077 if (sdev->id == id && sdev->channel == channel) {
4135 * @channel:
4141 u8 channel, u8 id)
4167 (channel == phys_disk->Path[i].PhysDiskBus)) {
4196 (port_info->phy_info[i].attached.channel ==
4197 channel))
4222 mptsas_adding_inactive_raid_components(MPT_ADAPTER *ioc, u8 channel, u8 id)
4236 cfg.pageAddr = (channel << 8) + id;
4336 (hot_plug_info->channel << 8) +
4398 hot_plug_info->channel,
4408 (hot_plug_info->channel << 8) + hot_plug_info->id)) {
4452 ioc->name, hot_plug_info->channel, hot_plug_info->id,
4467 (hot_plug_info->channel << 8) + hot_plug_info->id)) {
4518 ioc->name, hot_plug_info->channel, hot_plug_info->id,
4527 hot_plug_info->channel, hot_plug_info->id);
4533 printk(MYIOC_s_INFO_FMT "attaching raid volume, channel %d, "
4543 printk(MYIOC_s_INFO_FMT "removing raid volume, channel %d, "
4554 hot_plug_info->channel, hot_plug_info->id);
4599 hot_plug_info.channel = sas_event_data->Bus;
4649 hot_plug_info.channel = raid_event_data->VolumeBus;
4681 hot_plug_info.channel = phys_disk.PhysDiskBus;
4750 * @channel: channel number for task management
4760 mptsas_issue_tm(MPT_ADAPTER *ioc, u8 type, u8 channel, u8 id, u64 lun,
4780 type, timeout, channel, id, (unsigned long long)lun,
4789 pScsiTm->Bus = channel;
4844 u8 channel, id;
4882 channel = vdevice->vtarget->channel;
4886 channel, id, (u64)lun, task_context, 30, &issue_reset))
4899 channel, id, (u64)lun, 0, 30, &issue_reset))
4949 hot_plug_info.channel = ir2_data->Bus;
5018 u8 id, channel;
5021 channel = sas_event_data->Bus;
5023 vtarget = mptsas_find_vtarget(ioc, channel, id);
5030 id, channel));
5117 printk(MYIOC_s_INFO_FMT "removing raid volume, channel %d, "