Home
last modified time | relevance | path

Searched refs:flow_ctrl (Results 1 – 30 of 30) sorted by relevance

/linux-4.4.14/net/bluetooth/rfcomm/
Dcore.c945 pn->flow_ctrl = cr ? 0xf0 : 0xe0; in rfcomm_send_pn()
948 pn->flow_ctrl = 0; in rfcomm_send_pn()
990 rpn->flow_ctrl = flow_ctrl_settings; in rfcomm_send_rpn()
1374 d, d->state, d->dlci, pn->mtu, pn->flow_ctrl, pn->credits); in rfcomm_apply_pn()
1376 if ((pn->flow_ctrl == 0xf0 && s->cfc != RFCOMM_CFC_DISABLED) || in rfcomm_apply_pn()
1377 pn->flow_ctrl == 0xe0) { in rfcomm_apply_pn()
1459 u8 flow_ctrl = 0; in rfcomm_recv_rpn() local
1465 dlci, cr, len, rpn->bit_rate, rpn->line_settings, rpn->flow_ctrl, in rfcomm_recv_rpn()
1477 flow_ctrl = RFCOMM_RPN_FLOW_NONE; in rfcomm_recv_rpn()
1523 flow_ctrl = rpn->flow_ctrl; in rfcomm_recv_rpn()
[all …]
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c434 if (priv->flow_ctrl & FLOW_RX) in stmmac_get_pauseparam()
436 if (priv->flow_ctrl & FLOW_TX) in stmmac_get_pauseparam()
458 priv->flow_ctrl = new_pause; in stmmac_set_pauseparam()
465 priv->hw->mac->flow_ctrl(priv->hw, phy->duplex, in stmmac_set_pauseparam()
466 priv->flow_ctrl, priv->pause); in stmmac_set_pauseparam()
Dstmmac.h93 unsigned int flow_ctrl; member
Dstmmac_main.c83 static int flow_ctrl = FLOW_OFF; variable
84 module_param(flow_ctrl, int, S_IRUGO | S_IWUSR);
85 MODULE_PARM_DESC(flow_ctrl, "Flow control ability [on/off]");
142 if (unlikely(flow_ctrl > 1)) in stmmac_verify_args()
143 flow_ctrl = FLOW_AUTO; in stmmac_verify_args()
144 else if (likely(flow_ctrl < 0)) in stmmac_verify_args()
145 flow_ctrl = FLOW_OFF; in stmmac_verify_args()
696 unsigned int fc = priv->flow_ctrl, pause_time = priv->pause; in stmmac_adjust_link()
718 priv->hw->mac->flow_ctrl(priv->hw, phydev->duplex, in stmmac_adjust_link()
2924 if (flow_ctrl) in stmmac_dvr_probe()
[all …]
Ddwmac100_core.c170 .flow_ctrl = dwmac100_flow_ctrl,
Dcommon.h396 void (*flow_ctrl)(struct mac_device_info *hw, unsigned int duplex, member
Ddwmac1000_core.c406 .flow_ctrl = dwmac1000_flow_ctrl,
/linux-4.4.14/include/linux/platform_data/
Ddma-ste-dma40.h85 enum stedma40_flow_ctrl flow_ctrl; member
/linux-4.4.14/include/net/bluetooth/
Drfcomm.h123 u8 flow_ctrl; member
135 u8 flow_ctrl; member
/linux-4.4.14/drivers/infiniband/core/
Dcm_msgs.h203 u8 flow_ctrl) in cm_req_set_flow_ctrl() argument
205 req_msg->offset40 = cpu_to_be32((flow_ctrl & 0x1) | in cm_req_set_flow_ctrl()
587 u8 flow_ctrl) in cm_rep_set_flow_ctrl() argument
590 (flow_ctrl & 0x1)); in cm_rep_set_flow_ctrl()
/linux-4.4.14/net/nfc/nci/
Duart.c442 void nci_uart_set_config(struct nci_uart *nu, int baudrate, int flow_ctrl) in nci_uart_set_config() argument
454 if (flow_ctrl) in nci_uart_set_config()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c1381 if (vars->flow_ctrl & BNX2X_FLOW_CTRL_RX) in bnx2x_update_pfc_xmac()
1385 if (vars->flow_ctrl & BNX2X_FLOW_CTRL_TX) in bnx2x_update_pfc_xmac()
1596 if (!(vars->flow_ctrl & BNX2X_FLOW_CTRL_TX)) in bnx2x_umac_enable()
1599 if (!(vars->flow_ctrl & BNX2X_FLOW_CTRL_RX)) in bnx2x_umac_enable()
1648 ((vars->flow_ctrl & BNX2X_FLOW_CTRL_TX) != 0), 1); in bnx2x_umac_enable()
1807 ((vars->flow_ctrl & BNX2X_FLOW_CTRL_TX) != 0), 1); in bnx2x_xmac_enable()
1863 if (vars->flow_ctrl & BNX2X_FLOW_CTRL_RX) in bnx2x_emac_enable()
1868 if (vars->flow_ctrl & BNX2X_FLOW_CTRL_TX) in bnx2x_emac_enable()
1935 (vars->flow_ctrl & BNX2X_FLOW_CTRL_TX)) in bnx2x_emac_enable()
1958 (vars->flow_ctrl & BNX2X_FLOW_CTRL_RX)) in bnx2x_update_pfc_bmac1()
[all …]
Dbnx2x_link.h356 u16 flow_ctrl; member
Dbnx2x_cmn.c1238 if (bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_RX) in bnx2x_fill_report_data()
1243 if (bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_TX) in bnx2x_fill_report_data()
Dbnx2x_main.c2331 if (bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_TX) in bnx2x_init_dropless_fc()
2716 bp->link_vars.flow_ctrl = BNX2X_FLOW_CTRL_NONE; in bnx2x__link_status_update()
/linux-4.4.14/drivers/tty/
Disicom.c691 unsigned char flow_ctrl; in isicom_config_port() local
767 flow_ctrl = 0; in isicom_config_port()
771 flow_ctrl |= ISICOM_CTSRTS; in isicom_config_port()
774 flow_ctrl |= ISICOM_RESPOND_XONXOFF; in isicom_config_port()
776 flow_ctrl |= ISICOM_INITIATE_XONXOFF; in isicom_config_port()
780 outw(flow_ctrl << 8 | 0x05, base); in isicom_config_port()
/linux-4.4.14/drivers/dma/
Dste_dma40_ll.c78 if (cfg->src_info.flow_ctrl == STEDMA40_NO_FLOW_CTRL) in d40_phy_cfg()
89 if (cfg->dst_info.flow_ctrl == STEDMA40_NO_FLOW_CTRL) in d40_phy_cfg()
Dste_dma40.c88 .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL,
92 .dst_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL,
102 .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL,
106 .dst_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL,
2680 info->flow_ctrl = STEDMA40_NO_FLOW_CTRL; in dma40_config_to_halfchannel()
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/
Deth_defs.h137 unsigned int flow_ctrl : 1; member
/linux-4.4.14/arch/cris/arch-v10/drivers/
Dsync_serial.c384 IO_STATE(R_SYNC_SERIAL1_CTRL, flow_ctrl, enabled) | in initialize_port()
819 flow_ctrl, enabled); in sync_serial_ioctl_unlocked()
822 flow_ctrl, disabled); in sync_serial_ioctl_unlocked()
878 SETS(port->ctrl_data_shadow, R_SYNC_SERIAL1_CTRL, flow_ctrl, in sync_serial_ioctl_unlocked()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbnx2.c1011 if (bp->flow_ctrl) { in bnx2_report_link()
1012 if (bp->flow_ctrl & FLOW_CTRL_RX) { in bnx2_report_link()
1014 if (bp->flow_ctrl & FLOW_CTRL_TX) in bnx2_report_link()
1037 bp->flow_ctrl = 0; in bnx2_resolve_flow_ctrl()
1042 bp->flow_ctrl = bp->req_flow_ctrl; in bnx2_resolve_flow_ctrl()
1057 bp->flow_ctrl |= FLOW_CTRL_TX; in bnx2_resolve_flow_ctrl()
1059 bp->flow_ctrl |= FLOW_CTRL_RX; in bnx2_resolve_flow_ctrl()
1087 bp->flow_ctrl = FLOW_CTRL_TX | FLOW_CTRL_RX; in bnx2_resolve_flow_ctrl()
1090 bp->flow_ctrl = FLOW_CTRL_RX; in bnx2_resolve_flow_ctrl()
1095 bp->flow_ctrl = FLOW_CTRL_TX | FLOW_CTRL_RX; in bnx2_resolve_flow_ctrl()
[all …]
Dtg3.c1917 static u16 tg3_advert_flowctrl_1000X(u8 flow_ctrl) in tg3_advert_flowctrl_1000X() argument
1921 if ((flow_ctrl & FLOW_CTRL_TX) && (flow_ctrl & FLOW_CTRL_RX)) in tg3_advert_flowctrl_1000X()
1923 else if (flow_ctrl & FLOW_CTRL_TX) in tg3_advert_flowctrl_1000X()
1925 else if (flow_ctrl & FLOW_CTRL_RX) in tg3_advert_flowctrl_1000X()
Dbnx2.h6951 u8 flow_ctrl; /* actual flow ctrl settings */ member
/linux-4.4.14/drivers/net/ethernet/3com/
D3c59x.c628 flow_ctrl:1, /* Use 802.3x flow control (PAUSE only) */ member
791 static int flow_ctrl[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 }; variable
811 module_param_array(flow_ctrl, int, NULL, 0);
828 MODULE_PARM_DESC(flow_ctrl, "3c59x 802.3x flow control usage (PAUSE only) (0-1)");
1253 if (flow_ctrl[card_idx] > 0) in vortex_probe1()
1254 vp->flow_ctrl = 1; in vortex_probe1()
1534 ((vp->full_duplex && vp->flow_ctrl && vp->partner_flow_ctrl) ? in vortex_set_duplex()
/linux-4.4.14/include/net/nfc/
Dnci_core.h462 void nci_uart_set_config(struct nci_uart *nu, int baudrate, int flow_ctrl);
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c4309 const char *flow_ctrl; in bnxt_report_link() local
4318 flow_ctrl = "ON - receive & transmit"; in bnxt_report_link()
4320 flow_ctrl = "ON - transmit"; in bnxt_report_link()
4322 flow_ctrl = "ON - receive"; in bnxt_report_link()
4324 flow_ctrl = "none"; in bnxt_report_link()
4327 speed, duplex, flow_ctrl); in bnxt_report_link()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_fw.h131 __le32 flow_ctrl; member
/linux-4.4.14/drivers/net/ethernet/micrel/
Dksz884x.c1346 u8 flow_ctrl; member
3199 switch (port->flow_ctrl) { in advertised_flow_ctrl()
6372 port->flow_ctrl = PHY_NO_FLOW_CTRL; in netdev_set_pauseparam()
6374 port->flow_ctrl = PHY_FLOW_CTRL; in netdev_set_pauseparam()
7077 port->flow_ctrl = PHY_FLOW_CTRL; in pcidev_init()
/linux-4.4.14/Documentation/networking/
Dstmmac.txt36 flow_ctrl: Flow control ability [on/off];
Dvortex.txt148 flow_ctrl=N1,N2,N3...