Lines Matching refs:fman_mac

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()
485 static int tgec_add_hash_mac_address(struct fman_mac *tgec, in tgec_add_hash_mac_address()
523 static int tgec_set_allmulti(struct fman_mac *tgec, bool enable) in tgec_set_allmulti()
546 static int tgec_set_tstamp(struct fman_mac *tgec, bool enable) in tgec_set_tstamp()
566 static int tgec_del_hash_mac_address(struct fman_mac *tgec, in tgec_del_hash_mac_address()
611 static int tgec_set_exception(struct fman_mac *tgec, in tgec_set_exception()
638 static int tgec_init(struct fman_mac *tgec) in tgec_init()
721 static int tgec_free(struct fman_mac *tgec) in tgec_free()
731 static struct fman_mac *tgec_config(struct mac_device *mac_dev, in tgec_config()
734 struct fman_mac *tgec; in tgec_config()
789 struct fman_mac *tgec; in tgec_initialization()
805 mac_dev->fman_mac = tgec_config(mac_dev, params); in tgec_initialization()
806 if (!mac_dev->fman_mac) { in tgec_initialization()
811 tgec = mac_dev->fman_mac; in tgec_initialization()
827 tgec_free(mac_dev->fman_mac); in tgec_initialization()