Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/dsa/microchip/
Dksz9477.c68 u32 *vlan_table) in ksz9477_get_vlan_table() argument
84 ksz_read32(dev, REG_SW_VLAN_ENTRY__4, &vlan_table[0]); in ksz9477_get_vlan_table()
85 ksz_read32(dev, REG_SW_VLAN_ENTRY_UNTAG__4, &vlan_table[1]); in ksz9477_get_vlan_table()
86 ksz_read32(dev, REG_SW_VLAN_ENTRY_PORTS__4, &vlan_table[2]); in ksz9477_get_vlan_table()
97 u32 *vlan_table) in ksz9477_set_vlan_table() argument
103 ksz_write32(dev, REG_SW_VLAN_ENTRY__4, vlan_table[0]); in ksz9477_set_vlan_table()
104 ksz_write32(dev, REG_SW_VLAN_ENTRY_UNTAG__4, vlan_table[1]); in ksz9477_set_vlan_table()
105 ksz_write32(dev, REG_SW_VLAN_ENTRY_PORTS__4, vlan_table[2]); in ksz9477_set_vlan_table()
120 dev->vlan_cache[vid].table[0] = vlan_table[0]; in ksz9477_set_vlan_table()
121 dev->vlan_cache[vid].table[1] = vlan_table[1]; in ksz9477_set_vlan_table()
[all …]
Dksz_common.h38 struct vlan_table { struct
179 struct vlan_table *vlan_cache;
Dksz_common.c2495 dev->vlan_cache = devm_kcalloc(dev->dev, sizeof(struct vlan_table), in ksz_setup()
/linux-6.12.1/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.12.1/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.h843 struct mlx4_vlan_table vlan_table; member
Dmain.c3106 mlx4_init_vlan_table(dev, &info->vlan_table); in mlx4_init_port_info()
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.c197 u32 vlan_table, reg, mask, bit, len; in fm10k_update_vlan_pf() local
228 vlan_table = fm10k_read_reg(hw, reg); in fm10k_update_vlan_pf()
234 mask &= set ? ~vlan_table : vlan_table; in fm10k_update_vlan_pf()
236 fm10k_write_reg(hw, reg, vlan_table ^ mask); in fm10k_update_vlan_pf()
/linux-6.12.1/drivers/net/usb/
Dlan78xx.c357 u32 vlan_table[DP_SEL_VHF_VLAN_LEN]; member
2606 DP_SEL_VHF_VLAN_LEN, pdata->vlan_table); in lan78xx_deferred_vlan_write()
2620 pdata->vlan_table[vid_dword_index] |= (1 << vid_bit_index); in lan78xx_vlan_rx_add_vid()
2639 pdata->vlan_table[vid_dword_index] &= ~(1 << vid_bit_index); in lan78xx_vlan_rx_kill_vid()
3434 pdata->vlan_table[i] = 0; in lan78xx_bind()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h955 unsigned long vlan_table[VLAN_N_VID][BITS_TO_LONGS(HCLGE_VPORT_NUM)]; member
Dhclge_main.c9746 test_bit(vport_id, hdev->vlan_table[vlan_id])) in hclge_need_update_port_vlan()
9749 if (!is_kill && test_and_set_bit(vport_id, hdev->vlan_table[vlan_id])) { in hclge_need_update_port_vlan()
9757 !test_and_clear_bit(vport_id, hdev->vlan_table[vlan_id])) { in hclge_need_update_port_vlan()
9791 for_each_set_bit(vport_idx, hdev->vlan_table[vlan_id], HCLGE_VPORT_NUM) in hclge_set_vlan_filter_hw()
10211 clear_bit(vport->vport_id, hdev->vlan_table[vlan_id]); in hclge_restore_vport_port_base_vlan_config()
12168 memset(hdev->vlan_table, 0, sizeof(hdev->vlan_table)); in hclge_reset_ae_dev()
/linux-6.12.1/drivers/net/ethernet/micrel/
Dksz884x.c1107 struct ksz_vlan_table vlan_table[VLAN_TABLE_ENTRIES]; member
2354 &sw->vlan_table[entry].vid, in sw_init_vlan()
2355 &sw->vlan_table[entry].fid, in sw_init_vlan()
2356 &sw->vlan_table[entry].member); in sw_init_vlan()