Searched refs:fman_mac (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/fman/ |
H A D | mac.h | 19 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); 45 int (*set_exception)(struct fman_mac *mac_dev, 47 int (*add_hash_mac_addr)(struct fman_mac *mac_dev, 49 int (*remove_hash_mac_addr)(struct fman_mac *mac_dev, [all …]
|
H A D | fman_memac.c | 276 struct fman_mac { struct 463 struct fman_mac *memac = (struct fman_mac *)handle; in memac_err_exception() 489 struct fman_mac *memac = (struct fman_mac *)handle; in memac_exception() 625 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_validate() 667 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_select_pcs() 685 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_prepare() 718 struct fman_mac *memac = mac_dev->fman_mac; in memac_link_up() 768 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_link_down() 1001 struct fman_mac *memac; in memac_config() 1073 struct fman_mac *memac; in memac_initialization() [all …]
|
H A D | fman_tgec.c | 178 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() 779 if (!mac_dev->fman_mac) { in tgec_initialization() 797 tgec = mac_dev->fman_mac; in tgec_initialization() [all …]
|
H A D | fman_dtsec.c | 295 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() 1423 if (!mac_dev->fman_mac) { in dtsec_initialization() [all …]
|
H A D | mac.c | 51 mac_dev->set_exception(mac_dev->fman_mac, in mac_exception() 73 err = mac_dev->remove_hash_mac_addr(mac_dev->fman_mac, addr); in fman_set_multi() 84 err = mac_dev->add_hash_mac_addr(mac_dev->fman_mac, addr); in fman_set_multi()
|
H A D | fman_mac.h | 43 struct fman_mac;
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 257 err = mac_dev->change_addr(mac_dev->fman_mac, in dpaa_netdev_init() 316 mac_dev->disable(mac_dev->fman_mac); in dpaa_stop() 450 err = mac_dev->change_addr(mac_dev->fman_mac, in dpaa_set_mac_address() 473 err = priv->mac_dev->set_promisc(priv->mac_dev->fman_mac, in dpaa_set_rx_mode() 483 err = priv->mac_dev->set_allmulti(priv->mac_dev->fman_mac, in dpaa_set_rx_mode() 2954 err = priv->mac_dev->enable(mac_dev->fman_mac); in dpaa_open() 3098 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_ts_ioctl() 3111 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_ts_ioctl()
|