Home
last modified time | relevance | path

Searched refs:tgec_regs (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman_tgec.h151 struct tgec_regs { struct
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);
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/
H A Dfman_tgec.c37 void fman_tgec_set_mac_address(struct tgec_regs *regs, uint8_t *adr) in fman_tgec_set_mac_address()
50 void fman_tgec_reset_stat(struct tgec_regs *regs) in fman_tgec_reset_stat()
67 uint64_t fman_tgec_get_counter(struct tgec_regs *regs, enum tgec_counters reg_name) in fman_tgec_get_counter()
157 void fman_tgec_enable(struct tgec_regs *regs, bool apply_rx, bool apply_tx) in fman_tgec_enable()
169 void fman_tgec_disable(struct tgec_regs *regs, bool apply_rx, bool apply_tx) in fman_tgec_disable()
181 void fman_tgec_set_promiscuous(struct tgec_regs *regs, bool val) in fman_tgec_set_promiscuous()
193 void fman_tgec_reset_filter_table(struct tgec_regs *regs) in fman_tgec_reset_filter_table()
200 void fman_tgec_set_hash_table_entry(struct tgec_regs *regs, uint32_t crc) in fman_tgec_set_hash_table_entry()
206 void fman_tgec_set_hash_table(struct tgec_regs *regs, uint32_t value) in fman_tgec_set_hash_table()
211 void fman_tgec_set_tx_pause_frames(struct tgec_regs *regs, uint16_t pause_time) in fman_tgec_set_tx_pause_frames()
[all …]
H A Dtgec.h128 …struct tgec_regs *p_MemMap; /**< pointer to 10G memory mapped …
H A Dtgec.c99 struct tgec_regs *p_TgecMemMap = p_Tgec->p_MemMap; in TgecErrException()
145 struct tgec_regs *p_TgecMemMap = p_Tgec->p_MemMap; in TgecException()
387 struct tgec_regs *p_TgecMemMap; in TgecGetStatistics()
963 p_Tgec->p_MemMap = (struct tgec_regs *)UINT_TO_PTR(baseAddr); in TGEC_Config()