Searched refs:phy (Results 176 - 200 of 624) sorted by relevance

1234567891011>>

/drivers/usb/chipidea/
H A Dci_hdrc_imx.c47 struct usb_phy *phy; member in struct:ci_hdrc_imx_data
141 data->phy = devm_usb_get_phy_by_phandle(&pdev->dev, "fsl,usbphy", 0);
142 if (IS_ERR(data->phy)) {
143 ret = PTR_ERR(data->phy);
150 pdata.phy = data->phy;
/drivers/video/fbdev/omap2/dss/
H A Dhdmi.h324 void hdmi_pll_compute(struct hdmi_pll_data *pll, unsigned long clkin, int phy);
328 int hdmi_phy_configure(struct hdmi_phy_data *phy, struct hdmi_config *cfg);
329 void hdmi_phy_dump(struct hdmi_phy_data *phy, struct seq_file *s);
330 int hdmi_phy_init(struct platform_device *pdev, struct hdmi_phy_data *phy);
331 int hdmi_phy_parse_lanes(struct hdmi_phy_data *phy, const u32 *lanes);
335 struct hdmi_phy_data *phy);
H A Dhdmi_pll.c54 void hdmi_pll_compute(struct hdmi_pll_data *pll, unsigned long clkin, int phy) argument
73 if (pll_feat->bound_dcofreq && phy <= 65000)
82 pi->regm = phy * pi->regm2 / refclk;
86 * multiplier and actual phy(required pixel clock thus should be
89 mf = (phy - pi->regm / pi->regm2 * refclk) * 262144;
96 pi->dcofreq = phy > 1000 * 100;
/drivers/usb/atm/
H A Dueagle-atm.c202 } phy; member in struct:uea_softc::uea_stats
298 (GET_STATUS(sc->stats.phy.state) == 2) : \
299 (sc->stats.phy.state == 7))
1319 sc->stats.phy.dsrate == dsrate)
1341 data = sc->stats.phy.state;
1343 ret = uea_read_cmv_e1(sc, E1_SA_STAT, 0, &sc->stats.phy.state);
1347 switch (GET_STATUS(sc->stats.phy.state)) {
1376 GET_STATUS(sc->stats.phy.state));
1399 ret = uea_read_cmv_e1(sc, E1_SA_DIAG, 2, &sc->stats.phy.flags);
1402 sc->stats.phy
[all...]
/drivers/scsi/mvsas/
H A Dmv_64xx.c34 struct mvs_phy *phy = &mvi->phy[i]; local
37 phy->phy_type &= ~(PORT_TYPE_SAS | PORT_TYPE_SATA);
39 phy->phy_type |= PORT_TYPE_SAS;
41 phy->phy_type |= PORT_TYPE_SATA;
338 /* set phy local SAS address */
341 cpu_to_be64(mvi->phy[i].dev_sas_addr));
361 /* clear phy int status */
366 /* set phy int mask */
593 struct mvs_phy *phy local
624 struct mvs_phy *phy = &mvi->phy[i]; local
[all...]
/drivers/scsi/pm8001/
H A Dpm8001_sas.c148 * control the HBA phy rather than other expander phy if you want control
149 * other phy, you should use SMP command.
150 * @sas_phy: which phy in HBA phys.
163 pm8001_ha->phy[phy_id].enable_completion = &completion;
168 pm8001_ha->phy[phy_id].minimum_linkrate =
172 pm8001_ha->phy[phy_id].maximum_linkrate =
175 if (pm8001_ha->phy[phy_id].phy_state == 0) {
183 if (pm8001_ha->phy[phy_id].phy_state == 0) {
191 if (pm8001_ha->phy[phy_i
215 struct sas_phy *phy = sas_phy->phy; local
619 struct ex_phy *phy; local
980 struct sas_phy *phy; local
1023 struct sas_phy *phy; local
1089 struct sas_phy *phy = sas_get_local_phy(dev); local
[all...]
H A Dpm8001_hwi.c1647 pm8001_printk("...Reset phy\n"));
1662 pm8001_printk("...Reset phy\n"));
3207 pm8001_printk("%x phy execute %x phy op failed!\n",
3211 pm8001_printk("%x phy execute %x phy op success!\n",
3219 * @i: which phy that received the event.
3229 struct pm8001_phy *phy = &pm8001_ha->phy[i]; local
3230 struct asd_sas_phy *sas_phy = &phy
3261 pm8001_get_lrate_mode(struct pm8001_phy *phy, u8 link_rate) argument
3298 pm8001_get_attached_sas_addr(struct pm8001_phy *phy, u8 *sas_addr) argument
3367 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; local
3446 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; local
3488 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; local
3788 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; local
[all...]
/drivers/gpu/drm/msm/hdmi/
H A Dhdmi.c60 struct hdmi_phy *phy = hdmi->phy; local
62 if (phy)
63 phy->funcs->destroy(phy);
103 /* not sure about which phy maps to which msm.. probably I miss some */
105 hdmi->phy = config->phy_init(hdmi);
107 hdmi->phy = ERR_PTR(-ENXIO);
109 if (IS_ERR(hdmi->phy)) {
110 ret = PTR_ERR(hdmi->phy);
[all...]
/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c127 if (hw->phy.media_type == e1000_media_type_copper) {
135 if (hw->phy.type == e1000_phy_ife)
142 ecmd->advertising |= hw->phy.autoneg_advertised;
146 ecmd->phy_address = hw->phy.addr;
189 ecmd->autoneg = ((hw->phy.media_type == e1000_media_type_fiber) ||
193 if ((hw->phy.media_type == e1000_media_type_copper) &&
195 ecmd->eth_tp_mdix = hw->phy.is_mdix ? ETH_TP_MDI_X : ETH_TP_MDI;
199 if (hw->phy.mdix == AUTO_ALL_MODES)
202 ecmd->eth_tp_mdix_ctrl = hw->phy.mdix;
220 if ((adapter->hw.phy
[all...]
/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88e1xxx.c85 /* Disable all phy interrupts. */
124 static int mv88e1xxx_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument
128 (void) simple_mdio_read(phy, MII_BMCR, &ctl);
143 (void) simple_mdio_write(phy, MII_BMCR, ctl);
199 static int mv88e1xxx_advertise(struct cphy *phy, unsigned int advertise_map) argument
205 (void) simple_mdio_read(phy, MII_GBCR, &val);
212 (void) simple_mdio_write(phy, MII_GBCR, val);
227 (void) simple_mdio_write(phy, MII_ADVERTISE, val);
/drivers/pci/host/
H A Dpci-keystone.c25 #include <linux/phy/phy.h>
108 dev_err(pp->dev, "phy link never came up\n");
351 struct phy *phy; local
363 phy = devm_phy_get(dev, "pcie-phy");
364 if (!IS_ERR_OR_NULL(phy)) {
365 ret = phy_init(phy);
/drivers/net/ethernet/toshiba/
H A Dspider_net.c118 * spider_net_write_phy - write to phy register
122 * @val: value to be written to phy register
142 * spider_net_read_phy - read from phy register
180 struct mii_phy *phy = &card->phy; local
184 bmsr = spider_net_read_phy(card->netdev, phy->mii_id, MII_BMSR);
185 estat = spider_net_read_phy(card->netdev, phy->mii_id, MII_ESTATUS);
201 sungem_phy_probe(phy, phy->mii_id);
202 phy
2004 struct mii_phy *phy = &card->phy; local
2078 struct mii_phy *phy = &card->phy; local
[all...]
/drivers/net/ethernet/marvell/
H A Dpxa168_eth.c39 #include <linux/phy.h>
241 struct phy_device *phy; member in struct:pxa168_eth_private
659 if (pep->phy != NULL) {
663 phy_init_hw(pep->phy);
1354 if (pep->phy != NULL)
1355 return phy_mii_ioctl(pep->phy, ifr, cmd);
1373 /* Use phy addr specific to platform */
1395 struct phy_device *phy = pep->phy; local
1397 phy_attach(pep->dev, dev_name(&phy
[all...]
/drivers/video/fbdev/exynos/
H A Dexynos_mipi_dsi.c33 #include <linux/phy/phy.h>
159 phy_power_on(dsim->phy);
375 dsim->phy = devm_phy_get(&pdev->dev, "dsim");
376 if (IS_ERR(dsim->phy))
377 return PTR_ERR(dsim->phy);
445 phy_power_on(dsim->phy);
510 phy_power_off(dsim->phy);
540 phy_power_on(dsim->phy);
/drivers/net/wireless/b43/
H A Dxmit.c182 const struct b43_phy *phy = &dev->phy; local
187 if (phy->type == B43_PHYTYPE_LP)
193 } else if (b43_is_cck_rate(bitrate) && phy->type != B43_PHYTYPE_LP) {
250 const struct b43_phy *phy = &dev->phy; local
261 bool fill_phy_ctl1 = (phy->type == B43_PHYTYPE_LP ||
262 phy->type == B43_PHYTYPE_N ||
263 phy->type == B43_PHYTYPE_HT);
373 txhdr->chan_radio_code = phy
580 struct b43_phy *phy = &dev->phy; local
[all...]
H A Dphy_lp.c61 dev->phy.lp = lpphy;
68 struct b43_phy *phy = &dev->phy; local
69 struct b43_phy_lp *lpphy = phy->lp;
79 struct b43_phy_lp *lpphy = dev->phy.lp;
82 dev->phy.lp = NULL;
89 struct b43_phy_lp *lpphy = dev->phy.lp;
171 struct b43_phy_lp *lpphy = dev->phy.lp;
175 B43_WARN_ON(dev->phy.rev >= 2);
198 if (dev->phy
[all...]
/drivers/net/ethernet/emulex/benet/
H A Dbe_ethtool.c484 switch (adapter->phy.interface_type) {
491 if (adapter->phy.cable_type & SFP_PLUS_COPPER_CABLE)
497 if (adapter->phy.cable_type & QSFP_PLUS_CR4_CABLE)
520 switch (adapter->phy.interface_type) {
559 switch (adapter->phy.cable_type) {
598 return (adapter->phy.interface_type == PHY_TYPE_SFP_PLUS_10GB ||
599 adapter->phy.interface_type == PHY_TYPE_XFP_10GB) ?
612 if (adapter->phy.link_speed < 0) {
621 auto_speeds = adapter->phy.auto_speeds_supported;
622 fixed_speeds = adapter->phy
[all...]
/drivers/net/fddi/skfp/
H A Dsmt.c64 static int phy_index(struct s_smc *smc, int phy);
66 static int phy_con_resource_index(struct s_smc *smc, int phy);
91 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy);
290 struct s_phy *phy ; local
352 phy = &smc->y[port] ;
354 if (!phy->mib->fddiPORTHardwarePresent) {
358 cond = (phy->mib->fddiPORTEBError_Ct -
359 phy->mib->fddiPORTOldEBError_Ct > 5) ;
365 (int) (INDEX_PORT+ phy->np) ,cond) ;
370 phy
1345 struct smt_phy_rec *phy ; local
1411 smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy) argument
1768 phy_index(struct s_smc *smc, int phy) argument
1801 phy_con_resource_index(struct s_smc *smc, int phy) argument
[all...]
/drivers/net/ethernet/aeroflex/
H A Dgreth.c1111 struct phy_device *phy = greth->phy; local
1113 if (!phy)
1116 return phy_ethtool_gset(phy, cmd);
1122 struct phy_device *phy = greth->phy; local
1124 if (!phy)
1127 return phy_ethtool_sset(phy, cmd);
1188 static int greth_mdio_read(struct mii_bus *bus, int phy, int reg) argument
1196 GRETH_REGSAVE(greth->regs->mdio, ((phy
1210 greth_mdio_write(struct mii_bus *bus, int phy, int reg, u16 val) argument
1282 struct phy_device *phy = NULL; local
1328 int ret, phy; local
[all...]
H A Dgreth.h4 #include <linux/phy.h>
126 struct phy_device *phy; member in struct:greth_private
/drivers/ata/
H A Dsata_highbank.c343 int phy_count = 0, phy, port = 0, i; local
354 "calxeda,port-phys", "#phy-cells",
357 for (phy = 0; phy < phy_count; phy++) {
358 if (phy_nodes[phy] == phy_data.np)
361 if (phy_nodes[phy] == NULL) {
362 phy_nodes[phy] = phy_data.np;
363 cphy_base[phy] = of_iomap(phy_nodes[phy],
[all...]
/drivers/net/wireless/ath/ath9k/
H A Ddynack.c38 * ath_dynack_get_sifs - get sifs time based on phy used
40 * @phy: phy used
43 static inline u32 ath_dynack_get_sifs(struct ath_hw *ah, int phy) argument
47 if (phy == WLAN_RC_PHY_OFDM) {
210 u32 phy, sifs; local
217 phy = WLAN_RC_PHY_CCK;
219 phy = WLAN_RC_PHY_OFDM;
221 sifs = ath_dynack_get_sifs(ah, phy);
/drivers/net/ethernet/intel/igb/
H A Digb.h540 if (hw->phy.ops.reset)
541 return hw->phy.ops.reset(hw);
548 if (hw->phy.ops.read_reg)
549 return hw->phy.ops.read_reg(hw, offset, data);
556 if (hw->phy.ops.write_reg)
557 return hw->phy.ops.write_reg(hw, offset, data);
564 if (hw->phy.ops.get_phy_info)
565 return hw->phy.ops.get_phy_info(hw);
/drivers/net/ethernet/ti/
H A Ddavinci_mdio.c33 #include <linux/phy.h>
155 /* get phy mask from the alive register */
159 dev_info(data->dev, "detected phy mask %x\n", ~phy_mask);
163 dev_warn(data->dev, "no live phy, scanning all\n");
329 struct phy_device *phy; local
396 phy = data->bus->phy_map[addr];
397 if (phy) {
398 dev_info(dev, "phy[%d]: device %s, driver %s\n",
399 phy->addr, dev_name(&phy
[all...]
/drivers/net/wireless/ath/ath5k/
H A DMakefile9 ath5k-y += phy.o

Completed in 515 milliseconds

1234567891011>>