Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_core.c132 u32 rx_config; in sxgbe_enable_rx() local
134 rx_config = readl(ioaddr + SXGBE_CORE_RX_CONFIG_REG); in sxgbe_enable_rx()
135 rx_config &= ~SXGBE_RX_ENABLE; in sxgbe_enable_rx()
138 rx_config |= SXGBE_RX_ENABLE; in sxgbe_enable_rx()
139 writel(rx_config, ioaddr + SXGBE_CORE_RX_CONFIG_REG); in sxgbe_enable_rx()
/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad.c2025 bnad_init_rx_config(struct bnad *bnad, struct bna_rx_config *rx_config) in bnad_init_rx_config() argument
2027 memset(rx_config, 0, sizeof(*rx_config)); in bnad_init_rx_config()
2028 rx_config->rx_type = BNA_RX_T_REGULAR; in bnad_init_rx_config()
2029 rx_config->num_paths = bnad->num_rxp_per_rx; in bnad_init_rx_config()
2030 rx_config->coalescing_timeo = bnad->rx_coalescing_timeo; in bnad_init_rx_config()
2033 rx_config->rss_status = BNA_STATUS_T_ENABLED; in bnad_init_rx_config()
2034 rx_config->rss_config.hash_type = in bnad_init_rx_config()
2039 rx_config->rss_config.hash_mask = in bnad_init_rx_config()
2041 netdev_rss_key_fill(rx_config->rss_config.toeplitz_hash_key, in bnad_init_rx_config()
2042 sizeof(rx_config->rss_config.toeplitz_hash_key)); in bnad_init_rx_config()
[all …]
H A Dbna.h343 void bna_rx_res_req(struct bna_rx_config *rx_config,
/linux/drivers/net/wireless/ti/wl1251/
H A Dacx.c308 struct acx_rx_config *rx_config; in wl1251_acx_rx_config() local
313 rx_config = kzalloc(sizeof(*rx_config), GFP_KERNEL); in wl1251_acx_rx_config()
314 if (!rx_config) in wl1251_acx_rx_config()
317 rx_config->config_options = config; in wl1251_acx_rx_config()
318 rx_config->filter_options = filter; in wl1251_acx_rx_config()
321 rx_config, sizeof(*rx_config)); in wl1251_acx_rx_config()
328 kfree(rx_config); in wl1251_acx_rx_config()
H A Dmain.c323 wl->rx_config &= ~CFG_BSSID_FILTER_EN; in wl1251_join()
778 wl->rx_config = WL1251_DEFAULT_RX_CONFIG; in wl1251_op_configure_filter()
786 wl->rx_config &= ~CFG_MC_FILTER_EN; in wl1251_op_configure_filter()
790 wl->rx_config &= ~CFG_BSSID_FILTER_EN; in wl1251_op_configure_filter()
791 wl->rx_config &= ~CFG_SSID_FILTER_EN; in wl1251_op_configure_filter()
796 wl->rx_config &= ~CFG_BSSID_FILTER_EN; in wl1251_op_configure_filter()
817 wl1251_acx_rx_config(wl, wl->rx_config, wl->rx_filter); in wl1251_op_configure_filter()
1614 wl->rx_config = WL1251_DEFAULT_RX_CONFIG; in wl1251_alloc_hw()
H A Dwl1251.h348 unsigned int rx_config; member
H A Dcmd.c290 join->rx_config_options = wl->rx_config; in wl1251_cmd_join()
/linux/drivers/net/ethernet/silan/
H A Dsc92031.c291 u32 rx_config; member
389 priv->rx_config &= ~RxEnb; in _sc92031_disable_tx_rx()
391 iowrite32(priv->rx_config, port_base + RxConfig); in _sc92031_disable_tx_rx()
400 priv->rx_config |= RxEnb; in _sc92031_enable_tx_rx()
402 iowrite32(priv->rx_config, port_base + RxConfig); in _sc92031_enable_tx_rx()
474 priv->rx_config &= ~(RxSmall | RxHuge | RxErr | RxBroadcast in _sc92031_set_rx_config()
476 priv->rx_config |= rx_config_bits; in _sc92031_set_rx_config()
482 iowrite32(priv->rx_config, port_base + RxConfig); in _sc92031_set_rx_config()
504 priv->rx_config = (0x40 << LowThresholdShift) | (0x1c0 << HighThresholdShift); in _sc92031_check_media()
516 priv->rx_config |= RxFullDx; in _sc92031_check_media()
[all …]
/linux/drivers/net/ipa/
H A Dipa_endpoint.c246 const struct ipa_endpoint_rx *rx_config; in ipa_endpoint_data_valid_one() local
263 rx_config = &data->endpoint.config.rx; in ipa_endpoint_data_valid_one()
266 buffer_size = rx_config->buffer_size; in ipa_endpoint_data_valid_one()
278 if (rx_config->aggr_time_limit) { in ipa_endpoint_data_valid_one()
285 if (rx_config->aggr_hard_limit) { in ipa_endpoint_data_valid_one()
291 if (rx_config->aggr_close_eof) { in ipa_endpoint_data_valid_one()
307 rx_config->aggr_hard_limit); in ipa_endpoint_data_valid_one()
1006 const struct ipa_endpoint_rx *rx_config; in ipa_endpoint_init_aggr() local
1010 rx_config = &endpoint->config.rx; in ipa_endpoint_init_aggr()
1014 buffer_size = rx_config->buffer_size; in ipa_endpoint_init_aggr()
[all …]
/linux/drivers/net/ethernet/realtek/rtase/
H A Drtase_main.c734 u16 rx_config, val; in rtase_hw_set_features() local
736 rx_config = rtase_r16(tp, RTASE_RX_CONFIG_0); in rtase_hw_set_features()
738 rx_config |= (RTASE_ACCEPT_ERR | RTASE_ACCEPT_RUNT); in rtase_hw_set_features()
740 rx_config &= ~(RTASE_ACCEPT_ERR | RTASE_ACCEPT_RUNT); in rtase_hw_set_features()
742 rtase_w16(tp, RTASE_RX_CONFIG_0, rx_config); in rtase_hw_set_features()
750 rx_config = rtase_r16(tp, RTASE_RX_CONFIG_1); in rtase_hw_set_features()
752 rx_config |= (RTASE_INNER_VLAN_DETAG_EN | in rtase_hw_set_features()
755 rx_config &= ~(RTASE_INNER_VLAN_DETAG_EN | in rtase_hw_set_features()
758 rtase_w16(tp, RTASE_RX_CONFIG_1, rx_config); in rtase_hw_set_features()
834 u16 rx_config; in rtase_nic_reset() local
[all …]
/linux/drivers/net/ethernet/realtek/
H A D8139too.c613 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()
1408 tp->rx_config = rtl8139_rx_config | AcceptBroadcast | AcceptMyPhys; in rtl8139_hw_start()
1409 RTL_W32 (RxConfig, tp->rx_config); in rtl8139_hw_start()
1865 RTL_W32 (RxConfig, tp->rx_config); in rtl8139_rx_err()
1898 tp->rx_config = rtl8139_rx_config | AcceptBroadcast | AcceptMyPhys; in rtl8139_rx_err()
1899 RTL_W32 (RxConfig, tp->rx_config); in rtl8139_rx_err()
2589 if (tp->rx_config != tmp) { in __set_rx_mode()
[all …]
H A D8139cp.c331 u32 rx_config; member
919 cp->rx_config = cp_rx_config | rx_mode; in __cp_set_rx_mode()
920 cpw32_f(RxConfig, cp->rx_config); in __cp_set_rx_mode()
H A Dr8169_main.c1646 u32 rx_config = RTL_R32(tp, RxConfig); in rtl_set_rx_config_features() local
1649 rx_config |= RX_CONFIG_ACCEPT_ERR_MASK; in rtl_set_rx_config_features()
1651 rx_config &= ~RX_CONFIG_ACCEPT_ERR_MASK; in rtl_set_rx_config_features()
1655 rx_config |= RX_VLAN_8125; in rtl_set_rx_config_features()
1657 rx_config &= ~RX_VLAN_8125; in rtl_set_rx_config_features()
1660 RTL_W32(tp, RxConfig, rx_config); in rtl_set_rx_config_features()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_display_core.h394 u32 rx_config; member
H A Dintel_fdi.c912 rx_ctl_val = dev_priv->display.fdi.rx_config | FDI_RX_ENHANCE_FRAME_ENABLE | in hsw_fdi_link_train()
/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c577 u32 tx_config, rx_config; member
1690 if (duplex ^ !!(np->rx_config & RxAcceptTx)) { in check_link()
1697 np->rx_config |= RxAcceptTx; in check_link()
1700 np->rx_config &= ~RxAcceptTx; in check_link()
1704 writel(np->rx_config, ioaddr + RxConfig); in check_link()
1743 np->rx_config = RxMxdma_256 | RX_DRTH_VAL; in init_registers()
1746 np->rx_config |= RxAcceptLong; in init_registers()
1748 writel(np->rx_config, ioaddr + RxConfig); in init_registers()