Searched refs:ocelot_write (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 66 ocelot_write(ocelot, macl, ANA_TABLES_MACLDATA); in ocelot_mact_select() 67 ocelot_write(ocelot, mach, ANA_TABLES_MACHDATA); in ocelot_mact_select() 96 ocelot_write(ocelot, cmd, ANA_TABLES_MACACCESS); in __ocelot_mact_learn() 127 ocelot_write(ocelot, in ocelot_mact_forget() 150 ocelot_write(ocelot, ANA_TABLES_MACACCESS_VALID | in ocelot_mact_lookup() 184 ocelot_write(ocelot, in ocelot_mact_learn_streamdata() 214 ocelot_write(ocelot, MACACCESS_CMD_INIT, ANA_TABLES_MACACCESS); in ocelot_mact_init() 310 ocelot_write(ocelot, ANA_TABLES_VLANTIDX_V_INDEX(vid), in ocelot_vlant_set_mask() 313 ocelot_write(ocelot, ANA_TABLES_VLANACCESS_VLAN_PORT_MASK(mask) | in ocelot_vlant_set_mask() 897 ocelot_write(ocelot, ANA_TABLES_VLANACCESS_CMD_INIT, in ocelot_vlan_init() [all …]
|
H A D | ocelot_ptp.c | 169 ocelot_write(ocelot, unit | adj, PTP_CLK_CFG_ADJ_FREQ); in ocelot_ptp_adjfine() 170 ocelot_write(ocelot, PTP_CFG_CLK_ADJ_CFG_ENA | direction, in ocelot_ptp_adjfine() 177 ocelot_write(ocelot, 0, PTP_CLK_CFG_ADJ_CFG); in ocelot_ptp_adjfine() 886 ocelot_write(ocelot, SYS_PTP_NXT_PTP_NXT, SYS_PTP_NXT); in ocelot_get_txtstamp() 918 ocelot_write(ocelot, SYS_PTP_CFG_PTP_STAMP_WID(30), SYS_PTP_CFG); in ocelot_init_timestamp() 919 ocelot_write(ocelot, 0xffffffff, ANA_TABLES_PTP_ID_LOW); in ocelot_init_timestamp() 920 ocelot_write(ocelot, 0xffffffff, ANA_TABLES_PTP_ID_HIGH); in ocelot_init_timestamp() 922 ocelot_write(ocelot, PTP_CFG_MISC_PTP_EN, PTP_CFG_MISC); in ocelot_init_timestamp()
|
H A D | ocelot_devlink.c | 481 ocelot_write(ocelot, all_tcs, QSYS_RES_QOS_MODE); in ocelot_watermark_init()
|
/linux/drivers/net/dsa/ocelot/ |
H A D | felix_vsc9959.c | 911 ocelot_write(ocelot, SYS_RAM_INIT_RAM_INIT, SYS_RAM_INIT); in vsc9959_reset() 1415 ocelot_write(ocelot, in vsc9959_tas_gcl_set() 1419 ocelot_write(ocelot, entry->interval, QSYS_GCL_CFG_REG_2); in vsc9959_tas_gcl_set() 1502 ocelot_write(ocelot, base_ts.tv_nsec, QSYS_PARAM_CFG_REG_1); in vsc9959_qos_port_tas_set() 1503 ocelot_write(ocelot, lower_32_bits(base_ts.tv_sec), QSYS_PARAM_CFG_REG_2); in vsc9959_qos_port_tas_set() 1505 ocelot_write(ocelot, in vsc9959_qos_port_tas_set() 1509 ocelot_write(ocelot, taprio->cycle_time, QSYS_PARAM_CFG_REG_4); in vsc9959_qos_port_tas_set() 1510 ocelot_write(ocelot, taprio->cycle_time_extension, QSYS_PARAM_CFG_REG_5); in vsc9959_qos_port_tas_set() 1569 ocelot_write(ocelot, base_ts.tv_nsec, QSYS_PARAM_CFG_REG_1); in vsc9959_tas_clock_adjust() 1570 ocelot_write(ocelot, lower_32_bits(base_ts.tv_sec), in vsc9959_tas_clock_adjust() [all …]
|
/linux/include/soc/mscc/ |
H A D | ocelot.h | 924 #define ocelot_write(ocelot, val, reg) __ocelot_write_ix(ocelot, val, reg, 0) macro
|