/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ethtool.c | 1351 rc = qede_delete_flow_filter(edev, info->fs.location);
|
/linux-master/drivers/net/ethernet/natsemi/ |
H A D | natsemi.c | 599 static int eeprom_read(void __iomem *ioaddr, int location); 1003 static int eeprom_read(void __iomem *addr, int location) argument 1008 int read_cmd = location | EE_ReadCmd;
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 2914 (fsp->location > 1)) 2917 mac->hwlro_ip[fsp->location] = htonl(fsp->h_u.tcp_ip4_spec.ip4dst); 2918 hwlro_idx = (mac->id * MTK_MAX_LRO_IP_CNT) + fsp->location; 2922 mtk_hwlro_val_ipaddr(eth, hwlro_idx, mac->hwlro_ip[fsp->location]); 2936 if (fsp->location > 1) 2939 mac->hwlro_ip[fsp->location] = 0; 2940 hwlro_idx = (mac->id * MTK_MAX_LRO_IP_CNT) + fsp->location; 2972 if (fsp->location >= ARRAY_SIZE(mac->hwlro_ip)) 2977 fsp->h_u.tcp_ip4_spec.ip4dst = ntohl(mac->hwlro_ip[fsp->location]);
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_flows.c | 20 u32 location; member in struct:otx2_flow 450 static struct otx2_flow *otx2_find_flow(struct otx2_nic *pfvf, u32 location) argument 455 if (iter->location == location) 468 if (iter->location > flow->location) 491 u32 location) 495 if (location >= otx2_get_maxflows(pfvf->flow_cfg)) 499 if (iter->location == location) { 490 otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, u32 location) argument 513 u32 location = 0; local 1260 otx2_remove_flow(struct otx2_nic *pfvf, u32 location) argument [all...] |
H A D | otx2_common.h | 1051 struct ethtool_rxnfc *nfc, u32 location); 1056 int otx2_remove_flow(struct otx2_nic *pfvf, u32 location);
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_type.h | 203 u8 location; member in struct:ixgbe_thermal_diode_data
|
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 1628 /* record the location of the first descriptor for this packet */ 2925 * metadata area. It is the location to store the value of 3101 /* clear last DMA location and unmap remaining buffers */ 3850 * @location: Rule location 3854 * Return: Pointer to NFC rule at @location. If not found, NULL. 3857 u32 location) 3862 if (rule->location == location) 3864 if (rule->location > locatio 3856 igc_get_nfc_rule(struct igc_adapter *adapter, u32 location) argument [all...] |
H A D | igc_ethtool.c | 970 rule = igc_get_nfc_rule(adapter, fsp->location); 1036 rule_locs[cnt] = rule->location; 1222 rule->location = fsp->location; 1292 * location, @rule is considered invalid. 1313 tmp->location != rule->location) { 1366 if (fsp->location >= IGC_MAX_RXNFC_RULES) { 1367 netdev_dbg(netdev, "Invalid location\n"); 1383 old_rule = igc_get_nfc_rule(adapter, fsp->location); [all...] |
H A D | igc.h | 625 u32 location; member in struct:igc_nfc_rule 728 u32 location);
|
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 2446 if (fsp->location <= rule->sw_idx) 2450 if (!rule || fsp->location != rule->sw_idx) 2919 if (fsp->location >= IGB_MAX_RXNFC_FILTERS) { 2960 input->sw_idx = fsp->location; 3002 err = igb_update_ethtool_nfc_entry(adapter, NULL, fsp->location);
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool_fdir.c | 131 rule = ice_fdir_find_fltr_by_idx(hw, fsp->location); 133 if (!rule || fsp->location != rule->fltr_id) { 1784 val = ice_fdir_update_list_entry(pf, NULL, fsp->location); 1867 input->fltr_id = fsp->location; 2021 if (fsp->location >= max_location) { 2022 dev_err(dev, "Failed to add filter. The number of ntuple filters or provided location exceed max %d.\n", 2029 if (!ice_fdir_find_fltr_by_idx(hw, fsp->location) && 2060 ret = ice_fdir_update_list_entry(pf, input, fsp->location);
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 62 * @data: location to store the stat value 108 * @pointer: location to copy stats from 114 * the next empty location for successive calls to __iavf_add_ethtool_stats. 132 * @pointer: location where stats are stored 930 rule = iavf_find_fdir_fltr_by_loc(adapter, fsp->location); 1116 fltr->loc = fsp->location; 1274 if (iavf_find_fdir_fltr_by_loc(adapter, fsp->location)) { 1334 fltr = iavf_find_fdir_fltr_by_loc(adapter, fsp->location);
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 69 * @data: location to store the stat value 115 * @pointer: location to copy stats from 121 * the next empty location for successive calls to __i40e_add_ethtool_stats. 139 * @pointer: location where stats are stored 3376 if (fsp->location <= rule->fd_id) 3380 if (!rule || fsp->location != rule->fd_id) 3890 ret = i40e_update_ethtool_fdir_entry(vsi, NULL, fsp->location, cmd); 4749 * Due to this, we can't really support using the location data to order 4755 * This avoids needing to track location for programming the filter to 4840 if (fsp->location > [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 761 u16 location; member in struct:hclge_fd_rule
|
H A D | hclge_main.c | 5156 static void hclge_fd_inc_rule_cnt(struct hclge_dev *hdev, u16 location) argument 5158 if (!test_bit(location, hdev->fd_bmap)) { 5159 set_bit(location, hdev->fd_bmap); 5164 static void hclge_fd_dec_rule_cnt(struct hclge_dev *hdev, u16 location) argument 5166 if (test_bit(location, hdev->fd_bmap)) { 5167 clear_bit(location, hdev->fd_bmap); 5189 * with the same location, no matter its state, because the 5193 * the old rule node with the same location. 5203 hclge_fd_dec_rule_cnt(hdev, old_rule->location); 5209 * because we delete rule by location, othe 5228 hclge_find_fd_rule(struct hlist_head *hlist, u16 location, struct hclge_fd_rule **parent) argument 5389 hclge_update_fd_list(struct hclge_dev *hdev, enum HCLGE_FD_NODE_STATE state, u16 location, struct hclge_fd_rule *new_rule) argument 6613 u16 location; local 6860 hclge_get_fd_rule(struct hclge_dev *hdev, u16 location) argument [all...] |
H A D | hclge_debugfs.c | 2220 rule_locs[cnt] = rule->location;
|
/linux-master/drivers/net/ethernet/dlink/ |
H A D | sundance.c | 414 /* The station address location in the EEPROM. */ 421 static int eeprom_read(void __iomem *ioaddr, int location); 422 static int mdio_read(struct net_device *dev, int phy_id, int location); 423 static void mdio_write(struct net_device *dev, int phy_id, int location, int value); 717 static int eeprom_read(void __iomem *ioaddr, int location) argument 720 iowrite16(0x0200 | (location & 0xff), ioaddr + EECtrl); 761 static int mdio_read(struct net_device *dev, int phy_id, int location) argument 765 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location; 791 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) argument 795 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<1 [all...] |
/linux-master/drivers/net/ethernet/cadence/ |
H A D | macb_main.c | 3446 if (fs->location >= num_t2_scr) 3449 t2_scr = gem_readl_n(bp, SCRT2, fs->location); 3472 gem_writel_n(bp, SCRT2, fs->location, t2_scr); 3479 uint16_t index = fs->location; 3576 fs->flow_type, (int)fs->ring_cookie, fs->location, 3586 if (item->fs.location > newfs->fs.location) { 3590 } else if (item->fs.location == fs->location) { 3591 netdev_err(netdev, "Rule not added: location [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 1090 if (fs->location >= bp->max_fltr) 1096 fs->location); 1126 fs->location); 1288 fs->location = fltr->base.sw_id; 1465 fs->location = new_fltr->base.sw_id; 1486 if (fs->location != RX_CLS_LOC_ANY) 1522 u32 id = fs->location;
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | bcm63xx_enet.c | 1949 int ext, int phy_id, int location) 1959 (location << ENETSW_MDIOC_REG_SHIFT); 1972 int ext, int phy_id, int location, 1982 (location << ENETSW_MDIOC_REG_SHIFT); 2409 int location) 2416 phy_id, location); 2423 int location, 2430 phy_id, location, val); 1948 bcmenet_sw_mdio_read(struct bcm_enet_priv *priv, int ext, int phy_id, int location) argument 1971 bcmenet_sw_mdio_write(struct bcm_enet_priv *priv, int ext, int phy_id, int location, uint16_t data) argument 2408 bcm_enetsw_mii_mdio_read(struct net_device *dev, int phy_id, int location) argument 2422 bcm_enetsw_mii_mdio_write(struct net_device *dev, int phy_id, int location, int val) argument
|
H A D | b44.c | 281 static int b44_mdio_read_mii(struct net_device *dev, int phy_id, int location) argument 285 int rc = __b44_readphy(bp, phy_id, location, &val); 291 static void b44_mdio_write_mii(struct net_device *dev, int phy_id, int location, argument 295 __b44_writephy(bp, phy_id, location, val); 298 static int b44_mdio_read_phylib(struct mii_bus *bus, int phy_id, int location) argument 302 int rc = __b44_readphy(bp, phy_id, location, &val); 308 static int b44_mdio_write_phylib(struct mii_bus *bus, int phy_id, int location, argument 312 return __b44_writephy(bp, phy_id, location, val);
|
/linux-master/drivers/net/ethernet/8390/ |
H A D | pcnet_cs.c | 768 static int read_eeprom(unsigned int ioaddr, int location) argument 772 int read_cmd = location | (EE_READ_CMD << 8); 802 static void write_asic(unsigned int ioaddr, int location, short asic_data) argument 807 int read_cmd = location | (EE_READ_CMD << 8); 809 asic_data |= read_eeprom(ioaddr, location);
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 2386 if (fs->location != RX_CLS_LOC_ANY) 2430 fs->location = 0; 2431 err = idr_alloc_u32(&chip->policies, policy, &fs->location, 0xffffffff, 2447 idr_remove(&chip->policies, fs->location); 2478 policy = idr_find(&chip->policies, fs->location); 2518 policy = idr_remove(&chip->policies, fs->location); 3167 * from the wrong location resulting in the switch booting
|
/linux-master/drivers/md/ |
H A D | md-bitmap.c | 2378 /* No bitmap, OK to set a location */ 2438 __ATTR(location, S_IRUGO|S_IWUSR, location_show, location_store); 2440 /* 'bitmap/space' is the space available at 'location' for the
|
H A D | dm-era-target.c | 1094 dm_block_t location; local 1131 location = dm_block_location(clone); 1134 return dm_sm_dec_block(md->sm, location);
|