Lines Matching refs:pm8001_device
435 struct pm8001_device *pm8001_dev = dev->lldd_dev;
533 struct pm8001_device *pm8001_dev;
574 * pm8001_alloc_dev - find a empty pm8001_device
577 static struct pm8001_device *pm8001_alloc_dev(struct pm8001_hba_info *pm8001_ha)
594 * pm8001_find_dev - find a matching pm8001_device
598 struct pm8001_device *pm8001_find_dev(struct pm8001_hba_info *pm8001_ha,
612 void pm8001_free_dev(struct pm8001_device *pm8001_dev)
640 struct pm8001_device *pm8001_device;
646 pm8001_device = pm8001_alloc_dev(pm8001_ha);
647 if (!pm8001_device) {
651 pm8001_device->sas_device = dev;
652 dev->lldd_dev = pm8001_device;
653 pm8001_device->dev_type = dev->dev_type;
654 pm8001_device->dcompletion = &completion;
666 pm8001_device->attached_phy = phy_id;
670 pm8001_device->attached_phy =
676 PM8001_CHIP_DISP->reg_dev_req(pm8001_ha, pm8001_device, flag);
703 struct pm8001_device *pm8001_dev = dev->lldd_dev;
737 struct pm8001_device *device_to_close)
750 struct pm8001_device *pm8001_dev;
812 struct pm8001_device *pm8001_dev;
861 struct pm8001_device *pm8001_dev;
919 struct pm8001_device *pm8001_dev = dev->lldd_dev;
999 struct pm8001_device *pm8001_dev;
1152 struct pm8001_device *pm8001_dev = dev->lldd_dev;
1178 struct pm8001_device *pm8001_dev = dev->lldd_dev;