Home
last modified time | relevance | path

Searched refs:ptp_pin (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mscc/
Docelot_ptp.c188 enum ocelot_ptp_pins ptp_pin; in ocelot_ptp_enable() local
206 ptp_pin = PTP_PIN_0; in ocelot_ptp_enable()
208 ptp_pin = PTP_PIN_1; in ocelot_ptp_enable()
210 ptp_pin = PTP_PIN_2; in ocelot_ptp_enable()
212 ptp_pin = PTP_PIN_3; in ocelot_ptp_enable()
226 ocelot_write_rix(ocelot, val, PTP_PIN_CFG, ptp_pin); in ocelot_ptp_enable()
271 PTP_PIN_WF_LOW_PERIOD, ptp_pin); in ocelot_ptp_enable()
273 PTP_PIN_WF_HIGH_PERIOD, ptp_pin); in ocelot_ptp_enable()
276 ocelot_write_rix(ocelot, val, PTP_PIN_CFG, ptp_pin); in ocelot_ptp_enable()
289 ptp_pin); in ocelot_ptp_enable()
[all …]
/Linux-v5.10/drivers/net/ethernet/microchip/
Dlan743x_ptp.c1009 struct ptp_pin_desc *ptp_pin = &ptp->pin_config[i]; in lan743x_ptp_open() local
1011 snprintf(ptp_pin->name, in lan743x_ptp_open()
1012 sizeof(ptp_pin->name), "lan743x_ptp_pin_%02d", i); in lan743x_ptp_open()
1013 ptp_pin->index = i; in lan743x_ptp_open()
1014 ptp_pin->func = PTP_PF_NONE; in lan743x_ptp_open()