ocelot_write_rix
ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_0,
ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_1,
ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_2,
ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_3,
ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_4,
ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_5,
ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_6,
ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_7,
ocelot_write_rix(ocelot, maxlen, QSYS_PORT_MAX_SDU, port);
ocelot_write_rix(ocelot, ANA_SG_GCL_GS_CONFIG_IPS(ips) |
ocelot_write_rix(ocelot, interval_sum, ANA_SG_GCL_TI_CONFIG, i);
ocelot_write_rix(ocelot, val, ANA_CUT_THRU_CFG, port);
ocelot_write_rix(ocelot, mac_fc_cfg, SYS_MAC_FC_CFG, port);
ocelot_write_rix(ocelot, 0, ANA_POL_FLOWC, port);
ocelot_write_rix(ocelot, QS_INJ_CTRL_GAP_SIZE(1) |
ocelot_write_rix(ocelot, ifh[i], QS_INJ_WR, grp);
ocelot_write_rix(ocelot, ((u32 *)skb->data)[i], QS_INJ_WR, grp);
ocelot_write_rix(ocelot, 0, QS_INJ_WR, grp);
ocelot_write_rix(ocelot, QS_INJ_CTRL_GAP_SIZE(1) |
ocelot_write_rix(ocelot, 0, QS_INJ_WR, grp);
ocelot_write_rix(ocelot, mask, ANA_PGID_PGID, PGID_SRC + port);
ocelot_write_rix(ocelot, pgid_cpu, ANA_PGID_PGID, PGID_CPU);
ocelot_write_rix(ocelot, pgid->ports, ANA_PGID_PGID,
ocelot_write_rix(ocelot, pgid->ports, ANA_PGID_PGID,
ocelot_write_rix(ocelot, BIT(port), ANA_PGID_PGID, port);
ocelot_write_rix(ocelot, GENMASK(ocelot->num_phys_ports - 1, 0),
ocelot_write_rix(ocelot, bond_mask,
ocelot_write_rix(ocelot, ac, ANA_PGID_PGID, i);
ocelot_write_rix(ocelot, pgid->ports, ANA_PGID_PGID,
ocelot_write_rix(ocelot, ocelot->ops->wm_enc(atop), SYS_ATOP, port);
ocelot_write_rix(ocelot, val, ANA_DSCP_CFG, dscp);
ocelot_write_rix(ocelot, 0, ANA_DSCP_CFG, dscp);
ocelot_write_rix(ocelot, 0, ANA_PGID_PGID, cpu);
ocelot_write_rix(ocelot, BIT(cpu), ANA_PGID_PGID, PGID_CPU);
ocelot_write_rix(ocelot, ANA_FLOODING_FLD_MULTICAST(PGID_MC) |
ocelot_write_rix(ocelot, BIT(port), ANA_PGID_PGID, port);
ocelot_write_rix(ocelot, 0, ANA_PGID_PGID, PGID_SRC + port);
ocelot_write_rix(ocelot, val, ANA_PGID_PGID, i);
ocelot_write_rix(ocelot, 0, ANA_PGID_PGID, PGID_BLACKHOLE);
ocelot_write_rix(ocelot, 0, ANA_PGID_PGID, PGID_MCIPV4);
ocelot_write_rix(ocelot, 0, ANA_PGID_PGID, PGID_MCIPV6);
ocelot_write_rix(ocelot, QS_INJ_GRP_CFG_BYTE_SWAP |
ocelot_write_rix(ocelot, QS_XTR_GRP_CFG_BYTE_SWAP |
ocelot_write_rix(ocelot, ANA_CPUQ_8021_CFG_CPUQ_GARP_VAL(6) |
ocelot_write_rix(ocelot, QS_INJ_GRP_CFG_MODE(2), QS_INJ_GRP_CFG, 0);
ocelot_write_rix(ocelot, QS_INJ_CTRL_GAP_SIZE(0), QS_INJ_CTRL, 0);
ocelot_write_rix(ocelot, QS_XTR_GRP_CFG_MODE(2), QS_XTR_GRP_CFG, 0);
ocelot_write_rix(ocelot, val, ANA_PGID_PGID, i);
ocelot_write_rix(ocelot, val, PTP_PIN_CFG, TOD_ACC_PIN);
ocelot_write_rix(ocelot, 0, PTP_PIN_TOD_SEC_LSB, TOD_ACC_PIN);
ocelot_write_rix(ocelot, 0, PTP_PIN_TOD_SEC_MSB, TOD_ACC_PIN);
ocelot_write_rix(ocelot, delta, PTP_PIN_TOD_NSEC, TOD_ACC_PIN);
ocelot_write_rix(ocelot, val, PTP_PIN_CFG, TOD_ACC_PIN);
ocelot_write_rix(ocelot, val, PTP_PIN_CFG, ptp_pin);
ocelot_write_rix(ocelot, ts_phase.tv_nsec,
ocelot_write_rix(ocelot, wf_high,
ocelot_write_rix(ocelot, val, PTP_PIN_CFG, ptp_pin);
ocelot_write_rix(ocelot, wf_low, PTP_PIN_WF_LOW_PERIOD,
ocelot_write_rix(ocelot, wf_high, PTP_PIN_WF_HIGH_PERIOD,
ocelot_write_rix(ocelot, val, PTP_PIN_CFG, ptp_pin);
ocelot_write_rix(ocelot, val, PTP_PIN_CFG, TOD_ACC_PIN);
ocelot_write_rix(ocelot, val, PTP_PIN_CFG, TOD_ACC_PIN);
ocelot_write_rix(ocelot, lower_32_bits(ts->tv_sec), PTP_PIN_TOD_SEC_LSB,
ocelot_write_rix(ocelot, upper_32_bits(ts->tv_sec), PTP_PIN_TOD_SEC_MSB,
ocelot_write_rix(ocelot, ts->tv_nsec, PTP_PIN_TOD_NSEC, TOD_ACC_PIN);
ocelot_write_rix(ocelot, val, PTP_PIN_CFG, TOD_ACC_PIN);
ocelot_write_rix(ocelot, val, PTP_PIN_CFG, TOD_ACC_PIN);