Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/phy/marvell/
H A Dphy-mvebu-cp110-comphy.c181 int submode; member
193 .submode = _submode, \
272 int submode; member
312 (conf->submode == submode || ignore_submode)) in mvebu_comphy_get_mode()
357 switch (lane->submode) { in mvebu_comphy_ethernet_init_reset()
380 lane->submode, in mvebu_comphy_ethernet_init_reset()
810 lane->submode); in mvebu_comphy_power_on()
826 lane->submode); in mvebu_comphy_power_on()
828 lane->submode); in mvebu_comphy_power_on()
865 lane->submode = submode; in mvebu_comphy_set_mode()
[all …]
H A Dphy-mvebu-a3700-comphy.c229 int submode; member
236 .submode = _smode, \
275 int submode; member
659 switch (lane->submode) { in mvebu_a3700_comphy_ethernet_power_on()
673 lane->submode, lane->id); in mvebu_a3700_comphy_ethernet_power_on()
1114 int submode) in mvebu_a3700_comphy_check_mode() argument
1125 mvebu_a3700_comphy_modes[i].submode == submode) in mvebu_a3700_comphy_check_mode()
1136 int submode) in mvebu_a3700_comphy_set_mode() argument
1147 (lane->mode != mode || lane->submode != submode)) in mvebu_a3700_comphy_set_mode()
1152 lane->submode = submode; in mvebu_a3700_comphy_set_mode()
[all …]
/openbmc/linux/drivers/phy/microchip/
H A Dlan966x_serdes.c33 .submode = _submode, \
63 int submode; member
457 static int serdes_set_mode(struct phy *phy, enum phy_mode mode, int submode) in serdes_set_mode() argument
467 if (submode == PHY_INTERFACE_MODE_2500BASEX) in serdes_set_mode()
472 if (submode == PHY_INTERFACE_MODE_1000BASEX || in serdes_set_mode()
473 submode == PHY_INTERFACE_MODE_2500BASEX) in serdes_set_mode()
474 submode = PHY_INTERFACE_MODE_SGMII; in serdes_set_mode()
476 if (submode == PHY_INTERFACE_MODE_QUSGMII) in serdes_set_mode()
477 submode = PHY_INTERFACE_MODE_QSGMII; in serdes_set_mode()
482 submode != lan966x_serdes_muxes[i].submode || in serdes_set_mode()
[all …]
/openbmc/linux/drivers/phy/mscc/
H A Dphy-ocelot-serdes.c340 int submode; member
349 .submode = _submode, \
398 static int serdes_set_mode(struct phy *phy, enum phy_mode mode, int submode) in serdes_set_mode() argument
411 submode != ocelot_serdes_muxes[i].submode) in serdes_set_mode()
414 if (submode != PHY_INTERFACE_MODE_QSGMII && in serdes_set_mode()
429 ocelot_serdes_muxes[i].submode); in serdes_set_mode()
/openbmc/linux/include/linux/phy/
H A Dphy.h89 int (*set_mode)(struct phy *phy, enum phy_mode mode, int submode);
121 int (*validate)(struct phy *phy, enum phy_mode mode, int submode,
231 int phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode);
237 int phy_validate(struct phy *phy, enum phy_mode mode, int submode,
356 int submode) in phy_set_mode_ext() argument
408 static inline int phy_validate(struct phy *phy, enum phy_mode mode, int submode, in phy_validate() argument
/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_target.c30 u8 submode = 0; in __cxgbit_alloc_skb() local
46 submode |= (csk->submode & CXGBIT_SUBMODE_DCRC); in __cxgbit_alloc_skb()
60 submode |= (csk->submode & CXGBIT_SUBMODE_HCRC); in __cxgbit_alloc_skb()
61 cxgbit_skcb_submode(skb) = submode; in __cxgbit_alloc_skb()
164 u32 submode = cxgbit_skcb_submode(skb); in cxgbit_tx_data_wr() local
176 submode |= 8; in cxgbit_tx_data_wr()
608 csk->submode |= CXGBIT_SUBMODE_HCRC; in cxgbit_set_digest()
612 csk->submode = 0; in cxgbit_set_digest()
618 csk->submode |= CXGBIT_SUBMODE_DCRC; in cxgbit_set_digest()
621 csk->submode = 0; in cxgbit_set_digest()
[all …]
H A Dcxgbit.h77 u8 submode; member
99 #define cxgbit_skcb_submode(skb) (CXGBIT_SKB_CB(skb)->tx.submode)
237 u8 submode; member
/openbmc/linux/drivers/phy/ti/
H A Dphy-gmii-sel.c70 static int phy_gmii_sel_mode(struct phy *phy, enum phy_mode mode, int submode) in phy_gmii_sel_mode() argument
82 switch (submode) { in phy_gmii_sel_mode()
130 if_phy->phy_if_mode = submode; in phy_gmii_sel_mode()
133 __func__, if_phy->id, submode, rgmii_id, in phy_gmii_sel_mode()
162 if_phy->id, phy_modes(submode)); in phy_gmii_sel_mode()
H A Dphy-da8xx-usb.c89 enum phy_mode mode, int submode) in da8xx_usb20_phy_set_mode() argument
/openbmc/linux/drivers/phy/freescale/
H A Dphy-fsl-lynx-28g.c382 static int lynx_28g_set_mode(struct phy *phy, enum phy_mode mode, int submode) in lynx_28g_set_mode() argument
395 if (!lynx_28g_supports_interface(priv, submode)) in lynx_28g_set_mode()
406 switch (submode) { in lynx_28g_set_mode()
419 lane->interface = submode; in lynx_28g_set_mode()
431 static int lynx_28g_validate(struct phy *phy, enum phy_mode mode, int submode, in lynx_28g_validate() argument
440 if (!lynx_28g_supports_interface(priv, submode)) in lynx_28g_validate()
/openbmc/linux/drivers/phy/renesas/
H A Dr8a779f0-ether-serdes.c288 int submode) in r8a779f0_eth_serdes_set_mode() argument
295 switch (submode) { in r8a779f0_eth_serdes_set_mode()
299 channel->phy_interface = submode; in r8a779f0_eth_serdes_set_mode()
/openbmc/linux/drivers/phy/rockchip/
H A Dphy-rockchip-snps-pcie3.c69 static int rockchip_p3phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) in rockchip_p3phy_set_mode() argument
74 switch (submode) { in rockchip_p3phy_set_mode()
/openbmc/linux/drivers/phy/starfive/
H A Dphy-jh7110-usb.c45 enum phy_mode mode, int submode) in usb2_phy_set_mode() argument
H A Dphy-jh7110-pcie.c103 enum phy_mode mode, int submode) in jh7110_pcie_phy_set_mode() argument
/openbmc/linux/drivers/phy/qualcomm/
H A Dphy-qcom-snps-eusb2.c138 static int qcom_snps_eusb2_hsphy_set_mode(struct phy *p, enum phy_mode mode, int submode) in qcom_snps_eusb2_hsphy_set_mode() argument
144 return phy_set_mode_ext(phy->repeater, mode, submode); in qcom_snps_eusb2_hsphy_set_mode()
H A Dphy-qcom-qmp-ufs.c768 u32 submode; member
1228 if (qmp->submode == UFS_HS_G4) in qmp_ufs_init_registers()
1231 if (qmp->submode == UFS_HS_G4) in qmp_ufs_init_registers()
1401 static int qmp_ufs_set_mode(struct phy *phy, enum phy_mode mode, int submode) in qmp_ufs_set_mode() argument
1406 qmp->submode = submode; in qmp_ufs_set_mode()
H A Dphy-qcom-eusb2-repeater.c159 enum phy_mode mode, int submode) in eusb2_repeater_set_mode() argument
H A Dphy-qcom-usb-hs.c43 enum phy_mode mode, int submode) in qcom_usb_hs_phy_set_mode() argument
/openbmc/linux/drivers/phy/
H A Dphy-core.c399 int phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode) in phy_set_mode_ext() argument
407 ret = phy->ops->set_mode(phy, mode, submode); in phy_set_mode_ext()
537 int phy_validate(struct phy *phy, enum phy_mode mode, int submode, in phy_validate() argument
549 ret = phy->ops->validate(phy, mode, submode, opts); in phy_validate()
/openbmc/linux/drivers/crypto/
H A Dsa2ul.h248 u16 submode; member
/openbmc/linux/drivers/scsi/cxgbi/
H A Dlibcxgbi.h92 static inline unsigned int cxgbi_ulp_extra_len(int submode) in cxgbi_ulp_extra_len() argument
94 return ulp2_extra_len[submode & 3]; in cxgbi_ulp_extra_len()
/openbmc/linux/drivers/phy/cadence/
H A Dcdns-dphy-rx.c216 int submode, union phy_configure_opts *opts) in cdns_dphy_rx_validate() argument
/openbmc/linux/drivers/phy/amlogic/
H A Dphy-meson-gxl-usb2.c153 enum phy_mode mode, int submode) in phy_meson_gxl_usb2_set_mode() argument
/openbmc/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c686 u32 submode = cxgbi_skcb_tx_ulp_mode(skb) & 0x3; in cxgb4i_make_tx_iso_cpl() local
692 CPL_TX_DATA_ISO_HDRCRC_V(submode & 1) | in cxgb4i_make_tx_iso_cpl()
693 CPL_TX_DATA_ISO_PLDCRC_V(((submode >> 1) & 1)) | in cxgb4i_make_tx_iso_cpl()
721 u32 submode = cxgbi_skcb_tx_ulp_mode(skb) & 0x3; in cxgb4i_make_tx_data_wr() local
726 u32 force = is_t5(lldi->adapter_type) ? TX_FORCE_V(!submode) : in cxgb4i_make_tx_data_wr()
733 submode |= 8; in cxgb4i_make_tx_data_wr()
751 if (submode) in cxgb4i_make_tx_data_wr()
753 FW_OFLD_TX_DATA_WR_ULPSUBMODE_V(submode); in cxgb4i_make_tx_data_wr()
/openbmc/linux/drivers/phy/samsung/
H A Dphy-samsung-ufs.c195 enum phy_mode mode, int submode) in samsung_ufs_phy_set_mode() argument

12