Lines Matching defs:channel
73 * Reserved channel for integrated raid
574 * @channel: channel number
583 mptsas_add_device_component(MPT_ADAPTER *ioc, u8 channel, u8 id,
599 (sas_info->fw.channel == channel &&
614 sas_info->fw.channel = channel;
631 sas_info->os.channel = starget->channel;
643 * @channel: channel number
648 mptsas_add_device_component_by_fw(MPT_ADAPTER *ioc, u8 channel, u8 id)
657 (channel << 8) + id);
667 mptsas_add_device_component(ioc, sas_device.channel,
693 /* assumption that all volumes on channel = 0 */
736 (sas_info->fw.channel == phys_disk.PhysDiskBus &&
763 sas_info->os.channel = starget->channel;
802 mptsas_add_device_component(ioc, phy_info->attached.channel,
811 * @channel: os mapped id's
816 mptsas_del_device_component_by_os(MPT_ADAPTER *ioc, u8 channel, u8 id)
825 if (sas_info->os.channel == channel && sas_info->os.id == id)
988 * @channel: channel number
993 mptsas_find_vtarget(MPT_ADAPTER *ioc, u8 channel, u8 id)
1009 vdevice->vtarget->channel == channel)
1058 * @channel: channel number
1066 mptsas_target_reset(MPT_ADAPTER *ioc, u8 channel, u8 id)
1090 pScsiTm->Bus = channel;
1099 ioc->name, MPI_SCSITASKMGMT_TASKTYPE_TARGET_RESET, channel, id));
1142 u8 id, channel;
1145 channel = sas_event_data->Bus;
1147 vtarget = mptsas_find_vtarget(ioc, channel, id);
1168 if (mptsas_target_reset(ioc, channel, id)) {
1189 u8 id, channel;
1201 channel = target_reset_list->sas_event_data.Bus;
1204 if (mptsas_target_reset(ioc, channel, id))
1225 u8 id, channel;
1281 channel = pScsiTmReply->Bus;
1288 if (mptsas_target_reset(ioc, channel, id))
1488 phy_info->attached.channel, phy_info->attached.id,
1569 "sas_addr 0x%llx\n", ioc->name, ds, phy_info->attached.channel,
1623 port_info->phy_info[i].attached.channel = sas_device->channel;
1729 if (sdev->channel == MPTSAS_RAID_CHANNEL) {
1748 u8 id, channel;
1762 channel = 0;
1767 if (starget->channel == MPTSAS_RAID_CHANNEL) {
1775 channel = ioc->raid_data.pIocPg2->
1791 channel = p->phy_info[i].attached.channel;
1797 if (mptscsih_is_phys_disk(ioc, channel, id)) {
1799 channel, id);
1815 vtarget->channel = channel;
1836 mptsas_del_device_component_by_os(ioc, starget->channel,
1840 if (starget->channel == MPTSAS_RAID_CHANNEL)
1853 p->phy_info[i].attached.channel,
1890 if (sdev->channel == MPTSAS_RAID_CHANNEL)
1905 p->phy_info[i].attached.channel,
2649 device_info->channel = buffer->Bus;
3298 phy_info->attached.channel,
3763 u8 channel, id;
3765 channel = phy_info->attached.channel;
3769 phy_info->attached.channel));
3781 vdevice->vtarget->channel ==
3782 channel)
3835 (sas_info->fw.channel << 8) +
3872 sas_info->fw.channel, sas_info->fw.id);
4038 printk(MYIOC_s_INFO_FMT "attaching raid volume, channel %d, "
4056 int channel = -1;
4076 (sas_info->fw.channel == fw_channel &&
4079 channel = MPTSAS_RAID_CHANNEL;
4090 if (sas_info->fw.channel == fw_channel &&
4093 channel = sas_info->os.channel;
4105 if (sdev->id == id && sdev->channel == channel) {
4164 * @channel: channel number
4170 u8 channel, u8 id)
4196 (channel == phys_disk->Path[i].PhysDiskBus)) {
4225 (port_info->phy_info[i].attached.channel ==
4226 channel))
4251 mptsas_adding_inactive_raid_components(MPT_ADAPTER *ioc, u8 channel, u8 id)
4265 cfg.pageAddr = (channel << 8) + id;
4365 (hot_plug_info->channel << 8) +
4427 hot_plug_info->channel,
4437 (hot_plug_info->channel << 8) + hot_plug_info->id)) {
4481 ioc->name, hot_plug_info->channel, hot_plug_info->id,
4496 (hot_plug_info->channel << 8) + hot_plug_info->id)) {
4547 ioc->name, hot_plug_info->channel, hot_plug_info->id,
4556 hot_plug_info->channel, hot_plug_info->id);
4562 printk(MYIOC_s_INFO_FMT "attaching raid volume, channel %d, "
4572 printk(MYIOC_s_INFO_FMT "removing raid volume, channel %d, "
4583 hot_plug_info->channel, hot_plug_info->id);
4628 hot_plug_info.channel = sas_event_data->Bus;
4678 hot_plug_info.channel = raid_event_data->VolumeBus;
4710 hot_plug_info.channel = phys_disk.PhysDiskBus;
4779 * @channel: channel number for task management
4790 mptsas_issue_tm(MPT_ADAPTER *ioc, u8 type, u8 channel, u8 id, u64 lun,
4810 type, timeout, channel, id, (unsigned long long)lun,
4819 pScsiTm->Bus = channel;
4874 u8 channel, id;
4912 channel = vdevice->vtarget->channel;
4916 channel, id, (u64)lun, task_context, 30, &issue_reset))
4929 channel, id, (u64)lun, 0, 30, &issue_reset))
4979 hot_plug_info.channel = ir2_data->Bus;
5048 u8 id, channel;
5051 channel = sas_event_data->Bus;
5053 vtarget = mptsas_find_vtarget(ioc, channel, id);
5060 id, channel));
5147 printk(MYIOC_s_INFO_FMT "removing raid volume, channel %d, "