Lines Matching refs:evnt
477 u16 evnt, event_num, gpio_num; in ptp_dp83640_enable() local
498 evnt = EVNT_WR | (event_num & EVNT_SEL_MASK) << EVNT_SEL_SHIFT; in ptp_dp83640_enable()
504 evnt |= (gpio_num & EVNT_GPIO_MASK) << EVNT_GPIO_SHIFT; in ptp_dp83640_enable()
506 evnt |= EVNT_FALL; in ptp_dp83640_enable()
508 evnt |= EVNT_RISE; in ptp_dp83640_enable()
511 ext_write(0, phydev, PAGE5, PTP_EVNT, evnt); in ptp_dp83640_enable()
636 u16 cal_gpio, cfg0, evnt, ptp_trig, trigger, val; in recalibrate() local
664 evnt = EVNT_WR | EVNT_RISE | EVNT_SINGLE; in recalibrate()
665 evnt |= (CAL_EVENT & EVNT_SEL_MASK) << EVNT_SEL_SHIFT; in recalibrate()
666 evnt |= (cal_gpio & EVNT_GPIO_MASK) << EVNT_GPIO_SHIFT; in recalibrate()
669 ext_write(0, tmp->phydev, PAGE5, PTP_EVNT, evnt); in recalibrate()
670 ext_write(0, master, PAGE5, PTP_EVNT, evnt); in recalibrate()