Lines Matching refs:cpi
313 static inline u8 ib_get_cpi_resp_time(struct ib_class_port_info *cpi) in ib_get_cpi_resp_time() argument
315 return (u8)(be32_to_cpu(cpi->cap_mask2_resp_time) & in ib_get_cpi_resp_time()
325 static inline void ib_set_cpi_resp_time(struct ib_class_port_info *cpi, in ib_set_cpi_resp_time() argument
328 cpi->cap_mask2_resp_time = in ib_set_cpi_resp_time()
329 (cpi->cap_mask2_resp_time & in ib_set_cpi_resp_time()
339 static inline u32 ib_get_cpi_capmask2(struct ib_class_port_info *cpi) in ib_get_cpi_capmask2() argument
341 return (be32_to_cpu(cpi->cap_mask2_resp_time) >> in ib_get_cpi_capmask2()
351 static inline void ib_set_cpi_capmask2(struct ib_class_port_info *cpi, in ib_set_cpi_capmask2() argument
354 cpi->cap_mask2_resp_time = in ib_set_cpi_capmask2()
355 (cpi->cap_mask2_resp_time & in ib_set_cpi_capmask2()
366 static inline u32 opa_get_cpi_capmask2(struct opa_class_port_info *cpi) in opa_get_cpi_capmask2() argument
368 return (be32_to_cpu(cpi->cap_mask2_resp_time) >> in opa_get_cpi_capmask2()