Searched refs:ptp_ops (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/drivers/net/dsa/mv88e6xxx/ |
| H 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 150 ptp_ops->global_enable(chip); in mv88e6xxx_set_hwtstamp_config() 151 if (ptp_ops->port_enable) in mv88e6xxx_set_hwtstamp_config() 154 if (ptp_ops->port_disable) in mv88e6xxx_set_hwtstamp_config() 311 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_rxtstamp_work() local 363 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_txtstamp_work() local 376 ptp_ops->dep_sts_reg, in mv88e6xxx_txtstamp_work() 542 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_hwtstamp_port_setup() local 550 if (ptp_ops->port_disable) in mv88e6xxx_hwtstamp_port_setup() [all …]
|
| H A D | ptp.c | 497 if (chip->info->ops->ptp_ops->clock_read) in mv88e6xxx_ptp_clock_read() 498 return chip->info->ops->ptp_ops->clock_read(cc); in mv88e6xxx_ptp_clock_read() 521 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_ptp_setup() local 539 if (ptp_ops->event_work) in mv88e6xxx_ptp_setup() 540 INIT_DELAYED_WORK(&chip->tai_event_work, ptp_ops->event_work); in mv88e6xxx_ptp_setup() 546 chip->ptp_clock_info.n_ext_ts = ptp_ops->n_ext_ts; in mv88e6xxx_ptp_setup() 565 chip->ptp_clock_info.enable = ptp_ops->ptp_enable; in mv88e6xxx_ptp_setup() 566 chip->ptp_clock_info.verify = ptp_ops->ptp_verify; in mv88e6xxx_ptp_setup() 569 if (ptp_ops->set_ptp_cpu_port) { in mv88e6xxx_ptp_setup() 579 err = ptp_ops->set_ptp_cpu_port(chip, upstream); in mv88e6xxx_ptp_setup() [all …]
|
| H A D | chip.c | 4523 .ptp_ops = &mv88e6165_ptp_ops, 4561 .ptp_ops = &mv88e6165_ptp_ops, 4985 .ptp_ops = &mv88e6352_ptp_ops, 5046 .ptp_ops = &mv88e6352_ptp_ops, 5091 .ptp_ops = &mv88e6250_ptp_ops, 5152 .ptp_ops = &mv88e6390_ptp_ops, 5206 .ptp_ops = &mv88e6352_ptp_ops, 5258 .ptp_ops = &mv88e6352_ptp_ops, 5317 .ptp_ops = &mv88e6352_ptp_ops, 5417 .ptp_ops = &mv88e6352_ptp_ops, [all …]
|
| H A D | chip.h | 677 const struct mv88e6xxx_ptp_ops *ptp_ops; member
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum.c | 214 if (!mlxsw_sp->ptp_ops->tx_as_data) in mlxsw_sp_txhdr_preparations() 1712 mlxsw_sp->ptp_ops->shaper_work); in mlxsw_sp_port_create() 3156 mlxsw_sp->ptp_ops->clock_init(mlxsw_sp, in mlxsw_sp_init() 3224 mlxsw_sp->ptp_ops->fini(mlxsw_sp->ptp_state); in mlxsw_sp_init() 3227 mlxsw_sp->ptp_ops->clock_fini(mlxsw_sp->clock); in mlxsw_sp_init() 3284 mlxsw_sp->ptp_ops = &mlxsw_sp1_ptp_ops; in mlxsw_sp1_init() 3318 mlxsw_sp->ptp_ops = &mlxsw_sp2_ptp_ops; in mlxsw_sp2_init() 3352 mlxsw_sp->ptp_ops = &mlxsw_sp2_ptp_ops; in mlxsw_sp3_init() 3386 mlxsw_sp->ptp_ops = &mlxsw_sp4_ptp_ops; in mlxsw_sp4_init() 3412 mlxsw_sp->ptp_ops->fini(mlxsw_sp->ptp_state); in mlxsw_sp_fini() [all …]
|
| H A D | spectrum_ethtool.c | 679 mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats_strings(&p); in mlxsw_sp_port_get_strings() 845 mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats(mlxsw_sp_port, in mlxsw_sp_port_get_stats() 847 data_index += mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats_count(); in mlxsw_sp_port_get_stats() 862 mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats_count(); in mlxsw_sp_port_get_sset_count() 1092 return mlxsw_sp->ptp_ops->get_ts_info(mlxsw_sp, info); in mlxsw_sp_get_ts_info()
|
| H A D | spectrum.h | 198 const struct mlxsw_sp_ptp_ops *ptp_ops; member
|