Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/freescale/fman/
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);
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 …]
Dfman_memac.c275 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 …]
Dfman_tgec.c178 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 …]
Dfman_dtsec.c295 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 …]
Dmac.c51 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()
Dfman_mac.h43 struct fman_mac;
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c258 err = mac_dev->change_addr(mac_dev->fman_mac, in dpaa_netdev_init()
317 mac_dev->disable(mac_dev->fman_mac); in dpaa_stop()
452 err = mac_dev->change_addr(mac_dev->fman_mac, in dpaa_set_mac_address()
475 err = priv->mac_dev->set_promisc(priv->mac_dev->fman_mac, in dpaa_set_rx_mode()
485 err = priv->mac_dev->set_allmulti(priv->mac_dev->fman_mac, in dpaa_set_rx_mode()
2942 err = priv->mac_dev->enable(mac_dev->fman_mac); in dpaa_open()
3086 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_ts_ioctl()
3099 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_ts_ioctl()