Lines Matching refs:mv88e6xxx_chip
75 #define cc_to_chip(cc) container_of(cc, struct mv88e6xxx_chip, tstamp_cc)
76 #define dw_overflow_to_chip(dw) container_of(dw, struct mv88e6xxx_chip, \
78 #define dw_tai_event_to_chip(dw) container_of(dw, struct mv88e6xxx_chip, \
81 static int mv88e6xxx_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6xxx_tai_read()
90 static int mv88e6xxx_tai_write(struct mv88e6xxx_chip *chip, int addr, u16 data) in mv88e6xxx_tai_write()
99 static int mv88e6352_set_gpio_func(struct mv88e6xxx_chip *chip, int pin, in mv88e6352_set_gpio_func()
115 mv88e6xxx_cc_coeff_get(struct mv88e6xxx_chip *chip) in mv88e6xxx_cc_coeff_get()
143 struct mv88e6xxx_chip *chip = cc_to_chip(cc); in mv88e6352_ptp_clock_read()
157 struct mv88e6xxx_chip *chip = cc_to_chip(cc); in mv88e6165_ptp_clock_read()
175 static int mv88e6352_config_eventcap(struct mv88e6xxx_chip *chip, int event, in mv88e6352_config_eventcap()
211 struct mv88e6xxx_chip *chip = dw_tai_event_to_chip(dw); in mv88e6352_tai_event_work()
261 struct mv88e6xxx_chip *chip = ptp_to_chip(ptp); in mv88e6xxx_ptp_adjfine()
288 struct mv88e6xxx_chip *chip = ptp_to_chip(ptp); in mv88e6xxx_ptp_adjtime()
300 struct mv88e6xxx_chip *chip = ptp_to_chip(ptp); in mv88e6xxx_ptp_gettime()
315 struct mv88e6xxx_chip *chip = ptp_to_chip(ptp); in mv88e6xxx_ptp_settime()
327 static int mv88e6352_ptp_enable_extts(struct mv88e6xxx_chip *chip, in mv88e6352_ptp_enable_extts()
383 struct mv88e6xxx_chip *chip = ptp_to_chip(ptp); in mv88e6352_ptp_enable()
495 struct mv88e6xxx_chip *chip = cc_to_chip(cc); in mv88e6xxx_ptp_clock_read()
510 struct mv88e6xxx_chip *chip = dw_overflow_to_chip(dw); in mv88e6xxx_ptp_overflow_check()
519 int mv88e6xxx_ptp_setup(struct mv88e6xxx_chip *chip) in mv88e6xxx_ptp_setup()
596 void mv88e6xxx_ptp_free(struct mv88e6xxx_chip *chip) in mv88e6xxx_ptp_free()