Home
last modified time | relevance | path

Searched refs:rx_cfg (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/net/
Dbmac.c903 unsigned short rx_cfg; in bmac_rx_off() local
905 rx_cfg = bmread(dev, RXCFG); in bmac_rx_off()
906 rx_cfg &= ~RxMACEnable; in bmac_rx_off()
907 bmwrite(dev, RXCFG, rx_cfg); in bmac_rx_off()
909 rx_cfg = bmread(dev, RXCFG); in bmac_rx_off()
910 } while (rx_cfg & RxMACEnable); in bmac_rx_off()
916 unsigned short rx_cfg; in bmac_rx_on() local
918 rx_cfg = bmread(dev, RXCFG); in bmac_rx_on()
919 rx_cfg |= RxMACEnable; in bmac_rx_on()
920 if (hash_enable) rx_cfg |= RxHashFilterEnable; in bmac_rx_on()
[all …]
Dksz884x.c1283 u32 rx_cfg; member
3221 u32 rx_cfg; in set_flow_ctrl() local
3224 rx_cfg = hw->rx_cfg; in set_flow_ctrl()
3227 hw->rx_cfg |= DMA_RX_FLOW_ENABLE; in set_flow_ctrl()
3229 hw->rx_cfg &= ~DMA_RX_FLOW_ENABLE; in set_flow_ctrl()
3235 if (rx_cfg != hw->rx_cfg) in set_flow_ctrl()
3236 writel(hw->rx_cfg, hw->io + KS_DMA_RX_CTRL); in set_flow_ctrl()
3795 hw->rx_cfg = (DMA_RX_BROADCAST | DMA_RX_UNICAST | in hw_setup()
3797 hw->rx_cfg |= KS884X_DMA_RX_MULTICAST; in hw_setup()
3800 hw->rx_cfg |= (DMA_RX_CSUM_TCP | DMA_RX_CSUM_IP); in hw_setup()
[all …]
Ds2io.c763 struct rx_ring_config *rx_cfg = &config->rx_cfg[i]; in init_shared_mem() local
766 if (rx_cfg->num_rxd % (rxd_count[nic->rxd_mode] + 1)) { in init_shared_mem()
772 size += rx_cfg->num_rxd; in init_shared_mem()
773 ring->block_count = rx_cfg->num_rxd / in init_shared_mem()
775 ring->pkt_cnt = rx_cfg->num_rxd - ring->block_count; in init_shared_mem()
783 struct rx_ring_config *rx_cfg = &config->rx_cfg[i]; in init_shared_mem() local
788 ring->rx_curr_get_info.ring_len = rx_cfg->num_rxd - 1; in init_shared_mem()
791 ring->rx_curr_put_info.ring_len = rx_cfg->num_rxd - 1; in init_shared_mem()
795 blk_cnt = rx_cfg->num_rxd / (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
856 struct rx_ring_config *rx_cfg = &config->rx_cfg[i]; in init_shared_mem() local
[all …]
Dniu.c390 u32 tx_cfg, rx_cfg; in serdes_init_niu_10g_fiber() local
394 rx_cfg = (PLL_RX_CFG_ENRX | PLL_RX_CFG_TERM_0P8VDDT | in serdes_init_niu_10g_fiber()
405 rx_cfg |= PLL_RX_CFG_ENTEST; in serdes_init_niu_10g_fiber()
416 int err = esr2_set_rx_cfg(np, i, rx_cfg); in serdes_init_niu_10g_fiber()
430 u32 tx_cfg, rx_cfg; in serdes_init_niu_1g_serdes() local
436 rx_cfg = (PLL_RX_CFG_ENRX | PLL_RX_CFG_TERM_0P8VDDT | in serdes_init_niu_1g_serdes()
441 rx_cfg |= PLL_RX_CFG_EQ_LP_ADAPTIVE; in serdes_init_niu_1g_serdes()
450 rx_cfg |= PLL_RX_CFG_ENTEST; in serdes_init_niu_1g_serdes()
484 err = esr2_set_rx_cfg(np, i, rx_cfg); in serdes_init_niu_1g_serdes()
524 u32 tx_cfg, rx_cfg, pll_cfg, pll_sts; in serdes_init_niu_10g_serdes() local
[all …]
Ds2io.h449 struct rx_ring_config rx_cfg[MAX_RX_RINGS]; /*Per-Rx Ring config */ member
/linux-2.6.39/arch/arm/mach-ux500/
Ddevices-db5500.h37 #define db5500_add_usb(rx_cfg, tx_cfg) \ argument
38 ux500_add_usb(U5500_USBOTG_BASE, IRQ_DB5500_USBOTG, rx_cfg, tx_cfg)
Ddevices-db8500.h64 #define db8500_add_usb(rx_cfg, tx_cfg) \ argument
65 ux500_add_usb(U8500_USBOTG_BASE, IRQ_DB8500_USBOTG, rx_cfg, tx_cfg)
/linux-2.6.39/drivers/net/bna/
Dbna_txrx.c2253 struct bna_rx_config *rx_cfg) in _rx_can_satisfy() argument
2260 if (rx_cfg->rxp_type == BNA_RXP_SINGLE) { in _rx_can_satisfy()
2261 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in _rx_can_satisfy()
2262 (rx_mod->rxq_free_count < rx_cfg->num_paths)) in _rx_can_satisfy()
2265 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in _rx_can_satisfy()
2266 (rx_mod->rxq_free_count < (2 * rx_cfg->num_paths))) in _rx_can_satisfy()
2270 if (!bna_rit_mod_can_satisfy(&rx_mod->bna->rit_mod, rx_cfg->num_paths)) in _rx_can_satisfy()
2809 struct bna_rx_config *rx_cfg, in bna_rx_create() argument
2837 if (!_rx_can_satisfy(rx_mod, rx_cfg)) in bna_rx_create()
2857 rx_cfg->num_paths; in bna_rx_create()
[all …]
Dbna.h492 struct bna_rx_config *rx_cfg,
/linux-2.6.39/drivers/net/cxgb3/
Dt3_hw.c1164 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()