Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_ptp_consts.h84 .rx_mode = { .def = 6, },
103 .rx_mode = { .def = 6, },
121 .rx_mode = { .def = 1, },
149 .rx_mode = {
188 .rx_mode = { .def = 4 },
215 .rx_mode = { .def = 5 },
242 .rx_mode = {
275 .rx_mode = {
306 .rx_mode = { .def = 5 },
/linux-6.12.1/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.12.1/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.12.1/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.12.1/drivers/media/rc/
Dst_rc.c236 const char *rx_mode; in st_rc_probe() local
248 if (np && !of_property_read_string(np, "rx-mode", &rx_mode)) { in st_rc_probe()
250 if (!strcmp(rx_mode, "uhf")) { in st_rc_probe()
252 } else if (!strcmp(rx_mode, "infrared")) { in st_rc_probe()
255 dev_err(dev, "Unsupported rx mode [%s]\n", rx_mode); in st_rc_probe()
/linux-6.12.1/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.12.1/lib/dim/
Dnet_dim.c100 u8 coal_flags, u8 rx_mode, u8 tx_mode, in net_dim_init_irq_moder() argument
120 moder->dim_rx_mode = rx_mode; in net_dim_init_irq_moder()
121 rxp = kmemdup(rx_profile[rx_mode], len, GFP_KERNEL); in net_dim_init_irq_moder()
224 void net_dim_set_rx_mode(struct net_device *dev, u8 rx_mode) in net_dim_set_rx_mode() argument
226 WRITE_ONCE(dev->irq_moder->dim_rx_mode, rx_mode); in net_dim_set_rx_mode()
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/include/linux/
Ddim.h249 u8 coal_flags, u8 rx_mode, u8 tx_mode,
298 void net_dim_set_rx_mode(struct net_device *dev, u8 rx_mode);
/linux-6.12.1/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()
/linux-6.12.1/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c1342 u16 rx_mode; in ionic_lif_rx_mode() local
1351 rx_mode = IONIC_RX_MODE_F_UNICAST; in ionic_lif_rx_mode()
1352 rx_mode |= (nd_flags & IFF_MULTICAST) ? IONIC_RX_MODE_F_MULTICAST : 0; in ionic_lif_rx_mode()
1353 rx_mode |= (nd_flags & IFF_BROADCAST) ? IONIC_RX_MODE_F_BROADCAST : 0; in ionic_lif_rx_mode()
1354 rx_mode |= (nd_flags & IFF_PROMISC) ? IONIC_RX_MODE_F_PROMISC : 0; in ionic_lif_rx_mode()
1355 rx_mode |= (nd_flags & IFF_ALLMULTI) ? IONIC_RX_MODE_F_ALLMULTI : 0; in ionic_lif_rx_mode()
1370 rx_mode |= IONIC_RX_MODE_F_PROMISC; in ionic_lif_rx_mode()
1371 rx_mode |= IONIC_RX_MODE_F_ALLMULTI; in ionic_lif_rx_mode()
1374 rx_mode &= ~IONIC_RX_MODE_F_PROMISC; in ionic_lif_rx_mode()
1376 rx_mode &= ~IONIC_RX_MODE_F_ALLMULTI; in ionic_lif_rx_mode()
[all …]
/linux-6.12.1/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.12.1/drivers/net/ethernet/huawei/hinic/
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()
Dhinic_dev.h39 u32 rx_mode; member
/linux-6.12.1/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.12.1/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.12.1/include/linux/greybus/
Dsvc.h91 u8 rx_mode, u8 rx_gear, u8 rx_nlanes,
/linux-6.12.1/drivers/net/ethernet/dlink/
Ddl2k.c1190 u16 rx_mode = 0; in set_multicast() local
1197 rx_mode = ReceiveAllFrames; in set_multicast()
1201 rx_mode = ReceiveBroadcast | ReceiveMulticast | ReceiveUnicast; in set_multicast()
1206 rx_mode = in set_multicast()
1219 rx_mode = ReceiveBroadcast | ReceiveUnicast; in set_multicast()
1223 rx_mode |= ReceiveVLANMatch; in set_multicast()
1228 dw16(ReceiveMode, rx_mode); in set_multicast()
/linux-6.12.1/drivers/net/fddi/skfp/h/
Dfplustm.h155 u_short rx_mode ; /* address mode broad/multi/promisc */ member

123