Lines Matching +full:sierra +full:- +full:phy
2 * PMC-Sierra PM8001/8081/8088/8089 SAS/SATA based host adapters driver
4 * Copyright (c) 2008-2009 USI Co., Ltd.
18 * 3. Neither the names of the above-listed copyright holders nor the names
50 #include <linux/dma-mapping.h>
58 #include <linux/blk-mq.h>
59 #include <linux/blk-mq-pci.h>
77 (HBA)->name, __func__, __LINE__, ##__VA_ARGS__)
81 if (unlikely((HBA)->logging_level & PM8001_##level##_LOGGING)) \
90 #define IS_SPCV_12G(dev) ((dev->device == 0X8074) \
91 || (dev->device == 0X8076) \
92 || (dev->device == 0X8077) \
93 || (dev->device == 0X8070) \
94 || (dev->device == 0X8072))
162 /* bit31-26 - mask bar */
164 /* bit25-0 - offset mask */
227 #define PM8001_CHIP_DISP (pm8001_ha->chip->dispatch)
279 __le64 addr; /* 64-bit buffer address */
280 struct pm8001_prd_imt im_len; /* 64-bit length */
477 spinlock_t lock;/* host-wide lock */
498 /*MPI SAS PHY attributes Queue Config Table Addr*/
506 /* MPI SAS PHY attributes */
515 struct pm8001_phy phy[PM8001_MAX_PHYS]; member
627 u8 inProgress;/*if 1 - the IOCTL request is in
702 void pm8001_get_lrate_mode(struct pm8001_phy *phy, u8 link_rate);
703 void pm8001_get_attached_sas_addr(struct pm8001_phy *phy, u8 *sas_addr);
723 u32 phy, u32 length, u32 *buf);
735 #define PM8001_INVALID_TAG ((u32)-1)
752 ccb = &pm8001_ha->ccb_info[tag]; in pm8001_ccb_alloc()
753 ccb->task = task; in pm8001_ccb_alloc()
754 ccb->n_elem = 0; in pm8001_ccb_alloc()
755 ccb->ccb_tag = tag; in pm8001_ccb_alloc()
756 ccb->device = dev; in pm8001_ccb_alloc()
757 ccb->fw_control_context = NULL; in pm8001_ccb_alloc()
758 ccb->open_retry = 0; in pm8001_ccb_alloc()
769 u32 tag = ccb->ccb_tag; in pm8001_ccb_free()
776 ccb->task = NULL; in pm8001_ccb_free()
777 ccb->ccb_tag = PM8001_INVALID_TAG; in pm8001_ccb_free()
778 ccb->device = NULL; in pm8001_ccb_free()
779 ccb->fw_control_context = NULL; in pm8001_ccb_free()
787 struct sas_task *task = ccb->task; in pm8001_ccb_task_free_done()
791 task->task_done(task); in pm8001_ccb_task_free_done()