Home
last modified time | relevance | path

Searched refs:rx_config (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_core.c134 u32 rx_config; in sxgbe_enable_rx() local
136 rx_config = readl(ioaddr + SXGBE_CORE_RX_CONFIG_REG); in sxgbe_enable_rx()
137 rx_config &= ~SXGBE_RX_ENABLE; in sxgbe_enable_rx()
140 rx_config |= SXGBE_RX_ENABLE; in sxgbe_enable_rx()
141 writel(rx_config, ioaddr + SXGBE_CORE_RX_CONFIG_REG); in sxgbe_enable_rx()
/drivers/net/ethernet/brocade/bna/
Dbnad.c2044 bnad_init_rx_config(struct bnad *bnad, struct bna_rx_config *rx_config) in bnad_init_rx_config() argument
2046 memset(rx_config, 0, sizeof(*rx_config)); in bnad_init_rx_config()
2047 rx_config->rx_type = BNA_RX_T_REGULAR; in bnad_init_rx_config()
2048 rx_config->num_paths = bnad->num_rxp_per_rx; in bnad_init_rx_config()
2049 rx_config->coalescing_timeo = bnad->rx_coalescing_timeo; in bnad_init_rx_config()
2052 rx_config->rss_status = BNA_STATUS_T_ENABLED; in bnad_init_rx_config()
2053 rx_config->rss_config.hash_type = in bnad_init_rx_config()
2058 rx_config->rss_config.hash_mask = in bnad_init_rx_config()
2060 netdev_rss_key_fill(rx_config->rss_config.toeplitz_hash_key, in bnad_init_rx_config()
2061 sizeof(rx_config->rss_config.toeplitz_hash_key)); in bnad_init_rx_config()
[all …]
Dbnad.h315 struct bna_rx_config rx_config[BNAD_MAX_RX] ____cacheline_aligned; member
Dbna.h351 void bna_rx_res_req(struct bna_rx_config *rx_config,
/drivers/net/wireless/ti/wl1251/
Dacx.c307 struct acx_rx_config *rx_config; in wl1251_acx_rx_config() local
312 rx_config = kzalloc(sizeof(*rx_config), GFP_KERNEL); in wl1251_acx_rx_config()
313 if (!rx_config) in wl1251_acx_rx_config()
316 rx_config->config_options = config; in wl1251_acx_rx_config()
317 rx_config->filter_options = filter; in wl1251_acx_rx_config()
320 rx_config, sizeof(*rx_config)); in wl1251_acx_rx_config()
327 kfree(rx_config); in wl1251_acx_rx_config()
Dmain.c343 wl->rx_config &= ~CFG_BSSID_FILTER_EN; in wl1251_join()
794 wl->rx_config = WL1251_DEFAULT_RX_CONFIG; in wl1251_op_configure_filter()
802 wl->rx_config &= ~CFG_MC_FILTER_EN; in wl1251_op_configure_filter()
806 wl->rx_config &= ~CFG_BSSID_FILTER_EN; in wl1251_op_configure_filter()
807 wl->rx_config &= ~CFG_SSID_FILTER_EN; in wl1251_op_configure_filter()
812 wl->rx_config &= ~CFG_BSSID_FILTER_EN; in wl1251_op_configure_filter()
833 wl1251_acx_rx_config(wl, wl->rx_config, wl->rx_filter); in wl1251_op_configure_filter()
1539 wl->rx_config = WL1251_DEFAULT_RX_CONFIG; in wl1251_alloc_hw()
Dwl1251.h363 unsigned int rx_config; member
Dcmd.c295 join->rx_config_options = wl->rx_config; in wl1251_cmd_join()
/drivers/net/ethernet/silan/
Dsc92031.c291 u32 rx_config; member
390 priv->rx_config &= ~RxEnb; in _sc92031_disable_tx_rx()
392 iowrite32(priv->rx_config, port_base + RxConfig); in _sc92031_disable_tx_rx()
401 priv->rx_config |= RxEnb; in _sc92031_enable_tx_rx()
403 iowrite32(priv->rx_config, port_base + RxConfig); in _sc92031_enable_tx_rx()
475 priv->rx_config &= ~(RxSmall | RxHuge | RxErr | RxBroadcast in _sc92031_set_rx_config()
477 priv->rx_config |= rx_config_bits; in _sc92031_set_rx_config()
483 iowrite32(priv->rx_config, port_base + RxConfig); in _sc92031_set_rx_config()
505 priv->rx_config = (0x40 << LowThresholdShift) | (0x1c0 << HighThresholdShift); in _sc92031_check_media()
517 priv->rx_config |= RxFullDx; in _sc92031_check_media()
[all …]
/drivers/net/ethernet/realtek/
D8139too.c612 u32 rx_config; member
913 int rx_mode = tp->rx_config; in rtl8139_set_features()
918 tp->rx_config = rtl8139_rx_config | rx_mode; in rtl8139_set_features()
919 RTL_W32_F(RxConfig, tp->rx_config); in rtl8139_set_features()
1414 tp->rx_config = rtl8139_rx_config | AcceptBroadcast | AcceptMyPhys; in rtl8139_hw_start()
1415 RTL_W32 (RxConfig, tp->rx_config); in rtl8139_hw_start()
1867 RTL_W32 (RxConfig, tp->rx_config); in rtl8139_rx_err()
1900 tp->rx_config = rtl8139_rx_config | AcceptBroadcast | AcceptMyPhys; in rtl8139_rx_err()
1901 RTL_W32 (RxConfig, tp->rx_config); in rtl8139_rx_err()
2594 if (tp->rx_config != tmp) { in __set_rx_mode()
[all …]
D8139cp.c331 u32 rx_config; member
926 cp->rx_config = cp_rx_config | rx_mode; in __cp_set_rx_mode()
927 cpw32_f(RxConfig, cp->rx_config); in __cp_set_rx_mode()
Dr8169.c2047 u32 rx_config; in __rtl8169_set_features() local
2049 rx_config = RTL_R32(RxConfig); in __rtl8169_set_features()
2051 rx_config |= (AcceptErr | AcceptRunt); in __rtl8169_set_features()
2053 rx_config &= ~(AcceptErr | AcceptRunt); in __rtl8169_set_features()
2055 RTL_W32(RxConfig, rx_config); in __rtl8169_set_features()
/drivers/infiniband/hw/nes/
Dnes_utils.c761 u32 rx_config; in nes_mh_fix() local
823 rx_config = nes_read_indexed(nesdev, NES_IDX_MAC_RX_CONFIG); in nes_mh_fix()
868 nes_write_indexed(nesdev, NES_IDX_MAC_RX_CONFIG, rx_config); in nes_mh_fix()
/drivers/net/ethernet/natsemi/
Dnatsemi.c577 u32 tx_config, rx_config; member
1686 if (duplex ^ !!(np->rx_config & RxAcceptTx)) { in check_link()
1693 np->rx_config |= RxAcceptTx; in check_link()
1696 np->rx_config &= ~RxAcceptTx; in check_link()
1700 writel(np->rx_config, ioaddr + RxConfig); in check_link()
1739 np->rx_config = RxMxdma_256 | RX_DRTH_VAL; in init_registers()
1742 np->rx_config |= RxAcceptLong; in init_registers()
1744 writel(np->rx_config, ioaddr + RxConfig); in init_registers()