/drivers/video/fbdev/omap2/dss/ |
H A D | hdmi_phy.c | 31 void hdmi_phy_dump(struct hdmi_phy_data *phy, struct seq_file *s) argument 34 hdmi_read_reg(phy->base, r)) 44 int hdmi_phy_parse_lanes(struct hdmi_phy_data *phy, const u32 *lanes) argument 73 phy->lane_function[lane] = i / 2; 74 phy->lane_polarity[lane] = pol; 80 static void hdmi_phy_configure_lanes(struct hdmi_phy_data *phy) argument 115 lane_cfg |= phy->lane_function[i] << ((3 - i) * 4); 117 pol_val |= phy->lane_polarity[0] << 0; 118 pol_val |= phy->lane_polarity[1] << 3; 119 pol_val |= phy 135 hdmi_phy_configure(struct hdmi_phy_data *phy, struct hdmi_config *cfg) argument 233 hdmi_phy_init(struct platform_device *pdev, struct hdmi_phy_data *phy) argument [all...] |
/drivers/net/fddi/skfp/ |
H A D | pcmplc.c | 202 static void pcm_fsm(struct s_smc *smc, struct s_phy *phy, int cmd); 203 static void pc_rcode_actions(struct s_smc *smc, int bit, struct s_phy *phy); 204 static void pc_tcode_actions(struct s_smc *smc, const int bit, struct s_phy *phy); 205 static void reset_lem_struct(struct s_phy *phy); 209 static void sm_ph_linestate(struct s_smc *smc, int phy, int ls); 217 struct s_phy *phy) 219 phy->timer0_exp = FALSE ; /* clear timer event flag */ 220 smt_timer_start(smc,&phy->pcm_timer0,value, 221 EV_TOKEN(EVENT_PCM+phy->np,event)) ; 227 static void stop_pcm_timer0(struct s_smc *smc, struct s_phy *phy) argument 216 start_pcm_timer0(struct s_smc *smc, u_long value, int event, struct s_phy *phy) argument 241 struct s_phy *phy ; local 501 sm_pm_get_ls(struct s_smc *smc, int phy) argument 534 plc_send_bits(struct s_smc *smc, struct s_phy *phy, int len) argument 599 struct s_phy *phy ; local 674 pcm_fsm(struct s_smc *smc, struct s_phy *phy, int cmd) argument 1037 sm_ph_linestate(struct s_smc *smc, int phy, int ls) argument 1066 reset_lem_struct(struct s_phy *phy) argument 1077 lem_evaluate(struct s_smc *smc, struct s_phy *phy) argument 1185 lem_check_lct(struct s_smc *smc, struct s_phy *phy) argument 1256 sm_pm_ls_latch(struct s_smc *smc, int phy, int on_off) argument 1274 pc_rcode_actions(struct s_smc *smc, int bit, struct s_phy *phy) argument 1410 pc_tcode_actions(struct s_smc *smc, const int bit, struct s_phy *phy) argument 1611 struct s_phy *phy = &smc->y[np] ; local 1650 struct s_phy *phy = &smc->y[np] ; local 1867 struct s_phy *phy ; local 1996 struct s_phy *phy ; local [all...] |
/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_phy_8x74.c | 28 static void phy_write(struct hdmi_phy_8x74 *phy, u32 reg, u32 data) argument 30 msm_writel(data, phy->mmio + reg); 33 //static u32 phy_read(struct hdmi_phy_8x74 *phy, u32 reg) 35 // return msm_readl(phy->mmio + reg); 38 static void hdmi_phy_8x74_destroy(struct hdmi_phy *phy) argument 40 struct hdmi_phy_8x74 *phy_8x74 = to_hdmi_phy_8x74(phy); 44 static void hdmi_phy_8x74_reset(struct hdmi_phy *phy) argument 46 struct hdmi_phy_8x74 *phy_8x74 = to_hdmi_phy_8x74(phy); 50 /* NOTE that HDMI_PHY_CTL is in core mmio, not phy mmio: */ 97 static void hdmi_phy_8x74_powerup(struct hdmi_phy *phy, argument 112 hdmi_phy_8x74_powerdown(struct hdmi_phy *phy) argument 128 struct hdmi_phy *phy = NULL; local [all...] |
/drivers/nfc/microread/ |
H A D | mei.c | 35 struct nfc_mei_phy *phy; local 40 phy = nfc_mei_phy_alloc(device); 41 if (!phy) { 42 pr_err("Cannot allocate memory for microread mei phy.\n"); 46 r = microread_probe(phy, &mei_phy_ops, LLC_NOP_NAME, 48 &phy->hdev); 50 nfc_mei_phy_free(phy); 60 struct nfc_mei_phy *phy = mei_cl_get_drvdata(device); local 62 microread_remove(phy->hdev); 64 nfc_mei_phy_free(phy); [all...] |
H A D | i2c.c | 119 struct microread_i2c_phy *phy = phy_id; local 120 struct i2c_client *client = phy->i2c_dev; 122 if (phy->hard_fault != 0) 123 return phy->hard_fault; 151 static int microread_i2c_read(struct microread_i2c_phy *phy, argument 157 struct i2c_client *client = phy->i2c_dev; 213 struct microread_i2c_phy *phy = phy_id; local 218 if (!phy || irq != phy->i2c_dev->irq) { 223 client = phy 253 struct microread_i2c_phy *phy; local 301 struct microread_i2c_phy *phy = i2c_get_clientdata(client); local [all...] |
/drivers/nfc/pn544/ |
H A D | mei.c | 33 struct nfc_mei_phy *phy; local 38 phy = nfc_mei_phy_alloc(device); 39 if (!phy) { 40 pr_err("Cannot allocate memory for pn544 mei phy.\n"); 44 r = pn544_hci_probe(phy, &mei_phy_ops, LLC_NOP_NAME, 46 NULL, &phy->hdev); 48 nfc_mei_phy_free(phy); 58 struct nfc_mei_phy *phy = mei_cl_get_drvdata(device); local 62 pn544_hci_remove(phy->hdev); 64 nfc_mei_phy_free(phy); [all...] |
/drivers/nfc/st21nfcb/ |
H A D | i2c.c | 69 struct st21nfcb_i2c_phy *phy = phy_id; local 71 gpio_set_value(phy->gpio_reset, 0); 73 gpio_set_value(phy->gpio_reset, 1); 74 phy->powered = 1; 82 struct st21nfcb_i2c_phy *phy = phy_id; local 86 phy->powered = 0; 88 gpio_set_value(phy->gpio_reset, 0); 90 gpio_set_value(phy->gpio_reset, 1); 106 struct st21nfcb_i2c_phy *phy = phy_id; local 107 struct i2c_client *client = phy 145 st21nfcb_nci_i2c_read(struct st21nfcb_i2c_phy *phy, struct sk_buff **skb) argument 200 struct st21nfcb_i2c_phy *phy = phy_id; local 239 struct st21nfcb_i2c_phy *phy = i2c_get_clientdata(client); local 287 struct st21nfcb_i2c_phy *phy = i2c_get_clientdata(client); local 332 struct st21nfcb_i2c_phy *phy; local 392 struct st21nfcb_i2c_phy *phy = i2c_get_clientdata(client); local [all...] |
/drivers/usb/phy/ |
H A D | phy-tegra-usb.c | 206 static void set_pts(struct tegra_usb_phy *phy, u8 pts_val) argument 208 void __iomem *base = phy->regs; 211 if (phy->soc_config->has_hostpc) { 224 static void set_phcd(struct tegra_usb_phy *phy, bool enable) argument 226 void __iomem *base = phy->regs; 229 if (phy->soc_config->has_hostpc) { 246 static int utmip_pad_open(struct tegra_usb_phy *phy) argument 248 phy->pad_clk = devm_clk_get(phy->u_phy.dev, "utmi-pads"); 249 if (IS_ERR(phy 257 utmip_pad_power_on(struct tegra_usb_phy *phy) argument 288 utmip_pad_power_off(struct tegra_usb_phy *phy) argument 327 utmi_phy_clk_disable(struct tegra_usb_phy *phy) argument 349 utmi_phy_clk_enable(struct tegra_usb_phy *phy) argument 372 utmi_phy_power_on(struct tegra_usb_phy *phy) argument 521 utmi_phy_power_off(struct tegra_usb_phy *phy) argument 556 utmi_phy_preresume(struct tegra_usb_phy *phy) argument 566 utmi_phy_postresume(struct tegra_usb_phy *phy) argument 576 utmi_phy_restore_start(struct tegra_usb_phy *phy, enum tegra_usb_phy_port_speed port_speed) argument 597 utmi_phy_restore_end(struct tegra_usb_phy *phy) argument 608 ulpi_phy_power_on(struct tegra_usb_phy *phy) argument 682 ulpi_phy_power_off(struct tegra_usb_phy *phy) argument 688 tegra_usb_phy_close(struct tegra_usb_phy *phy) argument 696 tegra_usb_phy_power_on(struct tegra_usb_phy *phy) argument 704 tegra_usb_phy_power_off(struct tegra_usb_phy *phy) argument 714 struct tegra_usb_phy *phy = container_of(x, struct tegra_usb_phy, u_phy); local 721 ulpi_open(struct tegra_usb_phy *phy) argument 757 tegra_usb_phy_init(struct tegra_usb_phy *phy) argument 812 struct tegra_usb_phy *phy = container_of(x, struct tegra_usb_phy, u_phy); local 821 struct tegra_usb_phy *phy = container_of(x, struct tegra_usb_phy, u_phy); local 831 struct tegra_usb_phy *phy = container_of(x, struct tegra_usb_phy, u_phy); local 840 struct tegra_usb_phy *phy = container_of(x, struct tegra_usb_phy, u_phy); local [all...] |
H A D | phy-msm-usb.c | 82 dev_err(motg->phy.dev, "Cannot set vddcx voltage\n"); 88 dev_err(motg->phy.dev, "unable to enable hsusb vddcx\n"); 93 dev_err(motg->phy.dev, "Cannot set vddcx voltage\n"); 96 dev_err(motg->phy.dev, "unable to disable hsusb vddcx\n"); 110 dev_err(motg->phy.dev, "Cannot set v3p3 voltage\n"); 115 dev_err(motg->phy.dev, "unable to enable the hsusb 3p3\n"); 121 dev_err(motg->phy.dev, "Cannot set v1p8 voltage\n"); 126 dev_err(motg->phy.dev, "unable to enable the hsusb 1p8\n"); 174 static int ulpi_read(struct usb_phy *phy, u32 reg) argument 176 struct msm_otg *motg = container_of(phy, struc 199 ulpi_write(struct usb_phy *phy, u32 val, u32 reg) argument 245 msm_phy_notify_disconnect(struct usb_phy *phy, enum usb_device_speed speed) argument 321 msm_otg_reset(struct usb_phy *phy) argument 374 msm_usb_reset(struct usb_phy *phy) argument 405 msm_phy_init(struct usb_phy *phy) argument 469 struct usb_phy *phy = &motg->phy; local 566 struct usb_phy *phy = &motg->phy; local 652 msm_otg_set_power(struct usb_phy *phy, unsigned mA) argument 669 msm_otg_start_host(struct usb_phy *phy, int on) argument 755 msm_otg_start_peripheral(struct usb_phy *phy, int on) argument 826 struct usb_phy *phy = &motg->phy; local 847 struct usb_phy *phy = &motg->phy; local 887 struct usb_phy *phy = &motg->phy; local 908 struct usb_phy *phy = &motg->phy; local 933 struct usb_phy *phy = &motg->phy; local 954 struct usb_phy *phy = &motg->phy; local 973 struct usb_phy *phy = &motg->phy; local 994 struct usb_phy *phy = &motg->phy; local 1029 struct usb_phy *phy = &motg->phy; local 1064 struct usb_phy *phy = &motg->phy; local 1266 struct usb_phy *phy = &motg->phy; local 1529 struct usb_phy *phy; local 1719 struct usb_phy *phy = &motg->phy; local [all...] |
H A D | phy-gpio-vbus-usb.c | 35 struct usb_phy phy; member in struct:gpio_vbus_data 107 if (!gpio_vbus->phy.otg->gadget) 124 gpio_vbus->phy.state = OTG_STATE_B_PERIPHERAL; 125 gpio_vbus->phy.last_event = status; 126 usb_gadget_vbus_connect(gpio_vbus->phy.otg->gadget); 135 atomic_notifier_call_chain(&gpio_vbus->phy.notifier, 136 status, gpio_vbus->phy.otg->gadget); 144 usb_gadget_vbus_disconnect(gpio_vbus->phy.otg->gadget); 146 gpio_vbus->phy.state = OTG_STATE_B_IDLE; 147 gpio_vbus->phy 215 gpio_vbus_set_power(struct usb_phy *phy, unsigned mA) argument 227 gpio_vbus_set_suspend(struct usb_phy *phy, int suspend) argument [all...] |
/drivers/phy/ |
H A D | phy-mvebu-sata.c | 2 * phy-mvebu-sata.c: SATA Phy driver for the Marvell mvebu SoCs. 15 #include <linux/phy/phy.h> 32 static int phy_mvebu_sata_power_on(struct phy *phy) argument 34 struct priv *priv = phy_get_drvdata(phy); 55 static int phy_mvebu_sata_power_off(struct phy *phy) argument 57 struct priv *priv = phy_get_drvdata(phy); 89 struct phy *ph local [all...] |
H A D | phy-exynos-dp-video.c | 20 #include <linux/phy/phy.h> 47 static int exynos_dp_video_phy_power_on(struct phy *phy) argument 49 struct exynos_dp_video_phy *state = phy_get_drvdata(phy); 57 static int exynos_dp_video_phy_power_off(struct phy *phy) argument 59 struct exynos_dp_video_phy *state = phy_get_drvdata(phy); 83 .compatible = "samsung,exynos5250-dp-video-phy", 86 .compatible = "samsung,exynos5420-dp-video-phy", 99 struct phy *phy; local [all...] |
H A D | phy-exynos-mipi-video.c | 18 #include <linux/phy/phy.h> 43 struct phy *phy; member in struct:exynos_mipi_video_phy::video_phy_desc 84 static int exynos_mipi_video_phy_power_on(struct phy *phy) argument 86 struct video_phy_desc *phy_desc = phy_get_drvdata(phy); 92 static int exynos_mipi_video_phy_power_off(struct phy *phy) argument 94 struct video_phy_desc *phy_desc = phy_get_drvdata(phy); 139 struct phy *phy = devm_phy_create(dev, NULL, local [all...] |
H A D | phy-stih407-usb.c | 23 #include <linux/phy/phy.h> 34 struct phy *phy; member in struct:stih407_usb2_picophy 52 static int stih407_usb2_init_port(struct phy *phy) argument 55 struct stih407_usb2_picophy *phy_dev = phy_get_drvdata(phy); 69 static int stih407_usb2_exit_port(struct phy *phy) argument 71 struct stih407_usb2_picophy *phy_dev = phy_get_drvdata(phy); 95 struct phy *phy; local [all...] |
H A D | phy-rcar-gen2.c | 17 #include <linux/phy/phy.h> 49 struct phy *phy; member in struct:rcar_gen2_phy 71 static int rcar_gen2_phy_init(struct phy *p) 73 struct rcar_gen2_phy *phy = phy_get_drvdata(p); local 74 struct rcar_gen2_channel *channel = phy->channel; 85 if (cmpxchg(&channel->selected_phy, -1, phy->number) != -1) 93 ugctrl2 |= phy->select_value; 99 static int rcar_gen2_phy_exit(struct phy * 101 struct rcar_gen2_phy *phy = phy_get_drvdata(p); local 113 struct rcar_gen2_phy *phy = phy_get_drvdata(p); local 157 struct rcar_gen2_phy *phy = phy_get_drvdata(p); local 300 struct rcar_gen2_phy *phy = &channel->phys[n]; local [all...] |
H A D | phy-stih41x-usb.c | 21 #include <linux/phy/phy.h> 71 static int stih41x_usb_phy_init(struct phy *phy) argument 73 struct stih41x_usb_phy *phy_dev = phy_get_drvdata(phy); 79 static int stih41x_usb_phy_power_on(struct phy *phy) argument 81 struct stih41x_usb_phy *phy_dev = phy_get_drvdata(phy); 94 static int stih41x_usb_phy_power_off(struct phy *phy) argument 127 struct phy *phy; local [all...] |
/drivers/nfc/st21nfca/ |
H A D | i2c.c | 112 static int st21nfca_hci_platform_init(struct st21nfca_i2c_phy *phy) argument 120 r = i2c_master_send(phy->i2c_dev, reboot_cmd, 132 r = i2c_master_recv(phy->i2c_dev, tmp, 153 struct st21nfca_i2c_phy *phy = phy_id; local 155 gpio_set_value(phy->gpio_ena, 1); 156 phy->powered = 1; 157 phy->run_mode = ST21NFCA_HCI_MODE; 166 struct st21nfca_i2c_phy *phy = phy_id; local 169 gpio_set_value(phy->gpio_ena, 0); 171 phy 205 struct st21nfca_i2c_phy *phy = phy_id; local 368 st21nfca_hci_i2c_read(struct st21nfca_i2c_phy *phy, struct sk_buff *skb) argument 444 struct st21nfca_i2c_phy *phy = phy_id; local 513 struct st21nfca_i2c_phy *phy = i2c_get_clientdata(client); local 561 struct st21nfca_i2c_phy *phy = i2c_get_clientdata(client); local 608 struct st21nfca_i2c_phy *phy; local 678 struct st21nfca_i2c_phy *phy = i2c_get_clientdata(client); local [all...] |
/drivers/media/platform/omap3isp/ |
H A D | ispcsiphy.h | 39 int omap3isp_csiphy_acquire(struct isp_csiphy *phy); 40 void omap3isp_csiphy_release(struct isp_csiphy *phy);
|
/drivers/scsi/aic94xx/ |
H A D | aic94xx_dump.h | 33 void asd_dump_frame_rcvd(struct asd_phy *phy, 39 static inline void asd_dump_frame_rcvd(struct asd_phy *phy, argument
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_phy.c | 63 if (hw->phy.type == ixgbe_phy_unknown) { 65 hw->phy.mdio.prtad = phy_addr; 66 if (mdio45_probe(&hw->phy.mdio, phy_addr) == 0) { 68 hw->phy.type = 69 ixgbe_get_phy_type_from_id(hw->phy.id); 71 if (hw->phy.type == ixgbe_phy_unknown) { 72 hw->phy.ops.read_reg(hw, 79 hw->phy.type = 82 hw->phy.type = 90 hw->phy [all...] |
/drivers/net/ieee802154/ |
H A D | fakehard.c | 33 #include <net/wpan-phy.h> 36 struct wpan_phy *phy; member in struct:fakehard_priv 42 return priv->phy; 46 * fake_get_phy - Return a phy corresponding to this device. 47 * @dev: The network device for which to return the wan-phy object 49 * This function returns a wpan-phy object corresponding to the passed 50 * network device. Reference counter for wpan-phy object is incremented, 51 * so when the wpan-phy isn't necessary, you should drop the reference 56 struct wpan_phy *phy = fake_to_phy(dev); local 57 return to_phy(get_device(&phy 124 struct wpan_phy *phy = fake_to_phy(dev); local 199 struct wpan_phy *phy = fake_to_phy(dev); local 314 struct wpan_phy *phy = fake_to_phy(dev); local 340 struct wpan_phy *phy = wpan_phy_alloc(0); local [all...] |
/drivers/net/ethernet/intel/e1000e/ |
H A D | phy.c | 79 struct e1000_phy_info *phy = &hw->phy; local 84 if (!phy->ops.read_reg) 92 phy->id = (u32)(phy_id << 16); 98 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); 99 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); 101 if (phy->id != 0 && phy->id != PHY_REVISION_MASK) 138 struct e1000_phy_info *phy = &hw->phy; local 201 struct e1000_phy_info *phy = &hw->phy; local 698 struct e1000_phy_info *phy = &hw->phy; local 844 struct e1000_phy_info *phy = &hw->phy; local 937 struct e1000_phy_info *phy = &hw->phy; local 1088 struct e1000_phy_info *phy = &hw->phy; local 1201 struct e1000_phy_info *phy = &hw->phy; local 1265 struct e1000_phy_info *phy = &hw->phy; local 1372 struct e1000_phy_info *phy = &hw->phy; local 1499 struct e1000_phy_info *phy = &hw->phy; local 1570 struct e1000_phy_info *phy = &hw->phy; local 1611 struct e1000_phy_info *phy = &hw->phy; local 1636 struct e1000_phy_info *phy = &hw->phy; local 1677 struct e1000_phy_info *phy = &hw->phy; local 1796 struct e1000_phy_info *phy = &hw->phy; local 1831 struct e1000_phy_info *phy = &hw->phy; local 1899 struct e1000_phy_info *phy = &hw->phy; local 1970 struct e1000_phy_info *phy = &hw->phy; local 2028 struct e1000_phy_info *phy = &hw->phy; local 2109 struct e1000_phy_info *phy = &hw->phy; local 3092 struct e1000_phy_info *phy = &hw->phy; local 3114 struct e1000_phy_info *phy = &hw->phy; local 3161 struct e1000_phy_info *phy = &hw->phy; local 3220 struct e1000_phy_info *phy = &hw->phy; local [all...] |
/drivers/net/wireless/b43/ |
H A D | phy_common.c | 42 struct b43_phy *phy = &(dev->phy); local 45 phy->ops = NULL; 47 switch (phy->type) { 50 phy->ops = &b43_phyops_g; 55 phy->ops = &b43_phyops_n; 60 phy->ops = &b43_phyops_lp; 65 phy->ops = &b43_phyops_ht; 70 phy->ops = &b43_phyops_lcn; 74 if (B43_WARN_ON(!phy 92 struct b43_phy *phy = &dev->phy; local 425 struct b43_phy *phy = &(dev->phy); local 460 struct b43_phy *phy = &dev->phy; local 490 struct b43_phy *phy = &dev->phy; local [all...] |
/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cphy.h | 81 int (*advertise)(struct cphy *phy, unsigned int advertise_map); 83 int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex); 84 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed, 139 static inline void cphy_init(struct cphy *phy, struct net_device *dev, argument 144 phy->adapter = adapter; 145 phy->ops = phy_ops; 147 phy->mdio.prtad = phy_addr; 148 phy->mdio.mmds = phy_ops->mmds; 149 phy->mdio.mode_support = mdio_ops->mode_support; 150 phy [all...] |
/drivers/of/ |
H A D | of_mdio.c | 16 #include <linux/phy.h> 26 /* Extract the clause 22 phy ID from the compatible string of the form 27 * ethernet-phy-idAAAA.BBBB */ 35 if (sscanf(cp, "ethernet-phy-id%4x.%4x", &upper, &lower) == 2) { 46 struct phy_device *phy; local 52 "ethernet-phy-ieee802.3-c45"); 55 phy = phy_device_create(mdio, addr, phy_id, 0, NULL); 57 phy = get_phy_device(mdio, addr, is_c45); 58 if (!phy || IS_ERR(phy)) 222 struct phy_device *phy = of_phy_find_device(phy_np); local 244 struct phy_device *phy = of_phy_find_device(phy_np); local 289 struct phy_device *phy; local [all...] |