Searched refs:phc_cycles (Results 1 – 3 of 3) sorted by relevance
176 static int qed_ptp_hw_read_cc(struct qed_dev *cdev, u64 *phc_cycles) in qed_ptp_hw_read_cc() argument183 *phc_cycles = qed_rd(p_hwfn, p_ptt, NIG_REG_TSGEN_SYNC_TIME_MSB); in qed_ptp_hw_read_cc()184 *phc_cycles <<= 32; in qed_ptp_hw_read_cc()185 *phc_cycles |= temp; in qed_ptp_hw_read_cc()
196 u64 phc_cycles; in qede_ptp_read_cc() local201 rc = ptp->ops->read_cc(edev->cdev, &phc_cycles); in qede_ptp_read_cc()205 DP_VERBOSE(edev, QED_MSG_DEBUG, "PHC read cycles = %llu\n", phc_cycles); in qede_ptp_read_cc()207 return phc_cycles; in qede_ptp_read_cc()
15271 u64 phc_cycles; in bnx2x_cyclecounter_read() local15275 phc_cycles = wb_data[1]; in bnx2x_cyclecounter_read()15276 phc_cycles = (phc_cycles << 32) + wb_data[0]; in bnx2x_cyclecounter_read()15278 DP(BNX2X_MSG_PTP, "PHC read cycles = %llu\n", phc_cycles); in bnx2x_cyclecounter_read()15280 return phc_cycles; in bnx2x_cyclecounter_read()