/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_mdio.c | 19 #include <linux/phy.h> 108 * @phyaddr: address of phy port 109 * @phyreg: address of register with in phy register 128 * @phyaddr: address of phy port 129 * @phyreg: address of phy registers 130 * @phydata: data to be written into phy register 183 struct phy_device *phy = mdio_bus->phy_map[phy_addr]; local 185 if (phy) { 194 phy->irq = mdio_data->probed_phy_irq; 205 switch (phy [all...] |
/drivers/net/wireless/b43legacy/ |
H A D | Makefile | 4 b43legacy-y += phy.o
|
/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_phy_8960.c | 389 static void hdmi_phy_8960_destroy(struct hdmi_phy *phy) argument 391 struct hdmi_phy_8960 *phy_8960 = to_hdmi_phy_8960(phy); 395 static void hdmi_phy_8960_reset(struct hdmi_phy *phy) argument 397 struct hdmi_phy_8960 *phy_8960 = to_hdmi_phy_8960(phy); 446 static void hdmi_phy_8960_powerup(struct hdmi_phy *phy, argument 449 struct hdmi_phy_8960 *phy_8960 = to_hdmi_phy_8960(phy); 468 static void hdmi_phy_8960_powerdown(struct hdmi_phy *phy) argument 470 struct hdmi_phy_8960 *phy_8960 = to_hdmi_phy_8960(phy); 488 struct hdmi_phy *phy = NULL; local 505 phy [all...] |
/drivers/net/ethernet/intel/e1000e/ |
H A D | 80003es2lan.c | 58 struct e1000_phy_info *phy = &hw->phy; local 61 if (hw->phy.media_type != e1000_media_type_copper) { 62 phy->type = e1000_phy_none; 65 phy->ops.power_up = e1000_power_up_phy_copper; 66 phy->ops.power_down = e1000_power_down_phy_copper_80003es2lan; 69 phy->addr = 1; 70 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT; 71 phy->reset_delay_us = 100; 72 phy 629 struct e1000_phy_info *phy = &hw->phy; local 887 struct e1000_phy_info *phy = &hw->phy; local [all...] |
/drivers/staging/vt6656/ |
H A D | baseband.c | 193 * struct vnt_phy_field *phy 202 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) 217 phy->signal = 0x00; 224 phy->signal = 0x09; 226 phy->signal = 0x01; 237 phy->signal = 0x0a; 239 phy->signal = 0x02; 254 phy->signal = 0x0b; 256 phy->signal = 0x03; 261 phy 201 vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) argument [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.h | 81 /* Single Media board contains single external phy */ 83 /* Dual Media board contains two external phy with different media */ 115 /* Same configuration is shared between the XGXS and the first external phy */ 121 /* Defines the required arguments and function per phy */ 127 typedef u8 (*config_init_t)(struct bnx2x_phy *phy, struct link_params *params, 129 typedef u8 (*read_status_t)(struct bnx2x_phy *phy, struct link_params *params, 131 typedef void (*link_reset_t)(struct bnx2x_phy *phy, 133 typedef void (*config_loopback_t)(struct bnx2x_phy *phy, 136 typedef void (*hw_reset_t)(struct bnx2x_phy *phy, struct link_params *params); 137 typedef void (*set_link_led_t)(struct bnx2x_phy *phy, 285 struct bnx2x_phy phy[MAX_PHYS]; member in struct:link_params [all...] |
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_82599.c | 109 if (hw->phy.multispeed_fiber) { 115 (hw->phy.smart_speed == ixgbe_smart_speed_auto || 116 hw->phy.smart_speed == ixgbe_smart_speed_on) && 129 if (hw->phy.sfp_type != ixgbe_sfp_type_unknown) { 132 hw->phy.ops.reset = NULL; 292 struct ixgbe_phy_info *phy = &hw->phy; local 298 hw->phy.qsfp_shared_i2c_bus = true; 310 phy->ops.read_i2c_byte = &ixgbe_read_i2c_byte_82599; 311 phy [all...] |
H A D | ixgbe_82598.c | 98 /* Call PHY identify routine to get the phy type */ 124 struct ixgbe_phy_info *phy = &hw->phy; local 129 phy->ops.identify(hw); 138 switch (hw->phy.type) { 140 phy->ops.setup_link = &ixgbe_setup_phy_link_tnx; 141 phy->ops.check_link = &ixgbe_check_phy_link_tnx; 142 phy->ops.get_firmware_version = 146 phy->ops.reset = &ixgbe_reset_phy_nl; 149 ret_val = phy [all...] |
/drivers/scsi/bfa/ |
H A D | bfa_ioc.c | 5308 #define BFA_PHY_LOCK_STATUS 0x018878 /* phy semaphore status reg */ 5320 bfa_phy_present(struct bfa_phy_s *phy) argument 5322 return (phy->ioc->attr->card_type == BFA_MFG_TYPE_LIGHTNING); 5328 struct bfa_phy_s *phy = cbarg; local 5330 bfa_trc(phy, event); 5335 if (phy->op_busy) { 5336 phy->status = BFA_STATUS_IOC_FAILURE; 5337 phy->cbfn(phy->cbarg, phy 5355 struct bfa_phy_s *phy = cbarg; local 5374 struct bfa_phy_s *phy = cbarg; local 5414 struct bfa_phy_s *phy = cbarg; local 5438 struct bfa_phy_s *phy = cbarg; local 5474 bfa_phy_attach(struct bfa_phy_s *phy, struct bfa_ioc_s *ioc, void *dev, struct bfa_trc_mod_s *trcmod, bfa_boolean_t mincfg) argument 5504 bfa_phy_memclaim(struct bfa_phy_s *phy, u8 *dm_kva, u64 dm_pa, bfa_boolean_t mincfg) argument 5537 bfa_phy_get_attr(struct bfa_phy_s *phy, u8 instance, struct bfa_phy_attr_s *attr, bfa_cb_phy_t cbfn, void *cbarg) argument 5576 bfa_phy_get_stats(struct bfa_phy_s *phy, u8 instance, struct bfa_phy_stats_s *stats, bfa_cb_phy_t cbfn, void *cbarg) argument 5618 bfa_phy_update(struct bfa_phy_s *phy, u8 instance, void *buf, u32 len, u32 offset, bfa_cb_phy_t cbfn, void *cbarg) argument 5669 bfa_phy_read(struct bfa_phy_s *phy, u8 instance, void *buf, u32 len, u32 offset, bfa_cb_phy_t cbfn, void *cbarg) argument 5715 struct bfa_phy_s *phy = phyarg; local [all...] |
/drivers/scsi/libsas/ |
H A D | sas_discover.c | 68 struct asd_sas_phy *phy; local 83 phy = container_of(port->phy_list.next, struct asd_sas_phy, port_phy_el); 84 spin_lock(&phy->frame_rcvd_lock); 85 memcpy(dev->frame_rcvd, phy->frame_rcvd, min(sizeof(dev->frame_rcvd), 86 (size_t)phy->frame_rcvd_size)); 87 spin_unlock(&phy->frame_rcvd_lock); 141 rphy->identify.phy_identifier = phy->phy->identify.phy_identifier; 168 list_for_each_entry(phy, &port->phy_list, port_phy_el) 169 sas_phy_set_target(phy, de 245 struct asd_sas_phy *phy; local [all...] |
H A D | sas_host_smp.c | 25 struct sas_phy *phy; local 34 phy = sas_ha->sas_phy[phy_id]->phy; 36 resp_data[13] = phy->negotiated_linkrate; 40 resp_data[40] = (phy->minimum_linkrate << 4) | 41 phy->minimum_linkrate_hw; 42 resp_data[41] = (phy->maximum_linkrate << 4) | 43 phy->maximum_linkrate_hw; 289 memcpy(resp_data + 20, "libsas virt phy",
|
/drivers/gpio/ |
H A D | gpio-stp-xway.c | 203 const __be32 *shadow, *groups, *dsl, *phy; local 251 phy = of_get_property(pdev->dev.of_node, "lantiq,phy1", NULL); 252 if (phy) 253 chip->phy1 = be32_to_cpu(*phy) & XWAY_STP_PHY_MASK; 254 phy = of_get_property(pdev->dev.of_node, "lantiq,phy2", NULL); 255 if (phy) 256 chip->phy2 = be32_to_cpu(*phy) & XWAY_STP_PHY_MASK;
|
/drivers/net/wireless/rtlwifi/rtl8192ee/ |
H A D | rf.c | 29 #include "phy.h" 38 struct rtl_phy *rtlphy = &rtlpriv->phy; 67 struct rtl_phy *rtlphy = &rtlpriv->phy; 80 struct rtl_phy *rtlphy = &rtlpriv->phy;
|
/drivers/net/ethernet/ |
H A D | ethoc.c | 21 #include <linux/phy.h> 121 #define MIIADDRESS_ADDR(phy, reg) (MIIADDRESS_FIAD(phy) | \ 195 * @phy: attached PHY 221 struct phy_device *phy; member in struct:ethoc 619 static int ethoc_mdio_read(struct mii_bus *bus, int phy, int reg) argument 624 ethoc_write(priv, MIIADDRESS, MIIADDRESS_ADDR(phy, reg)); 641 static int ethoc_mdio_write(struct mii_bus *bus, int phy, int reg, u16 val) argument 646 ethoc_write(priv, MIIADDRESS, MIIADDRESS_ADDR(phy, reg)); 670 struct phy_device *phy; local 753 struct phy_device *phy = NULL; local 1011 unsigned int phy; local [all...] |
/drivers/net/wireless/b43/ |
H A D | main.c | 747 struct b43_phy *phy = &dev->phy; local 778 if (phy->type == B43_PHYTYPE_N || phy->type == B43_PHYTYPE_LP || 779 phy->type == B43_PHYTYPE_LCN) 790 if (!pa_on && phy->type == B43_PHYTYPE_N) 793 switch (phy->type) { 806 if (phy->radio_ver == 0x2050 && phy->radio_rev <= 0x5) 826 if (phy 1408 struct b43_phy_g *phy = dev->phy.g; local 2270 struct b43_phy *phy = &dev->phy; local 3220 struct b43_phy *phy = &dev->phy; local 3345 struct b43_phy *phy = &dev->phy; local 3865 struct b43_phy *phy = &dev->phy; local 3959 struct b43_phy *phy = &dev->phy; local 4453 struct b43_phy *phy = &dev->phy; local 4629 setup_struct_phy_for_init(struct b43_wldev *dev, struct b43_phy *phy) argument 4800 struct b43_phy *phy = &dev->phy; local 5241 struct b43_phy *phy = &dev->phy; local 5353 struct b43_phy *phy = &dev->phy; local [all...] |
H A D | rfkill.c | 60 if (enabled != dev->phy.radio_on)
|
/drivers/staging/vt6655/ |
H A D | card.c | 228 union vnt_phy_field_swap phy; local 239 &phy.field_read); 242 swap(phy.swap[0], phy.swap[1]); 244 VNSvOutPortD(pDevice->PortOffset + MAC_REG_RSPINF_B_1, phy.field_write); 249 PK_TYPE_11B, &phy.field_read); 251 swap(phy.swap[0], phy.swap[1]); 253 VNSvOutPortD(pDevice->PortOffset + MAC_REG_RSPINF_B_2, phy.field_write); 258 PK_TYPE_11B, &phy 1589 union vnt_phy_field_swap phy; local [all...] |
/drivers/net/ethernet/ibm/emac/ |
H A D | core.c | 581 link, dev->phy.duplex, dev->phy.pause, dev->phy.asym_pause); 592 else if (dev->phy.duplex == DUPLEX_FULL) 597 switch (dev->phy.speed) { 599 if (emac_phy_gpcs(dev->phy.mode)) { 601 (dev->phy.gpcs_address != 0xffffffff) ? 602 dev->phy.gpcs_address : dev->phy.address); 634 dev->phy [all...] |
/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_param.c | 324 hw->phy.autoneg_advertised = opt.def; 329 hw->phy.autoneg_advertised = tmp; 348 hw->phy.autoneg_advertised = PHY_ADVERTISE_10_HALF | 359 hw->phy.autoneg_advertised = PHY_ADVERTISE_10_FULL | 371 hw->phy.autoneg_advertised = PHY_ADVERTISE_10_HALF | 379 hw->phy.autoneg_advertised = 0; 386 hw->phy.autoneg_advertised = 0; 396 hw->phy.autoneg_advertised = PHY_ADVERTISE_100_HALF | 405 hw->phy.autoneg_advertised = 0; 413 hw->phy [all...] |
/drivers/net/usb/ |
H A D | sr9700.c | 71 static int wait_phy_eeprom_ready(struct usbnet *dev, int phy) argument 89 netdev_err(dev->net, "%s write timed out!\n", phy ? "phy" : "eeprom"); 94 static int sr_share_read_word(struct usbnet *dev, int phy, u8 reg, argument 101 sr_write_reg(dev, EPAR, phy ? (reg | EPAR_PHY_ADR) : reg); 102 sr_write_reg(dev, EPCR, phy ? (EPCR_EPOS | EPCR_ERPRR) : EPCR_ERPRR); 104 ret = wait_phy_eeprom_ready(dev, phy); 112 phy, reg, *value, ret); 119 static int sr_share_write_word(struct usbnet *dev, int phy, u8 reg, argument 130 sr_write_reg(dev, EPAR, phy [all...] |
/drivers/net/phy/ |
H A D | Makefile | 3 libphy-objs := phy.o phy_device.o mdio_bus.o 36 obj-$(CONFIG_AMD_XGBE_PHY) += amd-xgbe-phy.o
|
/drivers/net/wireless/iwlwifi/mvm/ |
H A D | Makefile | 2 iwlmvm-y += fw.o mac80211.o nvm.o ops.o phy-ctxt.o mac-ctxt.o
|
/drivers/pci/host/ |
H A D | pcie-spear13xx.c | 22 #include <linux/phy/phy.h> 30 struct phy *phy; member in struct:spear13xx_pcie 316 spear13xx_pcie->phy = devm_phy_get(dev, "pcie-phy"); 317 if (IS_ERR(spear13xx_pcie->phy)) { 318 ret = PTR_ERR(spear13xx_pcie->phy); 322 dev_err(dev, "couldn't get pcie-phy\n"); 326 phy_init(spear13xx_pcie->phy); [all...] |
/drivers/dma/ |
H A D | coh901318_lli.c | 61 dma_addr_t phy; local 68 head = dma_pool_alloc(pool->dmapool, GFP_NOWAIT, &phy); 76 lli->phy_this = phy; 83 lli = dma_pool_alloc(pool->dmapool, GFP_NOWAIT, &phy); 89 lli->phy_this = phy; 93 lli_prev->link_addr = phy;
|
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | adapter.h | 72 struct cphy phy; member in struct:port_info 290 static inline int phy2portid(struct cphy *phy) argument 292 struct adapter *adap = phy->adapter; 295 return &port0->phy == phy ? 0 : 1; 332 int t3_get_edc_fw(struct cphy *phy, int edc_idx, int size);
|