Home
last modified time | relevance | path

Searched refs:pvid (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/doc/
H A DREADME.t1040-l2switch42 ethsw [port <port_no>] pvid { [help] | show | <pvid> } - set/show PVID (ingress and egress VLAN tag…
44 ethsw [port <port_no>] untagged { [help] | show | all | none | pvid } - set egress tagging mode for…
45 ethsw [port <port_no>] egress tag { [help] | show | pvid | classified } - configure VID source for …
/rk3399_rockchip-uboot/drivers/net/
H A Dvsc9953.c332 static int vsc9953_port_vlan_pvid_get(int port_nr, int *pvid) in vsc9953_port_vlan_pvid_get() argument
348 *pvid = bitfield_extract_by_mask(val, VSC9953_VLAN_CFG_VID_MASK); in vsc9953_port_vlan_pvid_get()
355 static void vsc9953_port_vlan_pvid_set(int port_no, int pvid) in vsc9953_port_vlan_pvid_set() argument
374 val = bitfield_replace_by_mask(val, VSC9953_VLAN_CFG_VID_MASK, pvid); in vsc9953_port_vlan_pvid_set()
380 pvid); in vsc9953_port_vlan_pvid_set()
384 static void vsc9953_port_all_vlan_pvid_set(int pvid) in vsc9953_port_all_vlan_pvid_set() argument
389 vsc9953_port_vlan_pvid_set(i, pvid); in vsc9953_port_all_vlan_pvid_set()
2009 int pvid; in vsc9953_pvid_show_key_func() local
2017 if (vsc9953_port_vlan_pvid_get(parsed_cmd->port, &pvid)) in vsc9953_pvid_show_key_func()
2020 printf("%7d %7d\n", parsed_cmd->port, pvid); in vsc9953_pvid_show_key_func()
[all …]