Searched refs:ptp_ops (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/dsa/mv88e6xxx/ |
| A D | hwtstamp.c | 73 ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_get_ts_info() 94 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_set_hwtstamp_config() local 154 ptp_ops->global_enable(chip); in mv88e6xxx_set_hwtstamp_config() 155 if (ptp_ops->port_enable) in mv88e6xxx_set_hwtstamp_config() 158 if (ptp_ops->port_disable) in mv88e6xxx_set_hwtstamp_config() 315 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_rxtstamp_work() local 367 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_txtstamp_work() local 380 ptp_ops->dep_sts_reg, in mv88e6xxx_txtstamp_work() 546 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_hwtstamp_port_setup() local 554 if (ptp_ops->port_disable) in mv88e6xxx_hwtstamp_port_setup() [all …]
|
| A D | ptp.c | 202 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_ptp_adjfine() local 212 mult = ptp_ops->cc_mult; in mv88e6xxx_ptp_adjfine() 213 adj = ptp_ops->cc_mult_num; in mv88e6xxx_ptp_adjfine() 215 diff = div_u64(adj, ptp_ops->cc_mult_dem); in mv88e6xxx_ptp_adjfine() 426 if (chip->info->ops->ptp_ops->clock_read) in mv88e6xxx_ptp_clock_read() 427 return chip->info->ops->ptp_ops->clock_read(cc); in mv88e6xxx_ptp_clock_read() 450 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_ptp_setup() local 457 chip->tstamp_cc.mult = ptp_ops->cc_mult; in mv88e6xxx_ptp_setup() 458 chip->tstamp_cc.shift = ptp_ops->cc_shift; in mv88e6xxx_ptp_setup() 464 if (ptp_ops->event_work) in mv88e6xxx_ptp_setup() [all …]
|
| A D | chip.c | 3859 .ptp_ops = &mv88e6165_ptp_ops, 3895 .ptp_ops = &mv88e6165_ptp_ops, 4314 .ptp_ops = &mv88e6352_ptp_ops, 4374 .ptp_ops = &mv88e6352_ptp_ops, 4414 .ptp_ops = &mv88e6250_ptp_ops, 4476 .ptp_ops = &mv88e6352_ptp_ops, 4520 .ptp_ops = &mv88e6352_ptp_ops, 4562 .ptp_ops = &mv88e6352_ptp_ops, 4623 .ptp_ops = &mv88e6352_ptp_ops, 4714 .ptp_ops = &mv88e6352_ptp_ops, [all …]
|
| A D | chip.h | 609 const struct mv88e6xxx_ptp_ops *ptp_ops; member
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum.c | 1718 mlxsw_sp->ptp_ops->shaper_work); in mlxsw_sp_port_create() 2257 mlxsw_sp->ptp_ops->receive(mlxsw_sp, skb, local_port); in mlxsw_sp_ptp_receive() 2867 mlxsw_sp->ptp_ops->clock_init(mlxsw_sp, in mlxsw_sp_init() 2878 mlxsw_sp->ptp_state = mlxsw_sp->ptp_ops->init(mlxsw_sp); in mlxsw_sp_init() 2936 mlxsw_sp->ptp_ops->fini(mlxsw_sp->ptp_state); in mlxsw_sp_init() 2939 mlxsw_sp->ptp_ops->clock_fini(mlxsw_sp->clock); in mlxsw_sp_init() 2990 mlxsw_sp->ptp_ops = &mlxsw_sp1_ptp_ops; in mlxsw_sp1_init() 3021 mlxsw_sp->ptp_ops = &mlxsw_sp2_ptp_ops; in mlxsw_sp2_init() 3050 mlxsw_sp->ptp_ops = &mlxsw_sp2_ptp_ops; in mlxsw_sp3_init() 3072 mlxsw_sp->ptp_ops->fini(mlxsw_sp->ptp_state); in mlxsw_sp_fini() [all …]
|
| A D | spectrum_ethtool.c | 679 mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats_strings(&p); in mlxsw_sp_port_get_strings() 843 mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats(mlxsw_sp_port, in mlxsw_sp_port_get_stats() 845 data_index += mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats_count(); in mlxsw_sp_port_get_stats() 860 mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats_count(); in mlxsw_sp_port_get_sset_count() 1079 return mlxsw_sp->ptp_ops->get_ts_info(mlxsw_sp, info); in mlxsw_sp_get_ts_info()
|
| A D | spectrum.h | 197 const struct mlxsw_sp_ptp_ops *ptp_ops; member
|
Completed in 42 milliseconds