Home
last modified time | relevance | path

Searched refs:dsa (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/marvell/prestera/
Dprestera_dsa.c33 int prestera_dsa_parse(struct prestera_dsa *dsa, const u8 *dsa_buf) in prestera_dsa_parse() argument
61 dsa->vlan.is_tagged = FIELD_GET(PRESTERA_DSA_W0_IS_TAGGED, words[0]); in prestera_dsa_parse()
62 dsa->vlan.cfi_bit = FIELD_GET(PRESTERA_DSA_W1_CFI_BIT, words[1]); in prestera_dsa_parse()
63 dsa->vlan.vpt = FIELD_GET(PRESTERA_DSA_W0_VPT, words[0]); in prestera_dsa_parse()
64 dsa->vlan.vid = FIELD_GET(PRESTERA_DSA_W0_VID, words[0]); in prestera_dsa_parse()
65 dsa->vlan.vid &= ~PRESTERA_DSA_VID; in prestera_dsa_parse()
66 dsa->vlan.vid |= FIELD_PREP(PRESTERA_DSA_VID, field); in prestera_dsa_parse()
70 dsa->hw_dev_num = FIELD_GET(PRESTERA_DSA_W0_DEV_NUM, words[0]); in prestera_dsa_parse()
71 dsa->hw_dev_num |= FIELD_PREP(PRESTERA_DSA_DEV_NUM, field); in prestera_dsa_parse()
73 dsa->port_num = (FIELD_GET(PRESTERA_DSA_W0_PORT_NUM, words[0]) << 0) | in prestera_dsa_parse()
[all …]
Dprestera_rxtx.c218 struct prestera_dsa dsa; in prestera_rxtx_process_skb() local
225 err = prestera_dsa_parse(&dsa, skb->data - ETH_TLEN); in prestera_rxtx_process_skb()
229 dev_id = dsa.hw_dev_num; in prestera_rxtx_process_skb()
230 hw_port = dsa.port_num; in prestera_rxtx_process_skb()
252 if (dsa.vlan.is_tagged) { in prestera_rxtx_process_skb()
253 u16 tci = dsa.vlan.vid & VLAN_VID_MASK; in prestera_rxtx_process_skb()
255 tci |= dsa.vlan.vpt << VLAN_PRIO_SHIFT; in prestera_rxtx_process_skb()
256 if (dsa.vlan.cfi_bit) in prestera_rxtx_process_skb()
810 struct prestera_dsa dsa; in prestera_rxtx_xmit() local
812 dsa.hw_dev_num = port->dev_id; in prestera_rxtx_xmit()
[all …]
Dprestera_dsa.h32 int prestera_dsa_parse(struct prestera_dsa *dsa, const u8 *dsa_buf);
33 int prestera_dsa_build(const struct prestera_dsa *dsa, u8 *dsa_buf);
/drivers/scsi/sym53c8xx_2/
Dsym_fw1.h272 RADDR_1 (dsa),
275 RADDR_1 (dsa),
332 RADDR_1 (dsa),
672 RADDR_1 (dsa),
718 RADDR_1 (dsa),
824 RADDR_1 (dsa),
861 SCR_LOAD_REG (dsa, 0xff),
899 RADDR_1 (dsa),
900 SCR_SFBR_REG (dsa, SCR_SHL, 0),
902 SCR_REG_REG (dsa, SCR_SHL, 0),
[all …]
Dsym_fw2.h244 SCR_LOAD_ABS (dsa, 4),
251 SCR_LOAD_REL (dsa, 4),
691 SCR_STORE_ABS (dsa, 4),
693 SCR_LOAD_ABS (dsa, 4),
824 SCR_LOAD_REG (dsa, 0xff),
859 SCR_LOAD_ABS (dsa, 4),
861 SCR_SFBR_REG (dsa, SCR_SHL, 0),
863 SCR_REG_REG (dsa, SCR_SHL, 0),
865 SCR_REG_REG (dsa, SCR_AND, 0x3c),
867 SCR_LOAD_REL (dsa, 4),
[all …]
Dsym_hipd.h297 #define CCB_HASH_CODE(dsa) \ argument
298 (((dsa) >> (_LGRU16_(sizeof(struct sym_ccb)))) & CCB_HASH_MASK)
300 #define CCB_HASH_CODE(dsa) (((dsa) >> 9) & CCB_HASH_MASK) argument
Dsym_hipd.c44 static struct sym_ccb *sym_ccb_from_dsa(struct sym_hcb *np, u32 dsa);
1585 u32 dsa; local
1592 dsa = scr_to_cpu(np->dqueue[i]);
1593 if (!dsa)
1599 cp = sym_ccb_from_dsa(np, dsa);
1607 sym_name(np), (u_int) dsa);
2176 u32 dsa = INL(np, nc_dsa); local
2177 struct sym_ccb *cp = sym_ccb_from_dsa(np, dsa);
2302 u32 dsa = INL(np, nc_dsa); local
2306 struct sym_ccb *cp = sym_ccb_from_dsa(np, dsa);
[all …]
/drivers/net/dsa/
DKconfig5 source "drivers/net/dsa/b53/Kconfig"
52 source "drivers/net/dsa/microchip/Kconfig"
54 source "drivers/net/dsa/mv88e6xxx/Kconfig"
56 source "drivers/net/dsa/ocelot/Kconfig"
58 source "drivers/net/dsa/qca/Kconfig"
60 source "drivers/net/dsa/sja1105/Kconfig"
/drivers/dma/
Ddma-jz4780.c108 uint32_t dsa; member
310 desc->dsa = addr; in jz4780_dma_setup_hwdesc()
317 desc->dsa = config->src_addr; in jz4780_dma_setup_hwdesc()
467 desc->desc[0].dsa = src; in jz4780_dma_prep_dma_memcpy()
Dimx-sdma.c288 u32 dsa; member
/drivers/net/
DMakefile47 obj-y += dsa/
DKconfig440 source "drivers/net/dsa/Kconfig"
/drivers/scsi/
Dncr53c8xx.c2101 RADDR (dsa),
2355 SCR_FROM_REG (dsa),
2406 RADDR (dsa),
2565 SCR_LOAD_REG (dsa, 0xff),
2622 RADDR (dsa),
2847 RADDR (dsa),
6079 u_long dsa; in ncr_int_sto() local
6087 dsa = INL (nc_dsa); in ncr_int_sto()
6089 while (cp && (CCB_PHYS (cp, phys) != dsa)) in ncr_int_sto()
6239 u32 dsa; in ncr_int_ma() local
[all …]