Searched refs:ptp_ops (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.c | 69 const struct mv88e6xxx_ptp_ops *ptp_ops; in mv88e6xxx_get_ts_info() local 73 ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_get_ts_info() 86 info->rx_filters = ptp_ops->rx_filters; in mv88e6xxx_get_ts_info() 94 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_set_hwtstamp_config() local 122 if (!(BIT(config->rx_filter) & ptp_ops->rx_filters)) { in mv88e6xxx_set_hwtstamp_config() 153 if (chip->enable_count == 1 && ptp_ops->global_enable) in mv88e6xxx_set_hwtstamp_config() 154 ptp_ops->global_enable(chip); in mv88e6xxx_set_hwtstamp_config() 155 if (ptp_ops->port_enable) in mv88e6xxx_set_hwtstamp_config() 156 ptp_ops->port_enable(chip, port); in mv88e6xxx_set_hwtstamp_config() 158 if (ptp_ops->port_disable) in mv88e6xxx_set_hwtstamp_config() [all …]
|
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 …]
|
D | chip.c | 3252 .ptp_ops = &mv88e6165_ptp_ops, 3286 .ptp_ops = &mv88e6165_ptp_ops, 3646 .ptp_ops = &mv88e6352_ptp_ops, 3698 .ptp_ops = &mv88e6352_ptp_ops, 3738 .ptp_ops = &mv88e6250_ptp_ops, 3789 .ptp_ops = &mv88e6352_ptp_ops, 3833 .ptp_ops = &mv88e6352_ptp_ops, 3875 .ptp_ops = &mv88e6352_ptp_ops, 3927 .ptp_ops = &mv88e6352_ptp_ops, 4009 .ptp_ops = &mv88e6352_ptp_ops, [all …]
|
D | chip.h | 516 const struct mv88e6xxx_ptp_ops *ptp_ops; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.c | 1862 err = mlxsw_sp_port->mlxsw_sp->ptp_ops->hwtstamp_set(mlxsw_sp_port, in mlxsw_sp_port_hwtstamp_set() 1879 err = mlxsw_sp_port->mlxsw_sp->ptp_ops->hwtstamp_get(mlxsw_sp_port, in mlxsw_sp_port_hwtstamp_get() 1894 mlxsw_sp_port->mlxsw_sp->ptp_ops->hwtstamp_set(mlxsw_sp_port, &config); in mlxsw_sp_port_ptp_clear() 2378 mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats_strings(&p); in mlxsw_sp_port_get_strings() 2516 mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats(mlxsw_sp_port, in mlxsw_sp_port_get_stats() 2518 data_index += mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats_count(); in mlxsw_sp_port_get_stats() 2528 mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats_count(); in mlxsw_sp_port_get_sset_count() 3418 return mlxsw_sp->ptp_ops->get_ts_info(mlxsw_sp, info); in mlxsw_sp_get_ts_info() 3807 mlxsw_sp->ptp_ops->shaper_work); in mlxsw_sp_port_create() 4323 mlxsw_sp->ptp_ops->receive(mlxsw_sp, skb, local_port); in mlxsw_sp_rx_listener_ptp() [all …]
|
D | spectrum.h | 179 const struct mlxsw_sp_ptp_ops *ptp_ops; member
|