[go: nahoru, domu]

Searched refs:rx_mode (Results 1 - 25 of 35) sorted by last modified time

12

/drivers/usb/musb/
H A Dmusb_cppi41.c54 u32 rx_mode; member in struct:cppi41_dma_controller
323 old_mode = controller->rx_mode;
334 controller->rx_mode = new_mode;
H A Dmusb_dsps.c96 u16 rx_mode; member in struct:dsps_musb_wrapper
135 u32 rx_mode; member in struct:dsps_context
840 .rx_mode = 0x74,
886 glue->context.rx_mode = dsps_readl(mbase, wrp->rx_mode);
908 dsps_writel(mbase, wrp->rx_mode, glue->context.rx_mode);
/drivers/staging/vt6656/
H A Dmain_usb.c790 u8 rx_mode = 0; local
797 MESSAGE_REQUEST_MACREG, sizeof(u8), &rx_mode);
800 rx_mode = RCR_MULTICAST | RCR_BROADCAST;
802 dev_dbg(&priv->usb->dev, "rx mode in = %x\n", rx_mode);
807 rx_mode |= RCR_UNICAST;
809 rx_mode &= ~RCR_UNICAST;
819 rx_mode |= RCR_MULTICAST | RCR_BROADCAST;
821 rx_mode &= ~(RCR_MULTICAST | RCR_BROADCAST);
828 rx_mode &= ~RCR_BSSID;
830 rx_mode |
[all...]
/drivers/net/ethernet/adaptec/
H A Dstarfire.c1743 u32 rx_mode = MinVLANPrio; local
1748 rx_mode |= set_vlan_mode(np);
1752 rx_mode |= AcceptAll;
1756 rx_mode |= AcceptBroadcast|AcceptAllMulticast|PerfectFilter;
1774 rx_mode |= AcceptBroadcast|PerfectFilter;
1800 rx_mode |= AcceptBroadcast|PerfectFilter|HashFilter;
1802 writel(rx_mode, ioaddr + RxFilterMode);
/drivers/net/ethernet/broadcom/
H A Dbnx2.c1346 bp->rx_mode &= ~BNX2_EMAC_RX_MODE_FLOW_EN;
1349 bp->rx_mode |= BNX2_EMAC_RX_MODE_FLOW_EN;
1350 BNX2_WR(bp, BNX2_EMAC_RX_MODE, bp->rx_mode);
3234 !(bp->rx_mode & BNX2_EMAC_RX_MODE_KEEP_VLAN_TAG))
3567 u32 rx_mode, sort_mode; local
3576 rx_mode = bp->rx_mode & ~(BNX2_EMAC_RX_MODE_PROMISCUOUS |
3581 rx_mode |= BNX2_EMAC_RX_MODE_KEEP_VLAN_TAG;
3584 rx_mode |= BNX2_EMAC_RX_MODE_PROMISCUOUS;
3621 rx_mode |
[all...]
H A Dbnx2.h6940 u32 rx_mode; member in struct:bnx2
H A Dtg3.c1967 u32 old_rx_mode = tp->rx_mode;
1986 tp->rx_mode |= RX_MODE_FLOW_CTRL_ENABLE;
1988 tp->rx_mode &= ~RX_MODE_FLOW_CTRL_ENABLE;
1990 if (old_rx_mode != tp->rx_mode)
1991 tw32_f(MAC_RX_MODE, tp->rx_mode);
6928 !(tp->rx_mode & RX_MODE_KEEP_VLAN_TAG))
8227 tw32_f(MAC_RX_MODE, tp->rx_mode);
8845 tp->rx_mode &= ~(RX_MODE_ENABLE | TX_MODE_ENABLE);
8851 tp->rx_mode &= ~RX_MODE_ENABLE;
8852 tw32_f(MAC_RX_MODE, tp->rx_mode);
9690 u32 rx_mode; local
[all...]
H A Dtg3.h3233 u32 rx_mode; member in struct:tg3
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x.h1707 u32 rx_mode; member in struct:bnx2x
H A Dbnx2x_cmn.c2993 bp->rx_mode = BNX2X_RX_MODE_NONE;
H A Dbnx2x_main.c5295 /* Send rx_mode command again if was requested */
5597 DP(BNX2X_MSG_SP, "got rx_mode ramrod\n");
6133 BNX2X_ERR("Set rx_mode %d failed\n", bp->rx_mode);
6140 static int bnx2x_fill_accept_flags(struct bnx2x *bp, u32 rx_mode, argument
6148 switch (rx_mode) {
6198 BNX2X_ERR("Unknown rx_mode: %d\n", rx_mode);
6203 if (rx_mode != BNX2X_RX_MODE_NONE) {
6219 /* Configure rx_mode o
12391 u32 rx_mode = BNX2X_RX_MODE_NORMAL; local
[all...]
H A Dbnx2x_vfpf.c890 int mode = bp->rx_mode;
/drivers/net/ethernet/chelsio/cxgb/
H A Dpm3393.c354 u32 rx_mode; local
360 pmread(cmac, SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_2, &rx_mode);
361 rx_mode &= ~(SUNI1x10GEXP_BITMSK_RXXG_PMODE |
364 (u16)rx_mode);
368 rx_mode |= SUNI1x10GEXP_BITMSK_RXXG_PMODE;
376 rx_mode |= SUNI1x10GEXP_BITMSK_RXXG_MHASH_EN;
392 rx_mode |= SUNI1x10GEXP_BITMSK_RXXG_MHASH_EN;
395 pmwrite(cmac, SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_2, (u16)rx_mode);
/drivers/net/ethernet/cirrus/
H A Dcs89x0.c141 int rx_mode; /* what mode are we in? 0, RX_MULTCAST_ACCEPT, or RX_ALL_ACCEPT */ member in struct:net_local
1041 lp->rx_mode = 0;
1199 lp->rx_mode = RX_ALL_ACCEPT;
1204 lp->rx_mode = RX_MULTCAST_ACCEPT;
1206 lp->rx_mode = 0;
1208 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT | lp->rx_mode);
1214 if (lp->rx_mode == RX_ALL_ACCEPT)
H A Dmac89x0.c115 int rx_mode; member in struct:net_local
355 lp->rx_mode = 0;
574 lp->rx_mode = RX_ALL_ACCEPT;
578 lp->rx_mode = RX_MULTCAST_ACCEPT;
581 lp->rx_mode = 0;
583 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT | lp->rx_mode);
587 (lp->rx_mode == RX_ALL_ACCEPT? (RX_CRC_ERROR_ENBL|RX_RUNT_ENBL|RX_EXTRA_DATA_ENBL) : 0));
/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c1348 u32 rx_mode; local
1352 rx_mode = RxAcceptBroadcast | AcceptMulticast | RxAcceptAllPhys
1358 rx_mode = RxAcceptBroadcast | AcceptMulticast | AcceptMyPhys;
1370 rx_mode = RxAcceptBroadcast | AcceptMulticast | AcceptMyPhys;
1374 return rx_mode;
1380 u32 rx_mode = __set_rx_mode(dev); local
1382 update_csr6(dev, (np->csr6 & ~0x00F8) | rx_mode);
/drivers/net/ethernet/dlink/
H A Ddl2k.c1112 u16 rx_mode = 0; local
1119 rx_mode = ReceiveAllFrames;
1123 rx_mode = ReceiveBroadcast | ReceiveMulticast | ReceiveUnicast;
1128 rx_mode =
1141 rx_mode = ReceiveBroadcast | ReceiveUnicast;
1145 rx_mode |= ReceiveVLANMatch;
1150 dw16(ReceiveMode, rx_mode);
H A Dsundance.c1572 u32 rx_mode; local
1577 rx_mode = AcceptBroadcast | AcceptMulticast | AcceptAll | AcceptMyPhys;
1582 rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys;
1595 rx_mode = AcceptBroadcast | AcceptMultiHash | AcceptMyPhys;
1605 iowrite8(rx_mode, ioaddr + RxMode);
/drivers/net/ethernet/
H A Dfealnx.c1781 u32 rx_mode; local
1785 rx_mode = CR_W_PROM | CR_W_AB | CR_W_AM;
1790 rx_mode = CR_W_AB | CR_W_AM;
1800 rx_mode = CR_W_AB | CR_W_AM;
1808 np->crvalue |= rx_mode;
/drivers/net/ethernet/natsemi/
H A Dnatsemi.c2485 u32 rx_mode; local
2488 rx_mode = RxFilterEnable | AcceptBroadcast
2492 rx_mode = RxFilterEnable | AcceptBroadcast
2503 rx_mode = RxFilterEnable | AcceptBroadcast
2511 writel(rx_mode, ioaddr + RxFilterAddr);
2512 np->cur_rx_mode = rx_mode;
/drivers/net/ethernet/nuvoton/
H A Dw90p910_ether.c848 unsigned int rx_mode; local
853 rx_mode = CAMCMR_AUP | CAMCMR_AMP | CAMCMR_ABP | CAMCMR_ECMP;
855 rx_mode = CAMCMR_AMP | CAMCMR_ABP | CAMCMR_ECMP;
857 rx_mode = CAMCMR_ECMP | CAMCMR_ABP;
858 __raw_writel(rx_mode, ether->reg + REG_CAMCMR);
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c881 u32 rx_mode, tcpip; local
883 rx_mode = PCH_GBE_ADD_FIL_EN | PCH_GBE_MLT_FIL_EN |
886 iowrite32(rx_mode, &hw->reg->RX_MODE);
/drivers/net/ethernet/realtek/
H A D8139cp.c904 int rx_mode; local
909 rx_mode =
916 rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys;
920 rx_mode = AcceptBroadcast | AcceptMyPhys;
926 rx_mode |= AcceptMulticast;
931 cp->rx_config = cp_rx_config | rx_mode;
H A D8139too.c909 int rx_mode = tp->rx_config; local
911 rx_mode |= (AcceptErr | AcceptRunt);
913 rx_mode &= ~(AcceptErr | AcceptRunt);
914 tp->rx_config = rtl8139_rx_config | rx_mode;
2547 int rx_mode; local
2555 rx_mode =
2562 rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys;
2566 rx_mode = AcceptBroadcast | AcceptMyPhys;
2572 rx_mode |= AcceptMulticast;
2577 rx_mode |
[all...]
H A Dr8169.c5251 int rx_mode; local
5257 rx_mode =
5264 rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys;
5269 rx_mode = AcceptBroadcast | AcceptMyPhys;
5274 rx_mode |= AcceptMulticast;
5279 rx_mode |= (AcceptErr | AcceptRunt);
5281 tmp = (RTL_R32(RxConfig) & ~RX_CONFIG_ACCEPT_MASK) | rx_mode;

Completed in 402 milliseconds

12