Lines Matching refs:hfi1_devdata
203 struct hfi1_devdata *dd;
708 struct hfi1_devdata *dd;
960 struct hfi1_devdata *controlling_dd; /* current controlling device */
968 struct hfi1_devdata *dds[2]; /* back pointers */
1010 struct hfi1_devdata { struct
1291 void (*pio_inline_send)(struct hfi1_devdata *dd, struct pio_buf *pbuf, argument
1293 int (*process_vnic_dma_send)(struct hfi1_devdata *dd, u8 q_idx, argument
1354 static inline bool hfi1_vnic_is_rsm_full(struct hfi1_devdata *dd, int spare) in hfi1_vnic_is_rsm_full() argument
1377 struct hfi1_devdata *dd;
1399 struct hfi1_devdata *hfi1_lookup(int unit);
1407 int hfi1_init(struct hfi1_devdata *dd, int reinit);
1410 int hfi1_diag_add(struct hfi1_devdata *dd);
1411 void hfi1_diag_remove(struct hfi1_devdata *dd);
1412 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup);
1416 int hfi1_create_rcvhdrq(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd);
1418 int hfi1_create_kctxts(struct hfi1_devdata *dd);
1423 struct hfi1_devdata *dd, u8 hw_pidx, u8 port);
1424 void hfi1_free_ctxtdata(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd);
1427 struct hfi1_ctxtdata *hfi1_rcd_get_by_index_safe(struct hfi1_devdata *dd,
1429 struct hfi1_ctxtdata *hfi1_rcd_get_by_index(struct hfi1_devdata *dd, u16 ctxt);
1433 void set_all_slowpath(struct hfi1_devdata *dd);
1434 void hfi1_vnic_synchronize_irq(struct hfi1_devdata *dd);
1569 static inline void pause_for_credit_return(struct hfi1_devdata *dd) in pause_for_credit_return()
1582 static inline u8 sc_to_vlt(struct hfi1_devdata *dd, u8 sc5) in sc_to_vlt()
1649 struct hfi1_devdata *dd = ppd->dd; in ingress_pkey_table_fail()
1726 u32 lrh_max_header_bytes(struct hfi1_devdata *dd);
1745 void hfi1_disable_after_error(struct hfi1_devdata *dd);
1752 void set_up_vau(struct hfi1_devdata *dd, u8 vau);
1753 void set_up_vl15(struct hfi1_devdata *dd, u16 vl15buf);
1754 void reset_link_credits(struct hfi1_devdata *dd);
1755 void assign_remote_cm_au_table(struct hfi1_devdata *dd, u8 vcu);
1759 static inline struct hfi1_devdata *dd_from_ppd(struct hfi1_pportdata *ppd) in dd_from_ppd()
1764 static inline struct hfi1_devdata *dd_from_dev(struct hfi1_ibdev *dev) in dd_from_dev()
1766 return container_of(dev, struct hfi1_devdata, verbs_dev); in dd_from_dev()
1769 static inline struct hfi1_devdata *dd_from_ibdev(struct ib_device *ibdev) in dd_from_ibdev()
1786 struct hfi1_devdata *dd = dd_from_ibdev(ibdev); in to_iport()
1890 struct hfi1_devdata *hfi1_init_dd(struct pci_dev *pdev,
1892 void hfi1_free_devdata(struct hfi1_devdata *dd);
1893 struct hfi1_devdata *hfi1_alloc_devdata(struct pci_dev *pdev, size_t extra);
1940 bool hfi1_can_pin_pages(struct hfi1_devdata *dd, struct mm_struct *mm,
1967 int hfi1_device_create(struct hfi1_devdata *dd);
1968 void hfi1_device_remove(struct hfi1_devdata *dd);
1972 int hfi1_verbs_register_sysfs(struct hfi1_devdata *dd);
1973 void hfi1_verbs_unregister_sysfs(struct hfi1_devdata *dd);
1978 void hfi1_clean_up_interrupts(struct hfi1_devdata *dd);
1980 int hfi1_pcie_ddinit(struct hfi1_devdata *dd, struct pci_dev *pdev);
1981 void hfi1_pcie_ddcleanup(struct hfi1_devdata *);
1982 int pcie_speeds(struct hfi1_devdata *dd);
1983 int request_msix(struct hfi1_devdata *dd, u32 msireq);
1984 int restore_pci_variables(struct hfi1_devdata *dd);
1985 int save_pci_variables(struct hfi1_devdata *dd);
1986 int do_pcie_gen3_transition(struct hfi1_devdata *dd);
1987 int parse_platform_config(struct hfi1_devdata *dd);
1988 int get_platform_config_field(struct hfi1_devdata *dd,
2046 static inline u64 hfi1_pkt_default_send_ctxt_mask(struct hfi1_devdata *dd, in hfi1_pkt_default_send_ctxt_mask()
2091 static inline u64 hfi1_pkt_base_sdma_integrity(struct hfi1_devdata *dd) in hfi1_pkt_base_sdma_integrity()
2198 static inline void hfi1_reset_cpu_counters(struct hfi1_devdata *dd) in hfi1_reset_cpu_counters()
2217 static inline void setextled(struct hfi1_devdata *dd, u32 on) in setextled()
2232 static inline u32 qsfp_resource(struct hfi1_devdata *dd) in qsfp_resource()
2238 static inline bool is_integrated(struct hfi1_devdata *dd) in is_integrated()
2243 int hfi1_tempsense_rd(struct hfi1_devdata *dd, struct hfi1_temp *temp);