Home
last modified time | relevance | path

Searched refs:if_mode (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.3-rc2/drivers/net/pcs/
A Dpcs-lynx.c128 u16 if_mode; in lynx_pcs_config_giga() local
140 if_mode = 0; in lynx_pcs_config_giga()
142 if_mode = IF_MODE_SGMII_EN; in lynx_pcs_config_giga()
144 if_mode |= IF_MODE_USE_SGMII_AN; in lynx_pcs_config_giga()
149 if_mode); in lynx_pcs_config_giga()
216 u16 if_mode = 0, sgmii_speed; in lynx_pcs_link_up_sgmii() local
225 if_mode |= IF_MODE_HALF_DUPLEX; in lynx_pcs_link_up_sgmii()
248 if_mode); in lynx_pcs_link_up_sgmii()
271 u16 if_mode = 0; in lynx_pcs_link_up_2500basex() local
279 if_mode |= IF_MODE_HALF_DUPLEX; in lynx_pcs_link_up_2500basex()
[all …]
A Dpcs-altera-tse.c83 u32 ctrl, if_mode; in alt_tse_pcs_config() local
86 if_mode = tse_pcs_read(tse_pcs, SGMII_PCS_IF_MODE); in alt_tse_pcs_config()
93 if_mode |= PCS_IF_MODE_USE_SGMII_AN | PCS_IF_MODE_SGMII_ENA; in alt_tse_pcs_config()
95 if_mode &= ~(PCS_IF_MODE_USE_SGMII_AN | PCS_IF_MODE_SGMII_ENA); in alt_tse_pcs_config()
101 tse_pcs_write(tse_pcs, SGMII_PCS_IF_MODE, if_mode); in alt_tse_pcs_config()
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-mac.c39 *if_mode = PHY_INTERFACE_MODE_NA; in phy_mode()
43 *if_mode = PHY_INTERFACE_MODE_RGMII; in phy_mode()
46 *if_mode = PHY_INTERFACE_MODE_USXGMII; in phy_mode()
49 *if_mode = PHY_INTERFACE_MODE_QSGMII; in phy_mode()
52 *if_mode = PHY_INTERFACE_MODE_SGMII; in phy_mode()
66 switch (if_mode) { in dpmac_eth_if_mode()
133 phy_interface_t if_mode; in dpaa2_mac_get_if_mode() local
142 return if_mode; in dpaa2_mac_get_if_mode()
306 switch (mac->if_mode) { in dpaa2_mac_set_supported_interfaces()
378 mac->if_mode = err; in dpaa2_mac_connect()
[all …]
A Ddpaa2-mac.h25 phy_interface_t if_mode; member
/linux-6.3-rc2/drivers/net/phy/mscc/
A Dmscc_serdes.c65 const u32 if_mode, in vsc85xx_sd6g_common_cfg_wr() argument
83 (if_mode << PHY_S6G_IF_MODE_POS)); in vsc85xx_sd6g_common_cfg_wr()
317 u32 if_mode = 1; in vsc85xx_sd6g_config_v2() local
336 ret = vsc85xx_sd6g_common_cfg_wr(phydev, 0, 0, 0, qrate, if_mode, 0); in vsc85xx_sd6g_config_v2()
363 ret = vsc85xx_sd6g_common_cfg_wr(phydev, 1, 1, 0, qrate, if_mode, 0); in vsc85xx_sd6g_config_v2()
399 ret = vsc85xx_sd6g_common_cfg_wr(phydev, 1, 1, 0, qrate, if_mode, 1); in vsc85xx_sd6g_config_v2()
500 ret = vsc85xx_sd6g_common_cfg_wr(phydev, 1, 1, 0, qrate, if_mode, 0); in vsc85xx_sd6g_config_v2()
531 ret = vsc85xx_sd6g_common_cfg_wr(phydev, 0, 1, 0, qrate, if_mode, 0); in vsc85xx_sd6g_config_v2()
545 if_mode = 3; in vsc85xx_sd6g_config_v2()
562 if_mode = 1; in vsc85xx_sd6g_config_v2()
[all …]
/linux-6.3-rc2/drivers/phy/mscc/
A Dphy-ocelot-serdes.c66 u32 if_mode; in serdes_init_s6g() local
77 if_mode = 3; in serdes_init_s6g()
85 if_mode = 1; in serdes_init_s6g()
211 HSIO_S6G_COMMON_CFG_IF_MODE(if_mode)); in serdes_init_s6g()
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/
A Denetc_pf.h51 phy_interface_t if_mode; member
A Denetc_pf.c936 return (pf->if_mode == PHY_INTERFACE_MODE_SGMII || in enetc_port_has_pcs()
937 pf->if_mode == PHY_INTERFACE_MODE_2500BASEX || in enetc_port_has_pcs()
938 pf->if_mode == PHY_INTERFACE_MODE_USXGMII); in enetc_port_has_pcs()
1140 pf->if_mode, &enetc_mac_phylink_ops); in enetc_phylink_create()
1322 err = of_get_phy_mode(node, &pf->if_mode); in enetc_pf_probe()
/linux-6.3-rc2/drivers/media/tuners/
A Dmxl5005s.h97 u8 if_mode; member
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_init_ops.h291 op->if_mode.mode_bit_map) != in bnx2x_init_block()
292 op->if_mode.mode_bit_map) in bnx2x_init_block()
293 op_idx += op->if_mode.cmd_offset; in bnx2x_init_block()
300 op->if_mode.mode_bit_map) == 0) in bnx2x_init_block()
301 op_idx += op->if_mode.cmd_offset; in bnx2x_init_block()
A Dbnx2x_init.h97 struct op_if_mode if_mode; member
/linux-6.3-rc2/drivers/tty/
A Dsynclink_gt.c271 unsigned int if_mode; member
467 static int set_xsync(struct slgt_info *info, int if_mode);
2765 if (put_user(info->if_mode, if_mode)) in get_interface()
2777 info->if_mode = if_mode; in set_interface()
2783 if (info->if_mode & MGSL_INTERFACE_RTS_EN) in set_interface()
4047 if (info->if_mode & MGSL_INTERFACE_RTS_EN) in async_mode()
4198 if (info->if_mode & MGSL_INTERFACE_RTS_EN) in sync_mode()
4460 switch(info->if_mode & MGSL_INTERFACE_MASK) in msc_set_vcr()
4473 if (info->if_mode & MGSL_INTERFACE_MSB_FIRST) in msc_set_vcr()
4479 if (info->if_mode & MGSL_INTERFACE_LL) in msc_set_vcr()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/freescale/fman/
A Dfman_memac.c250 u32 if_mode; /* 0x300 Interface Mode Control */ member
704 u32 tmp = ioread32be(&regs->if_mode); in memac_mac_config()
710 iowrite32be(tmp, &regs->if_mode); in memac_mac_config()
741 iowrite32be(tmp, &regs->if_mode); in memac_link_up()
/linux-6.3-rc2/include/linux/
A Dmemstick.h48 unsigned char if_mode; member
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Dliquidio_common.h695 u64 if_mode:5; member
705 u64 if_mode:5;
A Dlio_ethtool.c243 if (linfo->link.s.if_mode == INTERFACE_MODE_XAUI || in lio_get_link_ksettings()
244 linfo->link.s.if_mode == INTERFACE_MODE_RXAUI || in lio_get_link_ksettings()
245 linfo->link.s.if_mode == INTERFACE_MODE_XLAUI || in lio_get_link_ksettings()
246 linfo->link.s.if_mode == INTERFACE_MODE_XFI) { in lio_get_link_ksettings()
251 linfo->link.s.if_mode); in lio_get_link_ksettings()
/linux-6.3-rc2/drivers/char/pcmcia/
A Dsynclink_cs.c197 int if_mode; /* serial interface selection (RS-232, v.35 etc) */ member
1848 static int get_interface(MGSLPC_INFO * info, int __user *if_mode) in get_interface() argument
1852 printk("get_interface(%s)=%d\n", info->device_name, info->if_mode); in get_interface()
1853 COPY_TO_USER(err,if_mode, &info->if_mode, sizeof(int)); in get_interface()
1859 static int set_interface(MGSLPC_INFO * info, int if_mode) in set_interface() argument
1864 printk("set_interface(%s,%d)\n", info->device_name, if_mode); in set_interface()
1866 info->if_mode = if_mode; in set_interface()
1869 switch (info->if_mode) in set_interface()
/linux-6.3-rc2/drivers/media/usb/dvb-usb-v2/
A Dce6230.c192 .if_mode = MXL_ZERO_IF,
A Dec168.c285 .if_mode = MXL_ZERO_IF,
A Daf9015.c962 .if_mode = MXL_ZERO_IF,
979 .if_mode = MXL_ZERO_IF,
A Drtl28xxu.c1113 .if_mode = MXL_ZERO_IF,
/linux-6.3-rc2/drivers/media/pci/cx18/
A Dcx18-dvb.c53 .if_mode = MXL_ZERO_IF,
/linux-6.3-rc2/drivers/memstick/core/
A Dmemstick.c340 dev_dbg(&card->dev, "if_mode = %02x\n", id_reg.if_mode); in h_memstick_read_dev_id()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/
A Dqed_init_ops.c578 cmd_num += qed_init_cmd_mode(p_hwfn, &cmd->if_mode, in qed_init_run()
/linux-6.3-rc2/drivers/media/usb/dvb-usb/
A Dcxusb.c670 .if_mode = MXL_ZERO_IF,
688 .if_mode = MXL_ZERO_IF,

Completed in 74 milliseconds

12