Home
last modified time | relevance | path

Searched refs:ocelot_write_rix (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mscc/
Docelot_ptp.c24 ocelot_write_rix(ocelot, val, PTP_PIN_CFG, TOD_ACC_PIN); in ocelot_ptp_gettime64()
58 ocelot_write_rix(ocelot, val, PTP_PIN_CFG, TOD_ACC_PIN); in ocelot_ptp_settime64()
60 ocelot_write_rix(ocelot, lower_32_bits(ts->tv_sec), PTP_PIN_TOD_SEC_LSB, in ocelot_ptp_settime64()
62 ocelot_write_rix(ocelot, upper_32_bits(ts->tv_sec), PTP_PIN_TOD_SEC_MSB, in ocelot_ptp_settime64()
64 ocelot_write_rix(ocelot, ts->tv_nsec, PTP_PIN_TOD_NSEC, TOD_ACC_PIN); in ocelot_ptp_settime64()
70 ocelot_write_rix(ocelot, val, PTP_PIN_CFG, TOD_ACC_PIN); in ocelot_ptp_settime64()
92 ocelot_write_rix(ocelot, val, PTP_PIN_CFG, TOD_ACC_PIN); in ocelot_ptp_adjtime()
94 ocelot_write_rix(ocelot, 0, PTP_PIN_TOD_SEC_LSB, TOD_ACC_PIN); in ocelot_ptp_adjtime()
95 ocelot_write_rix(ocelot, 0, PTP_PIN_TOD_SEC_MSB, TOD_ACC_PIN); in ocelot_ptp_adjtime()
96 ocelot_write_rix(ocelot, delta, PTP_PIN_TOD_NSEC, TOD_ACC_PIN); in ocelot_ptp_adjtime()
[all …]
Docelot.c410 ocelot_write_rix(ocelot, SYS_MAC_FC_CFG_PAUSE_VAL_CFG(0xffff) | in ocelot_adjust_link()
416 ocelot_write_rix(ocelot, 0, ANA_POL_FLOWC, port); in ocelot_adjust_link()
472 ocelot_write_rix(ocelot, val, PTP_PIN_CFG, TOD_ACC_PIN); in ocelot_get_hwtimestamp()
917 ocelot_write_rix(ocelot, mask, in ocelot_bridge_stp_state_set()
920 ocelot_write_rix(ocelot, 0, in ocelot_bridge_stp_state_set()
1152 ocelot_write_rix(ocelot, BIT(port), ANA_PGID_PGID, port); in ocelot_set_aggr_pgids()
1155 ocelot_write_rix(ocelot, GENMASK(ocelot->num_phys_ports - 1, 0), in ocelot_set_aggr_pgids()
1170 ocelot_write_rix(ocelot, bond_mask, in ocelot_set_aggr_pgids()
1182 ocelot_write_rix(ocelot, ac, ANA_PGID_PGID, i); in ocelot_set_aggr_pgids()
1311 ocelot_write_rix(ocelot, ocelot->ops->wm_enc(atop), SYS_ATOP, port); in ocelot_port_set_maxlen()
[all …]
Docelot_net.c339 ocelot_write_rix(ocelot, QS_INJ_CTRL_GAP_SIZE(1) | in ocelot_port_xmit()
374 ocelot_write_rix(ocelot, (__force u32)cpu_to_be32(ifh[i]), in ocelot_port_xmit()
380 ocelot_write_rix(ocelot, ((u32 *)skb->data)[i], QS_INJ_WR, grp); in ocelot_port_xmit()
384 ocelot_write_rix(ocelot, 0, QS_INJ_WR, grp); in ocelot_port_xmit()
389 ocelot_write_rix(ocelot, QS_INJ_CTRL_GAP_SIZE(1) | in ocelot_port_xmit()
395 ocelot_write_rix(ocelot, 0, QS_INJ_WR, grp); in ocelot_port_xmit()
438 ocelot_write_rix(ocelot, val, ANA_PGID_PGID, i); in ocelot_set_rx_mode()
/Linux-v5.10/drivers/net/dsa/ocelot/
Dfelix.c276 ocelot_write_rix(ocelot, mac_fc_cfg, SYS_MAC_FC_CFG, port); in felix_phylink_mac_link_up()
278 ocelot_write_rix(ocelot, 0, ANA_POL_FLOWC, port); in felix_phylink_mac_link_up()
607 ocelot_write_rix(ocelot, in felix_setup()
/Linux-v5.10/include/soc/mscc/
Docelot.h672 #define ocelot_write_rix(ocelot, val, reg, ri) __ocelot_write_ix(ocelot, val, reg, reg##_RSZ * (ri)) macro