/drivers/net/ethernet/apple/ |
D | bmac.c | 905 unsigned short rx_cfg; in bmac_rx_off() local 907 rx_cfg = bmread(dev, RXCFG); in bmac_rx_off() 908 rx_cfg &= ~RxMACEnable; in bmac_rx_off() 909 bmwrite(dev, RXCFG, rx_cfg); in bmac_rx_off() 911 rx_cfg = bmread(dev, RXCFG); in bmac_rx_off() 912 } while (rx_cfg & RxMACEnable); in bmac_rx_off() 918 unsigned short rx_cfg; in bmac_rx_on() local 920 rx_cfg = bmread(dev, RXCFG); in bmac_rx_on() 921 rx_cfg |= RxMACEnable; in bmac_rx_on() 922 if (hash_enable) rx_cfg |= RxHashFilterEnable; in bmac_rx_on() [all …]
|
/drivers/hsi/clients/ |
D | hsi_char.c | 368 tmp = cl->rx_cfg; in hsc_rx_set() 369 cl->rx_cfg.mode = rxc->mode; in hsc_rx_set() 370 cl->rx_cfg.channels = rxc->channels; in hsc_rx_set() 371 cl->rx_cfg.flow = rxc->flow; in hsc_rx_set() 374 cl->rx_cfg = tmp; in hsc_rx_set() 385 rxc->mode = cl->rx_cfg.mode; in hsc_rx_get() 386 rxc->channels = cl->rx_cfg.channels; in hsc_rx_get() 387 rxc->flow = cl->rx_cfg.flow; in hsc_rx_get() 438 if (channel->ch >= channel->cl->rx_cfg.channels) in hsc_read()
|
/drivers/net/ethernet/brocade/bna/ |
D | bna_tx_rx.c | 1735 cfg_req->rx_cfg.rxq_type = BFI_ENET_RXQ_LARGE_SMALL; in bna_bfi_rx_enet_start() 1739 cfg_req->rx_cfg.rxq_type = BFI_ENET_RXQ_HDS; in bna_bfi_rx_enet_start() 1740 cfg_req->rx_cfg.hds.type = rx->hds_cfg.hdr_type; in bna_bfi_rx_enet_start() 1741 cfg_req->rx_cfg.hds.force_offset = rx->hds_cfg.forced_offset; in bna_bfi_rx_enet_start() 1742 cfg_req->rx_cfg.hds.max_header_size = rx->hds_cfg.forced_offset; in bna_bfi_rx_enet_start() 1746 cfg_req->rx_cfg.rxq_type = BFI_ENET_RXQ_SINGLE; in bna_bfi_rx_enet_start() 1752 cfg_req->rx_cfg.strip_vlan = rx->rxf.vlan_strip_status; in bna_bfi_rx_enet_start() 1789 bna_rx_res_check(struct bna_rx_mod *rx_mod, struct bna_rx_config *rx_cfg) in bna_rx_res_check() argument 1796 if (rx_cfg->rxp_type == BNA_RXP_SINGLE) { in bna_rx_res_check() 1797 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check() [all …]
|
D | bfi_enet.h | 509 struct bfi_enet_rx_cfg rx_cfg; member
|
D | bna.h | 473 struct bna_rx_config *rx_cfg,
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1282 u32 rx_cfg; member 3220 u32 rx_cfg; in set_flow_ctrl() local 3223 rx_cfg = hw->rx_cfg; in set_flow_ctrl() 3226 hw->rx_cfg |= DMA_RX_FLOW_ENABLE; in set_flow_ctrl() 3228 hw->rx_cfg &= ~DMA_RX_FLOW_ENABLE; in set_flow_ctrl() 3234 if (rx_cfg != hw->rx_cfg) in set_flow_ctrl() 3235 writel(hw->rx_cfg, hw->io + KS_DMA_RX_CTRL); in set_flow_ctrl() 3793 hw->rx_cfg = (DMA_RX_BROADCAST | DMA_RX_UNICAST | in hw_setup() 3795 hw->rx_cfg |= KS884X_DMA_RX_MULTICAST; in hw_setup() 3798 hw->rx_cfg |= (DMA_RX_CSUM_TCP | DMA_RX_CSUM_IP); in hw_setup() [all …]
|
/drivers/net/ethernet/neterion/ |
D | s2io.c | 714 struct rx_ring_config *rx_cfg = &config->rx_cfg[i]; in init_shared_mem() local 717 if (rx_cfg->num_rxd % (rxd_count[nic->rxd_mode] + 1)) { in init_shared_mem() 723 size += rx_cfg->num_rxd; in init_shared_mem() 724 ring->block_count = rx_cfg->num_rxd / in init_shared_mem() 726 ring->pkt_cnt = rx_cfg->num_rxd - ring->block_count; in init_shared_mem() 734 struct rx_ring_config *rx_cfg = &config->rx_cfg[i]; in init_shared_mem() local 739 ring->rx_curr_get_info.ring_len = rx_cfg->num_rxd - 1; in init_shared_mem() 742 ring->rx_curr_put_info.ring_len = rx_cfg->num_rxd - 1; in init_shared_mem() 746 blk_cnt = rx_cfg->num_rxd / (rxd_count[nic->rxd_mode] + 1); in init_shared_mem() 807 struct rx_ring_config *rx_cfg = &config->rx_cfg[i]; in init_shared_mem() local [all …]
|
D | s2io.h | 449 struct rx_ring_config rx_cfg[MAX_RX_RINGS]; /*Per-Rx Ring config */ member
|
/drivers/hsi/ |
D | hsi.c | 74 cl->rx_cfg = info->rx_cfg; in hsi_new_client()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 1164 static void t3_gate_rx_traffic(struct cmac *mac, u32 *rx_cfg, in t3_gate_rx_traffic() argument 1171 *rx_cfg = t3_read_reg(mac->adapter, A_XGM_RX_CFG); in t3_gate_rx_traffic() 1186 static void t3_open_rx_traffic(struct cmac *mac, u32 rx_cfg, in t3_open_rx_traffic() argument 1192 rx_cfg); in t3_open_rx_traffic() 1217 u32 rx_cfg, rx_hash_high, rx_hash_low; in t3_link_changed() local 1221 t3_gate_rx_traffic(mac, &rx_cfg, &rx_hash_high, &rx_hash_low); in t3_link_changed() 1230 t3_open_rx_traffic(mac, rx_cfg, rx_hash_high, rx_hash_low); in t3_link_changed() 1270 u32 rx_cfg, rx_hash_high, rx_hash_low; in t3_link_fault() local 1272 t3_gate_rx_traffic(mac, &rx_cfg, &rx_hash_high, &rx_hash_low); in t3_link_fault() 1280 t3_open_rx_traffic(mac, rx_cfg, rx_hash_high, rx_hash_low); in t3_link_fault()
|
/drivers/usb/gadget/ |
D | bcm63xx_udc.c | 453 const struct iudma_ch_cfg *rx_cfg = &iudma_defaults[i]; in bcm63xx_fifo_setup() local 459 ((rx_fifo_slot + rx_cfg->n_fifo_slots - 1) << in bcm63xx_fifo_setup() 461 rx_fifo_slot += rx_cfg->n_fifo_slots; in bcm63xx_fifo_setup() 464 is_hs ? rx_cfg->max_pkt_hs : rx_cfg->max_pkt_fs, in bcm63xx_fifo_setup()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 392 u32 tx_cfg, rx_cfg; in serdes_init_niu_10g_fiber() local 396 rx_cfg = (PLL_RX_CFG_ENRX | PLL_RX_CFG_TERM_0P8VDDT | in serdes_init_niu_10g_fiber() 407 rx_cfg |= PLL_RX_CFG_ENTEST; in serdes_init_niu_10g_fiber() 418 int err = esr2_set_rx_cfg(np, i, rx_cfg); in serdes_init_niu_10g_fiber() 432 u32 tx_cfg, rx_cfg; in serdes_init_niu_1g_serdes() local 438 rx_cfg = (PLL_RX_CFG_ENRX | PLL_RX_CFG_TERM_0P8VDDT | in serdes_init_niu_1g_serdes() 443 rx_cfg |= PLL_RX_CFG_EQ_LP_ADAPTIVE; in serdes_init_niu_1g_serdes() 452 rx_cfg |= PLL_RX_CFG_ENTEST; in serdes_init_niu_1g_serdes() 486 err = esr2_set_rx_cfg(np, i, rx_cfg); in serdes_init_niu_1g_serdes() 526 u32 tx_cfg, rx_cfg, pll_cfg, pll_sts; in serdes_init_niu_10g_serdes() local [all …]
|