Lines Matching refs:fman_mac

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()
462 struct fman_mac *tgec = fman_config_to_mac(config)->fman_mac; in tgec_link_down()
477 static int tgec_modify_mac_address(struct fman_mac *tgec, in tgec_modify_mac_address()
486 static int tgec_add_hash_mac_address(struct fman_mac *tgec, in tgec_add_hash_mac_address()
521 static int tgec_set_allmulti(struct fman_mac *tgec, bool enable) in tgec_set_allmulti()
541 static int tgec_set_tstamp(struct fman_mac *tgec, bool enable) in tgec_set_tstamp()
558 static int tgec_del_hash_mac_address(struct fman_mac *tgec, in tgec_del_hash_mac_address()
593 static int tgec_set_exception(struct fman_mac *tgec, in tgec_set_exception()
617 static int tgec_init(struct fman_mac *tgec) in tgec_init()
697 static int tgec_free(struct fman_mac *tgec) in tgec_free()
707 static struct fman_mac *tgec_config(struct mac_device *mac_dev, in tgec_config()
710 struct fman_mac *tgec; in tgec_config()
764 struct fman_mac *tgec; in tgec_initialization()
778 mac_dev->fman_mac = tgec_config(mac_dev, params); in tgec_initialization()
779 if (!mac_dev->fman_mac) { in tgec_initialization()
797 tgec = mac_dev->fman_mac; in tgec_initialization()
813 tgec_free(mac_dev->fman_mac); in tgec_initialization()