Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/
H A Dsun3lance.c153 int new_rx, new_tx; /* The next free ring entry */ member
462 lp->new_rx = lp->new_tx = 0; in lance_init_ring()
547 lp->new_rx ); in lance_start_xmit()
774 int entry = lp->new_rx; in lance_rx()
809 lp->new_rx = (lp->new_rx+1) & in lance_rx()
851 entry = lp->new_rx = (lp->new_rx +1) & RX_RING_MOD_MASK; in lance_rx()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c384 int new_rx = cmd->rx_count; in gve_set_channels() local
392 if (!new_rx || !new_tx) in gve_set_channels()
397 priv->rx_cfg.num_queues = new_rx; in gve_set_channels()
402 new_rx_cfg.num_queues = new_rx; in gve_set_channels()
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dcdc_ncm.c133 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx);
149 static u32 cdc_ncm_check_rx_max(struct usbnet *dev, u32 new_rx) in cdc_ncm_check_rx_max() argument
165 val = clamp_t(u32, new_rx, min, max); in cdc_ncm_check_rx_max()
166 if (val != new_rx) in cdc_ncm_check_rx_max()
389 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx) in cdc_ncm_update_rxtx_max() argument
395 val = cdc_ncm_check_rx_max(dev, new_rx); in cdc_ncm_update_rxtx_max()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c3391 int new_rx = 0, new_tx = 0; in ice_set_channels() local
3427 new_rx = ch->combined_count + ch->rx_count; in ice_set_channels()
3430 if (new_rx > ice_get_max_rxq(pf)) { in ice_set_channels()
3441 ice_vsi_recfg_qs(vsi, new_rx, new_tx); in ice_set_channels()
3444 return ice_vsi_set_dflt_rss_lut(vsi, new_rx); in ice_set_channels()
3447 vsi->rss_size = ice_get_valid_rss_size(&pf->hw, new_rx); in ice_set_channels()
H A Dice.h570 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx);
H A Dice_main.c3589 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx) in ice_vsi_recfg_qs() argument
3594 if (!new_rx && !new_tx) in ice_vsi_recfg_qs()
3606 if (new_rx) in ice_vsi_recfg_qs()
3607 vsi->req_rxq = (u16)new_rx; in ice_vsi_recfg_qs()
/OK3568_Linux_fs/kernel/drivers/net/hyperv/
H A Dnetvsc_drv.c1868 u32 new_tx, new_rx; in netvsc_set_ringparam() local
1879 new_rx = clamp_t(u32, ring->rx_pending, in netvsc_set_ringparam()
1883 new_rx == orig.rx_pending) in netvsc_set_ringparam()
1892 device_info->recv_sections = new_rx; in netvsc_set_ringparam()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_rx.c1069 u16 new_rx = 0, wptr = 0, rptr = 0; in rtw_phl_query_new_rx_num() local
1077 new_rx = phl_calc_avail_rptr(rptr, wptr, in rtw_phl_query_new_rx_num()
1081 return new_rx; in rtw_phl_query_new_rx_num()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_rx.c1074 u16 new_rx = 0, wptr = 0, rptr = 0; in rtw_phl_query_new_rx_num() local
1082 new_rx = phl_calc_avail_rptr(rptr, wptr, in rtw_phl_query_new_rx_num()
1086 return new_rx; in rtw_phl_query_new_rx_num()