Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/pm8001/
Dpm8001_sas.c392 #define DEV_IS_GONE(pm8001_dev) \ argument
393 ((!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)))
435 struct pm8001_device *pm8001_dev = dev->lldd_dev; in pm8001_queue_command() local
463 pm8001_dev = dev->lldd_dev; in pm8001_queue_command()
467 (DEV_IS_GONE(pm8001_dev) || !port->port_attached)) { in pm8001_queue_command()
481 ccb = pm8001_ccb_alloc(pm8001_ha, pm8001_dev, task); in pm8001_queue_command()
503 atomic_inc(&pm8001_dev->running_req); in pm8001_queue_command()
507 atomic_dec(&pm8001_dev->running_req); in pm8001_queue_command()
533 struct pm8001_device *pm8001_dev; in pm8001_ccb_task_free() local
561 pm8001_dev = ccb->device; in pm8001_ccb_task_free()
[all …]
Dpm80xx_hwi.c1804 struct pm8001_device *pm8001_dev; in mpi_ssp_completion() local
1814 pm8001_dev = ccb->device; in mpi_ssp_completion()
1847 if (pm8001_dev) in mpi_ssp_completion()
1848 atomic_dec(&pm8001_dev->running_req); in mpi_ssp_completion()
1854 if (pm8001_dev) in mpi_ssp_completion()
1855 atomic_dec(&pm8001_dev->running_req); in mpi_ssp_completion()
1864 if (pm8001_dev) in mpi_ssp_completion()
1865 atomic_dec(&pm8001_dev->running_req); in mpi_ssp_completion()
1871 if (pm8001_dev) in mpi_ssp_completion()
1872 atomic_dec(&pm8001_dev->running_req); in mpi_ssp_completion()
[all …]
Dpm8001_hwi.c1505 struct pm8001_device *pm8001_dev; in pm8001_work_fn() local
1515 pm8001_dev = pw->data; /* Most stash device structure */ in pm8001_work_fn()
1516 if ((pm8001_dev == NULL) in pm8001_work_fn()
1518 && (pm8001_dev->dev_type == SAS_PHY_UNUSED))) { in pm8001_work_fn()
1527 struct sas_task *t = (struct sas_task *)pm8001_dev; in pm8001_work_fn()
1561 pm8001_dev = ccb->device; in pm8001_work_fn()
1562 if (pm8001_dev) in pm8001_work_fn()
1563 atomic_dec(&pm8001_dev->running_req); in pm8001_work_fn()
1583 struct sas_task *t = (struct sas_task *)pm8001_dev; in pm8001_work_fn()
1628 pm8001_dev = ccb->device; in pm8001_work_fn()
[all …]
Dpm8001_sas.h198 struct pm8001_device *pm8001_dev, u32 flag);
211 struct pm8001_device *pm8001_dev, u32 state);
671 struct pm8001_device *pm8001_dev, u32 state);
722 void pm8001_free_dev(struct pm8001_device *pm8001_dev);