Searched refs:fman_mac (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/freescale/fman/ |
| H A D | fman_tgec.c | 178 struct fman_mac { struct 245 static int check_init_parameters(struct fman_mac *tgec) in check_init_parameters() 325 struct fman_mac *tgec = (struct fman_mac *)handle; in tgec_err_exception() 370 static void free_init_resources(struct fman_mac *tgec) in free_init_resources() 384 static int tgec_enable(struct fman_mac *tgec) in tgec_enable() 389 static void tgec_disable(struct fman_mac *tgec) in tgec_disable() 393 static int tgec_set_promiscuous(struct fman_mac *tgec, bool new_val) in tgec_set_promiscuous() 408 static int tgec_set_tx_pause_frames(struct fman_mac *tgec, in tgec_set_tx_pause_frames() 419 static int tgec_accept_rx_pause_frames(struct fman_mac *tgec, bool en) in tgec_accept_rx_pause_frames() 444 struct fman_mac *tgec = mac_dev->fman_mac; in tgec_link_up() [all …]
|
| H A D | fman_memac.c | 275 struct fman_mac { struct 421 static int check_init_parameters(struct fman_mac *memac) in check_init_parameters() 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() 509 static void free_init_resources(struct fman_mac *memac) in free_init_resources() 526 static int memac_enable(struct fman_mac *memac) in memac_enable() 547 static void memac_disable(struct fman_mac *memac) in memac_disable() 553 static int memac_set_promiscuous(struct fman_mac *memac, bool new_val) in memac_set_promiscuous() 569 static int memac_set_tx_pause_frames(struct fman_mac *memac, u8 priority, in memac_set_tx_pause_frames() 604 static int memac_accept_rx_pause_frames(struct fman_mac *memac, bool en) in memac_accept_rx_pause_frames() [all …]
|
| H A D | fman_dtsec.c | 295 struct fman_mac { struct 477 static int check_init_parameters(struct fman_mac *dtsec) in check_init_parameters() 580 static u16 dtsec_get_max_frame_length(struct fman_mac *dtsec) in dtsec_get_max_frame_length() 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() 737 static void free_init_resources(struct fman_mac *dtsec) in free_init_resources() 753 static struct fman_mac *pcs_to_dtsec(struct phylink_pcs *pcs) in pcs_to_dtsec() 755 return container_of(pcs, struct fman_mac, pcs); in pcs_to_dtsec() 761 struct fman_mac *dtsec = pcs_to_dtsec(pcs); in dtsec_pcs_get_state() 771 struct fman_mac *dtsec = pcs_to_dtsec(pcs); in dtsec_pcs_config() [all …]
|
| H A D | fman_mac.h | 43 struct fman_mac;
|
| /linux/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_ethtool.c | 477 mac_dev->get_pause_stats(mac_dev->fman_mac, s); in dpaa_get_pause_stats() 488 mac_dev->get_rmon_stats(mac_dev->fman_mac, s, ranges); in dpaa_get_rmon_stats() 498 mac_dev->get_eth_ctrl_stats(mac_dev->fman_mac, s); in dpaa_get_eth_ctrl_stats() 508 mac_dev->get_eth_mac_stats(mac_dev->fman_mac, s); in dpaa_get_eth_mac_stats()
|
| 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() 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()
|