Home
last modified time | relevance | path

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

123

/linux-6.6.21/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 …]
Dds90ub960.c446 enum ub960_rxport_mode rx_mode; member
1599 switch (rxport->rx_mode) { in ub960_calc_bc_clk_rate_ub960()
1627 switch (rxport->rx_mode) { in ub960_calc_bc_clk_rate_ub9702()
1837 switch (rxport->rx_mode) { in ub960_init_rx_port_ub960()
1860 switch (rxport->rx_mode) { in ub960_init_rx_port_ub960()
1921 switch (rxport->rx_mode) { in ub960_init_rx_port_ub9702_fpd3()
2019 switch (rxport->rx_mode) { in ub960_init_rx_port_ub9702_fpd4()
2085 switch (rxport->rx_mode) { in ub960_init_rx_port_ub9702()
2447 if (rxport->rx_mode == RXPORT_MODE_CSI2_SYNC || in ub960_configure_ports_for_streaming()
2448 rxport->rx_mode == RXPORT_MODE_CSI2_NONSYNC) in ub960_configure_ports_for_streaming()
[all …]
/linux-6.6.21/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);
/linux-6.6.21/drivers/net/ethernet/cirrus/
Dmac89x0.c109 int rx_mode; member
311 lp->rx_mode = 0; in net_open()
522 lp->rx_mode = RX_ALL_ACCEPT; in set_multicast_list()
526 lp->rx_mode = RX_MULTCAST_ACCEPT; in set_multicast_list()
529 lp->rx_mode = 0; in set_multicast_list()
531 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT | lp->rx_mode); in set_multicast_list()
535 (lp->rx_mode == RX_ALL_ACCEPT? (RX_CRC_ERROR_ENBL|RX_RUNT_ENBL|RX_EXTRA_DATA_ENBL) : 0)); in set_multicast_list()
Dcs89x0.c145 int rx_mode; /* what mode are we in? 0, RX_MULTCAST_ACCEPT, or RX_ALL_ACCEPT */ member
1044 lp->rx_mode = 0; in net_open()
1202 lp->rx_mode = RX_ALL_ACCEPT; in set_multicast_list()
1207 lp->rx_mode = RX_MULTCAST_ACCEPT; in set_multicast_list()
1209 lp->rx_mode = 0; in set_multicast_list()
1211 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT | lp->rx_mode); in set_multicast_list()
1217 if (lp->rx_mode == RX_ALL_ACCEPT) in set_multicast_list()
/linux-6.6.21/drivers/net/ethernet/sunplus/
Dspl2sw_mac.c222 u32 mask, reg, rx_mode; in spl2sw_mac_rx_mode_set() local
231 rx_mode = FIELD_PREP(MAC_DIS_MC2CPU, mac->lan_port) | in spl2sw_mac_rx_mode_set()
236 rx_mode = FIELD_PREP(MAC_DIS_MC2CPU, mac->lan_port); in spl2sw_mac_rx_mode_set()
239 rx_mode = 0; in spl2sw_mac_rx_mode_set()
242 writel((reg & (~mask)) | ((~rx_mode) & mask), comm->l2sw_reg_base + L2SW_CPU_CNTL); in spl2sw_mac_rx_mode_set()
/linux-6.6.21/drivers/media/rc/
Dst_rc.c235 const char *rx_mode; in st_rc_probe() local
247 if (np && !of_property_read_string(np, "rx-mode", &rx_mode)) { in st_rc_probe()
249 if (!strcmp(rx_mode, "uhf")) { in st_rc_probe()
251 } else if (!strcmp(rx_mode, "infrared")) { in st_rc_probe()
254 dev_err(dev, "Unsupported rx mode [%s]\n", rx_mode); in st_rc_probe()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c339 u32 rx_mode; in pm3393_set_rx_mode() local
345 pmread(cmac, SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_2, &rx_mode); in pm3393_set_rx_mode()
346 rx_mode &= ~(SUNI1x10GEXP_BITMSK_RXXG_PMODE | in pm3393_set_rx_mode()
349 (u16)rx_mode); in pm3393_set_rx_mode()
353 rx_mode |= SUNI1x10GEXP_BITMSK_RXXG_PMODE; in pm3393_set_rx_mode()
361 rx_mode |= SUNI1x10GEXP_BITMSK_RXXG_MHASH_EN; in pm3393_set_rx_mode()
377 rx_mode |= SUNI1x10GEXP_BITMSK_RXXG_MHASH_EN; in pm3393_set_rx_mode()
380 pmwrite(cmac, SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_2, (u16)rx_mode); in pm3393_set_rx_mode()
/linux-6.6.21/drivers/staging/vt6656/
Dmain_usb.c866 u8 rx_mode = 0; in vnt_configure() local
871 MESSAGE_REQUEST_MACREG, sizeof(u8), &rx_mode); in vnt_configure()
873 dev_dbg(&priv->usb->dev, "rx mode in = %x\n", rx_mode); in vnt_configure()
882 rx_mode |= RCR_MULTICAST | RCR_BROADCAST; in vnt_configure()
884 rx_mode &= ~(RCR_MULTICAST | RCR_BROADCAST); in vnt_configure()
890 rx_mode &= ~RCR_BSSID; in vnt_configure()
892 rx_mode |= RCR_BSSID; in vnt_configure()
895 vnt_control_out_u8(priv, MESSAGE_REQUEST_MACREG, MAC_REG_RCR, rx_mode); in vnt_configure()
897 dev_dbg(&priv->usb->dev, "rx mode out= %x\n", rx_mode); in vnt_configure()
/linux-6.6.21/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 …]
/linux-6.6.21/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()
/linux-6.6.21/drivers/usb/musb/
Dmusb_dsps.c56 u16 rx_mode; member
95 u32 rx_mode; member
939 .rx_mode = 0x74,
994 glue->context.rx_mode = musb_readl(mbase, wrp->rx_mode); in dsps_suspend()
1020 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()
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c1360 u16 rx_mode; in ionic_lif_rx_mode() local
1369 rx_mode = IONIC_RX_MODE_F_UNICAST; in ionic_lif_rx_mode()
1370 rx_mode |= (nd_flags & IFF_MULTICAST) ? IONIC_RX_MODE_F_MULTICAST : 0; in ionic_lif_rx_mode()
1371 rx_mode |= (nd_flags & IFF_BROADCAST) ? IONIC_RX_MODE_F_BROADCAST : 0; in ionic_lif_rx_mode()
1372 rx_mode |= (nd_flags & IFF_PROMISC) ? IONIC_RX_MODE_F_PROMISC : 0; in ionic_lif_rx_mode()
1373 rx_mode |= (nd_flags & IFF_ALLMULTI) ? IONIC_RX_MODE_F_ALLMULTI : 0; in ionic_lif_rx_mode()
1388 rx_mode |= IONIC_RX_MODE_F_PROMISC; in ionic_lif_rx_mode()
1389 rx_mode |= IONIC_RX_MODE_F_ALLMULTI; in ionic_lif_rx_mode()
1392 rx_mode &= ~IONIC_RX_MODE_F_PROMISC; in ionic_lif_rx_mode()
1394 rx_mode &= ~IONIC_RX_MODE_F_ALLMULTI; in ionic_lif_rx_mode()
[all …]
/linux-6.6.21/drivers/staging/vt6655/
Ddevice_main.c1574 u8 rx_mode = 0; in vnt_configure() local
1578 rx_mode = ioread8(priv->port_offset + MAC_REG_RCR); in vnt_configure()
1580 dev_dbg(&priv->pcid->dev, "rx mode in = %x\n", rx_mode); in vnt_configure()
1608 rx_mode |= RCR_MULTICAST | RCR_BROADCAST; in vnt_configure()
1610 rx_mode &= ~(RCR_MULTICAST | RCR_BROADCAST); in vnt_configure()
1615 rx_mode |= RCR_MULTICAST | RCR_BROADCAST; in vnt_configure()
1618 rx_mode &= ~RCR_BSSID; in vnt_configure()
1620 rx_mode |= RCR_BSSID; in vnt_configure()
1623 iowrite8(rx_mode, priv->port_offset + MAC_REG_RCR); in vnt_configure()
1625 dev_dbg(&priv->pcid->dev, "rx mode out= %x\n", rx_mode); in vnt_configure()
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_dev.h39 u32 rx_mode; member
Dhinic_main.c783 hinic_port_set_rx_mode(nic_dev, rx_mode_work->rx_mode); in set_rx_mode()
793 u32 rx_mode; in hinic_set_rx_mode() local
797 rx_mode = HINIC_RX_MODE_UC | in hinic_set_rx_mode()
803 rx_mode |= HINIC_RX_MODE_PROMISC; in hinic_set_rx_mode()
805 rx_mode |= HINIC_RX_MODE_MC_ALL; in hinic_set_rx_mode()
808 rx_mode_work->rx_mode = rx_mode; in hinic_set_rx_mode()
/linux-6.6.21/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()
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 …]
/linux-6.6.21/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()
/linux-6.6.21/include/linux/greybus/
Dsvc.h91 u8 rx_mode, u8 rx_gear, u8 rx_nlanes,
/linux-6.6.21/drivers/net/ethernet/dlink/
Ddl2k.c1191 u16 rx_mode = 0; in set_multicast() local
1198 rx_mode = ReceiveAllFrames; in set_multicast()
1202 rx_mode = ReceiveBroadcast | ReceiveMulticast | ReceiveUnicast; in set_multicast()
1207 rx_mode = in set_multicast()
1220 rx_mode = ReceiveBroadcast | ReceiveUnicast; in set_multicast()
1224 rx_mode |= ReceiveVLANMatch; in set_multicast()
1229 dw16(ReceiveMode, rx_mode); in set_multicast()
/linux-6.6.21/drivers/net/fddi/skfp/h/
Dfplustm.h155 u_short rx_mode ; /* address mode broad/multi/promisc */ member
/linux-6.6.21/drivers/net/ethernet/adaptec/
Dstarfire.c1775 u32 rx_mode = MinVLANPrio; in set_rx_mode() local
1780 rx_mode |= set_vlan_mode(np); in set_rx_mode()
1784 rx_mode |= AcceptAll; in set_rx_mode()
1788 rx_mode |= AcceptBroadcast|AcceptAllMulticast|PerfectFilter; in set_rx_mode()
1806 rx_mode |= AcceptBroadcast|PerfectFilter; in set_rx_mode()
1832 rx_mode |= AcceptBroadcast|PerfectFilter|HashFilter; in set_rx_mode()
1834 writel(rx_mode, ioaddr + RxFilterMode); in set_rx_mode()
/linux-6.6.21/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()

123