/drivers/media/i2c/ |
D | max2175.c | 282 struct v4l2_ctrl *rx_mode; /* Receive mode */ member 741 static void max2175_set_eu_rx_mode(struct max2175 *ctx, u32 rx_mode) in max2175_set_eu_rx_mode() argument 743 switch (rx_mode) { in max2175_set_eu_rx_mode() 757 static void max2175_set_na_rx_mode(struct max2175 *ctx, u32 rx_mode) in max2175_set_na_rx_mode() argument 759 switch (rx_mode) { in max2175_set_na_rx_mode() 779 static int max2175_set_rx_mode(struct max2175 *ctx, u32 rx_mode) in max2175_set_rx_mode() argument 781 mxm_dbg(ctx, "set_rx_mode: %u am_hiz %u\n", rx_mode, ctx->am_hiz); in max2175_set_rx_mode() 783 max2175_set_eu_rx_mode(ctx, rx_mode); in max2175_set_rx_mode() 785 max2175_set_na_rx_mode(ctx, rx_mode); in max2175_set_rx_mode() 815 for (i = 0; i <= ctx->rx_mode->maximum; i++) { in max2175_rx_mode_from_freq() [all …]
|
/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_mtl.c | 212 int rx_mode) in sxgbe_set_rx_mtl_mode() argument 218 if (rx_mode == SXGBE_RX_MTL_SFMODE) { in sxgbe_set_rx_mtl_mode() 221 if (rx_mode <= 64) in sxgbe_set_rx_mtl_mode() 223 else if (rx_mode <= 96) in sxgbe_set_rx_mtl_mode() 225 else if (rx_mode <= 128) in sxgbe_set_rx_mtl_mode()
|
D | sxgbe_mtl.h | 81 int rx_mode);
|
/drivers/net/ethernet/cirrus/ |
D | mac89x0.c | 115 int rx_mode; member 350 lp->rx_mode = 0; in net_open() 569 lp->rx_mode = RX_ALL_ACCEPT; in set_multicast_list() 573 lp->rx_mode = RX_MULTCAST_ACCEPT; in set_multicast_list() 576 lp->rx_mode = 0; in set_multicast_list() 578 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT | lp->rx_mode); in set_multicast_list() 582 (lp->rx_mode == RX_ALL_ACCEPT? (RX_CRC_ERROR_ENBL|RX_RUNT_ENBL|RX_EXTRA_DATA_ENBL) : 0)); in set_multicast_list()
|
D | cs89x0.c | 144 int rx_mode; /* what mode are we in? 0, RX_MULTCAST_ACCEPT, or RX_ALL_ACCEPT */ member 1043 lp->rx_mode = 0; in net_open() 1201 lp->rx_mode = RX_ALL_ACCEPT; in set_multicast_list() 1206 lp->rx_mode = RX_MULTCAST_ACCEPT; in set_multicast_list() 1208 lp->rx_mode = 0; in set_multicast_list() 1210 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT | lp->rx_mode); in set_multicast_list() 1216 if (lp->rx_mode == RX_ALL_ACCEPT) in set_multicast_list()
|
/drivers/media/rc/ |
D | st_rc.c | 230 const char *rx_mode; in st_rc_probe() local 242 if (np && !of_property_read_string(np, "rx-mode", &rx_mode)) { in st_rc_probe() 244 if (!strcmp(rx_mode, "uhf")) { in st_rc_probe() 246 } else if (!strcmp(rx_mode, "infrared")) { in st_rc_probe() 249 dev_err(dev, "Unsupported rx mode [%s]\n", rx_mode); in st_rc_probe()
|
/drivers/staging/vt6656/ |
D | main_usb.c | 781 u8 rx_mode = 0; in vnt_configure() local 787 MESSAGE_REQUEST_MACREG, sizeof(u8), &rx_mode); in vnt_configure() 790 rx_mode = RCR_MULTICAST | RCR_BROADCAST; in vnt_configure() 792 dev_dbg(&priv->usb->dev, "rx mode in = %x\n", rx_mode); in vnt_configure() 801 rx_mode |= RCR_MULTICAST | RCR_BROADCAST; in vnt_configure() 803 rx_mode &= ~(RCR_MULTICAST | RCR_BROADCAST); in vnt_configure() 809 rx_mode &= ~RCR_BSSID; in vnt_configure() 811 rx_mode |= RCR_BSSID; in vnt_configure() 814 vnt_control_out_u8(priv, MESSAGE_REQUEST_MACREG, MAC_REG_RCR, rx_mode); in vnt_configure() 816 dev_dbg(&priv->usb->dev, "rx mode out= %x\n", rx_mode); in vnt_configure()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | pm3393.c | 348 u32 rx_mode; in pm3393_set_rx_mode() local 354 pmread(cmac, SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_2, &rx_mode); in pm3393_set_rx_mode() 355 rx_mode &= ~(SUNI1x10GEXP_BITMSK_RXXG_PMODE | in pm3393_set_rx_mode() 358 (u16)rx_mode); in pm3393_set_rx_mode() 362 rx_mode |= SUNI1x10GEXP_BITMSK_RXXG_PMODE; in pm3393_set_rx_mode() 370 rx_mode |= SUNI1x10GEXP_BITMSK_RXXG_MHASH_EN; in pm3393_set_rx_mode() 386 rx_mode |= SUNI1x10GEXP_BITMSK_RXXG_MHASH_EN; in pm3393_set_rx_mode() 389 pmwrite(cmac, SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_2, (u16)rx_mode); in pm3393_set_rx_mode()
|
/drivers/media/dvb-core/ |
D | dvb_net.c | 104 int rx_mode; member 629 if (h->priv->rx_mode == RX_MODE_PROMISC) in dvb_net_ule_should_drop() 636 if (h->priv->rx_mode == RX_MODE_MULTI) { in dvb_net_ule_should_drop() 646 } else if (h->priv->rx_mode != RX_MODE_ALL_MULTI) in dvb_net_ule_should_drop() 1075 netdev_dbg(dev, "rx_mode %i\n", priv->rx_mode); 1103 if (priv->rx_mode != RX_MODE_PROMISC) { 1108 switch (priv->rx_mode) { 1241 priv->rx_mode = RX_MODE_UNI; 1246 priv->rx_mode = RX_MODE_PROMISC; 1249 priv->rx_mode = RX_MODE_ALL_MULTI; [all …]
|
/drivers/net/fddi/skfp/ |
D | fplustm.c | 539 SETMASK(FM_A(FM_MDREG1),smc->hw.fp.rx_mode,FM_ADDRX) ; in formac_rcv_restart() 851 smc->hw.fp.rx_mode, FM_MMODE | FM_SELRA | FM_ADDRX) ; in formac_online() 860 smc->hw.fp.rx_mode = FM_MDAMA ; in init_fplus() 936 outpw(FM_A(FM_MDREG1),MDR1INIT | FM_SELRA | smc->hw.fp.rx_mode) ; in init_mac() 1293 smc->hw.fp.rx_mode = (smc->hw.fp.rx_mode & ~FM_ADDET) | in mac_set_rx_mode() 1298 smc->hw.fp.rx_mode = (smc->hw.fp.rx_mode & ~FM_ADDET) | in mac_set_rx_mode() 1303 smc->hw.fp.rx_mode = FM_MLIMPROM ; in mac_set_rx_mode() 1306 smc->hw.fp.rx_mode = smc->hw.fp.nsa_mode | FM_EXGPA0 ; in mac_set_rx_mode() 1309 smc->hw.fp.rx_mode = smc->hw.fp.nsa_mode ; in mac_set_rx_mode() 1310 SETMASK(FM_A(FM_MDREG1),smc->hw.fp.rx_mode,FM_ADDRX) ; in mac_set_rx_mode()
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_port.h | 112 u32 rx_mode; member 184 int hinic_port_set_rx_mode(struct hinic_dev *nic_dev, u32 rx_mode);
|
D | hinic_port.c | 233 int hinic_port_set_rx_mode(struct hinic_dev *nic_dev, u32 rx_mode) in hinic_port_set_rx_mode() argument 239 rx_mode_cmd.rx_mode = rx_mode; in hinic_port_set_rx_mode()
|
D | hinic_main.c | 728 hinic_port_set_rx_mode(nic_dev, rx_mode_work->rx_mode); in set_rx_mode() 741 u32 rx_mode; in hinic_set_rx_mode() local 745 rx_mode = HINIC_RX_MODE_UC | in hinic_set_rx_mode() 750 rx_mode |= HINIC_RX_MODE_PROMISC; in hinic_set_rx_mode() 752 rx_mode |= HINIC_RX_MODE_MC_ALL; in hinic_set_rx_mode() 754 rx_mode_work->rx_mode = rx_mode; in hinic_set_rx_mode()
|
D | hinic_dev.h | 38 u32 rx_mode; member
|
/drivers/usb/musb/ |
D | musb_dsps.c | 72 u16 rx_mode; member 111 u32 rx_mode; member 979 .rx_mode = 0x74, 1034 glue->context.rx_mode = musb_readl(mbase, wrp->rx_mode); in dsps_suspend() 1060 musb_writel(mbase, wrp->rx_mode, glue->context.rx_mode); in dsps_resume()
|
/drivers/staging/vt6655/ |
D | device_main.c | 1426 u8 rx_mode = 0; in vnt_configure() local 1430 VNSvInPortB(priv->PortOffset + MAC_REG_RCR, &rx_mode); in vnt_configure() 1432 dev_dbg(&priv->pcid->dev, "rx mode in = %x\n", rx_mode); in vnt_configure() 1463 rx_mode |= RCR_MULTICAST | RCR_BROADCAST; in vnt_configure() 1465 rx_mode &= ~(RCR_MULTICAST | RCR_BROADCAST); in vnt_configure() 1470 rx_mode |= RCR_MULTICAST | RCR_BROADCAST; in vnt_configure() 1473 rx_mode &= ~RCR_BSSID; in vnt_configure() 1475 rx_mode |= RCR_BSSID; in vnt_configure() 1478 VNSvOutPortB(priv->PortOffset + MAC_REG_RCR, rx_mode); in vnt_configure() 1480 dev_dbg(&priv->pcid->dev, "rx mode out= %x\n", rx_mode); in vnt_configure()
|
/drivers/staging/rtlwifi/phydm/ |
D | phydm_adaptivity.c | 312 enum phydm_trx_mux_type rx_mode) in phydm_set_trx_mux() argument 322 BIT(22) | BIT(21) | BIT(20), rx_mode); in phydm_set_trx_mux() 329 BIT(22) | BIT(21) | BIT(20), rx_mode); in phydm_set_trx_mux() 337 BIT(7) | BIT(6) | BIT(5) | BIT(4), rx_mode); in phydm_set_trx_mux() 346 rx_mode); in phydm_set_trx_mux()
|
D | phydm_adaptivity.h | 100 enum phydm_trx_mux_type rx_mode);
|
/drivers/net/ethernet/realtek/ |
D | 8139too.c | 912 int rx_mode = tp->rx_config; in rtl8139_set_features() local 914 rx_mode |= (AcceptErr | AcceptRunt); in rtl8139_set_features() 916 rx_mode &= ~(AcceptErr | AcceptRunt); in rtl8139_set_features() 917 tp->rx_config = rtl8139_rx_config | rx_mode; in rtl8139_set_features() 2555 int rx_mode; in __set_rx_mode() local 2563 rx_mode = in __set_rx_mode() 2570 rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys; in __set_rx_mode() 2574 rx_mode = AcceptBroadcast | AcceptMyPhys; in __set_rx_mode() 2580 rx_mode |= AcceptMulticast; in __set_rx_mode() 2585 rx_mode |= (AcceptErr | AcceptRunt); in __set_rx_mode() [all …]
|
/drivers/net/ethernet/nuvoton/ |
D | w90p910_ether.c | 839 unsigned int rx_mode; in w90p910_ether_set_multicast_list() local 844 rx_mode = CAMCMR_AUP | CAMCMR_AMP | CAMCMR_ABP | CAMCMR_ECMP; in w90p910_ether_set_multicast_list() 846 rx_mode = CAMCMR_AMP | CAMCMR_ABP | CAMCMR_ECMP; in w90p910_ether_set_multicast_list() 848 rx_mode = CAMCMR_ECMP | CAMCMR_ABP; in w90p910_ether_set_multicast_list() 849 __raw_writel(rx_mode, ether->reg + REG_CAMCMR); in w90p910_ether_set_multicast_list()
|
/drivers/net/ethernet/dec/tulip/ |
D | winbond-840.c | 1347 u32 rx_mode; in __set_rx_mode() local 1351 rx_mode = RxAcceptBroadcast | AcceptMulticast | RxAcceptAllPhys in __set_rx_mode() 1357 rx_mode = RxAcceptBroadcast | AcceptMulticast | AcceptMyPhys; in __set_rx_mode() 1369 rx_mode = RxAcceptBroadcast | AcceptMulticast | AcceptMyPhys; in __set_rx_mode() 1373 return rx_mode; in __set_rx_mode() 1379 u32 rx_mode = __set_rx_mode(dev); in set_rx_mode() local 1381 update_csr6(dev, (np->csr6 & ~0x00F8) | rx_mode); in set_rx_mode()
|
/drivers/tty/serial/ |
D | samsung.h | 88 unsigned int rx_mode; member
|
/drivers/net/ethernet/dlink/ |
D | dl2k.c | 1204 u16 rx_mode = 0; in set_multicast() local 1211 rx_mode = ReceiveAllFrames; in set_multicast() 1215 rx_mode = ReceiveBroadcast | ReceiveMulticast | ReceiveUnicast; in set_multicast() 1220 rx_mode = in set_multicast() 1233 rx_mode = ReceiveBroadcast | ReceiveUnicast; in set_multicast() 1237 rx_mode |= ReceiveVLANMatch; in set_multicast() 1242 dw16(ReceiveMode, rx_mode); in set_multicast()
|
/drivers/staging/greybus/ |
D | svc.h | 87 u8 rx_mode, u8 rx_gear, u8 rx_nlanes,
|
/drivers/net/ethernet/adaptec/ |
D | starfire.c | 1783 u32 rx_mode = MinVLANPrio; in set_rx_mode() local 1788 rx_mode |= set_vlan_mode(np); in set_rx_mode() 1792 rx_mode |= AcceptAll; in set_rx_mode() 1796 rx_mode |= AcceptBroadcast|AcceptAllMulticast|PerfectFilter; in set_rx_mode() 1814 rx_mode |= AcceptBroadcast|PerfectFilter; in set_rx_mode() 1840 rx_mode |= AcceptBroadcast|PerfectFilter|HashFilter; in set_rx_mode() 1842 writel(rx_mode, ioaddr + RxFilterMode); in set_rx_mode()
|