Searched refs:ocelot_write_rix (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/mscc/ |
| D | ocelot.c | 460 ocelot_write_rix(ocelot, SYS_PAUSE_CFG_PAUSE_ENA | in ocelot_port_adjust_link() 465 ocelot_write_rix(ocelot, QSYS_SWITCH_PORT_MODE_INGRESS_DROP_MODE | in ocelot_port_adjust_link() 471 ocelot_write_rix(ocelot, SYS_MAC_FC_CFG_PAUSE_VAL_CFG(0xffff) | in ocelot_port_adjust_link() 477 ocelot_write_rix(ocelot, 0, ANA_POL_FLOWC, p); in ocelot_port_adjust_link() 481 ocelot_write_rix(ocelot, ocelot_wm_enc(9 * VLAN_ETH_FRAME_LEN), in ocelot_port_adjust_link() 572 ocelot_write_rix(ocelot, QS_INJ_CTRL_GAP_SIZE(1) | in ocelot_port_xmit() 589 ocelot_write_rix(ocelot, (__force u32)cpu_to_be32(ifh[i]), in ocelot_port_xmit() 595 ocelot_write_rix(ocelot, ((u32 *)skb->data)[i], QS_INJ_WR, grp); in ocelot_port_xmit() 600 ocelot_write_rix(ocelot, 0, QS_INJ_WR, grp); in ocelot_port_xmit() 605 ocelot_write_rix(ocelot, QS_INJ_CTRL_GAP_SIZE(1) | in ocelot_port_xmit() [all …]
|
| D | ocelot_ace.c | 138 ocelot_write_rix(oc, data->entry[i], S2_CACHE_ENTRY_DAT, i); in vcap_entry2cache() 139 ocelot_write_rix(oc, ~data->mask[i], S2_CACHE_MASK_DAT, i); in vcap_entry2cache() 168 ocelot_write_rix(oc, data->action[i], S2_CACHE_ACTION_DAT, i); in vcap_action2cache() 171 ocelot_write_rix(oc, data->counter[i], S2_CACHE_CNT_DAT, i); in vcap_action2cache()
|
| D | ocelot.h | 523 #define ocelot_write_rix(ocelot, val, reg, ri) __ocelot_write_ix(ocelot, val, reg, reg##_RSZ * (ri)) macro
|