Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_ptp.c266 interface = container_of(ptp, struct fm10k_intfc, ptp_caps); in fm10k_ptp_adjfreq()
280 interface = container_of(ptp, struct fm10k_intfc, ptp_caps); in fm10k_ptp_adjtime()
295 interface = container_of(ptp, struct fm10k_intfc, ptp_caps); in fm10k_ptp_gettime()
313 interface = container_of(ptp, struct fm10k_intfc, ptp_caps); in fm10k_ptp_settime()
349 interface = container_of(ptp, struct fm10k_intfc, ptp_caps); in fm10k_ptp_enable()
409 struct ptp_clock_info *ptp_caps = &interface->ptp_caps; in fm10k_ptp_register() local
413 snprintf(ptp_caps->name, sizeof(ptp_caps->name), in fm10k_ptp_register()
415 ptp_caps->owner = THIS_MODULE; in fm10k_ptp_register()
421 ptp_caps->max_adj = 976562; in fm10k_ptp_register()
422 ptp_caps->adjfreq = fm10k_ptp_adjfreq; in fm10k_ptp_register()
[all …]
Dfm10k.h338 struct ptp_clock_info ptp_caps; member
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c216 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_adjfreq()
262 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_adjtime()
285 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_gettime()
310 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_settime()
338 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_feature_enable()
410 ixgbe_ptp_gettime(&adapter->ptp_caps, &ts); in ixgbe_ptp_overflow_check()
863 snprintf(adapter->ptp_caps.name, in ixgbe_ptp_create_clock()
864 sizeof(adapter->ptp_caps.name), in ixgbe_ptp_create_clock()
866 adapter->ptp_caps.owner = THIS_MODULE; in ixgbe_ptp_create_clock()
867 adapter->ptp_caps.max_adj = 250000000; in ixgbe_ptp_create_clock()
[all …]
Dixgbe.h749 struct ptp_clock_info ptp_caps; member
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_ptp.c203 ptp_caps); in igb_ptp_adjfreq_82576()
232 ptp_caps); in igb_ptp_adjfreq_82580()
258 ptp_caps); in igb_ptp_adjtime_82576()
271 ptp_caps); in igb_ptp_adjtime_i210()
290 ptp_caps); in igb_ptp_gettime_82576()
309 ptp_caps); in igb_ptp_gettime_i210()
325 ptp_caps); in igb_ptp_settime_82576()
344 ptp_caps); in igb_ptp_settime_i210()
478 container_of(ptp, struct igb_adapter, ptp_caps); in igb_ptp_feature_enable_i210()
662 igb->ptp_caps.gettime64(&igb->ptp_caps, &ts); in igb_ptp_overflow_check()
[all …]
Digb.h431 struct ptp_clock_info ptp_caps; member
Digb_main.c5400 if (adapter->ptp_caps.pps) in igb_tsync_interrupt()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dfec_ptp.c312 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_adjfreq()
374 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_adjtime()
395 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_gettime()
420 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_settime()
458 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_enable()
566 fep->ptp_caps.owner = THIS_MODULE; in fec_ptp_init()
567 snprintf(fep->ptp_caps.name, 16, "fec ptp"); in fec_ptp_init()
569 fep->ptp_caps.max_adj = 250000000; in fec_ptp_init()
570 fep->ptp_caps.n_alarm = 0; in fec_ptp_init()
571 fep->ptp_caps.n_ext_ts = 0; in fec_ptp_init()
[all …]
Dfec.h529 struct ptp_clock_info ptp_caps; member
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c122 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfreq()
160 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime()
185 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_gettime()
206 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_settime()
608 strncpy(pf->ptp_caps.name, i40e_driver_name, sizeof(pf->ptp_caps.name)); in i40e_ptp_create_clock()
609 pf->ptp_caps.owner = THIS_MODULE; in i40e_ptp_create_clock()
610 pf->ptp_caps.max_adj = 999999999; in i40e_ptp_create_clock()
611 pf->ptp_caps.n_ext_ts = 0; in i40e_ptp_create_clock()
612 pf->ptp_caps.pps = 0; in i40e_ptp_create_clock()
613 pf->ptp_caps.adjfreq = i40e_ptp_adjfreq; in i40e_ptp_create_clock()
[all …]
Di40e.h405 struct ptp_clock_info ptp_caps; member