Searched refs:vlan_table (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/net/dsa/microchip/ |
A D | ksz9477.c | 100 u32 *vlan_table) in ksz9477_get_vlan_table() argument 129 u32 *vlan_table) in ksz9477_set_vlan_table() argument 152 dev->vlan_cache[vid].table[0] = vlan_table[0]; in ksz9477_set_vlan_table() 153 dev->vlan_cache[vid].table[1] = vlan_table[1]; in ksz9477_set_vlan_table() 479 u32 vlan_table[3]; in ksz9477_port_vlan_add() local 491 vlan_table[1] |= BIT(port); in ksz9477_port_vlan_add() 493 vlan_table[1] &= ~BIT(port); in ksz9477_port_vlan_add() 494 vlan_table[1] &= ~(BIT(dev->cpu_port)); in ksz9477_port_vlan_add() 516 u32 vlan_table[3]; in ksz9477_port_vlan_del() local 527 vlan_table[2] &= ~BIT(port); in ksz9477_port_vlan_del() [all …]
|
A D | ksz_common.h | 17 struct vlan_table { struct 79 struct vlan_table *vlan_cache;
|
A D | ksz8795.c | 1399 dev->vlan_cache = devm_kcalloc(dev->dev, sizeof(struct vlan_table), in ksz8_setup()
|
/linux/drivers/infiniband/core/ |
A D | ud_header.c | 109 static const struct ib_field vlan_table[] = { variable 429 ib_pack(vlan_table, ARRAY_SIZE(vlan_table), in ib_ud_header_pack()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | port.c | 560 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()
|
A D | mlx4.h | 841 struct mlx4_vlan_table vlan_table; member
|
A D | main.c | 3055 mlx4_init_vlan_table(dev, &info->vlan_table); in mlx4_init_port_info()
|
/linux/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_pf.c | 196 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/drivers/net/usb/ |
A D | lan78xx.c | 324 u32 vlan_table[DP_SEL_VHF_VLAN_LEN]; member 2482 DP_SEL_VHF_VLAN_LEN, pdata->vlan_table); in lan78xx_deferred_vlan_write() 2496 pdata->vlan_table[vid_dword_index] |= (1 << vid_bit_index); in lan78xx_vlan_rx_add_vid() 2515 pdata->vlan_table[vid_dword_index] &= ~(1 << vid_bit_index); in lan78xx_vlan_rx_kill_vid() 3251 pdata->vlan_table[i] = 0; in lan78xx_bind()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_main.h | 947 unsigned long vlan_table[VLAN_N_VID][BITS_TO_LONGS(HCLGE_VPORT_NUM)]; member
|
A D | hclge_main.c | 9962 test_bit(vport_id, hdev->vlan_table[vlan_id])) in hclge_set_vlan_filter_hw() 9965 if (!is_kill && test_and_set_bit(vport_id, hdev->vlan_table[vlan_id])) { in hclge_set_vlan_filter_hw() 9973 !test_and_clear_bit(vport_id, hdev->vlan_table[vlan_id])) { in hclge_set_vlan_filter_hw() 9980 for_each_set_bit(vport_idx, hdev->vlan_table[vlan_id], HCLGE_VPORT_NUM) in hclge_set_vlan_filter_hw() 10352 clear_bit(vport->vport_id, hdev->vlan_table[vlan_id]); in hclge_restore_vport_vlan_table() 12109 memset(hdev->vlan_table, 0, sizeof(hdev->vlan_table)); in hclge_reset_ae_dev()
|
/linux/drivers/net/ethernet/micrel/ |
A D | ksz884x.c | 1107 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()
|
Completed in 102 milliseconds