Searched refs:phy (Results 1 - 25 of 624) sorted by relevance

1234567891011>>

/drivers/scsi/libsas/
H A Dsas_phy.c36 struct asd_sas_phy *phy = ev->phy; local
38 clear_bit(PHYE_LOSS_OF_SIGNAL, &phy->phy_events_pending);
39 phy->error = 0;
40 sas_deform_port(phy, 1);
46 struct asd_sas_phy *phy = ev->phy; local
48 clear_bit(PHYE_OOB_DONE, &phy->phy_events_pending);
49 phy->error = 0;
55 struct asd_sas_phy *phy local
86 struct asd_sas_phy *phy = ev->phy; local
100 struct asd_sas_phy *phy = ev->phy; local
142 struct asd_sas_phy *phy = sas_ha->sas_phy[i]; local
[all...]
H A Dsas_port.c31 static bool phy_is_wideport_member(struct asd_sas_port *port, struct asd_sas_phy *phy) argument
33 struct sas_ha_struct *sas_ha = phy->ha;
35 if (memcmp(port->attached_sas_addr, phy->attached_sas_addr,
37 memcmp(port->sas_addr, phy->sas_addr, SAS_ADDR_SIZE) != 0))
42 static void sas_resume_port(struct asd_sas_phy *phy) argument
45 struct asd_sas_port *port = phy->port;
46 struct sas_ha_struct *sas_ha = phy->ha;
50 si->dft->lldd_port_formed(phy);
75 struct ex_phy *phy = &dev->ex_dev.ex_phy[i]; local
77 phy
92 sas_form_port(struct asd_sas_phy *phy) argument
204 sas_deform_port(struct asd_sas_phy *phy, int gone) argument
262 struct asd_sas_phy *phy = ev->phy; local
272 struct asd_sas_phy *phy = ev->phy; local
289 struct asd_sas_phy *phy = ev->phy; local
299 struct asd_sas_phy *phy = ev->phy; local
309 struct asd_sas_phy *phy = ev->phy; local
[all...]
/drivers/phy/
H A Dphy-core.c2 * phy-core.c -- Generic Phy framework.
21 #include <linux/phy/phy.h>
33 struct phy *phy = *(struct phy **)res; local
35 phy_put(phy);
47 struct phy *phy = *(struct phy **)re local
60 struct phy *phy; local
104 phy_pm_runtime_get(struct phy *phy) argument
119 phy_pm_runtime_get_sync(struct phy *phy) argument
134 phy_pm_runtime_put(struct phy *phy) argument
143 phy_pm_runtime_put_sync(struct phy *phy) argument
152 phy_pm_runtime_allow(struct phy *phy) argument
161 phy_pm_runtime_forbid(struct phy *phy) argument
170 phy_init(struct phy *phy) argument
200 phy_exit(struct phy *phy) argument
228 phy_power_on(struct phy *phy) argument
269 phy_power_off(struct phy *phy) argument
311 struct phy *phy = NULL; local
347 struct phy *phy = NULL; local
372 phy_put(struct phy *phy) argument
390 devm_phy_put(struct device *dev, struct phy *phy) argument
415 struct phy *phy; local
454 struct phy *phy; local
492 struct phy *phy = phy_get(dev, string); local
513 struct phy **ptr, *phy; local
546 struct phy *phy = devm_phy_get(dev, string); local
568 struct phy **ptr, *phy; local
601 struct phy *phy; local
681 struct phy **ptr, *phy; local
705 phy_destroy(struct phy *phy) argument
720 devm_phy_destroy(struct device *dev, struct phy *phy) argument
840 struct phy *phy; local
[all...]
H A Dphy-omap-usb2.c24 #include <linux/phy/omap_usb.h>
30 #include <linux/phy/omap_control_phy.h>
31 #include <linux/phy/phy.h>
39 * this phy
40 * @comparator - the companion phy(comparator) for this phy
42 * The phy companion driver should call this API passing the phy_companion
43 * filled with set_vbus and start_srp to be used by usb phy.
45 * For use by phy companio
49 struct omap_usb *phy; local
63 struct omap_usb *phy = phy_to_omapusb(otg->phy); local
73 struct omap_usb *phy = phy_to_omapusb(otg->phy); local
83 struct usb_phy *phy = otg->phy; local
95 struct usb_phy *phy = otg->phy; local
106 struct omap_usb *phy = phy_get_drvdata(x); local
115 struct omap_usb *phy = phy_get_drvdata(x); local
124 struct omap_usb *phy = phy_get_drvdata(x); local
196 struct omap_usb *phy; local
314 struct omap_usb *phy = platform_get_drvdata(pdev); local
330 struct omap_usb *phy = platform_get_drvdata(pdev); local
342 struct omap_usb *phy = platform_get_drvdata(pdev); local
[all...]
H A DMakefile2 # Makefile for the phy drivers.
5 obj-$(CONFIG_GENERIC_PHY) += phy-core.o
6 obj-$(CONFIG_PHY_BERLIN_SATA) += phy-berlin-sata.o
7 obj-$(CONFIG_BCM_KONA_USB2_PHY) += phy-bcm-kona-usb2.o
8 obj-$(CONFIG_PHY_EXYNOS_DP_VIDEO) += phy-exynos-dp-video.o
9 obj-$(CONFIG_PHY_EXYNOS_MIPI_VIDEO) += phy-exynos-mipi-video.o
10 obj-$(CONFIG_PHY_MVEBU_SATA) += phy-mvebu-sata.o
11 obj-$(CONFIG_PHY_MIPHY365X) += phy-miphy365x.o
12 obj-$(CONFIG_PHY_RCAR_GEN2) += phy-rcar-gen2.o
13 obj-$(CONFIG_OMAP_CONTROL_PHY) += phy
[all...]
H A Dphy-ti-pipe3.c2 * phy-ti-pipe3 - PIPE3 PHY driver.
22 #include <linux/phy/phy.h>
29 #include <linux/phy/omap_control_phy.h>
119 static struct pipe3_dpll_params *ti_pipe3_get_dpll_params(struct ti_pipe3 *phy) argument
122 struct pipe3_dpll_map *dpll_map = phy->dpll_map;
124 rate = clk_get_rate(phy->sys_clk);
131 dev_err(phy->dev, "No DPLL configuration for %lu Hz SYS CLK\n", rate);
136 static int ti_pipe3_power_off(struct phy *x)
138 struct ti_pipe3 *phy local
147 struct ti_pipe3 *phy = phy_get_drvdata(x); local
154 ti_pipe3_dpll_wait_lock(struct ti_pipe3 *phy) argument
175 ti_pipe3_dpll_program(struct ti_pipe3 *phy) argument
216 struct ti_pipe3 *phy = phy_get_drvdata(x); local
244 struct ti_pipe3 *phy = phy_get_drvdata(x); local
291 struct ti_pipe3 *phy; local
430 struct ti_pipe3 *phy = dev_get_drvdata(dev); local
445 struct ti_pipe3 *phy = dev_get_drvdata(dev); local
[all...]
H A Dphy-bcm-kona-usb2.c2 * phy-bcm-kona-usb2.c - Broadcom Kona USB2 Phy Driver
23 #include <linux/phy/phy.h>
42 static void bcm_kona_usb_phy_power(struct bcm_kona_usb *phy, int on) argument
46 val = readl(phy->regs + OTGCTL);
55 writel(val, phy->regs + OTGCTL);
58 static int bcm_kona_usb_phy_init(struct phy *gphy)
60 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); local
64 val = readl(phy->regs + P1CTL);
67 writel(val, phy
78 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); local
87 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); local
104 struct bcm_kona_usb *phy; local
[all...]
H A Dphy-sun4i-usb.c2 * Allwinner sun4i USB phy driver
32 #include <linux/phy/phy.h>
70 struct phy *phy; member in struct:sun4i_usb_phy_data::sun4i_usb_phy
79 #define to_sun4i_usb_phy_data(phy) \
80 container_of((phy), struct sun4i_usb_phy_data, phys[(phy)->index])
82 static void sun4i_usb_phy_write(struct sun4i_usb_phy *phy, u32 addr, u32 data, argument
85 struct sun4i_usb_phy_data *phy_data = to_sun4i_usb_phy_data(phy);
124 sun4i_usb_phy_passby(struct sun4i_usb_phy *phy, int enable) argument
146 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); local
173 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); local
184 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); local
195 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); local
260 struct sun4i_usb_phy *phy = data->phys + i; local
[all...]
H A Dphy-qcom-ipq806x-sata.c24 #include <linux/phy/phy.h>
61 static int qcom_ipq806x_sata_phy_init(struct phy *generic_phy)
63 struct qcom_ipq806x_sata_phy *phy = phy_get_drvdata(generic_phy); local
67 reg = readl_relaxed(phy->mmio + SATA_PHY_P0_PARAM3);
69 writel_relaxed(reg, phy->mmio + SATA_PHY_P0_PARAM3);
71 reg = readl_relaxed(phy->mmio + SATA_PHY_P0_PARAM0) &
76 writel_relaxed(reg, phy->mmio + SATA_PHY_P0_PARAM0);
78 reg = readl_relaxed(phy->mmio + SATA_PHY_P0_PARAM1) &
85 writel_relaxed(reg, phy
118 struct qcom_ipq806x_sata_phy *phy = phy_get_drvdata(generic_phy); local
137 struct qcom_ipq806x_sata_phy *phy; local
186 struct qcom_ipq806x_sata_phy *phy = platform_get_drvdata(pdev); local
[all...]
/drivers/net/ethernet/ibm/emac/
H A Dphy.c2 * drivers/net/ethernet/ibm/emac/phy.c
29 #include "phy.h"
34 static inline int _phy_read(struct mii_phy *phy, int reg) argument
36 return phy->mdio_read(phy->dev, phy->address, reg);
39 static inline void _phy_write(struct mii_phy *phy, int reg, int val) argument
41 phy->mdio_write(phy->dev, phy
44 gpcs_phy_read(struct mii_phy *phy, int reg) argument
49 gpcs_phy_write(struct mii_phy *phy, int reg, int val) argument
54 emac_mii_reset_phy(struct mii_phy *phy) argument
78 emac_mii_reset_gpcs(struct mii_phy *phy) argument
109 genmii_setup_aneg(struct mii_phy *phy, u32 advertise) argument
168 genmii_setup_forced(struct mii_phy *phy, int speed, int fd) argument
205 genmii_poll_link(struct mii_phy *phy) argument
219 genmii_read_link(struct mii_phy *phy) argument
305 cis8201_init(struct mii_phy *phy) argument
366 m88e1111_init(struct mii_phy *phy) argument
379 m88e1112_init(struct mii_phy *phy) argument
406 et1011c_init(struct mii_phy *phy) argument
483 emac_mii_phy_probe(struct mii_phy *phy, int address) argument
[all...]
H A Dphy.h2 * drivers/net/ethernet/ibm/emac/phy.h
33 int (*init) (struct mii_phy * phy);
34 int (*suspend) (struct mii_phy * phy, int wol_options);
35 int (*setup_aneg) (struct mii_phy * phy, u32 advertise);
36 int (*setup_forced) (struct mii_phy * phy, int speed, int fd);
37 int (*poll_link) (struct mii_phy * phy);
38 int (*read_link) (struct mii_phy * phy);
83 int emac_mii_phy_probe(struct mii_phy *phy, int address);
84 int emac_mii_reset_phy(struct mii_phy *phy);
85 int emac_mii_reset_gpcs(struct mii_phy *phy);
[all...]
/drivers/usb/phy/
H A DMakefile4 obj-$(CONFIG_USB_PHY) += phy.o
11 obj-$(CONFIG_AB8500_USB) += phy-ab8500-usb.o
12 obj-$(CONFIG_FSL_USB2_OTG) += phy-fsl-usb.o
13 obj-$(CONFIG_ISP1301_OMAP) += phy-isp1301-omap.o
14 obj-$(CONFIG_NOP_USB_XCEIV) += phy-generic.o
15 obj-$(CONFIG_TAHVO_USB) += phy-tahvo.o
16 obj-$(CONFIG_AM335X_CONTROL_USB) += phy-am335x-control.o
17 obj-$(CONFIG_AM335X_PHY_USB) += phy-am335x.o
18 obj-$(CONFIG_OMAP_OTG) += phy-omap-otg.o
19 obj-$(CONFIG_SAMSUNG_USBPHY) += phy
[all...]
H A Dphy-ulpi.c55 static int ulpi_set_otg_flags(struct usb_phy *phy) argument
60 if (phy->flags & ULPI_OTG_ID_PULLUP)
67 if (phy->flags & ULPI_OTG_DP_PULLDOWN_DIS)
70 if (phy->flags & ULPI_OTG_DM_PULLDOWN_DIS)
73 if (phy->flags & ULPI_OTG_EXTVBUSIND)
76 return usb_phy_io_write(phy, flags, ULPI_OTG_CTRL);
79 static int ulpi_set_fc_flags(struct usb_phy *phy) argument
87 if (phy->flags & ULPI_FC_HS)
89 else if (phy->flags & ULPI_FC_LS)
91 else if (phy
121 ulpi_set_ic_flags(struct usb_phy *phy) argument
140 ulpi_set_flags(struct usb_phy *phy) argument
155 ulpi_check_integrity(struct usb_phy *phy) argument
181 ulpi_init(struct usb_phy *phy) argument
214 struct usb_phy *phy = otg->phy; local
240 struct usb_phy *phy = otg->phy; local
260 struct usb_phy *phy; local
[all...]
H A Dphy-generic.h7 struct usb_phy phy; member in struct:usb_phy_generic
15 int usb_gen_phy_init(struct usb_phy *phy);
16 void usb_gen_phy_shutdown(struct usb_phy *phy);
H A Dphy.c2 * phy.c -- USB phy handling
19 #include <linux/usb/phy.h>
28 struct usb_phy *phy = NULL; local
30 list_for_each_entry(phy, list, head) {
31 if (phy->type != type)
34 return phy;
48 if (phy_bind->phy)
49 return phy_bind->phy;
60 struct usb_phy *phy; local
74 struct usb_phy *phy = *(struct usb_phy **)res; local
97 struct usb_phy **ptr, *phy; local
126 struct usb_phy *phy = NULL; local
168 struct usb_phy *phy = ERR_PTR(-ENOMEM), **ptr; local
227 struct usb_phy *phy = NULL; local
263 struct usb_phy **ptr, *phy; local
290 devm_usb_put_phy(struct device *dev, struct usb_phy *phy) argument
331 struct usb_phy *phy; local
[all...]
/drivers/net/
H A Dsungem_phy.c50 static inline int __sungem_phy_read(struct mii_phy* phy, int id, int reg) argument
52 return phy->mdio_read(phy->dev, id, reg);
55 static inline void __sungem_phy_write(struct mii_phy* phy, int id, int reg, int val) argument
57 phy->mdio_write(phy->dev, id, reg, val);
60 static inline int sungem_phy_read(struct mii_phy* phy, int reg) argument
62 return phy->mdio_read(phy->dev, phy
65 sungem_phy_write(struct mii_phy* phy, int reg, int val) argument
70 reset_one_mii_phy(struct mii_phy* phy, int phy_id) argument
94 bcm5201_init(struct mii_phy* phy) argument
107 bcm5201_suspend(struct mii_phy* phy) argument
115 bcm5221_init(struct mii_phy* phy) argument
138 bcm5221_suspend(struct mii_phy* phy) argument
153 bcm5241_init(struct mii_phy* phy) argument
176 bcm5241_suspend(struct mii_phy* phy) argument
191 bcm5400_init(struct mii_phy* phy) argument
220 bcm5400_suspend(struct mii_phy* phy) argument
228 bcm5401_init(struct mii_phy* phy) argument
276 bcm5401_suspend(struct mii_phy* phy) argument
284 bcm5411_init(struct mii_phy* phy) argument
313 genmii_setup_aneg(struct mii_phy *phy, u32 advertise) argument
344 genmii_setup_forced(struct mii_phy *phy, int speed, int fd) argument
377 genmii_poll_link(struct mii_phy *phy) argument
390 genmii_read_link(struct mii_phy *phy) argument
414 generic_suspend(struct mii_phy* phy) argument
421 bcm5421_init(struct mii_phy* phy) argument
468 bcm54xx_setup_aneg(struct mii_phy *phy, u32 advertise) argument
512 bcm54xx_setup_forced(struct mii_phy *phy, int speed, int fd) argument
547 bcm54xx_read_link(struct mii_phy *phy) argument
573 marvell88e1111_init(struct mii_phy* phy) argument
597 bcm5421_poll_link(struct mii_phy* phy) argument
621 bcm5421_read_link(struct mii_phy* phy) argument
649 bcm5421_enable_fiber(struct mii_phy* phy, int autoneg) argument
670 bcm5461_poll_link(struct mii_phy* phy) argument
696 bcm5461_read_link(struct mii_phy* phy) argument
725 bcm5461_enable_fiber(struct mii_phy* phy, int autoneg) argument
744 marvell_setup_aneg(struct mii_phy *phy, u32 advertise) argument
795 marvell_setup_forced(struct mii_phy *phy, int speed, int fd) argument
845 marvell_read_link(struct mii_phy *phy) argument
1159 sungem_phy_probe(struct mii_phy *phy, int mii_id) argument
[all...]
/drivers/usb/renesas_usbhs/
H A Drcar2.c16 #include <linux/usb/phy.h>
23 struct usb_phy *phy; local
25 phy = usb_get_phy_dev(&pdev->dev, 0);
26 if (IS_ERR(phy))
27 return PTR_ERR(phy);
29 priv->phy = phy;
37 if (!priv->phy)
40 usb_put_phy(priv->phy);
41 priv->phy
[all...]
/drivers/nfc/
H A Dmei_phy.c54 struct nfc_mei_phy *phy = phy_id; local
58 if (phy->powered == 1)
61 r = mei_cl_enable_device(phy->device);
67 r = mei_cl_register_event_cb(phy->device, nfc_mei_event_cb, phy);
70 mei_cl_disable_device(phy->device);
71 phy->powered = 0;
76 phy->powered = 1;
84 struct nfc_mei_phy *phy = phy_id; local
88 mei_cl_disable_device(phy
101 struct nfc_mei_phy *phy = phy_id; local
115 struct nfc_mei_phy *phy = context; local
153 struct nfc_mei_phy *phy; local
166 nfc_mei_phy_free(struct nfc_mei_phy *phy) argument
[all...]
/drivers/staging/media/omap4iss/
H A Diss_csiphy.c27 * Called with phy->mutex taken.
29 static void csiphy_lanes_config(struct iss_csiphy *phy) argument
34 reg = iss_reg_read(phy->iss, phy->cfg_regs, CSI2_COMPLEXIO_CFG);
36 for (i = 0; i < phy->max_data_lanes; i++) {
39 reg |= (phy->lanes.data[i].pol ?
41 reg |= (phy->lanes.data[i].pos <<
47 reg |= phy->lanes.clk.pol ? CSI2_COMPLEXIO_CFG_CLOCK_POL : 0;
48 reg |= phy->lanes.clk.pos << CSI2_COMPLEXIO_CFG_CLOCK_POSITION_SHIFT;
50 iss_reg_write(phy
59 csiphy_set_power(struct iss_csiphy *phy, u32 power) argument
92 csiphy_dphy_config(struct iss_csiphy *phy) argument
220 omap4iss_csiphy_acquire(struct iss_csiphy *phy) argument
244 omap4iss_csiphy_release(struct iss_csiphy *phy) argument
[all...]
/drivers/nfc/pn544/
H A Di2c.c189 static void pn544_hci_i2c_platform_init(struct pn544_i2c_phy *phy) argument
195 nfc_info(&phy->i2c_dev->dev, "Detecting nfc_en polarity\n");
198 gpio_set_value(phy->gpio_fw, 0);
201 phy->en_polarity = polarity;
205 gpio_set_value(phy->gpio_en, !phy->en_polarity);
209 gpio_set_value(phy->gpio_en, phy->en_polarity);
213 dev_dbg(&phy->i2c_dev->dev, "Sending reset cmd\n");
214 ret = i2c_master_send(phy
231 pn544_hci_i2c_enable_mode(struct pn544_i2c_phy *phy, int run_mode) argument
242 struct pn544_i2c_phy *phy = phy_id; local
255 struct pn544_i2c_phy *phy = phy_id; local
298 struct pn544_i2c_phy *phy = phy_id; local
358 pn544_hci_i2c_read(struct pn544_i2c_phy *phy, struct sk_buff **skb) argument
417 pn544_hci_i2c_fw_read_status(struct pn544_i2c_phy *phy) argument
484 struct pn544_i2c_phy *phy = phy_id; local
529 struct pn544_i2c_phy *phy = phy_id; local
543 pn544_hci_i2c_fw_work_complete(struct pn544_i2c_phy *phy, int result) argument
640 pn544_hci_i2c_fw_write_chunk(struct pn544_i2c_phy *phy) argument
657 pn544_hci_i2c_fw_secure_write_frame_cmd(struct pn544_i2c_phy *phy, const u8 *data, u16 datalen) argument
689 pn544_hci_i2c_fw_secure_write_frame(struct pn544_i2c_phy *phy) argument
739 struct pn544_i2c_phy *phy = container_of(work, struct pn544_i2c_phy, local
866 struct pn544_i2c_phy *phy = i2c_get_clientdata(client); local
951 struct pn544_i2c_phy *phy; local
1044 struct pn544_i2c_phy *phy = i2c_get_clientdata(client); local
[all...]
/drivers/net/ethernet/intel/igb/
H A De1000_phy.c82 struct e1000_phy_info *phy = &hw->phy; local
86 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id);
90 phy->id = (u32)(phy_id << 16);
92 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id);
96 phy->id |= (u32)(phy_id & PHY_REVISION_MASK);
97 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK);
113 if (!(hw->phy.ops.write_reg))
116 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0xC1);
120 ret_val = hw->phy
137 struct e1000_phy_info *phy = &hw->phy; local
193 struct e1000_phy_info *phy = &hw->phy; local
250 struct e1000_phy_info *phy = &hw->phy; local
295 struct e1000_phy_info *phy = &hw->phy; local
479 struct e1000_phy_info *phy = &hw->phy; local
546 struct e1000_phy_info *phy = &hw->phy; local
650 struct e1000_phy_info *phy = &hw->phy; local
745 struct e1000_phy_info *phy = &hw->phy; local
883 struct e1000_phy_info *phy = &hw->phy; local
946 struct e1000_phy_info *phy = &hw->phy; local
1154 struct e1000_phy_info *phy = &hw->phy; local
1219 struct e1000_phy_info *phy = &hw->phy; local
1413 struct e1000_phy_info *phy = &hw->phy; local
1496 struct e1000_phy_info *phy = &hw->phy; local
1539 struct e1000_phy_info *phy = &hw->phy; local
1564 struct e1000_phy_info *phy = &hw->phy; local
1693 struct e1000_phy_info *phy = &hw->phy; local
1719 struct e1000_phy_info *phy = &hw->phy; local
1839 struct e1000_phy_info *phy = &hw->phy; local
1910 struct e1000_phy_info *phy = &hw->phy; local
1986 struct e1000_phy_info *phy = &hw->phy; local
2081 struct e1000_phy_info *phy = &hw->phy; local
2242 struct e1000_phy_info *phy = &hw->phy; local
2267 struct e1000_phy_info *phy = &hw->phy; local
2330 struct e1000_phy_info *phy = &hw->phy; local
2393 struct e1000_phy_info *phy = &hw->phy; local
[all...]
/drivers/net/ethernet/chelsio/cxgb3/
H A Daq100x.c65 static int aq100x_reset(struct cphy *phy, int wait) argument
71 int err = t3_phy_reset(phy, MDIO_MMD_VEND1, 3000);
74 CH_WARN(phy->adapter, "PHY%d: reset failed (0x%x).\n",
75 phy->mdio.prtad, err);
80 static int aq100x_intr_enable(struct cphy *phy) argument
82 int err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AQ_IMASK_PMA, IMASK_PMA);
86 err = t3_mdio_write(phy, MDIO_MMD_VEND1, AQ_IMASK_GLOBAL, IMASK_GLOBAL);
90 static int aq100x_intr_disable(struct cphy *phy) argument
92 return t3_mdio_write(phy, MDIO_MMD_VEND1, AQ_IMASK_GLOBAL, 0);
95 static int aq100x_intr_clear(struct cphy *phy) argument
105 aq100x_intr_handler(struct cphy *phy) argument
120 aq100x_power_down(struct cphy *phy, int off) argument
127 aq100x_autoneg_enable(struct cphy *phy) argument
140 aq100x_autoneg_restart(struct cphy *phy) argument
153 aq100x_advertise(struct cphy *phy, unsigned int advertise_map) argument
194 aq100x_set_loopback(struct cphy *phy, int mmd, int dir, int enable) argument
201 aq100x_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument
207 aq100x_get_link_status(struct cphy *phy, int *link_ok, int *speed, int *duplex, int *fc) argument
266 t3_aq100x_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) argument
[all...]
H A Dael1002.c84 static int set_phy_regs(struct cphy *phy, const struct reg_val *rv) argument
90 err = t3_mdio_write(phy, rv->mmd_addr, rv->reg_addr,
93 err = t3_mdio_change_bits(phy, rv->mmd_addr,
100 static void ael100x_txon(struct cphy *phy) argument
103 phy->mdio.prtad == 0 ? F_GPIO7_OUT_VAL : F_GPIO2_OUT_VAL;
106 t3_set_reg_field(phy->adapter, A_T3DBG_GPIO_EN, 0, tx_on_gpio);
113 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr) argument
118 err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AEL_I2C_CTRL,
125 err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL_I2C_STAT, &stat);
129 err = t3_mdio_read(phy, MDIO_MMD_PMAPM
141 ael1002_power_down(struct cphy *phy, int enable) argument
153 ael1002_reset(struct cphy *phy, int wait) argument
168 ael1002_intr_noop(struct cphy *phy) argument
176 get_link_status_r(struct cphy *phy, int *link_ok, int *speed, int *duplex, int *fc) argument
212 t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) argument
222 ael1006_reset(struct cphy *phy, int wait) argument
238 t3_ael1006_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) argument
251 ael2xxx_get_module_type(struct cphy *phy, int delay_ms) argument
293 ael2005_setup_sr_edc(struct cphy *phy) argument
325 ael2005_setup_twinax_edc(struct cphy *phy, int modtype) argument
361 ael2005_get_module_type(struct cphy *phy, int delay_ms) argument
376 ael2005_intr_enable(struct cphy *phy) argument
382 ael2005_intr_disable(struct cphy *phy) argument
388 ael2005_intr_clear(struct cphy *phy) argument
394 ael2005_reset(struct cphy *phy, int wait) argument
454 ael2005_intr_handler(struct cphy *phy) argument
509 t3_ael2005_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) argument
523 ael2020_setup_sr_edc(struct cphy *phy) argument
551 ael2020_setup_twinax_edc(struct cphy *phy, int modtype) argument
604 ael2020_get_module_type(struct cphy *phy, int delay_ms) argument
625 ael2020_intr_enable(struct cphy *phy) argument
665 ael2020_intr_disable(struct cphy *phy) argument
692 ael2020_intr_clear(struct cphy *phy) argument
722 ael2020_reset(struct cphy *phy, int wait) argument
765 ael2020_intr_handler(struct cphy *phy) argument
815 t3_ael2020_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) argument
834 get_link_status_x(struct cphy *phy, int *link_ok, int *speed, int *duplex, int *fc) argument
870 t3_qt2045_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) argument
890 xaui_direct_reset(struct cphy *phy, int wait) argument
895 xaui_direct_get_link_status(struct cphy *phy, int *link_ok, int *speed, int *duplex, int *fc) argument
919 xaui_direct_power_down(struct cphy *phy, int enable) argument
934 t3_xaui_direct_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) argument
[all...]
/drivers/net/wireless/brcm80211/brcmsmac/
H A DMakefile21 -Idrivers/net/wireless/brcm80211/brcmsmac/phy \
36 phy/phy_cmn.o \
37 phy/phy_lcn.o \
38 phy/phy_n.o \
39 phy/phytbl_lcn.o \
40 phy/phytbl_n.o \
41 phy/phy_qmath.o \
/drivers/media/platform/omap3isp/
H A Dispcsiphy.c25 static void csiphy_routing_cfg_3630(struct isp_csiphy *phy, argument
30 phy->isp, OMAP3_ISP_IOMEM_3630_CONTROL_CAMERA_PHY_CTRL, 0);
66 isp_reg_writel(phy->isp, reg,
70 static void csiphy_routing_cfg_3430(struct isp_csiphy *phy, u32 iface, bool on, argument
81 isp_reg_writel(phy->isp, 0,
89 isp_reg_writel(phy->isp, csirxfe,
95 * @phy: relevant phy device
105 static void csiphy_routing_cfg(struct isp_csiphy *phy, argument
109 if (phy
120 csiphy_power_autoswitch_enable(struct isp_csiphy *phy, bool enable) argument
133 csiphy_set_power(struct isp_csiphy *phy, u32 power) argument
167 omap3isp_csiphy_config(struct isp_csiphy *phy) argument
260 omap3isp_csiphy_acquire(struct isp_csiphy *phy) argument
298 omap3isp_csiphy_release(struct isp_csiphy *phy) argument
[all...]

Completed in 503 milliseconds

1234567891011>>