Home
last modified time | relevance | path

Searched refs:phc_cycles (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_ptp.c155 static int qed_ptp_hw_read_cc(struct qed_dev *cdev, u64 *phc_cycles) in qed_ptp_hw_read_cc() argument
162 *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()
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c185 u64 phc_cycles; in qede_ptp_read_cc() local
190 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()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c15189 u64 phc_cycles; in bnx2x_cyclecounter_read() local
15193 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()