Home
last modified time | relevance | path

Searched refs:vlan_table (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/net/dsa/microchip/
Dksz9477.c77 u32 *vlan_table) in ksz9477_get_vlan_table() argument
93 ksz_read32(dev, REG_SW_VLAN_ENTRY__4, &vlan_table[0]); in ksz9477_get_vlan_table()
94 ksz_read32(dev, REG_SW_VLAN_ENTRY_UNTAG__4, &vlan_table[1]); in ksz9477_get_vlan_table()
95 ksz_read32(dev, REG_SW_VLAN_ENTRY_PORTS__4, &vlan_table[2]); in ksz9477_get_vlan_table()
106 u32 *vlan_table) in ksz9477_set_vlan_table() argument
112 ksz_write32(dev, REG_SW_VLAN_ENTRY__4, vlan_table[0]); in ksz9477_set_vlan_table()
113 ksz_write32(dev, REG_SW_VLAN_ENTRY_UNTAG__4, vlan_table[1]); in ksz9477_set_vlan_table()
114 ksz_write32(dev, REG_SW_VLAN_ENTRY_PORTS__4, vlan_table[2]); in ksz9477_set_vlan_table()
129 dev->vlan_cache[vid].table[0] = vlan_table[0]; in ksz9477_set_vlan_table()
130 dev->vlan_cache[vid].table[1] = vlan_table[1]; in ksz9477_set_vlan_table()
[all …]
Dksz_common.h22 struct vlan_table { struct
134 struct vlan_table *vlan_cache;
Dksz_common.c1938 dev->vlan_cache = devm_kcalloc(dev->dev, sizeof(struct vlan_table), in ksz_setup()
/linux-6.1.9/drivers/infiniband/core/
Dud_header.c109 static const struct ib_field vlan_table[] = { variable
429 ib_pack(vlan_table, ARRAY_SIZE(vlan_table), in ib_ud_header_pack()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dport.c560 struct mlx4_vlan_table *table = &mlx4_priv(dev)->port[port].vlan_table; in mlx4_find_cached_vlan()
580 struct mlx4_vlan_table *table = &mlx4_priv(dev)->port[port].vlan_table; in __mlx4_register_vlan()
586 struct mlx4_vlan_table *dup_table = &mlx4_priv(dev)->port[dup_port].vlan_table; in __mlx4_register_vlan()
764 struct mlx4_vlan_table *table = &mlx4_priv(dev)->port[port].vlan_table; in __mlx4_unregister_vlan()
768 struct mlx4_vlan_table *dup_table = &mlx4_priv(dev)->port[dup_port].vlan_table; in __mlx4_unregister_vlan()
951 struct mlx4_vlan_table *t1 = &mlx4_priv(dev)->port[1].vlan_table; in mlx4_bond_vlan_table()
952 struct mlx4_vlan_table *t2 = &mlx4_priv(dev)->port[2].vlan_table; in mlx4_bond_vlan_table()
1005 struct mlx4_vlan_table *t1 = &mlx4_priv(dev)->port[1].vlan_table; in mlx4_unbond_vlan_table()
1006 struct mlx4_vlan_table *t2 = &mlx4_priv(dev)->port[2].vlan_table; in mlx4_unbond_vlan_table()
Dmlx4.h841 struct mlx4_vlan_table vlan_table; member
Dmain.c3055 mlx4_init_vlan_table(dev, &info->vlan_table); in mlx4_init_port_info()
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.c196 u32 vlan_table, reg, mask, bit, len; in fm10k_update_vlan_pf() local
227 vlan_table = fm10k_read_reg(hw, reg); in fm10k_update_vlan_pf()
233 mask &= set ? ~vlan_table : vlan_table; in fm10k_update_vlan_pf()
235 fm10k_write_reg(hw, reg, vlan_table ^ mask); in fm10k_update_vlan_pf()
/linux-6.1.9/drivers/net/usb/
Dlan78xx.c357 u32 vlan_table[DP_SEL_VHF_VLAN_LEN]; member
2634 DP_SEL_VHF_VLAN_LEN, pdata->vlan_table); in lan78xx_deferred_vlan_write()
2648 pdata->vlan_table[vid_dword_index] |= (1 << vid_bit_index); in lan78xx_vlan_rx_add_vid()
2667 pdata->vlan_table[vid_dword_index] &= ~(1 << vid_bit_index); in lan78xx_vlan_rx_kill_vid()
3455 pdata->vlan_table[i] = 0; in lan78xx_bind()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h933 unsigned long vlan_table[VLAN_N_VID][BITS_TO_LONGS(HCLGE_VPORT_NUM)]; member
Dhclge_main.c9731 test_bit(vport_id, hdev->vlan_table[vlan_id])) in hclge_need_update_port_vlan()
9734 if (!is_kill && test_and_set_bit(vport_id, hdev->vlan_table[vlan_id])) { in hclge_need_update_port_vlan()
9742 !test_and_clear_bit(vport_id, hdev->vlan_table[vlan_id])) { in hclge_need_update_port_vlan()
9776 for_each_set_bit(vport_idx, hdev->vlan_table[vlan_id], HCLGE_VPORT_NUM) in hclge_set_vlan_filter_hw()
10195 clear_bit(vport->vport_id, hdev->vlan_table[vlan_id]); in hclge_restore_vport_port_base_vlan_config()
11987 memset(hdev->vlan_table, 0, sizeof(hdev->vlan_table)); in hclge_reset_ae_dev()
/linux-6.1.9/drivers/net/ethernet/micrel/
Dksz884x.c1107 struct ksz_vlan_table vlan_table[VLAN_TABLE_ENTRIES]; member
2581 &sw->vlan_table[entry].vid, in sw_init_vlan()
2582 &sw->vlan_table[entry].fid, in sw_init_vlan()
2583 &sw->vlan_table[entry].member); in sw_init_vlan()