| H A D | microchip_rds_ptp.c | 6 static int mchp_rds_phy_read_mmd(struct mchp_rds_ptp_clock *clock, in mchp_rds_phy_read_mmd() argument 9 struct phy_device *phydev = clock->phydev; in mchp_rds_phy_read_mmd() 12 addr = (offset + ((base == MCHP_RDS_PTP_PORT) ? BASE_PORT(clock) : in mchp_rds_phy_read_mmd() 13 BASE_CLK(clock))); in mchp_rds_phy_read_mmd() 15 return phy_read_mmd(phydev, PTP_MMD(clock), addr); in mchp_rds_phy_read_mmd() 18 static int mchp_rds_phy_write_mmd(struct mchp_rds_ptp_clock *clock, in mchp_rds_phy_write_mmd() argument 22 struct phy_device *phydev = clock->phydev; in mchp_rds_phy_write_mmd() 25 addr = (offset + ((base == MCHP_RDS_PTP_PORT) ? BASE_PORT(clock) : in mchp_rds_phy_write_mmd() 26 BASE_CLK(clock))); in mchp_rds_phy_write_mmd() 28 return phy_write_mmd(phydev, PTP_MMD(clock), add in mchp_rds_phy_write_mmd() 31 mchp_rds_phy_modify_mmd(struct mchp_rds_ptp_clock * clock,u32 offset,enum mchp_rds_ptp_base base,u16 mask,u16 val) mchp_rds_phy_modify_mmd() argument 44 mchp_rds_phy_set_bits_mmd(struct mchp_rds_ptp_clock * clock,u32 offset,enum mchp_rds_ptp_base base,u16 val) mchp_rds_phy_set_bits_mmd() argument 105 mchp_general_event_config(struct mchp_rds_ptp_clock * clock,int pulse_width) mchp_general_event_config() argument 124 mchp_set_clock_reload(struct mchp_rds_ptp_clock * clock,s64 period_sec,u32 period_nsec) mchp_set_clock_reload() argument 156 mchp_set_clock_target(struct mchp_rds_ptp_clock * clock,s64 start_sec,u32 start_nsec) mchp_set_clock_target() argument 185 mchp_rds_ptp_perout_off(struct mchp_rds_ptp_clock * clock) mchp_rds_ptp_perout_off() argument 208 mchp_get_event(struct mchp_rds_ptp_clock * clock,int pin) mchp_get_event() argument 221 struct mchp_rds_ptp_clock *clock = container_of(ptpci, mchp_rds_ptp_perout() local 272 struct mchp_rds_ptp_clock *clock = container_of(ptpci, mchp_rds_ptpci_verify() local 290 mchp_rds_ptp_flush_fifo(struct mchp_rds_ptp_clock * clock,enum mchp_rds_ptp_fifo_dir dir) mchp_rds_ptp_flush_fifo() argument 313 mchp_rds_ptp_config_intr(struct mchp_rds_ptp_clock * clock,bool enable) mchp_rds_ptp_config_intr() argument 325 struct mchp_rds_ptp_clock *clock = container_of(mii_ts, mchp_rds_ptp_txtstamp() local 368 mchp_rds_ptp_match_skb(struct mchp_rds_ptp_clock * clock,struct mchp_rds_ptp_rx_ts * rx_ts) mchp_rds_ptp_match_skb() argument 401 mchp_rds_ptp_match_rx_ts(struct mchp_rds_ptp_clock * clock,struct mchp_rds_ptp_rx_ts * rx_ts) mchp_rds_ptp_match_rx_ts() argument 418 mchp_rds_ptp_match_rx_skb(struct mchp_rds_ptp_clock * clock,struct sk_buff * skb) mchp_rds_ptp_match_rx_skb() argument 457 struct mchp_rds_ptp_clock *clock = container_of(mii_ts, mchp_rds_ptp_rxtstamp() local 482 struct mchp_rds_ptp_clock *clock = mchp_rds_ptp_hwtstamp_get() local 495 struct mchp_rds_ptp_clock *clock = mchp_rds_ptp_hwtstamp_set() local 620 struct mchp_rds_ptp_clock *clock = container_of(mii_ts, mchp_rds_ptp_ts_info() local 643 struct mchp_rds_ptp_clock *clock = container_of(info, mchp_rds_ptp_ltc_adjtime() local 757 struct mchp_rds_ptp_clock *clock = container_of(info, mchp_rds_ptp_ltc_adjfine() local 801 struct mchp_rds_ptp_clock *clock = container_of(info, mchp_rds_ptp_ltc_gettime64() local 864 struct mchp_rds_ptp_clock *clock = container_of(info, mchp_rds_ptp_ltc_settime64() local 932 mchp_rds_ptp_match_tx_skb(struct mchp_rds_ptp_clock * clock,u32 seconds,u32 nsec,u16 seq_id) mchp_rds_ptp_match_tx_skb() argument 962 mchp_rds_ptp_get_rx_ts(struct mchp_rds_ptp_clock * clock) mchp_rds_ptp_get_rx_ts() argument 1014 mchp_rds_ptp_process_rx_ts(struct mchp_rds_ptp_clock * clock) mchp_rds_ptp_process_rx_ts() argument 1032 mchp_rds_ptp_get_tx_ts(struct mchp_rds_ptp_clock * clock,u32 * sec,u32 * nsec,u16 * seq) mchp_rds_ptp_get_tx_ts() argument 1073 mchp_rds_ptp_process_tx_ts(struct mchp_rds_ptp_clock * clock) mchp_rds_ptp_process_tx_ts() argument 1091 mchp_rds_ptp_top_config_intr(struct mchp_rds_ptp_clock * clock,u16 reg,u16 val,bool clear) mchp_rds_ptp_top_config_intr() argument 1103 mchp_rds_ptp_handle_interrupt(struct mchp_rds_ptp_clock * clock) mchp_rds_ptp_handle_interrupt() argument 1139 mchp_rds_ptp_init(struct mchp_rds_ptp_clock * clock) mchp_rds_ptp_init() argument 1246 struct mchp_rds_ptp_clock *clock; mchp_rds_ptp_probe() local [all...] |