ocelot_write
ocelot_write(ocelot, QSYS_EXT_CPU_CFG_EXT_CPUQ_MSK_M |
ocelot_write(ocelot, QSYS_EXT_CPU_CFG_EXT_CPU_PORT(unused_port),
ocelot_write(ocelot,
ocelot_write(ocelot, entry->interval, QSYS_GCL_CFG_REG_2);
ocelot_write(ocelot, base_ts.tv_nsec, QSYS_PARAM_CFG_REG_1);
ocelot_write(ocelot, lower_32_bits(base_ts.tv_sec), QSYS_PARAM_CFG_REG_2);
ocelot_write(ocelot,
ocelot_write(ocelot, taprio->cycle_time, QSYS_PARAM_CFG_REG_4);
ocelot_write(ocelot, taprio->cycle_time_extension, QSYS_PARAM_CFG_REG_5);
ocelot_write(ocelot, base_ts.tv_nsec, QSYS_PARAM_CFG_REG_1);
ocelot_write(ocelot, lower_32_bits(base_ts.tv_sec),
ocelot_write(ocelot, ANA_TABLES_SFIDTIDX_SFID_INDEX(sfi->index),
ocelot_write(ocelot, val, ANA_TABLES_SFIDACCESS);
ocelot_write(ocelot,
ocelot_write(ocelot,
ocelot_write(ocelot,
ocelot_write(ocelot, ANA_SG_ACCESS_CTRL_SGID(sgi->index),
ocelot_write(ocelot, base_ts.tv_nsec, ANA_SG_CONFIG_REG_1);
ocelot_write(ocelot, val, ANA_SG_CONFIG_REG_2);
ocelot_write(ocelot,
ocelot_write(ocelot, sgi->cycletime, ANA_SG_CONFIG_REG_4);
ocelot_write(ocelot,
ocelot_write(ocelot, SYS_RAM_INIT_RAM_INIT, SYS_RAM_INIT);
ocelot_write(ocelot,
ocelot_write(ocelot, ANA_TABLES_MACACCESS_VALID |
ocelot_write(ocelot,
ocelot_write(ocelot, ANA_ANAGEFIL_PID_EN | ANA_ANAGEFIL_PID_VAL(port),
ocelot_write(ocelot,
ocelot_write(ocelot,
ocelot_write(ocelot, 0, ANA_ANAGEFIL);
ocelot_write(ocelot,
ocelot_write(ocelot, MACACCESS_CMD_INIT, ANA_TABLES_MACACCESS);
ocelot_write(ocelot, ocelot->ops->wm_enc(atop_tot), SYS_ATOP_TOT_CFG);
ocelot_write(ocelot, BIT(to), ANA_MIRRORPORTS);
ocelot_write(ocelot, 0, ANA_MIRRORPORTS);
ocelot_write(ocelot, ANA_TABLES_VLANTIDX_V_INDEX(vid),
ocelot_write(ocelot, ANA_TABLES_VLANACCESS_VLAN_PORT_MASK(mask) |
ocelot_write(ocelot, SYS_STAT_CFG_STAT_VIEW(port) |
ocelot_write(ocelot, ETH_P_8021AD, SYS_VLAN_ETYPE_CFG);
ocelot_write(ocelot, ANA_AGGR_CFG_AC_SMAC_ENA |
ocelot_write(ocelot,
ocelot_write(ocelot, SYS_FRM_AGING_AGE_TX_ENA |
ocelot_write(ocelot, ANA_FLOODING_IPMC_FLD_MC6_DATA(PGID_MCIPV6) |
ocelot_write(ocelot, ANA_CPUQ_CFG_CPUQ_MIRROR(2) |
ocelot_write(ocelot, macl, ANA_TABLES_MACLDATA);
ocelot_write(ocelot, mach, ANA_TABLES_MACHDATA);
ocelot_write(ocelot, ANA_TABLES_VLANACCESS_CMD_INIT,
ocelot_write(ocelot, all_ports, ANA_VLANMASK);
ocelot_write(ocelot, cmd, ANA_TABLES_MACACCESS);
ocelot_write(ocelot, all_tcs, QSYS_RES_QOS_MODE);
ocelot_write(ocelot, val, ANA_VLANMASK);
ocelot_write(ocelot, unit | adj, PTP_CLK_CFG_ADJ_FREQ);
ocelot_write(ocelot, PTP_CFG_CLK_ADJ_CFG_ENA | direction,
ocelot_write(ocelot, 0, PTP_CLK_CFG_ADJ_CFG);
ocelot_write(ocelot, SYS_PTP_NXT_PTP_NXT, SYS_PTP_NXT);
ocelot_write(ocelot, SYS_PTP_CFG_PTP_STAMP_WID(30), SYS_PTP_CFG);
ocelot_write(ocelot, 0xffffffff, ANA_TABLES_PTP_ID_LOW);
ocelot_write(ocelot, 0xffffffff, ANA_TABLES_PTP_ID_HIGH);
ocelot_write(ocelot, PTP_CFG_MISC_PTP_EN, PTP_CFG_MISC);
ocelot_write(ocelot, SYS_STAT_CFG_STAT_VIEW(port), SYS_STAT_CFG);