Home
last modified time | relevance | path

Searched refs:pvlan (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/
H A Dif_ether.h107 #define get_vlan_id(pvlan) ((ntohs((unsigned short )pvlan->h_vlan_TCI)) & 0xfff) argument
108 #define get_vlan_priority(pvlan) ((ntohs((unsigned short )pvlan->h_vlan_TCI))>>13) argument
109 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short )pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/include/
H A Dif_ether.h102 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
103 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
104 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/include/
H A Dif_ether.h101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
103 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/include/
H A Dif_ether.h102 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
103 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
104 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/include/
H A Dif_ether.h101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
103 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/
H A Dif_ether.h101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
103 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/include/
H A Dif_ether.h102 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
103 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
104 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/include/
H A Dif_ether.h102 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
103 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
104 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/include/
H A Dif_ether.h101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
103 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/include/
H A Dif_ether.h101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
103 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/include/
H A Dif_ether.h101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
103 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/
H A Dif_ether.h107 #define get_vlan_id(pvlan) ((ntohs((unsigned short )pvlan->h_vlan_TCI)) & 0xfff) argument
108 #define get_vlan_priority(pvlan) ((ntohs((unsigned short )pvlan->h_vlan_TCI))>>13) argument
109 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short )pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/
H A Dif_ether.h106 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
107 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
108 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/include/
H A Dif_ether.h102 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
103 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
104 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/
H A Dif_ether.h101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
103 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/include/
H A Dif_ether.h101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
103 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/include/
H A Dif_ether.h101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
103 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/include/
H A Dif_ether.h101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff) argument
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13) argument
103 #define get_vlan_encap_proto(pvlan) (ntohs((unsigned short)pvlan->h_vlan_encapsulated_proto)) argument
/OK3568_Linux_fs/kernel/drivers/net/dsa/b53/
H A Db53_common.c499 u16 pvlan; in b53_imp_vlan_setup() local
506 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(i), &pvlan); in b53_imp_vlan_setup()
507 pvlan |= BIT(cpu_port); in b53_imp_vlan_setup()
508 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(i), pvlan); in b53_imp_vlan_setup()
531 u16 pvlan; in b53_enable_port() local
553 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), &pvlan); in b53_enable_port()
554 pvlan &= ~0x1ff; in b53_enable_port()
555 pvlan |= BIT(port); in b53_enable_port()
556 pvlan |= dev->ports[port].vlan_ctl_mask; in b53_enable_port()
557 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), pvlan); in b53_enable_port()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/dsa/mv88e6xxx/
H A Dchip.c1212 u16 pvlan; in mv88e6xxx_port_vlan() local
1230 pvlan = 0; in mv88e6xxx_port_vlan()
1240 pvlan |= BIT(dp->index); in mv88e6xxx_port_vlan()
1242 return pvlan; in mv88e6xxx_port_vlan()
1405 u16 pvlan = 0; in mv88e6xxx_pvt_map() local
1412 pvlan = mv88e6xxx_port_vlan(chip, dev, port); in mv88e6xxx_pvt_map()
1414 return mv88e6xxx_g2_pvt_write(chip, dev, port, pvlan); in mv88e6xxx_pvt_map()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/
H A Drtw_recv.c2428 struct _vlan *pvlan = NULL; in wlanhdr_to_ethhdr() local
2470 pvlan = (struct _vlan *) ptr; in wlanhdr_to_ethhdr()
2491 UINT32 VlanID = (pvlan != NULL ? get_vlan_id(pvlan) : 0); in wlanhdr_to_ethhdr()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/
H A Drtw_recv.c2575 struct _vlan *pvlan = NULL; in wlanhdr_to_ethhdr() local
2624 pvlan = (struct _vlan *) ptr; in wlanhdr_to_ethhdr()
2654 UINT32 VlanID = (pvlan!=NULL ? get_vlan_id(pvlan) : 0 ); in wlanhdr_to_ethhdr()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/
H A Drtw_recv.c2593 struct _vlan *pvlan = NULL; in wlanhdr_to_ethhdr() local
2642 pvlan = (struct _vlan *) ptr; in wlanhdr_to_ethhdr()
2672 UINT32 VlanID = (pvlan!=NULL ? get_vlan_id(pvlan) : 0 ); in wlanhdr_to_ethhdr()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/
H A Drtw_recv.c2448 struct _vlan *pvlan = NULL; in wlanhdr_to_ethhdr() local
2493 pvlan = (struct _vlan *) ptr; in wlanhdr_to_ethhdr()
2518 UINT32 VlanID = (pvlan != NULL ? get_vlan_id(pvlan) : 0); in wlanhdr_to_ethhdr()