Home
last modified time | relevance | path

Searched refs:fman_mac (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
H A Dfman_dtsec.h36 #include "fman_mac.h"
38 struct fman_mac *dtsec_config(struct fman_mac_params *params);
39 int dtsec_set_promiscuous(struct fman_mac *dtsec, bool new_val);
40 int dtsec_modify_mac_address(struct fman_mac *dtsec, enet_addr_t *enet_addr);
41 int dtsec_adjust_link(struct fman_mac *dtsec,
43 int dtsec_restart_autoneg(struct fman_mac *dtsec);
44 int dtsec_cfg_max_frame_len(struct fman_mac *dtsec, u16 new_val);
45 int dtsec_cfg_pad_and_crc(struct fman_mac *dtsec, bool new_val);
46 int dtsec_enable(struct fman_mac *dtsec, enum comm_mode mode);
47 int dtsec_disable(struct fman_mac *dtse
[all...]
H A Dfman_memac.h36 #include "fman_mac.h"
41 struct fman_mac *memac_config(struct fman_mac_params *params);
42 int memac_set_promiscuous(struct fman_mac *memac, bool new_val);
43 int memac_modify_mac_address(struct fman_mac *memac, enet_addr_t *enet_addr);
44 int memac_adjust_link(struct fman_mac *memac, u16 speed);
45 int memac_cfg_max_frame_len(struct fman_mac *memac, u16 new_val);
46 int memac_cfg_reset_on_init(struct fman_mac *memac, bool enable);
47 int memac_cfg_fixed_link(struct fman_mac *memac,
49 int memac_enable(struct fman_mac *memac, enum comm_mode mode);
50 int memac_disable(struct fman_mac *mema
[all...]
H A Dfman_tgec.h36 #include "fman_mac.h"
38 struct fman_mac *tgec_config(struct fman_mac_params *params);
39 int tgec_set_promiscuous(struct fman_mac *tgec, bool new_val);
40 int tgec_modify_mac_address(struct fman_mac *tgec, enet_addr_t *enet_addr);
41 int tgec_cfg_max_frame_len(struct fman_mac *tgec, u16 new_val);
42 int tgec_enable(struct fman_mac *tgec, enum comm_mode mode);
43 int tgec_disable(struct fman_mac *tgec, enum comm_mode mode);
44 int tgec_init(struct fman_mac *tgec);
45 int tgec_free(struct fman_mac *tgec);
46 int tgec_accept_rx_pause_frames(struct fman_mac *tge
[all...]
H A Dmac.h42 #include "fman_mac.h"
44 struct fman_mac;
68 int (*set_promisc)(struct fman_mac *mac_dev, bool enable);
69 int (*change_addr)(struct fman_mac *mac_dev, enet_addr_t *enet_addr);
70 int (*set_allmulti)(struct fman_mac *mac_dev, bool enable);
71 int (*set_tstamp)(struct fman_mac *mac_dev, bool enable);
74 int (*set_rx_pause)(struct fman_mac *mac_dev, bool en);
75 int (*set_tx_pause)(struct fman_mac *mac_dev, u8 priority,
77 int (*set_exception)(struct fman_mac *mac_dev,
79 int (*add_hash_mac_addr)(struct fman_mac *mac_de
84 struct fman_mac *fman_mac; global() member
[all...]
H A Dmac.c48 #include "fman_mac.h"
69 int (*enable)(struct fman_mac *mac_dev, enum comm_mode mode);
70 int (*disable)(struct fman_mac *mac_dev, enum comm_mode mode);
88 mac_dev->set_exception(mac_dev->fman_mac, in mac_exception()
135 mac_dev->fman_mac = tgec_config(&params); in tgec_initialization()
136 if (!mac_dev->fman_mac) { in tgec_initialization()
141 err = tgec_cfg_max_frame_len(mac_dev->fman_mac, fman_get_max_frm()); in tgec_initialization()
145 err = tgec_init(mac_dev->fman_mac); in tgec_initialization()
150 err = mac_dev->set_exception(mac_dev->fman_mac, in tgec_initialization()
155 err = tgec_get_version(mac_dev->fman_mac, in tgec_initialization()
347 struct fman_mac *fman_mac = mac_dev->fman_mac; fman_set_mac_active_pause() local
434 struct fman_mac *fman_mac; adjust_link_dtsec() local
456 struct fman_mac *fman_mac; adjust_link_memac() local
[all...]
H A Dfman_tgec.c203 struct fman_mac { struct
270 static int check_init_parameters(struct fman_mac *tgec) in check_init_parameters()
354 struct fman_mac *tgec = (struct fman_mac *)handle; in tgec_err_exception()
399 static void free_init_resources(struct fman_mac *tgec) in free_init_resources()
422 int tgec_enable(struct fman_mac *tgec, enum comm_mode mode) in tgec_enable()
440 int tgec_disable(struct fman_mac *tgec, enum comm_mode mode) in tgec_disable()
458 int tgec_set_promiscuous(struct fman_mac *tgec, bool new_val) in tgec_set_promiscuous()
476 int tgec_cfg_max_frame_len(struct fman_mac *tgec, u16 new_val) in tgec_cfg_max_frame_len()
486 int tgec_set_tx_pause_frames(struct fman_mac *tge
[all...]
H A Dfman_memac.c331 struct fman_mac { struct
510 static void setup_sgmii_internal_phy(struct fman_mac *memac, in setup_sgmii_internal_phy()
569 static void setup_sgmii_internal_phy_base_x(struct fman_mac *memac) in setup_sgmii_internal_phy_base_x()
597 static int check_init_parameters(struct fman_mac *memac) in check_init_parameters()
638 struct fman_mac *memac = (struct fman_mac *)handle; in memac_err_exception()
664 struct fman_mac *memac = (struct fman_mac *)handle; in memac_exception()
685 static void free_init_resources(struct fman_mac *memac) in free_init_resources()
711 int memac_enable(struct fman_mac *mema
[all...]
H A Dfman_dtsec.c322 struct fman_mac { struct
552 static int check_init_parameters(struct fman_mac *dtsec) in check_init_parameters()
668 static u16 dtsec_get_max_frame_length(struct fman_mac *dtsec) in dtsec_get_max_frame_length()
680 struct fman_mac *dtsec = (struct fman_mac *)handle; in dtsec_isr()
810 struct fman_mac *dtsec = (struct fman_mac *)handle; in dtsec_1588_isr()
827 static void free_init_resources(struct fman_mac *dtsec) in free_init_resources()
843 int dtsec_cfg_max_frame_len(struct fman_mac *dtsec, u16 new_val) in dtsec_cfg_max_frame_len()
853 int dtsec_cfg_pad_and_crc(struct fman_mac *dtse
[all...]
H A Dfman_mac.h43 struct fman_mac;
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/
H A Dmac.h17 #include "fman_mac.h"
19 struct fman_mac;
36 int (*enable)(struct fman_mac *mac_dev);
37 void (*disable)(struct fman_mac *mac_dev);
38 int (*set_promisc)(struct fman_mac *mac_dev, bool enable);
39 int (*change_addr)(struct fman_mac *mac_dev, const enet_addr_t *enet_addr);
40 int (*set_allmulti)(struct fman_mac *mac_dev, bool enable);
41 int (*set_tstamp)(struct fman_mac *mac_dev, bool enable);
44 int (*set_exception)(struct fman_mac *mac_dev,
46 int (*add_hash_mac_addr)(struct fman_mac *mac_de
53 struct fman_mac *fman_mac; global() member
[all...]
H A 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, pc in pcs_to_dtsec()
[all...]
H A Dfman_memac.c276 struct fman_mac { struct
422 static int check_init_parameters(struct fman_mac *memac) in check_init_parameters()
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()
510 static void free_init_resources(struct fman_mac *memac) in free_init_resources()
527 static int memac_enable(struct fman_mac *memac) in memac_enable()
548 static void memac_disable(struct fman_mac *memac) in memac_disable()
554 static int memac_set_promiscuous(struct fman_mac *mema
[all...]
H A 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 *tge
[all...]
H A Dmac.c24 #include "fman_mac.h"
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 Dfman_mac.h43 struct fman_mac;
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c272 err = priv->mac_dev->change_addr(priv->mac_dev->fman_mac, in dpaa_netdev_init()
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()
2692 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_ts_ioctl()
2705 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_ts_ioctl()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa/
H 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()
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()
2939 err = priv->mac_dev->enable(mac_dev->fman_mac); in dpaa_open()
3083 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_ts_ioctl()
3096 priv->mac_dev->set_tstamp(priv->mac_dev->fman_mac, true); in dpaa_ts_ioctl()

Completed in 21 milliseconds