Home
last modified time | relevance | path

Searched refs:fct_flow (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/drivers/usb/eth/
H A Dlan75xx.c62 uint32_t flow = 0, fct_flow = 0; in lan75xx_update_flowcontrol() local
65 ret = lan7x_update_flowcontrol(udev, dev, &flow, &fct_flow); in lan75xx_update_flowcontrol()
69 ret = lan7x_write_reg(udev, LAN75XX_FCT_FLOW, fct_flow); in lan75xx_update_flowcontrol()
H A Dlan7x.c264 uint32_t *flow, uint32_t *fct_flow) in lan7x_update_flowcontrol() argument
283 *fct_flow = ((MAX_RX_FIFO_SIZE * 2) / (10 * 512)) in lan7x_update_flowcontrol()
285 *fct_flow <<= 8UL; in lan7x_update_flowcontrol()
286 *fct_flow |= ((MAX_RX_FIFO_SIZE * 8) / (10 * 512)) in lan7x_update_flowcontrol()
H A Dlan78xx.c186 uint32_t flow = 0, fct_flow = 0; in lan78xx_update_flowcontrol() local
189 ret = lan7x_update_flowcontrol(udev, dev, &flow, &fct_flow); in lan78xx_update_flowcontrol()
193 ret = lan7x_write_reg(udev, LAN78XX_FCT_FLOW, fct_flow); in lan78xx_update_flowcontrol()
H A Dlan7x.h214 uint32_t *flow, uint32_t *fct_flow);
/openbmc/linux/drivers/net/usb/
H A Dsmsc75xx.c591 u32 flow = 0, fct_flow = 0; in smsc75xx_update_flowcontrol() local
600 fct_flow = (8 << 8) | 32; in smsc75xx_update_flowcontrol()
619 ret = smsc75xx_write_reg(dev, FCT_FLOW, fct_flow); in smsc75xx_update_flowcontrol()
H A Dlan78xx.c1338 u32 flow = 0, fct_flow = 0; in lan78xx_update_flowcontrol() local
1353 fct_flow = FLOW_CTRL_THRESHOLD(FLOW_ON_SS, FLOW_OFF_SS); in lan78xx_update_flowcontrol()
1355 fct_flow = FLOW_CTRL_THRESHOLD(FLOW_ON_HS, FLOW_OFF_HS); in lan78xx_update_flowcontrol()
1361 lan78xx_write_reg(dev, FCT_FLOW, fct_flow); in lan78xx_update_flowcontrol()