Home
last modified time | relevance | path

Searched refs:mthca_rate (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_av.c69 static enum ib_rate memfree_rate_to_ib(u8 mthca_rate, u8 port_rate) in memfree_rate_to_ib() argument
71 switch (mthca_rate) { in memfree_rate_to_ib()
84 static enum ib_rate tavor_rate_to_ib(u8 mthca_rate, u8 port_rate) in tavor_rate_to_ib() argument
86 switch (mthca_rate) { in tavor_rate_to_ib()
94 enum ib_rate mthca_rate_to_ib(struct mthca_dev *dev, u8 mthca_rate, u32 port) in mthca_rate_to_ib() argument
98 if (dev->limits.stat_rate_support == 0x3 && mthca_rate) in mthca_rate_to_ib()
101 return memfree_rate_to_ib(mthca_rate, dev->rate[port - 1]); in mthca_rate_to_ib()
103 return tavor_rate_to_ib(mthca_rate, dev->rate[port - 1]); in mthca_rate_to_ib()
H A Dmthca_dev.h563 enum ib_rate mthca_rate_to_ib(struct mthca_dev *dev, u8 mthca_rate, u32 port);