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;
118 if (!(BIT(config->rx_filter) & ptp_ops->rx_filters)) {
149 if (chip->enable_count == 1 && ptp_ops->global_enable)
150 ptp_ops->global_enable(chip);
151 if (ptp_ops->port_enable)
152 ptp_ops->port_enable(chip, port);
154 if (ptp_ops->port_disable)
155 ptp_ops->port_disable(chip, port);
157 if (chip->enable_count == 0 && ptp_ops->global_disable)
158 ptp_ops->global_disable(chip);
311 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops;
317 mv88e6xxx_get_rxts(chip, ps, skb, ptp_ops->arr0_sts_reg,
322 mv88e6xxx_get_rxts(chip, ps, skb, ptp_ops->arr1_sts_reg,
363 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops;
376 ptp_ops->dep_sts_reg,
400 mv88e6xxx_port_ptp_write(chip, ps->port_id, ptp_ops->dep_sts_reg, 0);
542 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops;
550 if (ptp_ops->port_disable)
551 return ptp_ops->port_disable(chip, port);
558 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops;
570 if (ptp_ops->global_disable) {
571 err = ptp_ops->global_disable(chip);