Home
last modified time | relevance | path

Searched refs:pm8001_dev (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/scsi/pm8001/
H A Dpm8001_sas.c135 struct pm8001_device *pm8001_dev = dev->lldd_dev; in pm80xx_get_local_phy_id() local
140 return pm8001_dev->attached_phy; in pm80xx_get_local_phy_id()
149 struct pm8001_device *pm8001_dev = NULL; in pm80xx_show_pending_commands() local
156 pm8001_dev = ccb->device; in pm80xx_show_pending_commands()
157 if (target_pm8001_dev && pm8001_dev && in pm80xx_show_pending_commands()
158 target_pm8001_dev != pm8001_dev) in pm80xx_show_pending_commands()
165 (pm8001_dev ? pm8001_dev->device_id : 0), in pm80xx_show_pending_commands()
444 #define DEV_IS_GONE(pm8001_dev) \ argument
445 ((!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)))
487 struct pm8001_device *pm8001_dev = dev->lldd_dev; in pm8001_queue_command() local
[all …]
H A Dpm8001_hwi.c1449 struct pm8001_device *pm8001_dev; in pm8001_work_fn() local
1459 pm8001_dev = pw->data; /* Most stash device structure */ in pm8001_work_fn()
1460 if ((pm8001_dev == NULL) in pm8001_work_fn()
1462 && (pm8001_dev->dev_type == SAS_PHY_UNUSED))) { in pm8001_work_fn()
1471 struct sas_task *t = (struct sas_task *)pm8001_dev; in pm8001_work_fn()
1505 pm8001_dev = ccb->device; in pm8001_work_fn()
1506 if (pm8001_dev) in pm8001_work_fn()
1507 atomic_dec(&pm8001_dev->running_req); in pm8001_work_fn()
1527 struct sas_task *t = (struct sas_task *)pm8001_dev; in pm8001_work_fn()
1572 pm8001_dev = ccb->device; in pm8001_work_fn()
[all …]