Lines Matching defs:hisi_hba

121 	struct hisi_hba *hisi_hba;  member
152 struct hisi_hba *hisi_hba; member
179 struct hisi_hba *hisi_hba; member
187 struct hisi_hba *hisi_hba; member
195 struct hisi_hba *hisi_hba; member
324 struct hisi_hba { struct
326 struct sas_ha_struct *p;
328 struct platform_device *platform_dev;
329 struct pci_dev *pci_dev;
330 struct device *dev;
332 int prot_mask;
334 void __iomem *regs;
335 void __iomem *sgpio_regs;
336 struct regmap *ctrl;
337 u32 ctrl_reset_reg;
338 u32 ctrl_reset_sts_reg;
339 u32 ctrl_clock_ena_reg;
340 u32 refclk_frequency_mhz;
341 u8 sas_addr[SAS_ADDR_SIZE];
343 int n_phy;
344 spinlock_t lock;
345 struct semaphore sem;
347 struct timer_list timer;
348 struct workqueue_struct *wq;
350 int slot_index_count;
351 int last_slot_index;
352 int last_dev_id;
353 unsigned long *slot_index_tags;
354 unsigned long reject_stp_links_msk;
357 struct sas_ha_struct sha;
358 struct Scsi_Host *shost;
360 struct hisi_sas_cq cq[HISI_SAS_MAX_QUEUES];
361 struct hisi_sas_dq dq[HISI_SAS_MAX_QUEUES];
362 struct hisi_sas_phy phy[HISI_SAS_MAX_PHYS];
363 struct hisi_sas_port port[HISI_SAS_MAX_PHYS];
365 int queue_count;
367 struct hisi_sas_device devices[HISI_SAS_MAX_DEVICES];
368 struct hisi_sas_cmd_hdr *cmd_hdr[HISI_SAS_MAX_QUEUES];
369 dma_addr_t cmd_hdr_dma[HISI_SAS_MAX_QUEUES];
370 void *complete_hdr[HISI_SAS_MAX_QUEUES];
371 dma_addr_t complete_hdr_dma[HISI_SAS_MAX_QUEUES];
372 struct hisi_sas_initial_fis *initial_fis;
373 dma_addr_t initial_fis_dma;
374 struct hisi_sas_itct *itct;
375 dma_addr_t itct_dma;
376 struct hisi_sas_iost *iost;
377 dma_addr_t iost_dma;
378 struct hisi_sas_breakpoint *breakpoint;
379 dma_addr_t breakpoint_dma;
380 struct hisi_sas_breakpoint *sata_breakpoint;
381 dma_addr_t sata_breakpoint_dma;
382 struct hisi_sas_slot *slot_info;
383 unsigned long flags;
384 const struct hisi_sas_hw *hw; /* Low level hw interface */
385 unsigned long sata_dev_bitmap[BITS_TO_LONGS(HISI_SAS_MAX_DEVICES)];
386 struct work_struct rst_work;
387 struct work_struct debugfs_work;
388 u32 phy_state;
389 u32 intr_coal_ticks; /* Time of interrupt coalesce in us */
390 u32 intr_coal_count; /* Interrupt count to coalesce */
392 int cq_nvecs;
393 unsigned int *reply_map;
396 enum sas_linkrate debugfs_bist_linkrate;
397 int debugfs_bist_code_mode;
398 int debugfs_bist_phy_no;
399 int debugfs_bist_mode;
400 u32 debugfs_bist_cnt;
401 int debugfs_bist_enable;
405 u32 *debugfs_regs[DEBUGFS_REGS_NUM];
406 u32 *debugfs_port_reg[HISI_SAS_MAX_PHYS];
407 void *debugfs_complete_hdr[HISI_SAS_MAX_QUEUES];
408 struct hisi_sas_cmd_hdr *debugfs_cmd_hdr[HISI_SAS_MAX_QUEUES];
409 struct hisi_sas_iost *debugfs_iost;
410 struct hisi_sas_itct *debugfs_itct;
411 u64 *debugfs_iost_cache;
412 u64 *debugfs_itct_cache;
414 struct dentry *debugfs_dir;
415 struct dentry *debugfs_dump_dentry;
416 struct dentry *debugfs_bist_dentry;
417 bool debugfs_snapshot;