Home
last modified time | relevance | path

Searched refs:fman_mac (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/freescale/fman/
A Dmac.h19 struct fman_mac;
37 int (*enable)(struct fman_mac *mac_dev);
38 void (*disable)(struct fman_mac *mac_dev);
39 int (*set_promisc)(struct fman_mac *mac_dev, bool enable);
40 int (*change_addr)(struct fman_mac *mac_dev, const enet_addr_t *enet_addr);
41 int (*set_allmulti)(struct fman_mac *mac_dev, bool enable);
42 int (*set_tstamp)(struct fman_mac *mac_dev, bool enable);
43 int (*set_exception)(struct fman_mac *mac_dev,
45 int (*add_hash_mac_addr)(struct fman_mac *mac_dev,
47 int (*remove_hash_mac_addr)(struct fman_mac *mac_dev,
[all …]
A Dfman_tgec.c178 struct fman_mac { struct
325 struct fman_mac *tgec = (struct fman_mac *)handle; in tgec_err_exception()
444 struct fman_mac *tgec = mac_dev->fman_mac; in tgec_link_up()
462 struct fman_mac *tgec = fman_config_to_mac(config)->fman_mac; in tgec_link_down()
617 static int tgec_init(struct fman_mac *tgec) in tgec_init()
697 static int tgec_free(struct fman_mac *tgec) in tgec_free()
710 struct fman_mac *tgec; in tgec_config()
764 struct fman_mac *tgec; in tgec_initialization()
778 if (!mac_dev->fman_mac) { in tgec_initialization()
796 tgec = mac_dev->fman_mac; in tgec_initialization()
[all …]
A Dfman_memac.c275 struct fman_mac { struct
462 struct fman_mac *memac = (struct fman_mac *)handle; in memac_err_exception()
488 struct fman_mac *memac = (struct fman_mac *)handle; in memac_exception()
623 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_get_caps()
665 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_select_pcs()
683 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_prepare()
716 struct fman_mac *memac = mac_dev->fman_mac; in memac_link_up()
766 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_link_down()
999 struct fman_mac *memac; in memac_config()
1070 struct fman_mac *memac; in memac_initialization()
[all …]
A Dfman_dtsec.c295 struct fman_mac { struct
589 struct fman_mac *dtsec = (struct fman_mac *)handle; in dtsec_isr()
720 struct fman_mac *dtsec = (struct fman_mac *)handle; in dtsec_1588_isr()
761 struct fman_mac *dtsec = pcs_to_dtsec(pcs); in dtsec_pcs_get_state()
886 struct fman_mac *dtsec = fman_config_to_mac(config)->fman_mac; in dtsec_select_pcs()
934 struct fman_mac *dtsec = mac_dev->fman_mac; in dtsec_link_up()
976 struct fman_mac *dtsec = fman_config_to_mac(config)->fman_mac; in dtsec_link_down()
1347 struct fman_mac *dtsec; in dtsec_config()
1405 struct fman_mac *dtsec; in dtsec_initialization()
1422 if (!mac_dev->fman_mac) { in dtsec_initialization()
[all …]
A Dfman_mac.h43 struct fman_mac;
A Dmac.c49 mac_dev->set_exception(mac_dev->fman_mac, in mac_exception()
/drivers/net/ethernet/freescale/dpaa/
A Ddpaa_eth.c257 err = mac_dev->change_addr(mac_dev->fman_mac, in dpaa_netdev_init()
316 mac_dev->disable(mac_dev->fman_mac); in dpaa_stop()
451 err = mac_dev->change_addr(mac_dev->fman_mac, in dpaa_set_mac_address()
469 return priv->mac_dev->add_hash_mac_addr(priv->mac_dev->fman_mac, in dpaa_addr_sync()
477 return priv->mac_dev->remove_hash_mac_addr(priv->mac_dev->fman_mac, in dpaa_addr_unsync()
490 err = priv->mac_dev->set_promisc(priv->mac_dev->fman_mac, in dpaa_set_rx_mode()
500 err = priv->mac_dev->set_allmulti(priv->mac_dev->fman_mac, in dpaa_set_rx_mode()
2963 err = priv->mac_dev->enable(mac_dev->fman_mac); in dpaa_open()
3117 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_hwtstamp_set()
3130 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_hwtstamp_set()

Completed in 24 milliseconds