Lines Matching defs:hfi1_pportdata
177 struct hfi1_pportdata *ppd;
699 struct hfi1_pportdata *ppd; /* read-only */
731 struct hfi1_pportdata {
1009 * fields related to a physical IB port are in a hfi1_pportdata struct.
1304 /* hfi1_pportdata, points to array of (physical) port-specific
1307 struct hfi1_pportdata *pport;
1427 int hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, int numa,
1430 void hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd,
1638 static inline u32 active_egress_rate(struct hfi1_pportdata *ppd)
1694 void set_link_ipg(struct hfi1_pportdata *ppd);
1695 void process_becn(struct hfi1_pportdata *ppd, u8 sl, u32 rlid, u32 lqpn,
1708 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey,
1773 static int ingress_pkey_table_search(struct hfi1_pportdata *ppd, u16 pkey)
1789 static void ingress_pkey_table_fail(struct hfi1_pportdata *ppd, u16 pkey,
1810 static inline int ingress_pkey_check(struct hfi1_pportdata *ppd, u16 pkey,
1843 static inline int rcv_pkey_check(struct hfi1_pportdata *ppd, u16 pkey,
1885 int set_mtu(struct hfi1_pportdata *ppd);
1887 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc);
1889 int hfi1_set_uevent_bits(struct hfi1_pportdata *ppd, const int evtbit);
1892 int fm_get_table(struct hfi1_pportdata *ppd, int which, void *t);
1893 int fm_set_table(struct hfi1_pportdata *ppd, int which, void *t);
1900 int set_buffer_control(struct hfi1_pportdata *ppd, struct buffer_control *bc);
1902 static inline struct hfi1_devdata *dd_from_ppd(struct hfi1_pportdata *ppd)
1917 static inline struct hfi1_pportdata *ppd_from_ibp(struct hfi1_ibport *ibp)
1919 return container_of(ibp, struct hfi1_pportdata, ibport_data);
1983 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp);
1999 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp);
2008 static inline struct cc_state *get_cc_state(struct hfi1_pportdata *ppd)
2017 struct cc_state *get_cc_state_protected(struct hfi1_pportdata *ppd)
2052 void hfi1_start_led_override(struct hfi1_pportdata *ppd, unsigned int timeon,
2054 void shutdown_led_override(struct hfi1_pportdata *ppd);
2153 int qsfp_dump(struct hfi1_pportdata *ppd, char *buf, int len);
2363 struct hfi1_pportdata *ppd;
2370 ppd = (struct hfi1_pportdata *)(dd + 1);
2433 struct hfi1_pportdata *ppd;
2576 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp);