Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c370 struct otx2_ptp *ptp_ptr; in otx2_ptp_init() local
397 ptp_ptr = kzalloc(sizeof(*ptp_ptr), GFP_KERNEL); in otx2_ptp_init()
398 if (!ptp_ptr) { in otx2_ptp_init()
403 ptp_ptr->nic = pfvf; in otx2_ptp_init()
405 snprintf(ptp_ptr->extts_config.name, sizeof(ptp_ptr->extts_config.name), "TSTAMP"); in otx2_ptp_init()
406 ptp_ptr->extts_config.index = 0; in otx2_ptp_init()
407 ptp_ptr->extts_config.func = PTP_PF_NONE; in otx2_ptp_init()
409 ptp_ptr->ptp_info = (struct ptp_clock_info) { in otx2_ptp_init()
416 .pin_config = &ptp_ptr->extts_config, in otx2_ptp_init()
423 if (is_tstmp_atomic_update_supported(ptp_ptr)) { in otx2_ptp_init()
[all …]