Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-mac.c10 static int phy_mode(enum dpmac_eth_if eth_if, phy_interface_t *if_mode) in phy_mode() argument
12 *if_mode = PHY_INTERFACE_MODE_NA; in phy_mode()
16 *if_mode = PHY_INTERFACE_MODE_RGMII; in phy_mode()
19 *if_mode = PHY_INTERFACE_MODE_USXGMII; in phy_mode()
22 *if_mode = PHY_INTERFACE_MODE_QSGMII; in phy_mode()
25 *if_mode = PHY_INTERFACE_MODE_SGMII; in phy_mode()
28 *if_mode = PHY_INTERFACE_MODE_10GBASER; in phy_mode()
64 phy_interface_t if_mode; in dpaa2_mac_get_if_mode() local
67 err = of_get_phy_mode(node, &if_mode); in dpaa2_mac_get_if_mode()
69 return if_mode; in dpaa2_mac_get_if_mode()
[all …]
Ddpaa2-mac.h23 phy_interface_t if_mode; member
/kernel/linux/linux-5.10/drivers/net/pcs/
Dpcs-lynx.c116 u16 if_mode; in lynx_pcs_config_sgmii() local
119 if_mode = IF_MODE_SGMII_EN; in lynx_pcs_config_sgmii()
123 if_mode |= IF_MODE_USE_SGMII_AN; in lynx_pcs_config_sgmii()
132 if_mode); in lynx_pcs_config_sgmii()
192 u16 if_mode = 0, sgmii_speed; in lynx_pcs_link_up_sgmii() local
202 if_mode |= IF_MODE_HALF_DUPLEX; in lynx_pcs_link_up_sgmii()
221 if_mode |= IF_MODE_SPEED(sgmii_speed); in lynx_pcs_link_up_sgmii()
225 if_mode); in lynx_pcs_link_up_sgmii()
250 u16 if_mode = 0; in lynx_pcs_link_up_2500basex() local
258 if_mode |= IF_MODE_HALF_DUPLEX; in lynx_pcs_link_up_2500basex()
[all …]
/kernel/linux/linux-5.10/drivers/phy/mscc/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_pf.h51 phy_interface_t if_mode; member
Denetc_pf.c868 return (pf->if_mode == PHY_INTERFACE_MODE_SGMII || in enetc_port_has_pcs()
869 pf->if_mode == PHY_INTERFACE_MODE_2500BASEX || in enetc_port_has_pcs()
870 pf->if_mode == PHY_INTERFACE_MODE_USXGMII); in enetc_port_has_pcs()
1034 pf->if_mode, &enetc_mac_phylink_ops); in enetc_phylink_create()
1197 if (!of_get_phy_mode(node, &pf->if_mode)) { in enetc_pf_probe()
/kernel/linux/linux-5.10/drivers/media/tuners/
Dmxl5005s.h97 u8 if_mode; member
Dmxl5005s.c3967 c->if_mode, in mxl5005s_AssignTunerMode()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
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()
Dbnx2x_init.h97 struct op_if_mode if_mode; member
/kernel/linux/linux-5.10/drivers/tty/
Dsynclink_gt.c274 unsigned int if_mode; member
464 static int get_interface(struct slgt_info *info, int __user *if_mode);
465 static int set_interface(struct slgt_info *info, int if_mode);
469 static int get_xsync(struct slgt_info *info, int __user *if_mode);
470 static int set_xsync(struct slgt_info *info, int if_mode);
471 static int get_xctrl(struct slgt_info *info, int __user *if_mode);
472 static int set_xctrl(struct slgt_info *info, int if_mode);
2777 static int get_interface(struct slgt_info *info, int __user *if_mode) in get_interface() argument
2779 DBGINFO(("%s get_interface=%x\n", info->device_name, info->if_mode)); in get_interface()
2780 if (put_user(info->if_mode, if_mode)) in get_interface()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
Dfman_memac.c305 u32 if_mode; /* 0x300 Interface Mode Control */ member
453 iowrite32be(tmp, &regs->if_mode); in init()
776 tmp = ioread32be(&regs->if_mode); in memac_adjust_link()
803 iowrite32be(tmp, &regs->if_mode); in memac_adjust_link()
/kernel/linux/linux-5.10/include/linux/
Dmemstick.h48 unsigned char if_mode; member
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
Dliquidio_common.h695 u64 if_mode:5; member
705 u64 if_mode:5;
Dlio_ethtool.c242 if (linfo->link.s.if_mode == INTERFACE_MODE_XAUI || in lio_get_link_ksettings()
243 linfo->link.s.if_mode == INTERFACE_MODE_RXAUI || in lio_get_link_ksettings()
244 linfo->link.s.if_mode == INTERFACE_MODE_XLAUI || in lio_get_link_ksettings()
245 linfo->link.s.if_mode == INTERFACE_MODE_XFI) { in lio_get_link_ksettings()
250 linfo->link.s.if_mode); in lio_get_link_ksettings()
/kernel/linux/linux-5.10/drivers/char/pcmcia/
Dsynclink_cs.c197 int if_mode; /* serial interface selection (RS-232, v.35 etc) */ member
1854 static int get_interface(MGSLPC_INFO * info, int __user *if_mode) in get_interface() argument
1858 printk("get_interface(%s)=%d\n", info->device_name, info->if_mode); in get_interface()
1859 COPY_TO_USER(err,if_mode, &info->if_mode, sizeof(int)); in get_interface()
1865 static int set_interface(MGSLPC_INFO * info, int if_mode) in set_interface() argument
1870 printk("set_interface(%s,%d)\n", info->device_name, if_mode); in set_interface()
1872 info->if_mode = if_mode; in set_interface()
1875 switch (info->if_mode) in set_interface()
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
Dce6230.c192 .if_mode = MXL_ZERO_IF,
Dec168.c285 .if_mode = MXL_ZERO_IF,
Daf9015.c961 .if_mode = MXL_ZERO_IF,
978 .if_mode = MXL_ZERO_IF,
Drtl28xxu.c1122 .if_mode = MXL_ZERO_IF,
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
Dcx18-dvb.c53 .if_mode = MXL_ZERO_IF,
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c562 cmd_num += qed_init_cmd_mode(p_hwfn, &cmd->if_mode, in qed_init_run()
Dqed_hsi.h2967 struct init_if_mode_op if_mode; member
/kernel/linux/linux-5.10/drivers/memstick/core/
Dmemstick.c341 dev_dbg(&card->dev, "if_mode = %02x\n", id_reg.if_mode); in h_memstick_read_dev_id()
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Dcxusb.c670 .if_mode = MXL_ZERO_IF,
688 .if_mode = MXL_ZERO_IF,