• Home
  • Raw
  • Download

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
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()
159 ptp_ops->port_disable(chip, port); in mv88e6xxx_set_hwtstamp_config()
161 if (chip->enable_count == 0 && ptp_ops->global_disable) in mv88e6xxx_set_hwtstamp_config()
162 ptp_ops->global_disable(chip); in mv88e6xxx_set_hwtstamp_config()
315 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_rxtstamp_work() local
321 mv88e6xxx_get_rxts(chip, ps, skb, ptp_ops->arr0_sts_reg, in mv88e6xxx_rxtstamp_work()
326 mv88e6xxx_get_rxts(chip, ps, skb, ptp_ops->arr1_sts_reg, in mv88e6xxx_rxtstamp_work()
367 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_txtstamp_work() local
380 ptp_ops->dep_sts_reg, in mv88e6xxx_txtstamp_work()
404 mv88e6xxx_port_ptp_write(chip, ps->port_id, ptp_ops->dep_sts_reg, 0); in mv88e6xxx_txtstamp_work()
538 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_hwtstamp_port_setup() local
546 if (ptp_ops->port_disable) in mv88e6xxx_hwtstamp_port_setup()
547 return ptp_ops->port_disable(chip, port); in mv88e6xxx_hwtstamp_port_setup()
554 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_hwtstamp_setup() local
566 if (ptp_ops->global_disable) { in mv88e6xxx_hwtstamp_setup()
567 err = ptp_ops->global_disable(chip); in mv88e6xxx_hwtstamp_setup()