Home
last modified time | relevance | path

Searched refs:max_credits (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82598.c84 u32 reg, max_credits; in ixgbe_dcb_config_tx_desc_arbiter_82598() local
100 max_credits = max[i]; in ixgbe_dcb_config_tx_desc_arbiter_82598()
101 reg = max_credits << IXGBE_TDTQ2TCCR_MCL_SHIFT; in ixgbe_dcb_config_tx_desc_arbiter_82598()
H A Dixgbe_dcb_82599.c85 u32 reg, max_credits; in ixgbe_dcb_config_tx_desc_arbiter_82599() local
96 max_credits = max[i]; in ixgbe_dcb_config_tx_desc_arbiter_82599()
97 reg = max_credits << IXGBE_RTTDT2C_MCL_SHIFT; in ixgbe_dcb_config_tx_desc_arbiter_82599()
/OK3568_Linux_fs/kernel/drivers/thunderbolt/
H A Dtunnel.c634 u32 max_credits; in tb_dp_init_video_path() local
636 max_credits = (nfc_credits & ADP_CS_4_TOTAL_BUFFERS_MASK) >> in tb_dp_init_video_path()
639 path->nfc_credits = min(max_credits - 2, 12U); in tb_dp_init_video_path()
793 u32 max_credits; in tb_dma_credits() local
795 max_credits = (nhi->config.nfc_credits & ADP_CS_4_TOTAL_BUFFERS_MASK) >> in tb_dma_credits()
797 return min(max_credits, 13U); in tb_dma_credits()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dcifsglob.h618 unsigned int max_credits; /* smb3 max_credits 10 < credits < 60000 */ member
691 unsigned int max_credits; /* can override large 32000 default at mnt */ member
H A Dcifsfs.c623 if (tcon->ses->server->max_credits != SMB2_MAX_CREDITS_AVAILABLE) in cifs_show_options()
624 seq_printf(s, ",max_credits=%u", tcon->ses->server->max_credits); in cifs_show_options()
H A Dconnect.c1935 vol->max_credits = option; in cifs_parse_mount_options()
2645 if ((volume_info->max_credits < 20) || (volume_info->max_credits > 60000)) in cifs_get_tcp_session()
2646 tcp_ses->max_credits = SMB2_MAX_CREDITS_AVAILABLE; in cifs_get_tcp_session()
2648 tcp_ses->max_credits = volume_info->max_credits; in cifs_get_tcp_session()
H A Dsess.c233 vol.max_credits = ses->server->max_credits; in cifs_ses_add_channel()
H A Dsmb2pdu.c110 if (server->credits >= server->max_credits) in smb2_hdr_assemble()
114 min_t(int, server->max_credits - in smb2_hdr_assemble()
/OK3568_Linux_fs/kernel/net/bluetooth/
H A Dl2cap_core.c5931 u16 cid, credits, max_credits; in l2cap_le_credits() local
5946 max_credits = LE_FLOWCTL_MAX_CREDITS - chan->tx_credits; in l2cap_le_credits()
5947 if (credits > max_credits) { in l2cap_le_credits()