/drivers/scsi/libsas/ |
H A D | sas_phy.c | 36 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 121 struct asd_sas_phy *phy = sas_ha->sas_phy[i]; local [all...] |
H A D | sas_port.c | 31 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)) 43 * sas_form_port -- add this phy to a port 44 * @phy: the phy of interest 46 * This function adds this phy to an existing port, thus creating a wide 47 * port, or it creates a port and adds the phy to the port. 49 static void sas_form_port(struct asd_sas_phy *phy) argument 154 sas_deform_port(struct asd_sas_phy *phy, int gone) argument 212 struct asd_sas_phy *phy = ev->phy; local 222 struct asd_sas_phy *phy = ev->phy; local 239 struct asd_sas_phy *phy = ev->phy; local 249 struct asd_sas_phy *phy = ev->phy; local 259 struct asd_sas_phy *phy = ev->phy; local [all...] |
H A D | sas_init.c | 187 static int sas_get_linkerrors(struct sas_phy *phy) argument 189 if (scsi_is_sas_phy_local(phy)) { 190 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); 192 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; 199 return sas_smp_get_phy_events(phy); 224 * transport_sas_phy_reset - reset a phy and permit libata to manage the link 226 * phy reset request via sysfs in host workqueue context so we know we 229 static int transport_sas_phy_reset(struct sas_phy *phy, int hard_reset) argument 238 if (scsi_is_sas_phy_local(phy)) { 239 struct Scsi_Host *shost = dev_to_shost(phy 262 sas_phy_enable(struct sas_phy *phy, int enable) argument 295 sas_phy_reset(struct sas_phy *phy, int hard_reset) argument 324 sas_set_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates) argument 363 sas_phy_release(struct sas_phy *phy) argument 383 sas_phy_setup(struct sas_phy *phy) argument 399 queue_phy_reset(struct sas_phy *phy, int hard_reset) argument 426 queue_phy_enable(struct sas_phy *phy, int enable) argument [all...] |
/drivers/net/ethernet/ibm/emac/ |
H A D | phy.c | 2 * 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 D | phy.h | 2 * 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/net/ |
H A D | sungem_phy.c | 50 static inline int __phy_read(struct mii_phy* phy, int id, int reg) argument 52 return phy->mdio_read(phy->dev, id, reg); 55 static inline void __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 phy_read(struct mii_phy* phy, int reg) argument 62 return phy->mdio_read(phy->dev, phy 65 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/media/video/omap3isp/ |
H A D | ispcsiphy.c | 39 * Called with phy->mutex taken. 41 static void csiphy_lanes_config(struct isp_csiphy *phy) argument 46 reg = isp_reg_readl(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG); 48 for (i = 0; i < phy->num_data_lanes; i++) { 51 reg |= (phy->lanes.data[i].pol << 53 reg |= (phy->lanes.data[i].pos << 59 reg |= phy->lanes.clk.pol << ISPCSI2_PHY_CFG_CLOCK_POL_SHIFT; 60 reg |= phy->lanes.clk.pos << ISPCSI2_PHY_CFG_CLOCK_POSITION_SHIFT; 62 isp_reg_writel(phy 69 csiphy_power_autoswitch_enable(struct isp_csiphy *phy, bool enable) argument 82 csiphy_set_power(struct isp_csiphy *phy, u32 power) argument 114 csiphy_dphy_config(struct isp_csiphy *phy) argument 141 csiphy_config(struct isp_csiphy *phy, struct isp_csiphy_dphy_cfg *dphy, struct isp_csiphy_lanes_cfg *lanes) argument 173 omap3isp_csiphy_acquire(struct isp_csiphy *phy) argument 208 omap3isp_csiphy_release(struct isp_csiphy *phy) argument [all...] |
/drivers/usb/otg/ |
H A D | ulpi.c | 52 static int ulpi_set_otg_flags(struct usb_phy *phy) argument 57 if (phy->flags & ULPI_OTG_ID_PULLUP) 64 if (phy->flags & ULPI_OTG_DP_PULLDOWN_DIS) 67 if (phy->flags & ULPI_OTG_DM_PULLDOWN_DIS) 70 if (phy->flags & ULPI_OTG_EXTVBUSIND) 73 return usb_phy_io_write(phy, flags, ULPI_OTG_CTRL); 76 static int ulpi_set_fc_flags(struct usb_phy *phy) argument 84 if (phy->flags & ULPI_FC_HS) 86 else if (phy->flags & ULPI_FC_LS) 88 else if (phy 118 ulpi_set_ic_flags(struct usb_phy *phy) argument 137 ulpi_set_flags(struct usb_phy *phy) argument 152 ulpi_check_integrity(struct usb_phy *phy) argument 178 ulpi_init(struct usb_phy *phy) argument 211 struct usb_phy *phy = otg->phy; local 237 struct usb_phy *phy = otg->phy; local 257 struct usb_phy *phy; local [all...] |
H A D | nop-usb-xceiv.c | 36 struct usb_phy phy; member in struct:nop_usb_xceiv 77 otg->phy->state = OTG_STATE_B_IDLE; 104 nop->phy.otg = kzalloc(sizeof *nop->phy.otg, GFP_KERNEL); 105 if (!nop->phy.otg) { 111 nop->phy.dev = nop->dev; 112 nop->phy.label = "nop-xceiv"; 113 nop->phy.set_suspend = nop_set_suspend; 114 nop->phy.state = OTG_STATE_UNDEFINED; 116 nop->phy [all...] |
H A D | otg.c | 18 static struct usb_phy *phy; variable in typeref:struct:usb_phy 31 if (phy) 32 get_device(phy->dev); 33 return phy; 62 if (phy && x) 64 phy = x;
|
H A D | msm_otg.c | 72 hsusb_vddcx = regulator_get(motg->phy.dev, "HSUSB_VDDCX"); 74 dev_err(motg->phy.dev, "unable to get hsusb vddcx\n"); 82 dev_err(motg->phy.dev, "unable to set the voltage " 90 dev_err(motg->phy.dev, "unable to enable hsusb vddcx\n"); 97 dev_err(motg->phy.dev, "unable to set the voltage " 101 dev_err(motg->phy.dev, "unable to disable hsusb vddcx\n"); 114 hsusb_3p3 = regulator_get(motg->phy.dev, "HSUSB_3p3"); 116 dev_err(motg->phy.dev, "unable to get hsusb 3p3\n"); 123 dev_err(motg->phy.dev, "unable to set voltage level " 129 dev_err(motg->phy 238 ulpi_read(struct usb_phy *phy, u32 reg) argument 263 ulpi_write(struct usb_phy *phy, u32 val, u32 reg) argument 393 msm_otg_reset(struct usb_phy *phy) argument 451 struct usb_phy *phy = &motg->phy; local 546 struct usb_phy *phy = &motg->phy; local 630 msm_otg_set_power(struct usb_phy *phy, unsigned mA) argument 647 msm_otg_start_host(struct usb_phy *phy, int on) argument 732 msm_otg_start_peripheral(struct usb_phy *phy, int on) argument 803 struct usb_phy *phy = &motg->phy; local 824 struct usb_phy *phy = &motg->phy; local 864 struct usb_phy *phy = &motg->phy; local 885 struct usb_phy *phy = &motg->phy; local 910 struct usb_phy *phy = &motg->phy; local 931 struct usb_phy *phy = &motg->phy; local 950 struct usb_phy *phy = &motg->phy; local 971 struct usb_phy *phy = &motg->phy; local 1006 struct usb_phy *phy = &motg->phy; local 1041 struct usb_phy *phy = &motg->phy; local 1248 struct usb_phy *phy = &motg->phy; local 1419 struct usb_phy *phy; local 1612 struct usb_phy *phy = &motg->phy; local [all...] |
H A D | gpio_vbus.c | 35 struct usb_phy phy; member in struct:gpio_vbus_data 101 if (!gpio_vbus->phy.otg->gadget) 112 gpio_vbus->phy.state = OTG_STATE_B_PERIPHERAL; 113 gpio_vbus->phy.last_event = status; 114 usb_gadget_vbus_connect(gpio_vbus->phy.otg->gadget); 123 atomic_notifier_call_chain(&gpio_vbus->phy.notifier, 124 status, gpio_vbus->phy.otg->gadget); 132 usb_gadget_vbus_disconnect(gpio_vbus->phy.otg->gadget); 134 gpio_vbus->phy.state = OTG_STATE_B_IDLE; 135 gpio_vbus->phy 203 gpio_vbus_set_power(struct usb_phy *phy, unsigned mA) argument 215 gpio_vbus_set_suspend(struct usb_phy *phy, int suspend) argument [all...] |
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | aq100x.c | 65 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 D | ael1002.c | 84 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 D | Makefile | 21 -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/net/ethernet/intel/igb/ |
H A D | e1000_phy.c | 86 struct e1000_phy_info *phy = &hw->phy; local 90 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); 94 phy->id = (u32)(phy_id << 16); 96 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); 100 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); 101 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); 117 if (!(hw->phy.ops.write_reg)) 120 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0xC1); 124 ret_val = hw->phy 141 struct e1000_phy_info *phy = &hw->phy; local 199 struct e1000_phy_info *phy = &hw->phy; local 258 struct e1000_phy_info *phy = &hw->phy; local 305 struct e1000_phy_info *phy = &hw->phy; local 437 struct e1000_phy_info *phy = &hw->phy; local 480 struct e1000_phy_info *phy = &hw->phy; local 587 struct e1000_phy_info *phy = &hw->phy; local 670 struct e1000_phy_info *phy = &hw->phy; local 811 struct e1000_phy_info *phy = &hw->phy; local 879 struct e1000_phy_info *phy = &hw->phy; local 1101 struct e1000_phy_info *phy = &hw->phy; local 1173 struct e1000_phy_info *phy = &hw->phy; local 1355 struct e1000_phy_info *phy = &hw->phy; local 1439 struct e1000_phy_info *phy = &hw->phy; local 1481 struct e1000_phy_info *phy = &hw->phy; local 1506 struct e1000_phy_info *phy = &hw->phy; local 1637 struct e1000_phy_info *phy = &hw->phy; local 1663 struct e1000_phy_info *phy = &hw->phy; local 1761 struct e1000_phy_info *phy = &hw->phy; local 1833 struct e1000_phy_info *phy = &hw->phy; local 1909 struct e1000_phy_info *phy = &hw->phy; local 2004 struct e1000_phy_info *phy = &hw->phy; local 2167 struct e1000_phy_info *phy = &hw->phy; local 2192 struct e1000_phy_info *phy = &hw->phy; local 2264 struct e1000_phy_info *phy = &hw->phy; local 2328 struct e1000_phy_info *phy = &hw->phy; local [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/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) { 49 phy->ops = &b43_phyops_a; 52 phy->ops = &b43_phyops_g; 56 phy->ops = &b43_phyops_n; 61 phy->ops = &b43_phyops_lp; 66 phy->ops = &b43_phyops_ht; 71 phy 93 struct b43_phy *phy = &dev->phy; local 302 struct b43_phy *phy = &(dev->phy); local 341 struct b43_phy *phy = &dev->phy; local 371 struct b43_phy *phy = &dev->phy; local [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.c | 2155 if (params->phy[INT_PHY].flags & 2210 if (params->phy[INT_PHY].flags & 2748 /* XGXS control: Reset phy HW, MDIO registers, PHY PLL and BMAC */ 2954 * phy has a default access mode, which could also be overridden 2956 * default phy configuration, or the nvram overrun 2996 struct bnx2x_phy *phy, 3003 mode = REG_RD(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_MODE); 3004 REG_WR(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_MODE, 3008 tmp = ((phy->addr << 21) | (reg << 16) | val | 3011 REG_WR(bp, phy 2995 bnx2x_cl22_write(struct bnx2x *bp, struct bnx2x_phy *phy, u16 reg, u16 val) argument 3030 bnx2x_cl22_read(struct bnx2x *bp, struct bnx2x_phy *phy, u16 reg, u16 *ret_val) argument 3072 bnx2x_cl45_read(struct bnx2x *bp, struct bnx2x_phy *phy, u8 devad, u16 reg, u16 *ret_val) argument 3140 bnx2x_cl45_write(struct bnx2x *bp, struct bnx2x_phy *phy, u8 devad, u16 reg, u16 val) argument 3235 bnx2x_bsc_read(struct link_params *params, struct bnx2x_phy *phy, u8 sl_devid, u16 sl_addr, u8 lc_addr, u8 xfer_cnt, u32 *data_array) argument 3328 bnx2x_cl45_read_or_write(struct bnx2x *bp, struct bnx2x_phy *phy, u8 devad, u16 reg, u16 or_val) argument 3371 bnx2x_get_warpcore_lane(struct bnx2x_phy *phy, struct link_params *params) argument 3425 bnx2x_set_aer_mmd(struct link_params *params, struct bnx2x_phy *phy) argument 3516 bnx2x_calc_ieee_aneg_adv(struct bnx2x_phy *phy, struct link_params *params, u16 *ieee_fc) argument 3593 bnx2x_ext_phy_set_pause(struct link_params *params, struct bnx2x_phy *phy, struct link_vars *vars) argument 3647 bnx2x_ext_phy_update_adv_fc(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 3701 bnx2x_ext_phy_resolve_fc(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 3729 bnx2x_warpcore_enable_AN_KR(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 3849 bnx2x_warpcore_set_10G_KR(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 3926 bnx2x_warpcore_set_10G_XFI(struct bnx2x_phy *phy, struct link_params *params, u8 is_xfi) argument 4046 bnx2x_warpcore_set_20G_KR2(struct bnx2x *bp, struct bnx2x_phy *phy) argument 4052 bnx2x_warpcore_set_20G_DXGXS(struct bnx2x *bp, struct bnx2x_phy *phy, u16 lane) argument 4110 bnx2x_warpcore_set_sgmii_speed(struct bnx2x_phy *phy, struct link_params *params, u8 fiber_mode, u8 always_autoneg) argument 4194 bnx2x_warpcore_reset_lane(struct bnx2x *bp, struct bnx2x_phy *phy, u8 reset) argument 4212 bnx2x_warpcore_clear_regs(struct bnx2x_phy *phy, struct link_params *params, u16 lane) argument 4293 bnx2x_is_sfp_module_plugged(struct bnx2x_phy *phy, struct link_params *params) argument 4311 bnx2x_warpcore_get_sigdet(struct bnx2x_phy *phy, struct link_params *params) argument 4325 bnx2x_warpcore_config_runtime(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 4391 bnx2x_warpcore_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 4500 bnx2x_sfp_e3_set_transmitter(struct link_params *params, struct bnx2x_phy *phy, u8 tx_en) argument 4521 bnx2x_warpcore_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 4564 bnx2x_set_warpcore_loopback(struct bnx2x_phy *phy, struct link_params *params) argument 4769 bnx2x_set_master_ln(struct link_params *params, struct bnx2x_phy *phy) argument 4790 bnx2x_reset_unicore(struct link_params *params, struct bnx2x_phy *phy, u8 set_serdes) argument 4834 bnx2x_set_swap_lanes(struct link_params *params, struct bnx2x_phy *phy) argument 4877 bnx2x_set_parallel_detection(struct bnx2x_phy *phy, struct link_params *params) argument 4930 bnx2x_set_autoneg(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u8 enable_cl73) argument 5034 bnx2x_program_serdes(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 5084 bnx2x_set_brcm_cl37_advertisement(struct bnx2x_phy *phy, struct link_params *params) argument 5106 bnx2x_set_ieee_aneg_advertisement(struct bnx2x_phy *phy, struct link_params *params, u16 ieee_fc) argument 5127 bnx2x_restart_autoneg(struct bnx2x_phy *phy, struct link_params *params, u8 enable_cl73) argument 5167 bnx2x_initialize_sgmii_process(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 5242 bnx2x_direct_parallel_detect_used(struct bnx2x_phy *phy, struct link_params *params) argument 5276 bnx2x_update_adv_fc(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u32 gp_status) argument 5323 bnx2x_flow_ctrl_resolve(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u32 gp_status) argument 5351 bnx2x_check_fallback_to_cl37(struct bnx2x_phy *phy, struct link_params *params) argument 5421 bnx2x_xgxs_an_resolve(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u32 gp_status) argument 5434 bnx2x_get_link_speed_duplex(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u16 is_link_up, u16 speed_mask, u16 is_duplex) argument 5524 bnx2x_link_settings_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 5597 bnx2x_warpcore_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 5701 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; local 5784 bnx2x_set_preemphasis(struct bnx2x_phy *phy, struct link_params *params) argument 5808 bnx2x_xgxs_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 5857 bnx2x_prepare_xgxs(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 5896 bnx2x_wait_reset_complete(struct bnx2x *bp, struct bnx2x_phy *phy, struct link_params *params) argument 6134 bnx2x_set_xgxs_loopback(struct bnx2x_phy *phy, struct link_params *params) argument 6447 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; local 6499 bnx2x_int_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 6507 bnx2x_common_ext_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 6715 struct bnx2x_phy *phy = ¶ms->phy[phy_index]; local 6935 bnx2x_save_bcm_spirom_ver(struct bnx2x *bp, struct bnx2x_phy *phy, u8 port) argument 6949 bnx2x_ext_phy_10G_an_resolve(struct bnx2x *bp, struct bnx2x_phy *phy, struct link_vars *vars) argument 6969 bnx2x_8073_resolve_fc(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 7002 bnx2x_8073_8727_external_rom_boot(struct bnx2x *bp, struct bnx2x_phy *phy, u8 port) argument 7083 bnx2x_8073_is_snr_needed(struct bnx2x *bp, struct bnx2x_phy *phy) argument 7109 bnx2x_8073_xaui_wa(struct bnx2x *bp, struct bnx2x_phy *phy) argument 7168 bnx2x_807x_force_10G(struct bnx2x *bp, struct bnx2x_phy *phy) argument 7181 bnx2x_8073_set_pause_cl37(struct link_params *params, struct bnx2x_phy *phy, struct link_vars *vars) argument 7216 bnx2x_8073_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 7371 bnx2x_8073_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 7518 bnx2x_8073_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 7537 bnx2x_8705_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 7564 bnx2x_8705_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 7600 bnx2x_set_disable_pmd_transmit(struct link_params *params, struct bnx2x_phy *phy, u8 pmd_dis) argument 7638 bnx2x_sfp_e1e2_set_transmitter(struct link_params *params, struct bnx2x_phy *phy, u8 tx_en) argument 7695 bnx2x_sfp_set_transmitter(struct link_params *params, struct bnx2x_phy *phy, u8 tx_en) argument 7707 bnx2x_8726_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u16 addr, u8 byte_cnt, u8 *o_buf) argument 7773 bnx2x_warpcore_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u16 addr, u8 byte_cnt, u8 *o_buf) argument 7809 bnx2x_8727_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u16 addr, u8 byte_cnt, u8 *o_buf) argument 7896 bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u16 addr, u8 byte_cnt, u8 *o_buf) argument 7919 bnx2x_get_edc_mode(struct bnx2x_phy *phy, struct link_params *params, u16 *edc_mode) argument 8026 bnx2x_verify_sfp_module(struct bnx2x_phy *phy, struct link_params *params) argument 8098 bnx2x_wait_for_sfp_module_initialized(struct bnx2x_phy *phy, struct link_params *params) argument 8123 bnx2x_8727_power_module(struct bnx2x *bp, struct bnx2x_phy *phy, u8 is_power_up) argument 8157 bnx2x_8726_set_limiting_mode(struct bnx2x *bp, struct bnx2x_phy *phy, u16 edc_mode) argument 8207 bnx2x_8727_set_limiting_mode(struct bnx2x *bp, struct bnx2x_phy *phy, u16 edc_mode) argument 8241 bnx2x_8727_specific_func(struct bnx2x_phy *phy, struct link_params *params, u32 action) argument 8325 bnx2x_warpcore_power_module(struct link_params *params, struct bnx2x_phy *phy, u8 power) argument 8349 bnx2x_warpcore_hw_reset(struct bnx2x_phy *phy, struct link_params *params) argument 8363 bnx2x_power_sfp_module(struct link_params *params, struct bnx2x_phy *phy, u8 power) argument 8382 bnx2x_warpcore_set_limiting_mode(struct link_params *params, struct bnx2x_phy *phy, u16 edc_mode) argument 8421 bnx2x_set_limiting_mode(struct link_params *params, struct bnx2x_phy *phy, u16 edc_mode) argument 8439 bnx2x_sfp_module_detection(struct bnx2x_phy *phy, struct link_params *params) argument 8500 struct bnx2x_phy *phy; local 8554 bnx2x_sfp_mask_fault(struct bnx2x *bp, struct bnx2x_phy *phy, u16 alarm_status_offset, u16 alarm_ctrl_offset) argument 8577 bnx2x_8706_8726_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 8640 bnx2x_8706_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 8747 bnx2x_8706_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 8757 bnx2x_8726_config_loopback(struct bnx2x_phy *phy, struct link_params *params) argument 8765 bnx2x_8726_external_rom_boot(struct bnx2x_phy *phy, struct link_params *params) argument 8803 bnx2x_8726_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 8824 bnx2x_8726_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 8911 bnx2x_8726_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 8926 bnx2x_8727_set_link_led(struct bnx2x_phy *phy, struct link_params *params, u8 mode) argument 8972 bnx2x_8727_hw_reset(struct bnx2x_phy *phy, struct link_params *params) argument 8988 bnx2x_8727_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9165 bnx2x_8727_handle_mod_abs(struct bnx2x_phy *phy, struct link_params *params) argument 9251 bnx2x_8727_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9412 bnx2x_8727_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 9430 bnx2x_save_848xx_spirom_version(struct bnx2x_phy *phy, struct bnx2x *bp, u8 port) argument 9492 bnx2x_848xx_set_led(struct bnx2x *bp, struct bnx2x_phy *phy) argument 9553 bnx2x_848xx_cmn_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9707 bnx2x_8481_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9726 bnx2x_84833_cmd_hdlr(struct bnx2x_phy *phy, struct link_params *params, u16 fw_cmd, u16 cmd_args[]) argument 9784 bnx2x_84833_pair_swap_cfg(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9851 bnx2x_84833_hw_reset_phy(struct bnx2x_phy *phy, struct link_params *params) argument 9885 bnx2x_848x3_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 10022 bnx2x_848xx_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 10155 bnx2x_8481_hw_reset(struct bnx2x_phy *phy, struct link_params *params) argument 10164 bnx2x_8481_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 10173 bnx2x_848x3_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 10200 bnx2x_848xx_set_link_led(struct bnx2x_phy *phy, struct link_params *params, u8 mode) argument 10409 bnx2x_54618se_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 10607 bnx2x_5461x_set_link_led(struct bnx2x_phy *phy, struct link_params *params, u8 mode) argument 10643 bnx2x_54618se_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 10670 bnx2x_54618se_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 10796 bnx2x_54618se_config_loopback(struct bnx2x_phy *phy, struct link_params *params) argument 10840 bnx2x_7101_config_loopback(struct bnx2x_phy *phy, struct link_params *params) argument 10849 bnx2x_7101_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 10889 bnx2x_7101_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 10942 bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy) argument 10967 bnx2x_7101_hw_reset(struct bnx2x_phy *phy, struct link_params *params) argument 10977 bnx2x_7101_set_link_led(struct bnx2x_phy *phy, struct link_params *params, u8 mode) argument 11462 bnx2x_populate_preemphasis(struct bnx2x *bp, u32 shmem_base, struct bnx2x_phy *phy, u8 port, u8 phy_index) argument 11522 bnx2x_populate_int_phy(struct bnx2x *bp, u32 shmem_base, u8 port, struct bnx2x_phy *phy) argument 11652 bnx2x_populate_ext_phy(struct bnx2x *bp, u8 phy_index, u32 shmem_base, u32 shmem2_base, u8 port, struct bnx2x_phy *phy) argument 11782 bnx2x_populate_phy(struct bnx2x *bp, u8 phy_index, u32 shmem_base, u32 shmem2_base, u8 port, struct bnx2x_phy *phy) argument 11794 bnx2x_phy_def_cfg(struct link_params *params, struct bnx2x_phy *phy, u8 phy_index) argument 11905 struct bnx2x_phy *phy; local 12265 struct bnx2x_phy phy[PORT_MAX]; local 12393 struct bnx2x_phy phy; local 12488 struct bnx2x_phy phy[PORT_MAX]; local 12597 bnx2x_84833_pre_init_phy(struct bnx2x *bp, struct bnx2x_phy *phy) argument 12635 struct bnx2x_phy phy; local 12900 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; local 12911 struct bnx2x_phy phy; local 12932 struct bnx2x_phy phy; local 12984 struct bnx2x_phy phy; local [all...] |
/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/e1000e/ |
H A D | phy.c | 128 struct e1000_phy_info *phy = &hw->phy; local 133 if (!phy->ops.read_reg) 141 phy->id = (u32)(phy_id << 16); 147 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); 148 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); 150 if (phy->id != 0 && phy->id != PHY_REVISION_MASK) 187 struct e1000_phy_info *phy = &hw->phy; local 247 struct e1000_phy_info *phy = &hw->phy; local 674 struct e1000_phy_info *phy = &hw->phy; local 806 struct e1000_phy_info *phy = &hw->phy; local 923 struct e1000_phy_info *phy = &hw->phy; local 1079 struct e1000_phy_info *phy = &hw->phy; local 1199 struct e1000_phy_info *phy = &hw->phy; local 1264 struct e1000_phy_info *phy = &hw->phy; local 1373 struct e1000_phy_info *phy = &hw->phy; local 1501 struct e1000_phy_info *phy = &hw->phy; local 1573 struct e1000_phy_info *phy = &hw->phy; local 1614 struct e1000_phy_info *phy = &hw->phy; local 1639 struct e1000_phy_info *phy = &hw->phy; local 1682 struct e1000_phy_info *phy = &hw->phy; local 1801 struct e1000_phy_info *phy = &hw->phy; local 1836 struct e1000_phy_info *phy = &hw->phy; local 1905 struct e1000_phy_info *phy = &hw->phy; local 1978 struct e1000_phy_info *phy = &hw->phy; local 2038 struct e1000_phy_info *phy = &hw->phy; local 2120 struct e1000_phy_info *phy = &hw->phy; local 3177 struct e1000_phy_info *phy = &hw->phy; local 3199 struct e1000_phy_info *phy = &hw->phy; local 3246 struct e1000_phy_info *phy = &hw->phy; local 3307 struct e1000_phy_info *phy = &hw->phy; local [all...] |
/drivers/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 144 struct wpan_phy *phy = fake_to_phy(dev); local 219 struct wpan_phy *phy = fake_to_phy(dev); local 335 struct wpan_phy *phy = fake_to_phy(dev); local 361 struct wpan_phy *phy = wpan_phy_alloc(0); local [all...] |
/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cphy.h | 82 int (*advertise)(struct cphy *phy, unsigned int advertise_map); 84 int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex); 85 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed, 140 static inline void cphy_init(struct cphy *phy, struct net_device *dev, argument 145 phy->adapter = adapter; 146 phy->ops = phy_ops; 148 phy->mdio.prtad = phy_addr; 149 phy->mdio.mmds = phy_ops->mmds; 150 phy->mdio.mode_support = mdio_ops->mode_support; 151 phy [all...] |
/drivers/of/ |
H A D | of_mdio.c | 16 #include <linux/phy.h> 35 struct phy_device *phy; local 80 phy = get_phy_device(mdio, addr); 81 if (!phy || IS_ERR(phy)) { 90 phy->dev.of_node = child; 92 /* All data is now stored in the phy struct; register it */ 93 rc = phy_device_register(phy); 95 phy_device_free(phy); 100 dev_dbg(&mdio->dev, "registered phy 145 struct phy_device *phy = of_phy_find_device(phy_np); local 170 struct phy_device *phy; local [all...] |
/drivers/uwb/i1480/dfu/ |
H A D | Makefile | 6 phy.o \
|