Searched refs:submode (Results 1 - 25 of 48) sorted by relevance

12

/linux-master/drivers/phy/marvell/
H A Dphy-mvebu-cp110-comphy.c181 int submode; member in struct:mvebu_comphy_conf
193 .submode = _submode, \
203 .submode = PHY_INTERFACE_MODE_NA, \
272 int submode; member in struct:mvebu_comphy_lane
296 enum phy_mode mode, int submode)
299 /* Ignore PCIe submode: it represents the width */
312 (conf->submode == submode || ignore_submode))
326 enum phy_mode mode, int submode)
328 return mvebu_comphy_get_mode(false, lane, port, mode, submode);
295 mvebu_comphy_get_mode(bool fw_mode, int lane, int port, enum phy_mode mode, int submode) argument
325 mvebu_comphy_get_mux(int lane, int port, enum phy_mode mode, int submode) argument
331 mvebu_comphy_get_fw_mode(int lane, int port, enum phy_mode mode, int submode) argument
853 mvebu_comphy_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument
[all...]
H A Dphy-mvebu-a3700-comphy.c229 int submode; member in struct:mvebu_a3700_comphy_conf
236 .submode = _smode, \
275 int submode; member in struct:mvebu_a3700_comphy_lane
659 switch (lane->submode) {
673 lane->submode, lane->id);
745 lane->submode == PHY_INTERFACE_MODE_2500BASEX ? "2G5" : "1G");
748 lane->submode != PHY_INTERFACE_MODE_2500BASEX);
1114 int submode)
1125 mvebu_a3700_comphy_modes[i].submode == submode)
1112 mvebu_a3700_comphy_check_mode(int lane, enum phy_mode mode, int submode) argument
1135 mvebu_a3700_comphy_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument
[all...]
/linux-master/drivers/phy/microchip/
H A Dlan966x_serdes.c33 .submode = _submode, \
63 int submode; member in struct:serdes_mux
459 static int serdes_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument
469 if (submode == PHY_INTERFACE_MODE_2500BASEX)
474 if (submode == PHY_INTERFACE_MODE_1000BASEX ||
475 submode == PHY_INTERFACE_MODE_2500BASEX)
476 submode = PHY_INTERFACE_MODE_SGMII;
478 if (submode == PHY_INTERFACE_MODE_QUSGMII)
479 submode = PHY_INTERFACE_MODE_QSGMII;
484 submode !
[all...]
/linux-master/drivers/phy/mscc/
H A Dphy-ocelot-serdes.c340 int submode; member in struct:serdes_mux
349 .submode = _submode, \
398 static int serdes_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument
411 submode != ocelot_serdes_muxes[i].submode)
414 if (submode != PHY_INTERFACE_MODE_QSGMII &&
429 ocelot_serdes_muxes[i].submode);
/linux-master/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,
236 int phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode);
242 int phy_validate(struct phy *phy, enum phy_mode mode, int submode,
363 int submode)
429 static inline int phy_validate(struct phy *phy, enum phy_mode mode, int submode, argument
362 phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode) argument
/linux-master/drivers/target/iscsi/cxgbit/
H A Dcxgbit_target.c30 u8 submode = 0; local
46 submode |= (csk->submode & CXGBIT_SUBMODE_DCRC);
60 submode |= (csk->submode & CXGBIT_SUBMODE_HCRC);
61 cxgbit_skcb_submode(skb) = submode;
62 cxgbit_skcb_tx_extralen(skb) = cxgbit_digest_len[submode];
131 unsigned int submode = cxgbit_skcb_submode(skb); local
141 CPL_TX_DATA_ISO_HDRCRC_V(submode & 1) |
142 CPL_TX_DATA_ISO_PLDCRC_V(((submode >>
164 u32 submode = cxgbit_skcb_submode(skb); local
[all...]
H A Dcxgbit.h77 u8 submode; member in struct:cxgbit_skb_tx_cb
99 #define cxgbit_skcb_submode(skb) (CXGBIT_SKB_CB(skb)->tx.submode)
237 u8 submode; member in struct:cxgbit_sock
/linux-master/drivers/phy/ti/
H A Dphy-gmii-sel.c70 static int phy_gmii_sel_mode(struct phy *phy, enum phy_mode mode, int submode) argument
82 switch (submode) {
130 if_phy->phy_if_mode = submode;
133 __func__, if_phy->id, submode, rgmii_id,
162 if_phy->id, phy_modes(submode));
H A Dphy-da8xx-usb.c89 enum phy_mode mode, int submode)
88 da8xx_usb20_phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument
/linux-master/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) argument
395 if (!lynx_28g_supports_interface(priv, submode))
406 switch (submode) {
419 lane->interface = submode;
431 static int lynx_28g_validate(struct phy *phy, enum phy_mode mode, int submode, argument
440 if (!lynx_28g_supports_interface(priv, submode))
/linux-master/drivers/phy/renesas/
H A Dr8a779f0-ether-serdes.c301 int submode)
308 switch (submode) {
312 channel->phy_interface = submode;
300 r8a779f0_eth_serdes_set_mode(struct phy *p, enum phy_mode mode, int submode) argument
/linux-master/drivers/crypto/
H A Dsa2ul.h231 * @submode: Encryption submodes
248 u16 submode; member in struct:sa_cmdl_upd_info
/linux-master/drivers/phy/starfive/
H A Dphy-jh7110-pcie.c103 enum phy_mode mode, int submode)
102 jh7110_pcie_phy_set_mode(struct phy *_phy, enum phy_mode mode, int submode) argument
H A Dphy-jh7110-usb.c45 enum phy_mode mode, int submode)
44 usb2_phy_set_mode(struct phy *_phy, enum phy_mode mode, int submode) argument
/linux-master/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) argument
74 switch (submode) {
/linux-master/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) argument
144 return phy_set_mode_ext(phy->repeater, mode, submode);
H A Dphy-qcom-usb-hs.c43 enum phy_mode mode, int submode)
42 qcom_usb_hs_phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument
H A Dphy-qcom-eusb2-repeater.c159 enum phy_mode mode, int submode)
158 eusb2_repeater_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument
H A Dphy-qcom-qmp-ufs.c957 u32 submode; member in struct:qmp_ufs
1457 if (qmp->submode == max_gear)
1655 static int qmp_ufs_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument
1660 if (submode > cfg->max_supported_gear || submode == 0) {
1661 dev_err(qmp->dev, "Invalid PHY submode %d\n", submode);
1666 qmp->submode = submode;
/linux-master/drivers/phy/samsung/
H A Dphy-samsung-ufs.c195 enum phy_mode mode, int submode)
194 samsung_ufs_phy_set_mode(struct phy *generic_phy, enum phy_mode mode, int submode) argument
/linux-master/drivers/phy/amlogic/
H A Dphy-meson-gxl-usb2.c153 enum phy_mode mode, int submode)
152 phy_meson_gxl_usb2_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument
/linux-master/drivers/phy/cadence/
H A Dcdns-dphy-rx.c216 int submode, union phy_configure_opts *opts)
215 cdns_dphy_rx_validate(struct phy *phy, enum phy_mode mode, int submode, union phy_configure_opts *opts) argument
/linux-master/drivers/phy/
H A Dphy-core.c399 int phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode) argument
407 ret = phy->ops->set_mode(phy, mode, submode);
572 * @submode: PHY submode the configuration is applicable to.
584 int phy_validate(struct phy *phy, enum phy_mode mode, int submode, argument
596 ret = phy->ops->validate(phy, mode, submode, opts);
/linux-master/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c686 u32 submode = cxgbi_skcb_tx_ulp_mode(skb) & 0x3; local
692 CPL_TX_DATA_ISO_HDRCRC_V(submode & 1) |
693 CPL_TX_DATA_ISO_PLDCRC_V(((submode >> 1) & 1)) |
721 u32 submode = cxgbi_skcb_tx_ulp_mode(skb) & 0x3; local
726 u32 force = is_t5(lldi->adapter_type) ? TX_FORCE_V(!submode) :
733 submode |= 8;
751 if (submode)
753 FW_OFLD_TX_DATA_WR_ULPSUBMODE_V(submode);
2125 /* set up ulp submode */
/linux-master/drivers/scsi/cxgbi/
H A Dlibcxgbi.h92 static inline unsigned int cxgbi_ulp_extra_len(int submode) argument
94 return ulp2_extra_len[submode & 3];

Completed in 278 milliseconds

12