Searched refs:phy (Results 226 - 250 of 1467) sorted by relevance

1234567891011>>

/linux-master/drivers/scsi/libsas/
H A Dsas_event.c127 struct asd_sas_phy *phy = ev->phy; local
128 struct sas_ha_struct *ha = phy->ha;
138 struct asd_sas_phy *phy = ev->phy; local
139 struct sas_ha_struct *ha = phy->ha;
147 static bool sas_defer_event(struct asd_sas_phy *phy, struct asd_sas_event *ev) argument
149 struct sas_ha_struct *ha = phy->ha;
154 if (test_bit(SAS_HA_RESUMING, &ha->state) && !phy->suspended) {
164 void sas_notify_port_event(struct asd_sas_phy *phy, enu argument
191 sas_notify_phy_event(struct asd_sas_phy *phy, enum phy_event event, gfp_t gfp_flags) argument
[all...]
H A Dsas_expander.c149 static char sas_route_char(struct domain_device *dev, struct ex_phy *phy) argument
151 switch (phy->routing_attr) {
187 struct ex_phy *phy = &ex->ex_phy[phy_id]; local
189 bool new_phy = !phy->phy;
195 phy->phy = sas_phy_alloc(&rphy->dev, phy_id);
198 BUG_ON(!phy->phy);
203 phy
598 struct ex_phy *phy = &ex->ex_phy[phy_id]; local
610 struct ex_phy *phy = &ex->ex_phy[i]; local
637 sas_smp_get_phy_events(struct sas_phy *phy) argument
735 struct ex_phy *phy = &parent_ex->ex_phy[i]; local
754 sas_ex_add_dev(struct domain_device *parent, struct ex_phy *phy, struct domain_device *child, int phy_id) argument
792 struct ex_phy *phy = &parent_ex->ex_phy[phy_id]; local
849 struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id]; local
874 struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id]; local
1050 struct ex_phy *phy = &ex->ex_phy[i]; local
1153 struct ex_phy *phy = &ex->ex_phy[i]; local
1340 struct ex_phy *phy = &ex->ex_phy[phy_id]; local
1493 struct ex_phy *phy = &ex_parent->ex_phy[i]; local
1831 struct ex_phy *phy = &ex_dev->ex_phy[phy_id]; local
1946 struct ex_phy *phy = &ex->ex_phy[phy_id]; local
2048 struct ex_phy *phy = &ex->ex_phy[i]; local
2097 struct ex_phy *phy; local
[all...]
/linux-master/drivers/phy/samsung/
H A Dphy-exynos5250-sata.c18 #include <linux/phy/phy.h>
49 struct phy *phy; member in struct:exynos_sata_phy
69 static int exynos_sata_phy_power_on(struct phy *phy) argument
71 struct exynos_sata_phy *sata_phy = phy_get_drvdata(phy);
78 static int exynos_sata_phy_power_off(struct phy *phy) argument
80 struct exynos_sata_phy *sata_phy = phy_get_drvdata(phy);
87 exynos_sata_phy_init(struct phy *phy) argument
[all...]
/linux-master/drivers/usb/host/
H A Dohci-exynos.c16 #include <linux/phy/phy.h>
33 struct phy *phy[PHY_NUMBER]; member in struct:exynos_ohci_hcd
41 struct phy *phy; local
47 "#phy-cells");
49 phy = devm_of_phy_get_by_index(dev, dev->of_node, phy_number);
50 if (IS_ERR(phy))
51 return PTR_ERR(phy);
[all...]
/linux-master/drivers/phy/freescale/
H A Dphy-fsl-imx8m-pcie.c15 #include <linux/phy/phy.h>
20 #include <dt-bindings/phy/phy-imx8-pcie.h>
62 struct phy *phy; member in struct:imx8_pcie_phy
73 static int imx8_pcie_phy_power_on(struct phy *phy) argument
77 struct imx8_pcie_phy *imx8_phy = phy_get_drvdata(phy);
159 /* Polling to check the phy i
165 imx8_pcie_phy_init(struct phy *phy) argument
172 imx8_pcie_phy_exit(struct phy *phy) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c12 struct mt7996_phy *phy; local
17 phy = mt7996_phy2(dev);
18 if (phy && test_bit(MT76_STATE_RUNNING, &phy->mt76->state))
21 phy = mt7996_phy3(dev);
23 return phy && test_bit(MT76_STATE_RUNNING, &phy->mt76->state);
29 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
40 mt7996_mac_enable_nf(dev, phy->mt76->band_idx);
42 ret = mt7996_mcu_set_rts_thresh(phy,
91 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
176 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
256 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
282 mt7996_set_channel(struct mt7996_phy *phy) argument
322 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
397 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
461 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
546 struct mt7996_phy *phy = mphy->priv; local
590 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
750 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
837 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
856 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
896 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
922 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
945 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
958 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
996 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
1063 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
1075 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
1269 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
1372 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
1428 struct mt7996_phy *phy = mt7996_hw_phy(hw); local
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dcommon.h518 int (*reset)(struct cphy *phy, int wait);
520 int (*intr_enable)(struct cphy *phy);
521 int (*intr_disable)(struct cphy *phy);
522 int (*intr_clear)(struct cphy *phy);
523 int (*intr_handler)(struct cphy *phy);
525 int (*autoneg_enable)(struct cphy *phy);
526 int (*autoneg_restart)(struct cphy *phy);
528 int (*advertise)(struct cphy *phy, unsigned int advertise_map);
529 int (*set_loopback)(struct cphy *phy, int mmd, int dir, int enable);
530 int (*set_speed_duplex)(struct cphy *phy, in
561 t3_mdio_read(struct cphy *phy, int mmd, int reg, unsigned int *valp) argument
569 t3_mdio_write(struct cphy *phy, int mmd, int reg, unsigned int val) argument
577 cphy_init(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct cphy_ops *phy_ops, const struct mdio_ops *mdio_ops, unsigned int caps, const char *desc) argument
[all...]
/linux-master/drivers/media/platform/sunxi/sun6i-mipi-csi2/
H A Dsun6i_mipi_csi2.h10 #include <linux/phy/phy.h>
47 struct phy *dphy;
/linux-master/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
H A Dsun8i_a83t_mipi_csi2.h11 #include <linux/phy/phy.h>
50 struct phy *dphy;
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Drtw8851b_rfk.h18 void rtw8851b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
20 void rtw8851b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, bool hwtx_en);
21 void rtw8851b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
/linux-master/drivers/gpu/drm/msm/dp/
H A Ddp_ctrl.h19 struct phy;
32 struct phy *phy);
/linux-master/drivers/usb/musb/
H A Djz4740.c14 #include <linux/phy/phy.h>
83 struct usb_phy *phy = glue->musb->xceiv; local
85 if (!phy)
90 atomic_notifier_call_chain(&phy->notifier, USB_EVENT_NONE, phy);
93 atomic_notifier_call_chain(&phy->notifier, USB_EVENT_VBUS, phy);
96 atomic_notifier_call_chain(&phy->notifier, USB_EVENT_ID, phy);
[all...]
/linux-master/drivers/phy/amlogic/
H A Dphy-meson-axg-mipi-dphy.c20 #include <linux/phy/phy.h>
23 /* [31] soft reset for the phy.
172 struct phy *analog;
183 static int phy_meson_axg_mipi_dphy_init(struct phy *phy) argument
185 struct phy_meson_axg_mipi_dphy_priv *priv = phy_get_drvdata(phy);
199 static int phy_meson_axg_mipi_dphy_configure(struct phy *phy, argument
202 struct phy_meson_axg_mipi_dphy_priv *priv = phy_get_drvdata(phy);
218 phy_meson_axg_mipi_dphy_power_on(struct phy *phy) argument
301 phy_meson_axg_mipi_dphy_power_off(struct phy *phy) argument
313 phy_meson_axg_mipi_dphy_exit(struct phy *phy) argument
339 struct phy *phy; local
[all...]
H A Dphy-meson-g12a-usb3-pcie.c15 #include <linux/phy/phy.h>
19 #include <dt-bindings/phy/phy.h>
60 struct phy *phy; member in struct:phy_g12a_usb3_pcie_priv
196 static int phy_g12a_usb3_init(struct phy *phy) argument
198 struct phy_g12a_usb3_pcie_priv *priv = phy_get_drvdata(phy);
281 static int phy_g12a_usb3_pcie_power_on(struct phy *ph argument
295 phy_g12a_usb3_pcie_power_off(struct phy *phy) argument
309 phy_g12a_usb3_pcie_reset(struct phy *phy) argument
332 phy_g12a_usb3_pcie_init(struct phy *phy) argument
342 phy_g12a_usb3_pcie_exit(struct phy *phy) argument
[all...]
/linux-master/drivers/usb/phy/
H A Dphy.c3 * phy.c -- USB phy handling
15 #include <linux/usb/phy.h>
33 struct usb_phy *phy; member in struct:phy_devm
54 struct usb_phy *phy = NULL; local
56 list_for_each_entry(phy, list, head) {
57 if (phy->type != type)
60 return phy;
68 struct usb_phy *phy; local
73 list_for_each_entry(phy,
335 struct usb_phy *phy = *(struct usb_phy **)res; local
351 struct usb_phy **phy = res; local
466 struct usb_phy **ptr, *phy; local
495 struct usb_phy *phy = NULL; local
539 struct usb_phy *phy = ERR_PTR(-ENOMEM); local
598 struct usb_phy *phy; local
627 devm_usb_put_phy(struct device *dev, struct usb_phy *phy) argument
668 struct usb_phy *phy; local
[all...]
H A Dphy-keystone.c3 * phy-keystone - USB PHY, talking to dwc3 controller in Keystone.
16 #include "phy-generic.h"
44 static int keystone_usbphy_init(struct usb_phy *phy) argument
46 struct keystone_usbphy *k_phy = dev_get_drvdata(phy->dev);
55 static void keystone_usbphy_shutdown(struct usb_phy *phy) argument
57 struct keystone_usbphy *k_phy = dev_get_drvdata(phy->dev);
83 k_phy->usb_phy_gen.phy.init = keystone_usbphy_init;
84 k_phy->usb_phy_gen.phy.shutdown = keystone_usbphy_shutdown;
88 return usb_add_phy_dev(&k_phy->usb_phy_gen.phy);
95 usb_remove_phy(&k_phy->usb_phy_gen.phy);
[all...]
/linux-master/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c65 * @phy: sas_phy object
70 _transport_get_port_id_by_sas_phy(struct sas_phy *phy) argument
73 struct hba_port *port = phy->hostdata;
236 /* phy number of the parent device this device is linked to */
524 * _transport_delete_phy - helper function to removing single phy from port
527 * @mpt3sas_phy: mpt3sas per phy object
535 dev_printk(KERN_INFO, &mpt3sas_phy->phy->dev,
536 "remove: sas_addr(0x%016llx), phy(%d)\n",
541 sas_port_delete_phy(mpt3sas_port->port, mpt3sas_phy->phy);
546 * _transport_add_phy - helper function to adding single phy t
1025 struct sas_phy *phy; local
1095 struct sas_phy *phy; local
1221 phy_to_ioc(struct sas_phy *phy) argument
1270 _transport_get_expander_phy_error_log(struct MPT3SAS_ADAPTER *ioc, struct sas_phy *phy) argument
1420 _transport_get_linkerrors(struct sas_phy *phy) argument
1561 _transport_expander_phy_control(struct MPT3SAS_ADAPTER *ioc, struct sas_phy *phy, u8 phy_operation) argument
1709 _transport_phy_reset(struct sas_phy *phy, int hard_reset) argument
1763 _transport_phy_enable(struct sas_phy *phy, int enable) argument
1901 _transport_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates) argument
[all...]
/linux-master/drivers/staging/media/omap4iss/
H A Diss_csiphy.h43 int omap4iss_csiphy_acquire(struct iss_csiphy *phy);
44 void omap4iss_csiphy_release(struct iss_csiphy *phy);
/linux-master/drivers/net/mdio/
H A Dmdio-bitbang.c94 static void mdiobb_cmd(struct mdiobb_ctrl *ctrl, int op, u8 phy, u8 reg) argument
124 mdiobb_send_num(ctrl, phy, 5);
133 static void mdiobb_cmd_addr(struct mdiobb_ctrl *ctrl, int phy, int dev_addr, argument
136 mdiobb_cmd(ctrl, MDIO_C45_ADDR, phy, dev_addr);
148 static int mdiobb_read_common(struct mii_bus *bus, int phy) argument
159 !(bus->phy_ignore_ta_mask & (1 << phy))) {
174 int mdiobb_read_c22(struct mii_bus *bus, int phy, int reg) argument
178 mdiobb_cmd(ctrl, ctrl->op_c22_read, phy, reg);
180 return mdiobb_read_common(bus, phy);
184 int mdiobb_read_c45(struct mii_bus *bus, int phy, in argument
210 mdiobb_write_c22(struct mii_bus *bus, int phy, int reg, u16 val) argument
220 mdiobb_write_c45(struct mii_bus *bus, int phy, int devad, int reg, u16 val) argument
[all...]
/linux-master/drivers/phy/qualcomm/
H A Dphy-qcom-eusb2-repeater.c11 #include <linux/phy/phy.h>
74 struct phy *phy; member in struct:eusb2_repeater
114 static int eusb2_repeater_init(struct phy *phy) argument
116 struct eusb2_repeater *rptr = phy_get_drvdata(phy);
158 static int eusb2_repeater_set_mode(struct phy *phy, argument
161 struct eusb2_repeater *rptr = phy_get_drvdata(phy);
192 eusb2_repeater_exit(struct phy *phy) argument
[all...]
H A Dphy-qcom-usb-hs-28nm.c14 #include <linux/phy/phy.h>
68 static int qcom_snps_hsphy_set_mode(struct phy *phy, enum phy_mode mode, argument
71 struct hsphy_priv *priv = phy_get_drvdata(phy);
155 static int qcom_snps_hsphy_power_on(struct phy *phy) argument
157 struct hsphy_priv *priv = phy_get_drvdata(phy);
170 static int qcom_snps_hsphy_power_off(struct phy *phy) argument
256 qcom_snps_hsphy_init(struct phy *phy) argument
282 qcom_snps_hsphy_exit(struct phy *phy) argument
311 struct phy *phy; local
[all...]
/linux-master/drivers/net/phy/qcom/
H A DMakefile2 obj-$(CONFIG_QCOM_NET_PHYLIB) += qcom-phy-lib.o
/linux-master/drivers/phy/hisilicon/
H A Dphy-histb-combphy.c17 #include <linux/phy/phy.h>
21 #include <dt-bindings/phy/phy.h>
49 struct phy *phy; member in struct:histb_combphy_priv
106 static int histb_combphy_init(struct phy *phy) argument
108 struct histb_combphy_priv *priv = phy_get_drvdata(phy);
135 /* Configure nano phy register
143 histb_combphy_exit(struct phy *phy) argument
[all...]
/linux-master/drivers/dma/
H A Dmmp_pdma.c92 struct mmp_pdma_phy *phy; member in struct:mmp_pdma_chan
126 struct mmp_pdma_phy *phy; member in struct:mmp_pdma_device
127 spinlock_t phy_lock; /* protect alloc/free phy channels */
143 static void set_desc(struct mmp_pdma_phy *phy, dma_addr_t addr) argument
145 u32 reg = (phy->idx << 4) + DDADR;
147 writel(addr, phy->base + reg);
150 static void enable_chan(struct mmp_pdma_phy *phy) argument
154 if (!phy->vchan)
157 reg = DRCMR(phy->vchan->drcmr);
158 writel(DRCMR_MAPVLD | phy
171 disable_chan(struct mmp_pdma_phy *phy) argument
182 clear_chan_irq(struct mmp_pdma_phy *phy) argument
202 struct mmp_pdma_phy *phy = dev_id; local
214 struct mmp_pdma_phy *phy; local
242 struct mmp_pdma_phy *phy, *found = NULL; local
937 struct mmp_pdma_phy *phy; local
964 struct mmp_pdma_phy *phy = &pdev->phy[idx]; local
[all...]
/linux-master/drivers/phy/mediatek/
H A Dphy-mtk-mipi-csi-0-5.c9 #include <dt-bindings/phy/phy.h>
15 #include <linux/phy/phy.h>
19 #include "phy-mtk-io.h"
20 #include "phy-mtk-mipi-csi-0-5-rx-reg.h"
27 struct phy *phy; member in struct:mtk_mipi_cdphy_port
73 static int mtk_mipi_phy_power_on(struct phy *phy) argument
152 mtk_mipi_phy_power_off(struct phy *phy) argument
215 struct phy *phy; local
[all...]

Completed in 222 milliseconds

1234567891011>>