Home
last modified time | relevance | path

Searched refs:tgec (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
H A Dfman_tgec.c270 static int check_init_parameters(struct fman_mac *tgec) in check_init_parameters() argument
272 if (tgec->max_speed < SPEED_10000) { in check_init_parameters()
276 if (!tgec->exception_cb) { in check_init_parameters()
280 if (!tgec->event_cb) { in check_init_parameters()
354 struct fman_mac *tgec = (struct fman_mac *)handle; in tgec_err_exception() local
355 struct tgec_regs __iomem *regs = tgec->regs; in tgec_err_exception()
368 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_REM_FAULT); in tgec_err_exception()
370 tgec->exception_cb(tgec in tgec_err_exception()
399 free_init_resources(struct fman_mac *tgec) free_init_resources() argument
422 tgec_enable(struct fman_mac *tgec, enum comm_mode mode) tgec_enable() argument
440 tgec_disable(struct fman_mac *tgec, enum comm_mode mode) tgec_disable() argument
458 tgec_set_promiscuous(struct fman_mac *tgec, bool new_val) tgec_set_promiscuous() argument
476 tgec_cfg_max_frame_len(struct fman_mac *tgec, u16 new_val) tgec_cfg_max_frame_len() argument
486 tgec_set_tx_pause_frames(struct fman_mac *tgec, u8 __maybe_unused priority, u16 pause_time, u16 __maybe_unused thresh_time) tgec_set_tx_pause_frames() argument
499 tgec_accept_rx_pause_frames(struct fman_mac *tgec, bool en) tgec_accept_rx_pause_frames() argument
517 tgec_modify_mac_address(struct fman_mac *tgec, enet_addr_t *p_enet_addr) tgec_modify_mac_address() argument
528 tgec_add_hash_mac_address(struct fman_mac *tgec, enet_addr_t *eth_addr) tgec_add_hash_mac_address() argument
565 tgec_set_allmulti(struct fman_mac *tgec, bool enable) tgec_set_allmulti() argument
588 tgec_set_tstamp(struct fman_mac *tgec, bool enable) tgec_set_tstamp() argument
608 tgec_del_hash_mac_address(struct fman_mac *tgec, enet_addr_t *eth_addr) tgec_del_hash_mac_address() argument
645 tgec_get_version(struct fman_mac *tgec, u32 *mac_version) tgec_get_version() argument
657 tgec_set_exception(struct fman_mac *tgec, enum fman_mac_exceptions exception, bool enable) tgec_set_exception() argument
684 tgec_init(struct fman_mac *tgec) tgec_init() argument
767 tgec_free(struct fman_mac *tgec) tgec_free() argument
779 struct fman_mac *tgec; tgec_config() local
[all...]
H A Dfman_tgec.h39 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 *tgec, bool en);
47 int tgec_set_tx_pause_frames(struct fman_mac *tgec, u8 priority,
49 int tgec_set_exception(struct fman_mac *tgec,
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/
H A Dfman_tgec.c245 static int check_init_parameters(struct fman_mac *tgec) in check_init_parameters() argument
247 if (!tgec->exception_cb) { in check_init_parameters()
251 if (!tgec->event_cb) { in check_init_parameters()
325 struct fman_mac *tgec = (struct fman_mac *)handle; in tgec_err_exception() local
326 struct tgec_regs __iomem *regs = tgec->regs; in tgec_err_exception()
339 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_REM_FAULT); in tgec_err_exception()
341 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_LOC_FAULT); in tgec_err_exception()
343 tgec in tgec_err_exception()
370 free_init_resources(struct fman_mac *tgec) free_init_resources() argument
384 tgec_enable(struct fman_mac *tgec) tgec_enable() argument
389 tgec_disable(struct fman_mac *tgec) tgec_disable() argument
393 tgec_set_promiscuous(struct fman_mac *tgec, bool new_val) tgec_set_promiscuous() argument
408 tgec_set_tx_pause_frames(struct fman_mac *tgec, u8 __maybe_unused priority, u16 pause_time, u16 __maybe_unused thresh_time) tgec_set_tx_pause_frames() argument
419 tgec_accept_rx_pause_frames(struct fman_mac *tgec, bool en) tgec_accept_rx_pause_frames() argument
444 struct fman_mac *tgec = mac_dev->fman_mac; tgec_link_up() local
462 struct fman_mac *tgec = fman_config_to_mac(config)->fman_mac; tgec_link_down() local
477 tgec_modify_mac_address(struct fman_mac *tgec, const enet_addr_t *p_enet_addr) tgec_modify_mac_address() argument
486 tgec_add_hash_mac_address(struct fman_mac *tgec, enet_addr_t *eth_addr) tgec_add_hash_mac_address() argument
521 tgec_set_allmulti(struct fman_mac *tgec, bool enable) tgec_set_allmulti() argument
541 tgec_set_tstamp(struct fman_mac *tgec, bool enable) tgec_set_tstamp() argument
558 tgec_del_hash_mac_address(struct fman_mac *tgec, enet_addr_t *eth_addr) tgec_del_hash_mac_address() argument
593 tgec_set_exception(struct fman_mac *tgec, enum fman_mac_exceptions exception, bool enable) tgec_set_exception() argument
617 tgec_init(struct fman_mac *tgec) tgec_init() argument
697 tgec_free(struct fman_mac *tgec) tgec_free() argument
710 struct fman_mac *tgec; tgec_config() local
764 struct fman_mac *tgec; tgec_initialization() local
[all...]

Completed in 3 milliseconds