Lines Matching defs:ptp_ops
69 const struct mv88e6xxx_ptp_ops *ptp_ops;
73 ptp_ops = chip->info->ops->ptp_ops;
86 info->rx_filters = ptp_ops->rx_filters;
94 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops;
122 if (!(BIT(config->rx_filter) & ptp_ops->rx_filters)) {
153 if (chip->enable_count == 1 && ptp_ops->global_enable)
154 ptp_ops->global_enable(chip);
155 if (ptp_ops->port_enable)
156 ptp_ops->port_enable(chip, port);
158 if (ptp_ops->port_disable)
159 ptp_ops->port_disable(chip, port);
161 if (chip->enable_count == 0 && ptp_ops->global_disable)
162 ptp_ops->global_disable(chip);
315 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops;
321 mv88e6xxx_get_rxts(chip, ps, skb, ptp_ops->arr0_sts_reg,
326 mv88e6xxx_get_rxts(chip, ps, skb, ptp_ops->arr1_sts_reg,
367 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops;
380 ptp_ops->dep_sts_reg,
404 mv88e6xxx_port_ptp_write(chip, ps->port_id, ptp_ops->dep_sts_reg, 0);
538 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops;
546 if (ptp_ops->port_disable)
547 return ptp_ops->port_disable(chip, port);
554 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops;
566 if (ptp_ops->global_disable) {
567 err = ptp_ops->global_disable(chip);