Lines Matching refs:tgec_regs

151 struct tgec_regs {
368 int fman_tgec_init(struct tgec_regs *regs, struct tgec_cfg *cfg,
371 void fman_tgec_enable(struct tgec_regs *regs, bool apply_rx, bool apply_tx);
373 void fman_tgec_disable(struct tgec_regs *regs, bool apply_rx, bool apply_tx);
375 uint32_t fman_tgec_get_revision(struct tgec_regs *regs);
377 void fman_tgec_set_mac_address(struct tgec_regs *regs, uint8_t *macaddr);
379 void fman_tgec_set_promiscuous(struct tgec_regs *regs, bool val);
385 void fman_tgec_reset_stat(struct tgec_regs *regs);
394 uint64_t fman_tgec_get_counter(struct tgec_regs *regs,
402 void fman_tgec_set_hash_table(struct tgec_regs *regs, uint32_t value);
410 void fman_tgec_set_tx_pause_frames(struct tgec_regs *regs, uint16_t pause_time);
422 void fman_tgec_set_rx_ignore_pause_frames(struct tgec_regs *regs, bool en);
434 void fman_tgec_enable_1588_time_stamp(struct tgec_regs *regs, bool en);
436 uint32_t fman_tgec_get_event(struct tgec_regs *regs, uint32_t ev_mask);
438 void fman_tgec_ack_event(struct tgec_regs *regs, uint32_t ev_mask);
440 uint32_t fman_tgec_get_interrupt_mask(struct tgec_regs *regs);
449 void fman_tgec_add_addr_in_paddr(struct tgec_regs *regs, uint8_t *addr_ptr);
451 void fman_tgec_clear_addr_in_paddr(struct tgec_regs *regs);
453 void fman_tgec_enable_interrupt(struct tgec_regs *regs, uint32_t ev_mask);
455 void fman_tgec_disable_interrupt(struct tgec_regs *regs, uint32_t ev_mask);
457 void fman_tgec_reset_filter_table(struct tgec_regs *regs);
459 void fman_tgec_set_hash_table_entry(struct tgec_regs *regs, uint32_t crc);
466 uint16_t fman_tgec_get_max_frame_len(struct tgec_regs *regs);
475 void fman_tgec_set_erratum_tx_fifo_corruption_10gmac_a007(struct tgec_regs