Lines Matching defs:channel
30 static int fc_vport_setup(struct Scsi_Host *shost, int channel,
2389 if ((vport->channel == 0) &&
2549 * matches the channel and target id, and invoke scsi_scan_target()
2553 fc_user_scan_tgt(struct Scsi_Host *shost, uint channel, uint id, u64 lun)
2568 if ((channel == rport->channel) &&
2571 scsi_scan_target(&rport->dev, channel, id, lun,
2587 fc_user_scan(struct Scsi_Host *shost, uint channel, uint id, u64 lun)
2592 if (((channel != SCAN_WILD_CARD) && (channel > shost->max_channel)) ||
2597 if (channel == SCAN_WILD_CARD) {
2601 chlo = channel;
2602 chhi = channel + 1;
3040 * @channel: Channel on shost port connected to.
3051 fc_remote_port_create(struct Scsi_Host *shost, int channel,
3079 rport->channel = channel;
3106 shost->host_no, channel, rport->number);
3142 * @channel: Channel on shost port connected to.
3178 fc_remote_port_add(struct Scsi_Host *shost, int channel,
3201 (rport->channel == channel)) {
3305 if (rport->channel != channel)
3353 rport = fc_remote_port_create(shost, channel, ids);
3720 scsi_scan_target(&rport->dev, rport->channel,
3815 * @channel: Channel on shost port connected to.
3828 fc_vport_setup(struct Scsi_Host *shost, int channel, struct device *pdev,
3860 vport->channel = channel;
3883 shost->host_no, channel, vport->number);
3918 "%s created via shost%d channel %d\n", dev_name(dev),
3919 shost->host_no, channel);
3944 * @channel: channel on shost port connected to.
3952 fc_vport_create(struct Scsi_Host *shost, int channel,
3958 stat = fc_vport_setup(shost, channel, &shost->shost_gendev,
4034 "shost%d channel %d - error %d\n", __func__,
4036 vport->channel, stat);