Home
last modified time | relevance | path

Searched refs:ptp_ops (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c73 const struct mv88e6xxx_ptp_ops *ptp_ops; in mv88e6xxx_get_ts_info() local
77 ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_get_ts_info()
90 info->rx_filters = ptp_ops->rx_filters; in mv88e6xxx_get_ts_info()
98 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_set_hwtstamp_config() local
126 if (!(BIT(config->rx_filter) & ptp_ops->rx_filters)) { in mv88e6xxx_set_hwtstamp_config()
157 if (chip->enable_count == 1 && ptp_ops->global_enable) in mv88e6xxx_set_hwtstamp_config()
158 ptp_ops->global_enable(chip); in mv88e6xxx_set_hwtstamp_config()
159 if (ptp_ops->port_enable) in mv88e6xxx_set_hwtstamp_config()
160 ptp_ops->port_enable(chip, port); in mv88e6xxx_set_hwtstamp_config()
162 if (ptp_ops->port_disable) in mv88e6xxx_set_hwtstamp_config()
[all …]
Dptp.c360 if (chip->info->ops->ptp_ops->clock_read) in mv88e6xxx_ptp_clock_read()
361 return chip->info->ops->ptp_ops->clock_read(cc); in mv88e6xxx_ptp_clock_read()
384 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_ptp_setup() local
398 if (ptp_ops->event_work) in mv88e6xxx_ptp_setup()
399 INIT_DELAYED_WORK(&chip->tai_event_work, ptp_ops->event_work); in mv88e6xxx_ptp_setup()
406 chip->ptp_clock_info.n_ext_ts = ptp_ops->n_ext_ts; in mv88e6xxx_ptp_setup()
424 chip->ptp_clock_info.enable = ptp_ops->ptp_enable; in mv88e6xxx_ptp_setup()
425 chip->ptp_clock_info.verify = ptp_ops->ptp_verify; in mv88e6xxx_ptp_setup()
442 if (chip->info->ops->ptp_ops->event_work) in mv88e6xxx_ptp_free()
Dchip.c2964 .ptp_ops = &mv88e6165_ptp_ops,
2997 .ptp_ops = &mv88e6165_ptp_ops,
3325 .ptp_ops = &mv88e6352_ptp_ops,
3371 .ptp_ops = &mv88e6352_ptp_ops,
3416 .ptp_ops = &mv88e6352_ptp_ops,
3458 .ptp_ops = &mv88e6352_ptp_ops,
3498 .ptp_ops = &mv88e6352_ptp_ops,
3543 .ptp_ops = &mv88e6352_ptp_ops,
3623 .ptp_ops = &mv88e6352_ptp_ops,
3669 .ptp_ops = &mv88e6352_ptp_ops,
[all …]
Dchip.h465 const struct mv88e6xxx_ptp_ops *ptp_ops; member