Searched refs:ptp_ptr (Results 1 – 1 of 1) sorted by relevance
384 struct otx2_ptp *ptp_ptr; in otx2_ptp_init() local411 ptp_ptr = kzalloc(sizeof(*ptp_ptr), GFP_KERNEL); in otx2_ptp_init()412 if (!ptp_ptr) { in otx2_ptp_init()417 ptp_ptr->nic = pfvf; in otx2_ptp_init()419 snprintf(ptp_ptr->extts_config.name, sizeof(ptp_ptr->extts_config.name), "TSTAMP"); in otx2_ptp_init()420 ptp_ptr->extts_config.index = 0; in otx2_ptp_init()421 ptp_ptr->extts_config.func = PTP_PF_NONE; in otx2_ptp_init()423 ptp_ptr->ptp_info = (struct ptp_clock_info) { in otx2_ptp_init()431 .pin_config = &ptp_ptr->extts_config, in otx2_ptp_init()438 if (is_tstmp_atomic_update_supported(ptp_ptr)) { in otx2_ptp_init()[all …]