Lines Matching refs:device

7  *    Rewrite for host, target, device, and remote port attributes,
31 struct device *pdev, struct fc_vport_identifiers *ids,
356 static int fc_target_setup(struct transport_container *tc, struct device *dev,
357 struct device *cdev)
386 static int fc_host_setup(struct transport_container *tc, struct device *dev,
387 struct device *cdev)
468 static int fc_host_remove(struct transport_container *tc, struct device *dev,
469 struct device *cdev)
647 * @wwpn: wwpn of the fc_rport device
988 show_fc_rport_##field (struct device *dev, \
1004 store_fc_rport_##field(struct device *dev, \
1044 show_fc_rport_##field (struct device *dev, \
1064 show_fc_rport_##title (struct device *dev, \
1118 show_fc_rport_supported_classes (struct device *dev,
1180 store_fc_rport_dev_loss_tmo(struct device *dev, struct device_attribute *attr,
1207 show_fc_rport_roles (struct device *dev, struct device_attribute *attr,
1239 static ssize_t fc_rport_set_marginal_state(struct device *dev,
1276 show_fc_rport_port_state(struct device *dev,
1298 show_fc_rport_fast_io_fail_tmo (struct device *dev,
1309 store_fc_rport_fast_io_fail_tmo(struct device *dev,
1343 static ssize_t fc_rport_fpinstat_##name(struct device *cd, \
1416 show_fc_starget_##field (struct device *dev, \
1471 show_fc_vport_##field (struct device *dev, \
1485 store_fc_vport_##field(struct device *dev, \
1505 store_fc_vport_##field(struct device *dev, \
1543 show_fc_vport_##field (struct device *dev, \
1552 store_fc_vport_##field(struct device *dev, \
1589 show_fc_vport_##title (struct device *dev, \
1659 show_fc_vport_roles (struct device *dev, struct device_attribute *attr,
1679 store_fc_vport_delete(struct device *dev, struct device_attribute *attr,
1706 store_fc_vport_disable(struct device *dev, struct device_attribute *attr,
1740 show_fc_host_##field (struct device *dev, \
1752 store_fc_host_##field(struct device *dev, \
1770 store_fc_host_##field(struct device *dev, \
1807 show_fc_host_##title (struct device *dev, \
1850 show_fc_host_##field (struct device *dev, \
1885 show_fc_host_supported_classes (struct device *dev,
1899 show_fc_host_supported_fc4s (struct device *dev,
1909 show_fc_host_supported_speeds (struct device *dev,
1942 show_fc_host_active_fc4s (struct device *dev,
1957 show_fc_host_speed (struct device *dev,
1991 show_fc_private_host_tgtid_bind_type(struct device *dev,
2007 store_fc_private_host_tgtid_bind_type(struct device *dev,
2040 store_fc_private_host_issue_lip(struct device *dev,
2060 store_fc_private_host_dev_loss_tmo(struct device *dev,
2095 fc_stat_show(const struct device *dev, char *buf, unsigned long offset)
2118 static ssize_t show_fcstat_##name(struct device *cd, \
2161 static ssize_t fc_host_fpinstat_##name(struct device *cd, \
2194 fc_reset_statistics(struct device *dev, struct device_attribute *attr,
2311 store_fc_host_vport_create(struct device *dev, struct device_attribute *attr,
2358 store_fc_host_vport_delete(struct device *dev, struct device_attribute *attr,
2411 struct device *dev)
2430 struct device *dev)
2448 static void fc_rport_dev_release(struct device *dev)
2455 int scsi_is_fc_rport(const struct device *dev)
2462 struct device *dev)
2481 static void fc_vport_dev_release(struct device *dev)
2488 static int scsi_is_fc_vport(const struct device *dev)
2494 struct device *dev)
2522 * to communicate with the device to perform the requested function. These
2523 * failures may result in the midlayer taking the device offline, requiring
2529 * Eventually, either the device will return, or devloss_tmo will fire,
2538 struct fc_rport *rport = starget_to_rport(scsi_target(scmd->device));
2972 struct device *dev = &rport->dev;
3057 struct device *dev;
3170 * device is created.
3371 * disrupting the SCSI device tree attached to it. During the "blocked"
3375 * expect, we'll delete the port and the tear down the SCSI device tree
3382 * and deallocated, including the fc_remote_port class device.
3456 /* see if we need to kill io faster than waiting for device loss */
3781 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device));
3801 struct fc_rport *rport = starget_to_rport(scsi_target(scmd->device));
3816 * @pdev: parent device for vport
3828 fc_vport_setup(struct Scsi_Host *shost, int channel, struct device *pdev,
3834 struct device *dev;
3980 struct device *dev = &vport->dev;
4277 struct device *dev = &shost->shost_gendev;
4312 struct device *dev = &rport->dev;