Home
last modified time | relevance | path

Searched refs:rx_mode (Results 1 – 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/media/i2c/
Dmax2175.c274 struct v4l2_ctrl *rx_mode; /* Receive mode */ member
733 static void max2175_set_eu_rx_mode(struct max2175 *ctx, u32 rx_mode) in max2175_set_eu_rx_mode() argument
735 switch (rx_mode) { in max2175_set_eu_rx_mode()
749 static void max2175_set_na_rx_mode(struct max2175 *ctx, u32 rx_mode) in max2175_set_na_rx_mode() argument
751 switch (rx_mode) { in max2175_set_na_rx_mode()
771 static int max2175_set_rx_mode(struct max2175 *ctx, u32 rx_mode) in max2175_set_rx_mode() argument
773 mxm_dbg(ctx, "set_rx_mode: %u am_hiz %u\n", rx_mode, ctx->am_hiz); in max2175_set_rx_mode()
775 max2175_set_eu_rx_mode(ctx, rx_mode); in max2175_set_rx_mode()
777 max2175_set_na_rx_mode(ctx, rx_mode); in max2175_set_rx_mode()
807 for (i = 0; i <= ctx->rx_mode->maximum; i++) { in max2175_rx_mode_from_freq()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_mtl.c209 int rx_mode) in sxgbe_set_rx_mtl_mode() argument
215 if (rx_mode == SXGBE_RX_MTL_SFMODE) { in sxgbe_set_rx_mtl_mode()
218 if (rx_mode <= 64) in sxgbe_set_rx_mtl_mode()
220 else if (rx_mode <= 96) in sxgbe_set_rx_mtl_mode()
222 else if (rx_mode <= 128) in sxgbe_set_rx_mtl_mode()
Dsxgbe_mtl.h78 int rx_mode);
/kernel/linux/linux-5.10/drivers/net/ethernet/cirrus/
Dmac89x0.c109 int rx_mode; member
308 lp->rx_mode = 0; in net_open()
519 lp->rx_mode = RX_ALL_ACCEPT; in set_multicast_list()
523 lp->rx_mode = RX_MULTCAST_ACCEPT; in set_multicast_list()
526 lp->rx_mode = 0; in set_multicast_list()
528 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT | lp->rx_mode); in set_multicast_list()
532 (lp->rx_mode == RX_ALL_ACCEPT? (RX_CRC_ERROR_ENBL|RX_RUNT_ENBL|RX_EXTRA_DATA_ENBL) : 0)); in set_multicast_list()
Dcs89x0.c144 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()
/kernel/linux/linux-5.10/drivers/media/rc/
Dst_rc.c229 const char *rx_mode; in st_rc_probe() local
241 if (np && !of_property_read_string(np, "rx-mode", &rx_mode)) { in st_rc_probe()
243 if (!strcmp(rx_mode, "uhf")) { in st_rc_probe()
245 } else if (!strcmp(rx_mode, "infrared")) { in st_rc_probe()
248 dev_err(dev, "Unsupported rx mode [%s]\n", rx_mode); in st_rc_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c348 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()
/kernel/linux/linux-5.10/drivers/staging/vt6656/
Dmain_usb.c868 u8 rx_mode = 0; in vnt_configure() local
873 MESSAGE_REQUEST_MACREG, sizeof(u8), &rx_mode); in vnt_configure()
875 dev_dbg(&priv->usb->dev, "rx mode in = %x\n", rx_mode); in vnt_configure()
884 rx_mode |= RCR_MULTICAST | RCR_BROADCAST; in vnt_configure()
886 rx_mode &= ~(RCR_MULTICAST | RCR_BROADCAST); in vnt_configure()
892 rx_mode &= ~RCR_BSSID; in vnt_configure()
894 rx_mode |= RCR_BSSID; in vnt_configure()
897 vnt_control_out_u8(priv, MESSAGE_REQUEST_MACREG, MAC_REG_RCR, rx_mode); in vnt_configure()
899 dev_dbg(&priv->usb->dev, "rx mode out= %x\n", rx_mode); in vnt_configure()
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c31 static void ionic_lif_rx_mode(struct ionic_lif *lif, unsigned int rx_mode);
91 ionic_lif_rx_mode(lif, w->rx_mode); in ionic_lif_deferred_work()
1111 static void ionic_lif_rx_mode(struct ionic_lif *lif, unsigned int rx_mode) in ionic_lif_rx_mode() argument
1118 .rx_mode = cpu_to_le16(rx_mode), in ionic_lif_rx_mode()
1127 lif->rx_mode, rx_mode); in ionic_lif_rx_mode()
1128 if (rx_mode & IONIC_RX_MODE_F_UNICAST) in ionic_lif_rx_mode()
1130 if (rx_mode & IONIC_RX_MODE_F_MULTICAST) in ionic_lif_rx_mode()
1132 if (rx_mode & IONIC_RX_MODE_F_BROADCAST) in ionic_lif_rx_mode()
1134 if (rx_mode & IONIC_RX_MODE_F_PROMISC) in ionic_lif_rx_mode()
1136 if (rx_mode & IONIC_RX_MODE_F_ALLMULTI) in ionic_lif_rx_mode()
[all …]
Dionic_lif.h98 unsigned int rx_mode; member
181 unsigned int rx_mode; member
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvb_net.c97 int rx_mode; member
613 if (h->priv->rx_mode == RX_MODE_PROMISC) in dvb_net_ule_should_drop()
620 if (h->priv->rx_mode == RX_MODE_MULTI) { in dvb_net_ule_should_drop()
630 } else if (h->priv->rx_mode != RX_MODE_ALL_MULTI) in dvb_net_ule_should_drop()
1057 netdev_dbg(dev, "rx_mode %i\n", priv->rx_mode);
1085 if (priv->rx_mode != RX_MODE_PROMISC) {
1090 switch (priv->rx_mode) {
1223 priv->rx_mode = RX_MODE_UNI;
1228 priv->rx_mode = RX_MODE_PROMISC;
1231 priv->rx_mode = RX_MODE_ALL_MULTI;
[all …]
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
Dfplustm.c531 SETMASK(FM_A(FM_MDREG1),smc->hw.fp.rx_mode,FM_ADDRX) ; in formac_rcv_restart()
843 smc->hw.fp.rx_mode, FM_MMODE | FM_SELRA | FM_ADDRX) ; in formac_online()
852 smc->hw.fp.rx_mode = FM_MDAMA ; in init_fplus()
928 outpw(FM_A(FM_MDREG1),MDR1INIT | FM_SELRA | smc->hw.fp.rx_mode) ; in init_mac()
1285 smc->hw.fp.rx_mode = (smc->hw.fp.rx_mode & ~FM_ADDET) | in mac_set_rx_mode()
1290 smc->hw.fp.rx_mode = (smc->hw.fp.rx_mode & ~FM_ADDET) | in mac_set_rx_mode()
1295 smc->hw.fp.rx_mode = FM_MLIMPROM ; in mac_set_rx_mode()
1298 smc->hw.fp.rx_mode = smc->hw.fp.nsa_mode | FM_EXGPA0 ; in mac_set_rx_mode()
1301 smc->hw.fp.rx_mode = smc->hw.fp.nsa_mode ; in mac_set_rx_mode()
1302 SETMASK(FM_A(FM_MDREG1),smc->hw.fp.rx_mode,FM_ADDRX) ; in mac_set_rx_mode()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_dsps.c57 u16 rx_mode; member
96 u32 rx_mode; member
940 .rx_mode = 0x74,
995 glue->context.rx_mode = musb_readl(mbase, wrp->rx_mode); in dsps_suspend()
1021 musb_writel(mbase, wrp->rx_mode, glue->context.rx_mode); in dsps_resume()
Dmusb_cppi41.c42 u32 rx_mode; member
351 old_mode = controller->rx_mode; in cppi41_set_dma_mode()
361 controller->rx_mode = new_mode; in cppi41_set_dma_mode()
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Ddevice_main.c1511 u8 rx_mode = 0; in vnt_configure() local
1515 VNSvInPortB(priv->PortOffset + MAC_REG_RCR, &rx_mode); in vnt_configure()
1517 dev_dbg(&priv->pcid->dev, "rx mode in = %x\n", rx_mode); in vnt_configure()
1548 rx_mode |= RCR_MULTICAST | RCR_BROADCAST; in vnt_configure()
1550 rx_mode &= ~(RCR_MULTICAST | RCR_BROADCAST); in vnt_configure()
1555 rx_mode |= RCR_MULTICAST | RCR_BROADCAST; in vnt_configure()
1558 rx_mode &= ~RCR_BSSID; in vnt_configure()
1560 rx_mode |= RCR_BSSID; in vnt_configure()
1563 VNSvOutPortB(priv->PortOffset + MAC_REG_RCR, rx_mode); in vnt_configure()
1565 dev_dbg(&priv->pcid->dev, "rx mode out= %x\n", rx_mode); in vnt_configure()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_dev.h35 u32 rx_mode; member
Dhinic_main.c808 hinic_port_set_rx_mode(nic_dev, rx_mode_work->rx_mode); in set_rx_mode()
818 u32 rx_mode; in hinic_set_rx_mode() local
822 rx_mode = HINIC_RX_MODE_UC | in hinic_set_rx_mode()
828 rx_mode |= HINIC_RX_MODE_PROMISC; in hinic_set_rx_mode()
830 rx_mode |= HINIC_RX_MODE_MC_ALL; in hinic_set_rx_mode()
833 rx_mode_work->rx_mode = rx_mode; in hinic_set_rx_mode()
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/
D8139too.c913 int rx_mode = tp->rx_config; in rtl8139_set_features() local
915 rx_mode |= (AcceptErr | AcceptRunt); in rtl8139_set_features()
917 rx_mode &= ~(AcceptErr | AcceptRunt); in rtl8139_set_features()
918 tp->rx_config = rtl8139_rx_config | rx_mode; in rtl8139_set_features()
2554 int rx_mode; in __set_rx_mode() local
2562 rx_mode = in __set_rx_mode()
2569 rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys; in __set_rx_mode()
2573 rx_mode = AcceptBroadcast | AcceptMyPhys; in __set_rx_mode()
2579 rx_mode |= AcceptMulticast; in __set_rx_mode()
2584 rx_mode |= (AcceptErr | AcceptRunt); in __set_rx_mode()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Dwinbond-840.c1335 u32 rx_mode; in __set_rx_mode() local
1339 rx_mode = RxAcceptBroadcast | AcceptMulticast | RxAcceptAllPhys in __set_rx_mode()
1345 rx_mode = RxAcceptBroadcast | AcceptMulticast | AcceptMyPhys; in __set_rx_mode()
1357 rx_mode = RxAcceptBroadcast | AcceptMulticast | AcceptMyPhys; in __set_rx_mode()
1361 return rx_mode; in __set_rx_mode()
1367 u32 rx_mode = __set_rx_mode(dev); in set_rx_mode() local
1369 update_csr6(dev, (np->csr6 & ~0x00F8) | rx_mode); in set_rx_mode()
/kernel/linux/linux-5.10/include/linux/greybus/
Dsvc.h91 u8 rx_mode, u8 rx_gear, u8 rx_nlanes,
/kernel/linux/linux-5.10/drivers/net/ethernet/dlink/
Ddl2k.c1194 u16 rx_mode = 0; in set_multicast() local
1201 rx_mode = ReceiveAllFrames; in set_multicast()
1205 rx_mode = ReceiveBroadcast | ReceiveMulticast | ReceiveUnicast; in set_multicast()
1210 rx_mode = in set_multicast()
1223 rx_mode = ReceiveBroadcast | ReceiveUnicast; in set_multicast()
1227 rx_mode |= ReceiveVLANMatch; in set_multicast()
1232 dw16(ReceiveMode, rx_mode); in set_multicast()
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/
Dfplustm.h155 u_short rx_mode ; /* address mode broad/multi/promisc */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/adaptec/
Dstarfire.c1773 u32 rx_mode = MinVLANPrio; in set_rx_mode() local
1778 rx_mode |= set_vlan_mode(np); in set_rx_mode()
1782 rx_mode |= AcceptAll; in set_rx_mode()
1786 rx_mode |= AcceptBroadcast|AcceptAllMulticast|PerfectFilter; in set_rx_mode()
1804 rx_mode |= AcceptBroadcast|PerfectFilter; in set_rx_mode()
1830 rx_mode |= AcceptBroadcast|PerfectFilter|HashFilter; in set_rx_mode()
1832 writel(rx_mode, ioaddr + RxFilterMode); in set_rx_mode()
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/
Dsis190.c841 u16 rx_mode; in sis190_set_rx_mode() local
844 rx_mode = in sis190_set_rx_mode()
851 rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys; in sis190_set_rx_mode()
856 rx_mode = AcceptBroadcast | AcceptMyPhys; in sis190_set_rx_mode()
862 rx_mode |= AcceptMulticast; in sis190_set_rx_mode()
868 SIS_W16(RxMacControl, rx_mode | 0x2); in sis190_set_rx_mode()
/kernel/linux/linux-5.10/drivers/greybus/
Dsvc.c553 u8 rx_mode, u8 rx_gear, u8 rx_nlanes, in gb_svc_intf_set_power_mode() argument
572 request.rx_mode = rx_mode; in gb_svc_intf_set_power_mode()
610 request.rx_mode = GB_SVC_UNIPRO_HIBERNATE_MODE; in gb_svc_intf_set_power_mode_hibernate()

123