/linux-master/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 1572 static int be_vlan_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 1580 if (lancer_chip(adapter) && vid == 0) 1583 if (test_bit(vid, adapter->vids)) 1586 set_bit(vid, adapter->vids); 1595 static int be_vlan_rem_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 1603 if (lancer_chip(adapter) && vid == 0) 1606 if (!test_bit(vid, adapter->vids)) 1609 clear_bit(vid, adapter->vids);
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | hwif.h | 404 __be16 proto, u16 vid); 407 __be16 proto, u16 vid);
|
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe.c | 758 * @vid: Video device structure 766 int vfe_flush_buffers(struct camss_video *vid, argument 769 struct vfe_line *line = container_of(vid, struct vfe_line, video_out);
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | 346 static void lan966x_ifh_set_vid(void *ifh, u64 vid) argument 348 lan966x_ifh_set(ifh, vid, IFH_POS_TCI, IFH_WID_TCI);
|
/linux-master/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_main.c | 2089 static int ehea_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) argument 2113 index = (vid / 64); 2114 cb1->vlan_filter[index] |= ((u64)(0x8000000000000000 >> (vid & 0x3F))); 2127 static int ehea_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) argument 2151 index = (vid / 64); 2152 cb1->vlan_filter[index] &= ~((u64)(0x8000000000000000 >> (vid & 0x3F)));
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | netcp_ethss.c | 2506 static int gbe_add_vid(void *intf_priv, int vid) argument 2511 set_bit(vid, gbe_intf->active_vlans); 2513 cpsw_ale_add_vlan(gbe_dev->ale, vid, 2522 static int gbe_del_vid(void *intf_priv, int vid) argument 2527 cpsw_ale_del_vlan(gbe_dev->ale, vid, 0); 2528 clear_bit(vid, gbe_intf->active_vlans);
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 1665 * @vid: The VLAN tag filter - capture any multicast packet with this VLAN tag 1670 u16 vid, 1688 cmd->vlan_tag = cpu_to_le16(vid | I40E_AQC_SET_VSI_VLAN_VALID); 1701 * @vid: The VLAN tag filter - capture any unicast packet with this VLAN tag 1706 u16 vid, 1730 cmd->vlan_tag = cpu_to_le16(vid | I40E_AQC_SET_VSI_VLAN_VALID); 1743 * @vid: The VLAN tag filter - capture any broadcast packet with this VLAN tag 1747 u16 seid, bool enable, u16 vid, 1765 cmd->vlan_tag = cpu_to_le16(vid | I40E_AQC_SET_VSI_VLAN_VALID); 1668 i40e_aq_set_vsi_mc_promisc_on_vlan(struct i40e_hw *hw, u16 seid, bool enable, u16 vid, struct i40e_asq_cmd_details *cmd_details) argument 1704 i40e_aq_set_vsi_uc_promisc_on_vlan(struct i40e_hw *hw, u16 seid, bool enable, u16 vid, struct i40e_asq_cmd_details *cmd_details) argument 1746 i40e_aq_set_vsi_bc_promisc_on_vlan(struct i40e_hw *hw, u16 seid, bool enable, u16 vid, struct i40e_asq_cmd_details *cmd_details) argument
|
/linux-master/drivers/hwmon/ |
H A D | it87.c | 54 #include <linux/hwmon-vid.h> 606 u8 vid; /* Register encoding, combined */ member in struct:it87_data 974 data->vid = it87_read_value(data, IT87_REG_VID); 979 data->vid &= 0x3f; 2221 return sprintf(buf, "%ld\n", (long)vid_from_reg(data->vid, data->vrm)); 3533 data->vid = sio_data->vid_value;
|
H A D | adm1026.c | 20 #include <linux/hwmon-vid.h> 1073 int vid = (data->gpio >> 11) & 0x1f; local 1076 return sprintf(buf, "%d\n", vid_from_reg(vid, data->vrm));
|
/linux-master/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.c | 1730 u16 vid; local 1736 vid = key2vid(node->macvlan); 1750 MLX5_SET(fte_match_set_lyr_2_4, headers_v, first_vid, vid); 1833 static int mac_vlan_add(struct mlx5_vdpa_net *ndev, u8 *mac, u16 vid, bool tagged) argument 1840 val = search_val(mac, vid, tagged);
|
/linux-master/drivers/net/ethernet/renesas/ |
H A D | sh_eth.c | 2952 __be16 proto, u16 vid) 2960 /* No filtering if vid = 0 */ 2961 if (!vid) 2975 sh_eth_tsu_write(mdp, TSU_VTAG_ENABLE | (vid & TSU_VTAG_VID_MASK), 2982 __be16 proto, u16 vid) 2990 /* No filtering if vid = 0 */ 2991 if (!vid) 2951 sh_eth_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) argument 2981 sh_eth_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
|
/linux-master/include/linux/ |
H A D | netdevice.h | 1114 * int (*ndo_vlan_rx_add_vid)(struct net_device *dev, __be16 proto, u16 vid); 1118 * int (*ndo_vlan_rx_kill_vid)(struct net_device *dev, __be16 proto, u16 vid); 1227 * const unsigned char *addr, u16 vid, u16 flags, 1232 * const unsigned char *addr, u16 vid) 1403 __be16 proto, u16 vid); 1405 __be16 proto, u16 vid); 1504 u16 vid, 1511 u16 vid, struct netlink_ext_ack *extack); 1524 u16 vid, u32 portid, u32 seq,
|
/linux-master/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-hw.c | 223 u16 vid; local 226 for_each_set_bit(vid, pdata->active_vlans, VLAN_N_VID) { 228 vid_le = cpu_to_le16(vid);
|
/linux-master/drivers/scsi/aacraid/ |
H A D | commsup.c | 2291 u32 vbus, vid; local 2305 vid = (u32)le16_to_cpu(dev->supplement_adapter_info.virt_device_target); 2311 srbcmd->id = cpu_to_le32(vid);
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 31 #define VLAN_TCI(vid, prio) ((vid) | ((prio) << VLAN_PRIO_SHIFT)) 93 actions->push_vlan_tci = htons(act->vlan.vid);
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_rps.c | 507 unsigned int vid = local 511 val = vid * vid * freq / 1000 * 255;
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | 2422 __be16 vlan_proto, u16 vid) 2428 vid, 0, 0, 0); 2433 vid); 2441 __be16 vlan_proto, u16 vid) 2446 err = dpni_remove_vlan_id(priv->mc_io, 0, priv->mc_token, vid); 2451 vid); 2421 dpaa2_eth_rx_add_vid(struct net_device *net_dev, __be16 vlan_proto, u16 vid) argument 2440 dpaa2_eth_rx_kill_vid(struct net_device *net_dev, __be16 vlan_proto, u16 vid) argument
|
/linux-master/drivers/net/usb/ |
H A D | lan78xx.c | 2615 __be16 proto, u16 vid) 2622 vid_dword_index = (vid >> 5) & 0x7F; 2623 vid_bit_index = vid & 0x1F; 2634 __be16 proto, u16 vid) 2641 vid_dword_index = (vid >> 5) & 0x7F; 2642 vid_bit_index = vid & 0x1F; 2614 lan78xx_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 2633 lan78xx_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
|
/linux-master/drivers/net/bonding/ |
H A D | bond_main.c | 366 * @vid: vlan id being added 369 __be16 proto, u16 vid) 377 res = vlan_vid_add(slave->dev, proto, vid); 390 vlan_vid_del(rollback_slave->dev, proto, vid); 400 * @vid: vlan id being removed 403 __be16 proto, u16 vid) 410 vlan_vid_del(slave->dev, proto, vid); 413 bond_alb_clear_vlan(bond, vid); 2912 slave_dbg(bond_dev, slave_dev, "inner tag: proto %X vid %X\n", 2925 slave_dbg(bond_dev, slave_dev, "outer tag: proto %X vid 368 bond_vlan_rx_add_vid(struct net_device *bond_dev, __be16 proto, u16 vid) argument 402 bond_vlan_rx_kill_vid(struct net_device *bond_dev, __be16 proto, u16 vid) argument [all...] |
/linux-master/drivers/net/ |
H A D | virtio_net.c | 2985 __be16 proto, u16 vid) 2995 *_vid = cpu_to_virtio16(vi->vdev, vid); 3000 dev_warn(&dev->dev, "Failed to add VLAN ID %d.\n", vid); 3005 __be16 proto, u16 vid) 3015 *_vid = cpu_to_virtio16(vi->vdev, vid); 3020 dev_warn(&dev->dev, "Failed to kill VLAN ID %d.\n", vid); 2984 virtnet_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) argument 3004 virtnet_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) argument
|
/linux-master/drivers/media/usb/dvb-usb-v2/ |
H A D | af9015.c | 1242 u16 vid = le16_to_cpu(d->udev->descriptor.idVendor); local 1258 if (!rc->map_name && vid == USB_VID_AFATECH) {
|
/linux-master/drivers/usb/serial/ |
H A D | mos7840.c | 165 #define MCS_DEVICE(vid, pid, flags) \ 166 USB_DEVICE((vid), (pid)), .driver_info = (flags)
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_mdb.c | 637 if (entry->vid) { 1343 if (entry->vid) {
|
/linux-master/drivers/media/platform/ti/omap/ |
H A D | omap_vout.c | 579 "platform:%s.%d", VOUT_NAME, vout->vid); 1463 vout->vid = k;
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_core.c | 696 u16 vid = rh->r_dh.vlan; local 698 vtag = (priority << VLAN_PRIO_SHIFT) | vid;
|