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>
78 (HBA)->name, __func__, __LINE__, ##__VA_ARGS__)
82 if (unlikely((HBA)->logging_level & PM8001_##level##_LOGGING)) \
88 #define IS_SPCV_12G(dev) ((dev->device == 0X8074) \
89 || (dev->device == 0X8076) \
90 || (dev->device == 0X8077) \
91 || (dev->device == 0X8070) \
92 || (dev->device == 0X8072))
160 /* bit31-26 - mask bar */
162 /* bit25-0 - offset mask */
225 #define PM8001_CHIP_DISP (pm8001_ha->chip->dispatch)
277 __le64 addr; /* 64-bit buffer address */
278 struct pm8001_prd_imt im_len; /* 64-bit length */
475 spinlock_t lock;/* host-wide lock */
496 /*MPI SAS PHY attributes Queue Config Table Addr*/
504 /* MPI SAS PHY attributes */
512 struct pm8001_phy phy[PM8001_MAX_PHYS]; member
617 u8 inProgress;/*if 1 - the IOCTL request is in
691 void pm8001_get_lrate_mode(struct pm8001_phy *phy, u8 link_rate);
692 void pm8001_get_attached_sas_addr(struct pm8001_phy *phy, u8 *sas_addr);
709 u32 phy, u32 length, u32 *buf);
722 #define PM8001_INVALID_TAG ((u32)-1)
739 tag = rq->tag + PM8001_RESERVE_SLOT; in pm8001_ccb_alloc()
745 ccb = &pm8001_ha->ccb_info[tag]; in pm8001_ccb_alloc()
746 ccb->task = task; in pm8001_ccb_alloc()
747 ccb->n_elem = 0; in pm8001_ccb_alloc()
748 ccb->ccb_tag = tag; in pm8001_ccb_alloc()
749 ccb->device = dev; in pm8001_ccb_alloc()
750 ccb->fw_control_context = NULL; in pm8001_ccb_alloc()
751 ccb->open_retry = 0; in pm8001_ccb_alloc()
762 u32 tag = ccb->ccb_tag; in pm8001_ccb_free()
769 ccb->task = NULL; in pm8001_ccb_free()
770 ccb->ccb_tag = PM8001_INVALID_TAG; in pm8001_ccb_free()
771 ccb->device = NULL; in pm8001_ccb_free()
772 ccb->fw_control_context = NULL; in pm8001_ccb_free()
780 struct sas_task *task = ccb->task; in pm8001_ccb_task_free_done()
784 task->task_done(task); in pm8001_ccb_task_free_done()