Searched defs:tgec (Results 1 – 2 of 2) sorted by relevance
12 struct tgec { struct14 u32 tgec_id; /* Controller ID register */ argument15 u32 res0;16 u32 command_config; /* Control and configuration register */17 u32 mac_addr_0; /* Lower 32 bits of 48-bit MAC address */18 u32 mac_addr_1; /* Upper 16 bits of 48-bit MAC address */19 u32 maxfrm; /* Maximum frame length register */20 u32 pause_quant; /* Pause quanta register */21 u32 res1[4];22 u32 hashtable_ctrl; /* Hash table control register */[all …]
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() local370 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() local462 struct fman_mac *tgec = fman_config_to_mac(config)->fman_mac; in tgec_link_down() local[all …]