/openbmc/linux/drivers/phy/marvell/ |
H A D | phy-mvebu-cp110-comphy.c | 181 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 D | phy-mvebu-a3700-comphy.c | 229 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 D | lan966x_serdes.c | 33 .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 D | phy-ocelot-serdes.c | 340 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 D | phy.h | 89 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 D | cxgbit_target.c | 30 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 D | cxgbit.h | 77 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 D | phy-gmii-sel.c | 70 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 D | phy-da8xx-usb.c | 89 enum phy_mode mode, int submode) in da8xx_usb20_phy_set_mode() argument
|
/openbmc/linux/drivers/phy/freescale/ |
H A D | phy-fsl-lynx-28g.c | 382 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 D | r8a779f0-ether-serdes.c | 288 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 D | phy-rockchip-snps-pcie3.c | 69 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 D | phy-jh7110-usb.c | 45 enum phy_mode mode, int submode) in usb2_phy_set_mode() argument
|
H A D | phy-jh7110-pcie.c | 103 enum phy_mode mode, int submode) in jh7110_pcie_phy_set_mode() argument
|
/openbmc/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-snps-eusb2.c | 138 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 D | phy-qcom-qmp-ufs.c | 768 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 D | phy-qcom-eusb2-repeater.c | 159 enum phy_mode mode, int submode) in eusb2_repeater_set_mode() argument
|
H A D | phy-qcom-usb-hs.c | 43 enum phy_mode mode, int submode) in qcom_usb_hs_phy_set_mode() argument
|
/openbmc/linux/drivers/phy/ |
H A D | phy-core.c | 399 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 D | sa2ul.h | 248 u16 submode; member
|
/openbmc/linux/drivers/scsi/cxgbi/ |
H A D | libcxgbi.h | 92 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 D | cdns-dphy-rx.c | 216 int submode, union phy_configure_opts *opts) in cdns_dphy_rx_validate() argument
|
/openbmc/linux/drivers/phy/amlogic/ |
H A D | phy-meson-gxl-usb2.c | 153 enum phy_mode mode, int submode) in phy_meson_gxl_usb2_set_mode() argument
|
/openbmc/linux/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 686 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 D | phy-samsung-ufs.c | 195 enum phy_mode mode, int submode) in samsung_ufs_phy_set_mode() argument
|