/linux-master/drivers/phy/marvell/ |
H A D | phy-mvebu-cp110-comphy.c | 181 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 D | phy-mvebu-a3700-comphy.c | 229 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 D | lan966x_serdes.c | 33 .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 D | phy-ocelot-serdes.c | 340 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 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, 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 D | cxgbit_target.c | 30 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 D | cxgbit.h | 77 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 D | phy-gmii-sel.c | 70 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 D | phy-da8xx-usb.c | 89 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 D | phy-fsl-lynx-28g.c | 382 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 D | r8a779f0-ether-serdes.c | 301 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 D | sa2ul.h | 231 * @submode: Encryption submodes 248 u16 submode; member in struct:sa_cmdl_upd_info
|
/linux-master/drivers/phy/starfive/ |
H A D | phy-jh7110-pcie.c | 103 enum phy_mode mode, int submode) 102 jh7110_pcie_phy_set_mode(struct phy *_phy, enum phy_mode mode, int submode) argument
|
H A D | phy-jh7110-usb.c | 45 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 D | phy-rockchip-snps-pcie3.c | 69 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 D | phy-qcom-snps-eusb2.c | 138 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 D | phy-qcom-usb-hs.c | 43 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 D | phy-qcom-eusb2-repeater.c | 159 enum phy_mode mode, int submode) 158 eusb2_repeater_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument
|
H A D | phy-qcom-qmp-ufs.c | 957 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 D | phy-samsung-ufs.c | 195 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 D | phy-meson-gxl-usb2.c | 153 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 D | cdns-dphy-rx.c | 216 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 D | phy-core.c | 399 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 D | cxgb4i.c | 686 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 D | libcxgbi.h | 92 static inline unsigned int cxgbi_ulp_extra_len(int submode) argument 94 return ulp2_extra_len[submode & 3];
|