Lines Matching +full:sparx +full:- +full:5
1 /* SPDX-License-Identifier: GPL-2.0+ */
29 SPX5_TARGET_CT_7546 = 0x7546, /* SparX-5-64 Enterprise */
30 SPX5_TARGET_CT_7549 = 0x7549, /* SparX-5-90 Enterprise */
31 SPX5_TARGET_CT_7552 = 0x7552, /* SparX-5-128 Enterprise */
32 SPX5_TARGET_CT_7556 = 0x7556, /* SparX-5-160 Enterprise */
33 SPX5_TARGET_CT_7558 = 0x7558, /* SparX-5-200 Enterprise */
34 SPX5_TARGET_CT_7546TSN = 0x47546, /* SparX-5-64i Industrial */
35 SPX5_TARGET_CT_7549TSN = 0x47549, /* SparX-5-90i Industrial */
36 SPX5_TARGET_CT_7552TSN = 0x47552, /* SparX-5-128i Industrial */
37 SPX5_TARGET_CT_7556TSN = 0x47556, /* SparX-5-160i Industrial */
38 SPX5_TARGET_CT_7558TSN = 0x47558, /* SparX-5-200i Industrial */
49 SPX5_VLAN_PORT_TYPE_C, /* C-port */
50 SPX5_VLAN_PORT_TYPE_S, /* S-port */
51 SPX5_VLAN_PORT_TYPE_S_CUSTOM /* S-port using custom type */
61 #define SPX5_PORTS_ALL (SPX5_PORT_CPU + 5) /* Total number of ports */
69 #define PGID_IPV6_MC_CTRL (PGID_BASE + 5)
227 ((struct sparx5_skb_cb *)((skb)->cb))
431 #define SPX5_SDLB_PUP_TOKEN_MAX (SPX5_SDLB_PUP_TOKEN_DISABLE - 1)
481 #define SPX5_PSFP_SG_MAX_CYCLE_TIME_NS ((1 * NSEC_PER_SEC) - 1)
482 #define SPX5_PSFP_SG_MAX_IPV (SPX5_PRIOS - 1)
483 #define SPX5_PSFP_SG_OPEN (SPX5_PSFP_SG_CNT - 1)
621 return readl(spx5_addr(sparx5->regs, id, tinst, tcnt, gbase, ginst, in spx5_rd()
638 writel(val, spx5_addr(sparx5->regs, id, tinst, tcnt, in spx5_wr()
660 nval = readl(spx5_addr(sparx5->regs, id, tinst, tcnt, gbase, ginst, in spx5_rmw()
663 writel(nval, spx5_addr(sparx5->regs, id, tinst, tcnt, gbase, ginst, in spx5_rmw()
683 return sparx5->regs[id + tinst]; in spx5_inst_get()
691 return spx5_addr(sparx5->regs, id, tinst, tcnt, in spx5_reg_get()