Searched defs:tgec (Results 1 – 2 of 2) sorted by relevance
13 struct tgec { struct15 u32 tgec_id; /* Controller ID register */ argument16 u32 res0;17 u32 command_config; /* Control and configuration register */18 u32 mac_addr_0; /* Lower 32 bits of 48-bit MAC address */19 u32 mac_addr_1; /* Upper 16 bits of 48-bit MAC address */20 u32 maxfrm; /* Maximum frame length register */21 u32 pause_quant; /* Pause quanta register */22 u32 res1[4];23 u32 hashtable_ctrl; /* Hash table control register */[all …]
270 static int check_init_parameters(struct fman_mac *tgec) in check_init_parameters()354 struct fman_mac *tgec = (struct fman_mac *)handle; in tgec_err_exception() local399 static void free_init_resources(struct fman_mac *tgec) in free_init_resources()422 int tgec_enable(struct fman_mac *tgec, enum comm_mode mode) in tgec_enable()440 int tgec_disable(struct fman_mac *tgec, enum comm_mode mode) in tgec_disable()458 int tgec_set_promiscuous(struct fman_mac *tgec, bool new_val) in tgec_set_promiscuous()476 int tgec_cfg_max_frame_len(struct fman_mac *tgec, u16 new_val) in tgec_cfg_max_frame_len()486 int tgec_set_tx_pause_frames(struct fman_mac *tgec, u8 __maybe_unused priority, in tgec_set_tx_pause_frames()499 int tgec_accept_rx_pause_frames(struct fman_mac *tgec, bool en) in tgec_accept_rx_pause_frames()517 int tgec_modify_mac_address(struct fman_mac *tgec, enet_addr_t *p_enet_addr) in tgec_modify_mac_address()[all …]