Searched refs:fman_mac (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/freescale/fman/ |
D | mac.h | 18 struct fman_mac; 41 int (*enable)(struct fman_mac *mac_dev); 42 void (*disable)(struct fman_mac *mac_dev); 44 int (*set_promisc)(struct fman_mac *mac_dev, bool enable); 45 int (*change_addr)(struct fman_mac *mac_dev, const enet_addr_t *enet_addr); 46 int (*set_allmulti)(struct fman_mac *mac_dev, bool enable); 47 int (*set_tstamp)(struct fman_mac *mac_dev, bool enable); 50 int (*set_rx_pause)(struct fman_mac *mac_dev, bool en); 51 int (*set_tx_pause)(struct fman_mac *mac_dev, u8 priority, 53 int (*set_exception)(struct fman_mac *mac_dev, [all …]
|
D | fman_memac.c | 306 struct fman_mac { struct 488 static void setup_sgmii_internal_phy(struct fman_mac *memac, in setup_sgmii_internal_phy() 547 static void setup_sgmii_internal_phy_base_x(struct fman_mac *memac) in setup_sgmii_internal_phy_base_x() 575 static int check_init_parameters(struct fman_mac *memac) in check_init_parameters() 616 struct fman_mac *memac = (struct fman_mac *)handle; in memac_err_exception() 642 struct fman_mac *memac = (struct fman_mac *)handle; in memac_exception() 663 static void free_init_resources(struct fman_mac *memac) in free_init_resources() 689 static int memac_enable(struct fman_mac *memac) in memac_enable() 704 static void memac_disable(struct fman_mac *memac) in memac_disable() 717 static int memac_set_promiscuous(struct fman_mac *memac, bool new_val) in memac_set_promiscuous() [all …]
|
D | fman_dtsec.c | 296 struct fman_mac { struct 526 static int check_init_parameters(struct fman_mac *dtsec) in check_init_parameters() 642 static u16 dtsec_get_max_frame_length(struct fman_mac *dtsec) in dtsec_get_max_frame_length() 654 struct fman_mac *dtsec = (struct fman_mac *)handle; in dtsec_isr() 784 struct fman_mac *dtsec = (struct fman_mac *)handle; in dtsec_1588_isr() 801 static void free_init_resources(struct fman_mac *dtsec) in free_init_resources() 817 static void graceful_start(struct fman_mac *dtsec) in graceful_start() 825 static void graceful_stop(struct fman_mac *dtsec) in graceful_stop() 855 static int dtsec_enable(struct fman_mac *dtsec) in dtsec_enable() 874 static void dtsec_disable(struct fman_mac *dtsec) in dtsec_disable() [all …]
|
D | fman_tgec.c | 177 struct fman_mac { struct 244 static int check_init_parameters(struct fman_mac *tgec) in check_init_parameters() 328 struct fman_mac *tgec = (struct fman_mac *)handle; in tgec_err_exception() 373 static void free_init_resources(struct fman_mac *tgec) in free_init_resources() 396 static int tgec_enable(struct fman_mac *tgec) in tgec_enable() 411 static void tgec_disable(struct fman_mac *tgec) in tgec_disable() 423 static int tgec_set_promiscuous(struct fman_mac *tgec, bool new_val) in tgec_set_promiscuous() 441 static int tgec_set_tx_pause_frames(struct fman_mac *tgec, in tgec_set_tx_pause_frames() 455 static int tgec_accept_rx_pause_frames(struct fman_mac *tgec, bool en) in tgec_accept_rx_pause_frames() 473 static int tgec_modify_mac_address(struct fman_mac *tgec, in tgec_modify_mac_address() [all …]
|
D | mac.c | 49 mac_dev->set_exception(mac_dev->fman_mac, in mac_exception() 71 err = mac_dev->remove_hash_mac_addr(mac_dev->fman_mac, addr); in fman_set_multi() 82 err = mac_dev->add_hash_mac_addr(mac_dev->fman_mac, addr); in fman_set_multi() 112 struct fman_mac *fman_mac = mac_dev->fman_mac; in fman_set_mac_active_pause() local 116 err = mac_dev->set_rx_pause(fman_mac, rx); in fman_set_mac_active_pause() 125 err = mac_dev->set_tx_pause(fman_mac, 0, pause_time, 0); in fman_set_mac_active_pause()
|
D | fman_mac.h | 43 struct fman_mac;
|
/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.c | 252 err = mac_dev->change_addr(mac_dev->fman_mac, in dpaa_netdev_init() 300 mac_dev->disable(mac_dev->fman_mac); in dpaa_stop() 435 err = mac_dev->change_addr(mac_dev->fman_mac, in dpaa_set_mac_address() 458 err = priv->mac_dev->set_promisc(priv->mac_dev->fman_mac, in dpaa_set_rx_mode() 468 err = priv->mac_dev->set_allmulti(priv->mac_dev->fman_mac, in dpaa_set_rx_mode() 2980 err = priv->mac_dev->enable(mac_dev->fman_mac); in dpaa_open() 3123 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_ts_ioctl() 3136 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_ts_ioctl()
|