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