Searched refs:phc_cycles (Results 1 – 3 of 3) sorted by relevance
155 static int qed_ptp_hw_read_cc(struct qed_dev *cdev, u64 *phc_cycles) in qed_ptp_hw_read_cc() argument162 *phc_cycles = qed_rd(p_hwfn, p_ptt, NIG_REG_TSGEN_SYNC_TIME_MSB); in qed_ptp_hw_read_cc()163 *phc_cycles <<= 32; in qed_ptp_hw_read_cc()164 *phc_cycles |= temp; in qed_ptp_hw_read_cc()
185 u64 phc_cycles; in qede_ptp_read_cc() local190 rc = ptp->ops->read_cc(edev->cdev, &phc_cycles); in qede_ptp_read_cc()194 DP_VERBOSE(edev, QED_MSG_DEBUG, "PHC read cycles = %llu\n", phc_cycles); in qede_ptp_read_cc()196 return phc_cycles; in qede_ptp_read_cc()
15189 u64 phc_cycles; in bnx2x_cyclecounter_read() local15193 phc_cycles = wb_data[1]; in bnx2x_cyclecounter_read()15194 phc_cycles = (phc_cycles << 32) + wb_data[0]; in bnx2x_cyclecounter_read()15196 DP(BNX2X_MSG_PTP, "PHC read cycles = %llu\n", phc_cycles); in bnx2x_cyclecounter_read()15198 return phc_cycles; in bnx2x_cyclecounter_read()