Home
last modified time | relevance | path

Searched refs:vlan_mask (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/
H A Docelot.c274 ocelot->vlan_mask[vid] |= BIT(port); in ocelot_vlan_add()
275 ret = ocelot_vlant_set_mask(ocelot, vid, ocelot->vlan_mask[vid]); in ocelot_vlan_add()
300 ocelot->vlan_mask[vid] &= ~BIT(port); in ocelot_vlan_del()
301 ret = ocelot_vlant_set_mask(ocelot, vid, ocelot->vlan_mask[vid]); in ocelot_vlan_del()
328 ocelot->vlan_mask[vid] = 0; in ocelot_vlan_init()
329 ocelot_vlant_set_mask(ocelot, vid, ocelot->vlan_mask[vid]); in ocelot_vlan_init()
336 ocelot->vlan_mask[0] = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_vlan_init()
337 ocelot_vlant_set_mask(ocelot, 0, ocelot->vlan_mask[0]); in ocelot_vlan_init()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1065 u32 vlan = 0, vlan_mask = 0; in gfar_convert_to_filer() local
1078 vlan_mask = RQFPR_VLN; in gfar_convert_to_filer()
1091 vlan_mask |= RQFPR_CFI; in gfar_convert_to_filer()
1098 RQFPR_IPV4 | RQFPR_TCP | vlan_mask, tab); in gfar_convert_to_filer()
1104 RQFPR_IPV4 | RQFPR_UDP | vlan_mask, tab); in gfar_convert_to_filer()
1109 gfar_set_parse_bits(RQFPR_IPV4 | vlan, RQFPR_IPV4 | vlan_mask, in gfar_convert_to_filer()
1117 gfar_set_parse_bits(RQFPR_IPV4 | vlan, RQFPR_IPV4 | vlan_mask, in gfar_convert_to_filer()
1125 gfar_set_parse_bits(vlan, vlan_mask, tab); in gfar_convert_to_filer()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_ioctl.h163 uint32_t vlan_mask:12; member
H A Dcommon.h419 u32 vlan_mask:12; member
H A Dt3_hw.c3010 mask[3] = tp->proto_mask | (tp->vlan_mask << 8) | (tp->intf_mask << 20); in t3_config_trace_filter()
/OK3568_Linux_fs/u-boot/include/
H A Dvsc9953.h236 u32 vlan_mask; member
/OK3568_Linux_fs/kernel/net/sched/
H A Dcls_flower.c2598 struct flow_dissector_key_vlan *vlan_mask) in fl_dump_key_vlan() argument
2602 if (!memchr_inv(vlan_mask, 0, sizeof(*vlan_mask))) in fl_dump_key_vlan()
2604 if (vlan_mask->vlan_id) { in fl_dump_key_vlan()
2610 if (vlan_mask->vlan_priority) { in fl_dump_key_vlan()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dvsc9953.c1519 setbits_le32(&l2ana_reg->ana.vlan_mask, 1 << port_no); in vsc9953_port_ingress_filtering_set()
1521 clrbits_le32(&l2ana_reg->ana.vlan_mask, 1 << port_no); in vsc9953_port_ingress_filtering_set()
1533 val = in_le32(&l2ana_reg->ana.vlan_mask); in vsc9953_port_ingress_filtering_get()
/OK3568_Linux_fs/kernel/include/soc/mscc/
H A Docelot.h619 u32 vlan_mask[VLAN_N_VID]; member