/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ptp.c | 266 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 …]
|
D | fm10k.h | 338 struct ptp_clock_info ptp_caps; member
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 216 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 …]
|
D | ixgbe.h | 749 struct ptp_clock_info ptp_caps; member
|
/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 209 ptp_caps); in igb_ptp_adjfreq_82576() 238 ptp_caps); in igb_ptp_adjfreq_82580() 264 ptp_caps); in igb_ptp_adjtime_82576() 277 ptp_caps); in igb_ptp_adjtime_i210() 296 ptp_caps); in igb_ptp_gettime_82576() 315 ptp_caps); in igb_ptp_gettime_i210() 331 ptp_caps); in igb_ptp_settime_82576() 350 ptp_caps); in igb_ptp_settime_i210() 484 container_of(ptp, struct igb_adapter, ptp_caps); in igb_ptp_feature_enable_i210() 668 igb->ptp_caps.gettime64(&igb->ptp_caps, &ts); in igb_ptp_overflow_check() [all …]
|
D | igb.h | 433 struct ptp_clock_info ptp_caps; member
|
D | igb_main.c | 5429 if (adapter->ptp_caps.pps) in igb_tsync_interrupt()
|
/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 312 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() 427 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_settime() 465 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_enable() 573 fep->ptp_caps.owner = THIS_MODULE; in fec_ptp_init() 574 snprintf(fep->ptp_caps.name, 16, "fec ptp"); in fec_ptp_init() 576 fep->ptp_caps.max_adj = 250000000; in fec_ptp_init() 577 fep->ptp_caps.n_alarm = 0; in fec_ptp_init() 578 fep->ptp_caps.n_ext_ts = 0; in fec_ptp_init() [all …]
|
D | fec.h | 532 struct ptp_clock_info ptp_caps; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 122 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, in i40e_ptp_create_clock() 609 sizeof(pf->ptp_caps.name) - 1); in i40e_ptp_create_clock() 610 pf->ptp_caps.owner = THIS_MODULE; in i40e_ptp_create_clock() 611 pf->ptp_caps.max_adj = 999999999; in i40e_ptp_create_clock() 612 pf->ptp_caps.n_ext_ts = 0; in i40e_ptp_create_clock() 613 pf->ptp_caps.pps = 0; in i40e_ptp_create_clock() [all …]
|
D | i40e.h | 405 struct ptp_clock_info ptp_caps; member
|