Lines Matching refs:pm8001_device
385 struct pm8001_device *pm8001_dev;
560 * pm8001_alloc_dev - find a empty pm8001_device
563 static struct pm8001_device *pm8001_alloc_dev(struct pm8001_hba_info *pm8001_ha)
580 * pm8001_find_dev - find a matching pm8001_device
584 struct pm8001_device *pm8001_find_dev(struct pm8001_hba_info *pm8001_ha,
598 static void pm8001_free_dev(struct pm8001_device *pm8001_dev)
626 struct pm8001_device *pm8001_device;
632 pm8001_device = pm8001_alloc_dev(pm8001_ha);
633 if (!pm8001_device) {
637 pm8001_device->sas_device = dev;
638 dev->lldd_dev = pm8001_device;
639 pm8001_device->dev_type = dev->dev_type;
640 pm8001_device->dcompletion = &completion;
649 pm8001_device->attached_phy = phy_id;
662 pm8001_device->attached_phy =
668 PM8001_CHIP_DISP->reg_dev_req(pm8001_ha, pm8001_device, flag);
723 struct pm8001_device *pm8001_dev = dev->lldd_dev;
803 struct pm8001_device *pm8001_dev, struct domain_device *dev, u32 flag,
877 struct pm8001_device *pm8001_dev = dev->lldd_dev;
924 struct pm8001_device *device_to_close)
937 struct pm8001_device *pm8001_dev;
999 struct pm8001_device *pm8001_dev;
1049 struct pm8001_device *pm8001_dev;
1110 struct pm8001_device *pm8001_dev = dev->lldd_dev;
1186 struct pm8001_device *pm8001_dev;
1344 struct pm8001_device *pm8001_dev = dev->lldd_dev;