Home
last modified time | relevance | path

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

/drivers/phy/marvell/
Dphy-mvebu-a3700-comphy.c61 int submode; member
70 .submode = _smode, \
107 int submode; member
123 int submode) in mvebu_a3700_comphy_get_fw_mode() argument
135 mvebu_a3700_comphy_modes[i].submode == submode) in mvebu_a3700_comphy_get_fw_mode()
146 int submode) in mvebu_a3700_comphy_set_mode() argument
151 if (submode == PHY_INTERFACE_MODE_1000BASEX) in mvebu_a3700_comphy_set_mode()
152 submode = PHY_INTERFACE_MODE_SGMII; in mvebu_a3700_comphy_set_mode()
155 submode); in mvebu_a3700_comphy_set_mode()
163 lane->submode = submode; in mvebu_a3700_comphy_set_mode()
[all …]
Dphy-mvebu-cp110-comphy.c180 int submode; member
192 .submode = _submode, \
202 .submode = PHY_INTERFACE_MODE_NA, \
268 int submode; member
283 enum phy_mode mode, int submode) in mvebu_comphy_get_mode() argument
299 (conf->submode == submode || ignore_submode)) in mvebu_comphy_get_mode()
313 enum phy_mode mode, int submode) in mvebu_comphy_get_mux() argument
315 return mvebu_comphy_get_mode(false, lane, port, mode, submode); in mvebu_comphy_get_mux()
319 enum phy_mode mode, int submode) in mvebu_comphy_get_fw_mode() argument
321 return mvebu_comphy_get_mode(true, lane, port, mode, submode); in mvebu_comphy_get_fw_mode()
[all …]
/drivers/phy/mscc/
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()
/drivers/target/iscsi/cxgbit/
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()
62 cxgbit_skcb_tx_extralen(skb) = cxgbit_digest_len[submode]; in __cxgbit_alloc_skb()
132 unsigned int submode = cxgbit_skcb_submode(skb); in cxgbit_cpl_tx_data_iso() local
142 CPL_TX_DATA_ISO_HDRCRC_V(submode & 1) | in cxgbit_cpl_tx_data_iso()
143 CPL_TX_DATA_ISO_PLDCRC_V(((submode >> 1) & 1)) | in cxgbit_cpl_tx_data_iso()
165 u32 submode = cxgbit_skcb_submode(skb); in cxgbit_tx_data_wr() local
170 u32 force = is_t5(lldi->adapter_type) ? TX_FORCE_V(!submode) : in cxgbit_tx_data_wr()
[all …]
Dcxgbit.h77 u8 submode; member
99 #define cxgbit_skcb_submode(skb) (CXGBIT_SKB_CB(skb)->tx.submode)
238 u8 submode; member
Dcxgbit_cm.c1492 u8 hcrc = csk->submode & CXGBIT_SUBMODE_HCRC; in cxgbit_setup_conn_digest()
1493 u8 dcrc = csk->submode & CXGBIT_SUBMODE_DCRC; in cxgbit_setup_conn_digest()
/drivers/phy/ti/
Dphy-gmii-sel.c54 static int phy_gmii_sel_mode(struct phy *phy, enum phy_mode mode, int submode) in phy_gmii_sel_mode() argument
66 switch (submode) { in phy_gmii_sel_mode()
93 if_phy->phy_if_mode = submode; in phy_gmii_sel_mode()
Dphy-tusb1210.c53 static int tusb1210_set_mode(struct phy *phy, enum phy_mode mode, int submode) in tusb1210_set_mode() argument
Dphy-da8xx-usb.c89 enum phy_mode mode, int submode) in da8xx_usb20_phy_set_mode() argument
/drivers/phy/
Dphy-core.c359 int phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode) in phy_set_mode_ext() argument
367 ret = phy->ops->set_mode(phy, mode, submode); in phy_set_mode_ext()
467 int phy_validate(struct phy *phy, enum phy_mode mode, int submode, in phy_validate() argument
479 ret = phy->ops->validate(phy, mode, submode, opts); in phy_validate()
/drivers/phy/qualcomm/
Dphy-qcom-ufs-qmp-14nm.c38 enum phy_mode mode, int submode) in ufs_qcom_phy_qmp_14nm_set_mode() argument
Dphy-qcom-ufs-qmp-20nm.c57 enum phy_mode mode, int submode) in ufs_qcom_phy_qmp_20nm_set_mode() argument
Dphy-qcom-usb-hs.c43 enum phy_mode mode, int submode) in qcom_usb_hs_phy_set_mode() argument
Dphy-qcom-qusb2.c466 enum phy_mode mode, int submode) in qusb2_phy_set_mode() argument
Dphy-qcom-qmp.c1907 enum phy_mode mode, int submode) in qcom_qmp_phy_set_mode() argument
/drivers/scsi/cxgbi/
Dlibcxgbi.h85 static inline unsigned int cxgbi_ulp_extra_len(int submode) in cxgbi_ulp_extra_len() argument
87 return ulp2_extra_len[submode & 3]; in cxgbi_ulp_extra_len()
Dlibcxgbi.c1948 u8 submode = 0; in tx_skb_setmode() local
1951 submode |= 1; in tx_skb_setmode()
1953 submode |= 2; in tx_skb_setmode()
1954 cxgbi_skcb_ulp_mode(skb) = (ULP2_MODE_ISCSI << 4) | submode; in tx_skb_setmode()
/drivers/phy/amlogic/
Dphy-meson-gxl-usb2.c150 enum phy_mode mode, int submode) in phy_meson_gxl_usb2_set_mode() argument
Dphy-meson-gxl-usb3.c123 enum phy_mode mode, int submode) in phy_meson_gxl_usb3_set_mode() argument
/drivers/phy/cadence/
Dcdns-dphy.c235 static int cdns_dphy_validate(struct phy *phy, enum phy_mode mode, int submode, in cdns_dphy_validate() argument
/drivers/phy/freescale/
Dphy-fsl-imx8-mipi-dphy.c348 static int mixel_dphy_validate(struct phy *phy, enum phy_mode mode, int submode, in mixel_dphy_validate() argument
/drivers/phy/mediatek/
Dphy-mtk-xsphy.c429 static int mtk_phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) in mtk_phy_set_mode() argument
Dphy-mtk-tphy.c974 static int mtk_phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) in mtk_phy_set_mode() argument
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c674 unsigned int submode = cxgbi_skcb_ulp_mode(skb) & 3; in make_tx_data_wr() local
695 if (submode) in make_tx_data_wr()
697 FW_OFLD_TX_DATA_WR_ULPSUBMODE_V(submode); in make_tx_data_wr()
/drivers/phy/allwinner/
Dphy-sun4i-usb.c473 enum phy_mode mode, int submode) in sun4i_usb_phy_set_mode() argument