/linux-master/drivers/net/ethernet/freescale/fman/ |
H A D | mac.h | 36 int (*enable)(struct fman_mac *mac_dev); 37 void (*disable)(struct fman_mac *mac_dev); 38 int (*set_promisc)(struct fman_mac *mac_dev, bool enable); 39 int (*change_addr)(struct fman_mac *mac_dev, const enet_addr_t *enet_addr); 40 int (*set_allmulti)(struct fman_mac *mac_dev, bool enable); 41 int (*set_tstamp)(struct fman_mac *mac_dev, bool enable); 43 struct mac_device *mac_dev); 44 int (*set_exception)(struct fman_mac *mac_dev, 46 int (*add_hash_mac_addr)(struct fman_mac *mac_dev, 48 int (*remove_hash_mac_addr)(struct fman_mac *mac_dev, 64 struct mac_device *mac_dev; member in struct:dpaa_eth_data [all...] |
H A D | fman_tgec.h | 13 int tgec_initialization(struct mac_device *mac_dev,
|
H A D | fman_dtsec.h | 13 int dtsec_initialization(struct mac_device *mac_dev,
|
H A D | mac.c | 46 static void mac_exception(struct mac_device *mac_dev, argument 51 mac_dev->set_exception(mac_dev->fman_mac, 53 dev_err(mac_dev->dev, "10G MAC got RX FIFO Error = %x\n", ex); 56 dev_dbg(mac_dev->dev, "%s:%s() -> %d\n", KBUILD_BASENAME ".c", 60 int fman_set_multi(struct net_device *net_dev, struct mac_device *mac_dev) argument 68 priv = mac_dev->priv; 73 err = mac_dev->remove_hash_mac_addr(mac_dev->fman_mac, addr); 84 err = mac_dev 100 dpaa_eth_add_device(int fman_id, struct mac_device *mac_dev) argument 160 struct mac_device *mac_dev; local 337 struct mac_device *mac_dev = platform_get_drvdata(pdev); local [all...] |
H A D | fman_memac.h | 16 int memac_initialization(struct mac_device *mac_dev,
|
H A D | fman_memac.c | 701 struct mac_device *mac_dev = fman_config_to_mac(config); local 702 struct memac_regs __iomem *regs = mac_dev->fman_mac->regs; 716 struct mac_device *mac_dev = fman_config_to_mac(config); local 717 struct fman_mac *memac = mac_dev->fman_mac; 757 mac_dev->update_speed(mac_dev, speed); 997 static struct fman_mac *memac_config(struct mac_device *mac_dev, argument 1020 memac->addr = ENET_ADDR_TO_UINT64(mac_dev->addr); 1022 memac->regs = mac_dev->vaddr; 1028 memac->dev_id = mac_dev; 1053 memac_supports(struct mac_device *mac_dev, phy_interface_t iface) argument 1065 memac_initialization(struct mac_device *mac_dev, struct device_node *mac_node, struct fman_mac_params *params) argument [all...] |
H A D | fman_tgec.c | 443 struct mac_device *mac_dev = fman_config_to_mac(config); local 444 struct fman_mac *tgec = mac_dev->fman_mac; 452 mac_dev->update_speed(mac_dev, speed); 707 static struct fman_mac *tgec_config(struct mac_device *mac_dev, argument 730 tgec->regs = mac_dev->vaddr; 731 tgec->addr = ENET_ADDR_TO_UINT64(mac_dev->addr); 750 tgec->dev_id = mac_dev; 759 int tgec_initialization(struct mac_device *mac_dev, argument 766 mac_dev [all...] |
H A D | fman_dtsec.c | 901 struct mac_device *mac_dev = fman_config_to_mac(config); local 902 struct dtsec_regs __iomem *regs = mac_dev->fman_mac->regs; 921 dev_warn(mac_dev->dev, "cannot configure dTSEC for %s\n", 933 struct mac_device *mac_dev = fman_config_to_mac(config); local 934 struct fman_mac *dtsec = mac_dev->fman_mac; 962 mac_dev->update_speed(mac_dev, speed); 1344 static struct fman_mac *dtsec_config(struct mac_device *mac_dev, argument 1365 dtsec->regs = mac_dev->vaddr; 1366 dtsec->addr = ENET_ADDR_TO_UINT64(mac_dev 1400 dtsec_initialization(struct mac_device *mac_dev, struct device_node *mac_node, struct fman_mac_params *params) argument [all...] |
/linux-master/drivers/net/ethernet/altera/ |
H A D | altera_tse_ethtool.c | 67 u32 rev = ioread32(&priv->mac_dev->megacore_revision); 89 buf[0] = csrrd32(priv->mac_dev, 91 buf[1] = csrrd32(priv->mac_dev, 93 buf[2] = csrrd32(priv->mac_dev, 95 buf[3] = csrrd32(priv->mac_dev, 99 ext = (u64) csrrd32(priv->mac_dev, 102 ext |= csrrd32(priv->mac_dev, 107 ext = (u64) csrrd32(priv->mac_dev, 110 ext |= csrrd32(priv->mac_dev, 114 buf[6] = csrrd32(priv->mac_dev, [all...] |
H A D | altera_tse_main.c | 98 csrwr32((mii_id & 0x1f), priv->mac_dev, 102 return csrrd32(priv->mac_dev, 113 csrwr32((mii_id & 0x1f), priv->mac_dev, 117 csrwr32(value, priv->mac_dev, tse_csroffs(mdio_phy1) + regnum * 4); 650 csrwr32(msb, priv->mac_dev, tse_csroffs(mac_addr_0)); 651 csrwr32(lsb, priv->mac_dev, tse_csroffs(mac_addr_1)); 665 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); 668 csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); 672 if (tse_bit_is_clear(priv->mac_dev, tse_csroffs(command_config), 679 dat = csrrd32(priv->mac_dev, tse_csroff [all...] |
H A D | altera_tse.h | 402 struct altera_tse_mac __iomem *mac_dev; member in struct:altera_tse_private
|
/linux-master/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth_sysfs.c | 17 struct mac_device *mac_dev = priv->mac_dev; local 19 if (mac_dev) 21 (unsigned long long)mac_dev->res->start);
|
H A D | dpaa_ethtool.c | 60 struct mac_device *mac_dev = priv->mac_dev; local 62 return phylink_ethtool_ksettings_get(mac_dev->phylink, cmd); 69 struct mac_device *mac_dev = priv->mac_dev; local 71 return phylink_ethtool_ksettings_set(mac_dev->phylink, cmd); 97 struct mac_device *mac_dev = priv->mac_dev; local 99 return phylink_ethtool_nway_reset(mac_dev->phylink); 106 struct mac_device *mac_dev local 115 struct mac_device *mac_dev = priv->mac_dev; local 334 struct mac_device *mac_dev; local [all...] |
H A D | dpaa_eth.c | 201 static void dpaa_eth_cgr_set_speed(struct mac_device *mac_dev, int speed); 209 struct mac_device *mac_dev = priv->mac_dev; local 223 mac_addr = mac_dev->addr; 225 net_dev->mem_start = (unsigned long)priv->mac_dev->res->start; 226 net_dev->mem_end = (unsigned long)priv->mac_dev->res->end; 257 err = mac_dev->change_addr(mac_dev->fman_mac, 273 mac_dev->phylink_config.dev = &net_dev->dev; 274 mac_dev 301 struct mac_device *mac_dev; local 414 struct mac_device *mac_dev; local 434 struct mac_device *mac_dev; local 882 dpaa_eth_cgr_set_speed(struct mac_device *mac_dev, int speed) argument 1319 dpaa_eth_init_ports(struct mac_device *mac_dev, struct dpaa_bp *bp, struct fm_port_fqs *port_fqs, struct dpaa_buffer_layout *buf_layout, struct device *dev) argument 2920 struct mac_device *mac_dev; local 3287 struct mac_device *mac_dev; local [all...] |
H A D | dpaa_eth.h | 142 struct mac_device *mac_dev; member in struct:dpaa_priv
|