Searched refs:ocelot_write (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/mscc/ |
D | ocelot.c | 59 ocelot_write(ocelot, macl, ANA_TABLES_MACLDATA); in ocelot_mact_select() 60 ocelot_write(ocelot, mach, ANA_TABLES_MACHDATA); in ocelot_mact_select() 89 ocelot_write(ocelot, cmd, ANA_TABLES_MACACCESS); in __ocelot_mact_learn() 120 ocelot_write(ocelot, in ocelot_mact_forget() 143 ocelot_write(ocelot, ANA_TABLES_MACACCESS_VALID | in ocelot_mact_lookup() 177 ocelot_write(ocelot, in ocelot_mact_learn_streamdata() 207 ocelot_write(ocelot, MACACCESS_CMD_INIT, ANA_TABLES_MACACCESS); in ocelot_mact_init() 273 ocelot_write(ocelot, ANA_TABLES_VLANTIDX_V_INDEX(vid), in ocelot_vlant_set_mask() 276 ocelot_write(ocelot, ANA_TABLES_VLANACCESS_VLAN_PORT_MASK(mask) | in ocelot_vlant_set_mask() 694 ocelot_write(ocelot, ANA_TABLES_VLANACCESS_CMD_INIT, in ocelot_vlan_init() [all …]
|
D | ocelot_ptp.c | 167 ocelot_write(ocelot, unit | adj, PTP_CLK_CFG_ADJ_FREQ); in ocelot_ptp_adjfine() 168 ocelot_write(ocelot, PTP_CFG_CLK_ADJ_CFG_ENA | direction, in ocelot_ptp_adjfine() 175 ocelot_write(ocelot, 0, PTP_CLK_CFG_ADJ_CFG); in ocelot_ptp_adjfine() 789 ocelot_write(ocelot, SYS_PTP_NXT_PTP_NXT, SYS_PTP_NXT); in ocelot_get_txtstamp() 821 ocelot_write(ocelot, SYS_PTP_CFG_PTP_STAMP_WID(30), SYS_PTP_CFG); in ocelot_init_timestamp() 822 ocelot_write(ocelot, 0xffffffff, ANA_TABLES_PTP_ID_LOW); in ocelot_init_timestamp() 823 ocelot_write(ocelot, 0xffffffff, ANA_TABLES_PTP_ID_HIGH); in ocelot_init_timestamp() 825 ocelot_write(ocelot, PTP_CFG_MISC_PTP_EN, PTP_CFG_MISC); in ocelot_init_timestamp()
|
D | ocelot_stats.c | 21 ocelot_write(ocelot, SYS_STAT_CFG_STAT_VIEW(port), SYS_STAT_CFG); in ocelot_port_update_stats()
|
D | ocelot_devlink.c | 481 ocelot_write(ocelot, all_tcs, QSYS_RES_QOS_MODE); in ocelot_watermark_init()
|
D | ocelot_net.c | 855 ocelot_write(ocelot, val, ANA_VLANMASK); in ocelot_vlan_mode()
|
/Linux-v6.1/drivers/net/dsa/ocelot/ |
D | felix_vsc9959.c | 873 ocelot_write(ocelot, SYS_RAM_INIT_RAM_INIT, SYS_RAM_INIT); in vsc9959_reset() 1399 ocelot_write(ocelot, in vsc9959_tas_gcl_set() 1403 ocelot_write(ocelot, entry->interval, QSYS_GCL_CFG_REG_2); in vsc9959_tas_gcl_set() 1475 ocelot_write(ocelot, base_ts.tv_nsec, QSYS_PARAM_CFG_REG_1); in vsc9959_qos_port_tas_set() 1476 ocelot_write(ocelot, lower_32_bits(base_ts.tv_sec), QSYS_PARAM_CFG_REG_2); in vsc9959_qos_port_tas_set() 1478 ocelot_write(ocelot, in vsc9959_qos_port_tas_set() 1482 ocelot_write(ocelot, taprio->cycle_time, QSYS_PARAM_CFG_REG_4); in vsc9959_qos_port_tas_set() 1483 ocelot_write(ocelot, taprio->cycle_time_extension, QSYS_PARAM_CFG_REG_5); in vsc9959_qos_port_tas_set() 1535 ocelot_write(ocelot, base_ts.tv_nsec, QSYS_PARAM_CFG_REG_1); in vsc9959_tas_clock_adjust() 1536 ocelot_write(ocelot, lower_32_bits(base_ts.tv_sec), in vsc9959_tas_clock_adjust() [all …]
|
D | felix.c | 375 ocelot_write(ocelot, QSYS_EXT_CPU_CFG_EXT_CPUQ_MSK_M | in felix_npi_port_init() 396 ocelot_write(ocelot, QSYS_EXT_CPU_CFG_EXT_CPU_PORT(unused_port), in felix_npi_port_deinit()
|
/Linux-v6.1/include/soc/mscc/ |
D | ocelot.h | 1071 #define ocelot_write(ocelot, val, reg) __ocelot_write_ix(ocelot, val, reg, 0) macro
|