Searched refs:pm8001_dev (Results 1 – 4 of 4) sorted by relevance
392 #define DEV_IS_GONE(pm8001_dev) \ argument393 ((!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)))435 struct pm8001_device *pm8001_dev = dev->lldd_dev; in pm8001_queue_command() local463 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() local561 pm8001_dev = ccb->device; in pm8001_ccb_task_free()[all …]
1804 struct pm8001_device *pm8001_dev; in mpi_ssp_completion() local1814 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 …]
1505 struct pm8001_device *pm8001_dev; in pm8001_work_fn() local1515 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 …]
198 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);