Lines Matching refs:hfi1_pportdata
218 struct hfi1_pportdata *ppd;
746 struct hfi1_pportdata *ppd; /* read-only */
778 struct hfi1_pportdata { struct
1357 struct hfi1_pportdata *pport;
1479 int hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, int numa,
1482 void hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd,
1690 static inline u32 active_egress_rate(struct hfi1_pportdata *ppd) in active_egress_rate()
1746 void set_link_ipg(struct hfi1_pportdata *ppd);
1747 void process_becn(struct hfi1_pportdata *ppd, u8 sl, u32 rlid, u32 lqpn,
1760 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey,
1825 static int ingress_pkey_table_search(struct hfi1_pportdata *ppd, u16 pkey) in ingress_pkey_table_search()
1841 static void ingress_pkey_table_fail(struct hfi1_pportdata *ppd, u16 pkey, in ingress_pkey_table_fail()
1862 static inline int ingress_pkey_check(struct hfi1_pportdata *ppd, u16 pkey, in ingress_pkey_check()
1895 static inline int rcv_pkey_check(struct hfi1_pportdata *ppd, u16 pkey, in rcv_pkey_check()
1937 int set_mtu(struct hfi1_pportdata *ppd);
1939 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc);
1941 int hfi1_set_uevent_bits(struct hfi1_pportdata *ppd, const int evtbit);
1944 int fm_get_table(struct hfi1_pportdata *ppd, int which, void *t);
1945 int fm_set_table(struct hfi1_pportdata *ppd, int which, void *t);
1952 int set_buffer_control(struct hfi1_pportdata *ppd, struct buffer_control *bc);
1954 static inline struct hfi1_devdata *dd_from_ppd(struct hfi1_pportdata *ppd) in dd_from_ppd()
1969 static inline struct hfi1_pportdata *ppd_from_ibp(struct hfi1_ibport *ibp) in ppd_from_ibp()
1971 return container_of(ibp, struct hfi1_pportdata, ibport_data); in ppd_from_ibp()
2035 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_get_pkey()
2051 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in get_sguid()
2060 static inline struct cc_state *get_cc_state(struct hfi1_pportdata *ppd) in get_cc_state()
2069 struct cc_state *get_cc_state_protected(struct hfi1_pportdata *ppd) in get_cc_state_protected()
2104 void hfi1_start_led_override(struct hfi1_pportdata *ppd, unsigned int timeon,
2106 void shutdown_led_override(struct hfi1_pportdata *ppd);
2206 int qsfp_dump(struct hfi1_pportdata *ppd, char *buf, int len);
2416 struct hfi1_pportdata *ppd; in hfi1_reset_cpu_counters()
2423 ppd = (struct hfi1_pportdata *)(dd + 1); in hfi1_reset_cpu_counters()
2486 struct hfi1_pportdata *ppd; in hfi1_update_ah_attr()
2629 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_make_ext_grh()