Home
last modified time | relevance | path

Searched refs:rx_port (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/net/fm/
H A Deth.c163 static void bmi_rx_port_disable(struct fm_bmi_rx_port *rx_port) in bmi_rx_port_disable() argument
167 clrbits_be32(&rx_port->fmbm_rcfg, FMBM_RCFG_EN); in bmi_rx_port_disable()
170 while ((in_be32(&rx_port->fmbm_rst) & FMBM_RST_BSY) && timeout--) in bmi_rx_port_disable()
174 static void bmi_rx_port_init(struct fm_bmi_rx_port *rx_port) in bmi_rx_port_init() argument
177 out_be32(&rx_port->fmbm_rcfg, FMBM_RCFG_IM); in bmi_rx_port_init()
179 out_be32(&rx_port->fmbm_rim, 0); in bmi_rx_port_init()
181 out_be32(&rx_port->fmbm_rfne, NIA_ENG_RISC | NIA_RISC_AC_IM_RX); in bmi_rx_port_init()
183 clrbits_be32(&rx_port->fmbm_rfca, FMBM_RFCA_ORDER | FMBM_RFCA_MR_MASK); in bmi_rx_port_init()
184 setbits_be32(&rx_port->fmbm_rfca, FMBM_RFCA_MR(4)); in bmi_rx_port_init()
186 out_be32(&rx_port->fmbm_rstc, FMBM_RSTC_EN); in bmi_rx_port_init()
[all …]
H A Dfm.h123 struct fm_bmi_rx_port *rx_port; member
/OK3568_Linux_fs/kernel/net/hsr/
H A Dhsr_framereg.c151 enum hsr_port_type rx_port) in hsr_add_node() argument
175 hsr->proto_ops->handle_san_frame(san, rx_port, new_node); in hsr_add_node()
207 enum hsr_port_type rx_port) in hsr_get_node() argument
248 if (rx_port != HSR_PT_MASTER) in hsr_get_node()
255 san, rx_port); in hsr_get_node()
H A Dhsr_framereg.h35 enum hsr_port_type rx_port);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/fman/
H A Dfman_port.c776 bool grp_depl_used = false, rx_port; in set_bpools() local
781 rx_port = true; in set_bpools()
789 if (rx_port) { in set_bpools()
804 if (rx_port) { in set_bpools()
1592 bool rx_port, failure = false; in fman_port_disable() local
1602 rx_port = true; in fman_port_disable()
1607 rx_port = false; in fman_port_disable()
1614 if (!rx_port) { in fman_port_disable()
1669 bool rx_port; in fman_port_enable() local
1677 rx_port = true; in fman_port_enable()
[all …]