Home
last modified time | relevance | path

Searched refs:mac_dev (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/freescale/fman/
A Dmac.c83 mac_dev = handle; in mac_exception()
88 mac_dev->set_exception(mac_dev->fman_mac, in mac_exception()
105 memcpy(&params->addr, mac_dev->addr, sizeof(mac_dev->addr)); in set_fman_mac_params()
143 err = mac_dev->set_exception(mac_dev->fman_mac, in tgec_initialization()
193 err = mac_dev->set_exception(mac_dev->fman_mac, in dtsec_initialization()
295 err = mac_dev->remove_hash_mac_addr(mac_dev->fman_mac, addr); in set_multi()
306 err = mac_dev->add_hash_mac_addr(mac_dev->fman_mac, addr); in set_multi()
558 data.mac_dev = mac_dev; in dpaa_eth_add_device()
616 mac_dev = devm_kzalloc(dev, sizeof(*mac_dev), GFP_KERNEL); in mac_probe()
617 if (!mac_dev) { in mac_probe()
[all …]
A Dmac.h64 int (*init)(struct mac_device *mac_dev);
65 int (*start)(struct mac_device *mac_dev);
66 int (*stop)(struct mac_device *mac_dev);
67 void (*adjust_link)(struct mac_device *mac_dev);
71 int (*set_tstamp)(struct fman_mac *mac_dev, bool enable);
73 struct mac_device *mac_dev);
74 int (*set_rx_pause)(struct fman_mac *mac_dev, bool en);
77 int (*set_exception)(struct fman_mac *mac_dev,
79 int (*add_hash_mac_addr)(struct fman_mac *mac_dev,
81 int (*remove_hash_mac_addr)(struct fman_mac *mac_dev,
[all …]
/linux/drivers/net/ethernet/altera/
A Daltera_tse_ethtool.c89 buf[0] = csrrd32(priv->mac_dev, in tse_fill_stats()
91 buf[1] = csrrd32(priv->mac_dev, in tse_fill_stats()
93 buf[2] = csrrd32(priv->mac_dev, in tse_fill_stats()
95 buf[3] = csrrd32(priv->mac_dev, in tse_fill_stats()
102 ext |= csrrd32(priv->mac_dev, in tse_fill_stats()
110 ext |= csrrd32(priv->mac_dev, in tse_fill_stats()
114 buf[6] = csrrd32(priv->mac_dev, in tse_fill_stats()
116 buf[7] = csrrd32(priv->mac_dev, in tse_fill_stats()
118 buf[8] = csrrd32(priv->mac_dev, in tse_fill_stats()
120 buf[9] = csrrd32(priv->mac_dev, in tse_fill_stats()
[all …]
A Daltera_tse_main.c93 return csrrd32(priv->mac_dev, in sgmii_pcs_read()
118 csrwr32((mii_id & 0x1f), priv->mac_dev, in altera_tse_mdio_read()
122 return csrrd32(priv->mac_dev, in altera_tse_mdio_read()
133 csrwr32((mii_id & 0x1f), priv->mac_dev, in altera_tse_mdio_write()
907 priv->mac_dev, tse_csroffs(rx_section_empty)); in init_mac()
915 csrwr32(ALTERA_TSE_RX_ALMOST_FULL, priv->mac_dev, in init_mac()
920 priv->mac_dev, tse_csroffs(tx_section_empty)); in init_mac()
928 csrwr32(ALTERA_TSE_TX_ALMOST_FULL, priv->mac_dev, in init_mac()
938 csrwr32(ALTERA_TSE_TX_IPG_LENGTH, priv->mac_dev, in init_mac()
969 csrwr32(ALTERA_TSE_PAUSE_QUANTA, priv->mac_dev, in init_mac()
[all …]
A Daltera_tse.h412 struct altera_tse_mac __iomem *mac_dev; member
/linux/drivers/net/ethernet/freescale/dpaa/
A Ddpaa_eth.c308 mac_dev = priv->mac_dev; in dpaa_stop()
316 err = mac_dev->stop(mac_dev); in dpaa_stop()
426 mac_dev = eth_data->mac_dev; in dpaa_mac_dev_get()
452 mac_dev = priv->mac_dev; in dpaa_set_mac_address()
454 err = mac_dev->change_addr(mac_dev->fman_mac, in dpaa_set_mac_address()
2908 mac_dev = priv->mac_dev; in dpaa_adjust_link()
2909 mac_dev->adjust_link(mac_dev); in dpaa_adjust_link()
2923 mac_dev = priv->mac_dev; in dpaa_phy_init()
2957 mac_dev = priv->mac_dev; in dpaa_open()
2970 err = priv->mac_dev->start(mac_dev); in dpaa_open()
[all …]
A Ddpaa_ethtool.c147 struct mac_device *mac_dev; in dpaa_get_pauseparam() local
151 mac_dev = priv->mac_dev; in dpaa_get_pauseparam()
156 epause->autoneg = mac_dev->autoneg_pause; in dpaa_get_pauseparam()
164 struct mac_device *mac_dev; in dpaa_set_pauseparam() local
171 mac_dev = priv->mac_dev; in dpaa_set_pauseparam()
186 mac_dev->autoneg_pause = !!epause->autoneg; in dpaa_set_pauseparam()
187 mac_dev->rx_pause_req = !!epause->rx_pause; in dpaa_set_pauseparam()
188 mac_dev->tx_pause_req = !!epause->tx_pause; in dpaa_set_pauseparam()
418 struct mac_device *mac_dev; in dpaa_set_hash() local
423 mac_dev = priv->mac_dev; in dpaa_set_hash()
[all …]
A Ddpaa_eth_sysfs.c43 struct mac_device *mac_dev = priv->mac_dev; in dpaa_eth_show_addr() local
45 if (mac_dev) in dpaa_eth_show_addr()
47 (unsigned long long)mac_dev->res->start); in dpaa_eth_show_addr()
A Ddpaa_eth.h166 struct mac_device *mac_dev; member

Completed in 29 milliseconds