/linux-3.3/drivers/net/ |
D | sungem_phy.c | 50 static inline int __phy_read(struct mii_phy* phy, int id, int reg) in __phy_read() 55 static inline void __phy_write(struct mii_phy* phy, int id, int reg, int val) in __phy_write() 60 static inline int phy_read(struct mii_phy* phy, int reg) in phy_read() 65 static inline void phy_write(struct mii_phy* phy, int reg, int val) in phy_write() 70 static int reset_one_mii_phy(struct mii_phy* phy, int phy_id) in reset_one_mii_phy() 94 static int bcm5201_init(struct mii_phy* phy) in bcm5201_init() 107 static int bcm5201_suspend(struct mii_phy* phy) in bcm5201_suspend() 115 static int bcm5221_init(struct mii_phy* phy) in bcm5221_init() 138 static int bcm5221_suspend(struct mii_phy* phy) in bcm5221_suspend() 153 static int bcm5241_init(struct mii_phy* phy) in bcm5241_init() [all …]
|
/linux-3.3/drivers/net/ethernet/chelsio/cxgb3/ |
D | ael1002.c | 84 static int set_phy_regs(struct cphy *phy, const struct reg_val *rv) in set_phy_regs() 100 static void ael100x_txon(struct cphy *phy) in ael100x_txon() 113 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr) in ael_i2c_rd() 141 static int ael1002_power_down(struct cphy *phy, int enable) in ael1002_power_down() 153 static int ael1002_reset(struct cphy *phy, int wait) in ael1002_reset() 168 static int ael1002_intr_noop(struct cphy *phy) in ael1002_intr_noop() 176 static int get_link_status_r(struct cphy *phy, int *link_ok, int *speed, in get_link_status_r() 212 int t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_ael1002_phy_prep() 222 static int ael1006_reset(struct cphy *phy, int wait) in ael1006_reset() 238 int t3_ael1006_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_ael1006_phy_prep() [all …]
|
D | aq100x.c | 65 static int aq100x_reset(struct cphy *phy, int wait) in aq100x_reset() 80 static int aq100x_intr_enable(struct cphy *phy) in aq100x_intr_enable() 90 static int aq100x_intr_disable(struct cphy *phy) in aq100x_intr_disable() 95 static int aq100x_intr_clear(struct cphy *phy) in aq100x_intr_clear() 105 static int aq100x_intr_handler(struct cphy *phy) in aq100x_intr_handler() 120 static int aq100x_power_down(struct cphy *phy, int off) in aq100x_power_down() 127 static int aq100x_autoneg_enable(struct cphy *phy) in aq100x_autoneg_enable() 140 static int aq100x_autoneg_restart(struct cphy *phy) in aq100x_autoneg_restart() 153 static int aq100x_advertise(struct cphy *phy, unsigned int advertise_map) in aq100x_advertise() 194 static int aq100x_set_loopback(struct cphy *phy, int mmd, int dir, int enable) in aq100x_set_loopback() [all …]
|
/linux-3.3/drivers/net/ethernet/ibm/emac/ |
D | phy.c | 34 static inline int _phy_read(struct mii_phy *phy, int reg) in _phy_read() 39 static inline void _phy_write(struct mii_phy *phy, int reg, int val) in _phy_write() 44 static inline int gpcs_phy_read(struct mii_phy *phy, int reg) in gpcs_phy_read() 49 static inline void gpcs_phy_write(struct mii_phy *phy, int reg, int val) in gpcs_phy_write() 54 int emac_mii_reset_phy(struct mii_phy *phy) in emac_mii_reset_phy() 78 int emac_mii_reset_gpcs(struct mii_phy *phy) in emac_mii_reset_gpcs() 109 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) in genmii_setup_aneg() 168 static int genmii_setup_forced(struct mii_phy *phy, int speed, int fd) in genmii_setup_forced() 205 static int genmii_poll_link(struct mii_phy *phy) in genmii_poll_link() 219 static int genmii_read_link(struct mii_phy *phy) in genmii_read_link() [all …]
|
/linux-3.3/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 86 struct e1000_phy_info *phy = &hw->phy; in igb_get_phy_id() local 141 struct e1000_phy_info *phy = &hw->phy; in igb_read_phy_reg_mdic() local 199 struct e1000_phy_info *phy = &hw->phy; in igb_write_phy_reg_mdic() local 258 struct e1000_phy_info *phy = &hw->phy; in igb_read_phy_reg_i2c() local 305 struct e1000_phy_info *phy = &hw->phy; in igb_write_phy_reg_i2c() local 437 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_82580() local 480 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_m88() local 587 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_m88_gen2() local 670 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_igp() local 811 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_autoneg() local [all …]
|
/linux-3.3/drivers/media/video/omap3isp/ |
D | ispcsiphy.c | 41 static void csiphy_lanes_config(struct isp_csiphy *phy) in csiphy_lanes_config() 69 static void csiphy_power_autoswitch_enable(struct isp_csiphy *phy, bool enable) in csiphy_power_autoswitch_enable() 82 static int csiphy_set_power(struct isp_csiphy *phy, u32 power) in csiphy_set_power() 114 static void csiphy_dphy_config(struct isp_csiphy *phy) in csiphy_dphy_config() 141 static int csiphy_config(struct isp_csiphy *phy, in csiphy_config() 173 int omap3isp_csiphy_acquire(struct isp_csiphy *phy) in omap3isp_csiphy_acquire() 208 void omap3isp_csiphy_release(struct isp_csiphy *phy) in omap3isp_csiphy_release()
|
/linux-3.3/arch/arm/mach-tegra/ |
D | usb_phy.c | 210 static inline bool phy_is_ulpi(struct tegra_usb_phy *phy) in phy_is_ulpi() 215 static int utmip_pad_open(struct tegra_usb_phy *phy) in utmip_pad_open() 236 static void utmip_pad_close(struct tegra_usb_phy *phy) in utmip_pad_close() 243 static void utmip_pad_power_on(struct tegra_usb_phy *phy) in utmip_pad_power_on() 263 static int utmip_pad_power_off(struct tegra_usb_phy *phy) in utmip_pad_power_off() 302 static void utmi_phy_clk_disable(struct tegra_usb_phy *phy) in utmi_phy_clk_disable() 329 static void utmi_phy_clk_enable(struct tegra_usb_phy *phy) in utmi_phy_clk_enable() 357 static int utmi_phy_power_on(struct tegra_usb_phy *phy) in utmi_phy_power_on() 483 static void utmi_phy_power_off(struct tegra_usb_phy *phy) in utmi_phy_power_off() 518 static void utmi_phy_preresume(struct tegra_usb_phy *phy) in utmi_phy_preresume() [all …]
|
/linux-3.3/drivers/scsi/libsas/ |
D | sas_port.c | 31 static bool phy_is_wideport_member(struct asd_sas_port *port, struct asd_sas_phy *phy) in phy_is_wideport_member() 49 static void sas_form_port(struct asd_sas_phy *phy) in sas_form_port() 156 void sas_deform_port(struct asd_sas_phy *phy, int gone) in sas_deform_port() 214 struct asd_sas_phy *phy = ev->phy; in sas_porte_bytes_dmaed() local 226 struct asd_sas_phy *phy = ev->phy; in sas_porte_broadcast_rcvd() local 245 struct asd_sas_phy *phy = ev->phy; in sas_porte_link_reset_err() local 257 struct asd_sas_phy *phy = ev->phy; in sas_porte_timer_event() local 269 struct asd_sas_phy *phy = ev->phy; in sas_porte_hard_reset() local
|
D | sas_phy.c | 37 struct asd_sas_phy *phy = ev->phy; in sas_phye_loss_of_signal() local 49 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_done() local 60 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_error() local 93 struct asd_sas_phy *phy = ev->phy; in sas_phye_spinup_hold() local 129 struct asd_sas_phy *phy = sas_ha->sas_phy[i]; in sas_register_phys() local
|
/linux-3.3/drivers/net/wireless/b43legacy/ |
D | radio.c | 116 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_read16() local 151 struct b43legacy_phy *phy = &dev->phy; in b43legacy_set_all_gains() local 187 struct b43legacy_phy *phy = &dev->phy; in b43legacy_set_original_gains() local 227 struct b43legacy_phy *phy = &dev->phy; in b43legacy_synth_pu_workaround() local 248 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_aci_detect() local 282 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_aci_scan() local 368 struct b43legacy_phy *phy = &dev->phy; in b43legacy_nrssi_mem_update() local 385 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_offset() local 555 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_slope() local 820 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_threshold() local [all …]
|
D | phy.c | 143 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_calibrate() local 161 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_init_pctl() local 220 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_agcsetup() local 336 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_setupg() local 448 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb2() local 497 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb4() local 553 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb5() local 668 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb6() local 811 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_loopback_gain() local 1010 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initg() local [all …]
|
/linux-3.3/net/ieee802154/ |
D | wpan-class.c | 54 struct wpan_phy *phy = container_of(dev, struct wpan_phy, dev); in channels_supported_show() local 81 struct wpan_phy *phy = container_of(d, struct wpan_phy, dev); in wpan_phy_release() local 123 struct wpan_phy *phy = container_of(dev, struct wpan_phy, dev); in wpan_phy_iter() local 127 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), in wpan_phy_for_each() 147 struct wpan_phy *phy = kzalloc(sizeof(*phy) + priv_size, in wpan_phy_alloc() local 179 int wpan_phy_register(struct wpan_phy *phy) in wpan_phy_register() 185 void wpan_phy_unregister(struct wpan_phy *phy) in wpan_phy_unregister() 191 void wpan_phy_free(struct wpan_phy *phy) in wpan_phy_free()
|
D | nl-phy.c | 39 u32 seq, int flags, struct wpan_phy *phy) in ieee802154_nl_fill_phy() 86 struct wpan_phy *phy; in ieee802154_list_phy() local 130 static int ieee802154_dump_phy_iter(struct wpan_phy *phy, void *_data) in ieee802154_dump_phy_iter() 177 struct wpan_phy *phy; in ieee802154_add_iface() local 273 struct wpan_phy *phy; in ieee802154_del_iface() local
|
/linux-3.3/drivers/net/wireless/b43/ |
D | phy_g.c | 83 struct b43_phy *phy = &dev->phy; in generate_rfatt_list() local 178 struct b43_phy *phy = &dev->phy; in b43_synth_pu_workaround() local 201 struct b43_phy *phy = &dev->phy; in b43_gphy_set_baseband_attenuation() local 219 struct b43_phy *phy = &dev->phy; in b43_set_txpower_g() local 284 struct b43_phy *phy = &dev->phy; in b43_gphy_gain_lt_init() local 311 struct b43_phy *phy = &dev->phy; in b43_set_all_gains() local 342 struct b43_phy *phy = &dev->phy; in b43_set_original_gains() local 423 struct b43_phy *phy = &dev->phy; in b43_calc_nrssi_offset() local 570 struct b43_phy *phy = &dev->phy; in b43_calc_nrssi_slope() local 712 struct b43_phy *phy = &dev->phy; in b43_calc_nrssi_threshold() local [all …]
|
D | wa.c | 62 struct b43_phy *phy = &dev->phy; in b43_wa_initgains() local 136 struct b43_phy *phy = &dev->phy; in b43_wa_analog() local 176 struct b43_phy *phy = &dev->phy; in b43_wa_nft() local 222 struct b43_phy *phy = &dev->phy; in b43_wa_nst() local 282 struct b43_phy *phy = &dev->phy; in b43_wa_msst() local 310 struct b43_phy *phy = &dev->phy; in b43_wa_crs_ed() local 366 struct b43_phy *phy = &dev->phy; in b43_wa_altagc() local 488 struct b43_phy *phy = &dev->phy; in b43_wa_boards_g() local 519 struct b43_phy *phy = &dev->phy; in b43_wa_all() local
|
D | lo.c | 60 struct b43_phy *phy = &dev->phy; in b43_lo_write() local 81 struct b43_phy *phy = &dev->phy; in lo_measure_feedthrough() local 144 struct b43_phy *phy = &dev->phy; in lo_txctl_register_table() local 177 struct b43_phy *phy = &dev->phy; in lo_measure_txctl_values() local 274 struct b43_phy *phy = &dev->phy; in lo_read_power_vector() local 296 struct b43_phy *phy = &dev->phy; in lo_measure_gain_values() local 389 struct b43_phy *phy = &dev->phy; in lo_measure_setup() local 503 struct b43_phy *phy = &dev->phy; in lo_measure_restore() local 580 struct b43_phy *phy = &dev->phy; in lo_probe_possible_loctls() local 661 struct b43_phy *phy = &dev->phy; in lo_probe_loctls_statemachine() local [all …]
|
D | phy_a.c | 268 struct b43_phy *phy = &dev->phy; in b43_phy_inita() local 321 struct b43_phy *phy = &dev->phy; in b43_aphy_init_tssi2dbm_table() local 379 struct b43_phy *phy = &dev->phy; in b43_aphy_op_prepare_structs() local 401 struct b43_phy *phy = &dev->phy; in b43_aphy_op_free() local 486 struct b43_phy *phy = &dev->phy; in b43_aphy_op_software_rfkill() local 521 struct b43_phy *phy = &dev->phy; in b43_aphy_op_set_rx_antenna() local
|
/linux-3.3/drivers/net/fddi/skfp/ |
D | pcmplc.c | 217 struct s_phy *phy) in start_pcm_timer0() 227 static void stop_pcm_timer0(struct s_smc *smc, struct s_phy *phy) in stop_pcm_timer0() 241 struct s_phy *phy ; in pcm_init() local 501 int sm_pm_get_ls(struct s_smc *smc, int phy) in sm_pm_get_ls() 534 static int plc_send_bits(struct s_smc *smc, struct s_phy *phy, int len) in plc_send_bits() 599 struct s_phy *phy ; in pcm() local 674 static void pcm_fsm(struct s_smc *smc, struct s_phy *phy, int cmd) in pcm_fsm() 1037 static void sm_ph_linestate(struct s_smc *smc, int phy, int ls) in sm_ph_linestate() 1066 static void reset_lem_struct(struct s_phy *phy) in reset_lem_struct() 1077 static void lem_evaluate(struct s_smc *smc, struct s_phy *phy) in lem_evaluate() [all …]
|
/linux-3.3/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 2987 struct bnx2x_phy *phy, in bnx2x_cl22_write() 3022 struct bnx2x_phy *phy, in bnx2x_cl22_read() 3063 static int bnx2x_cl45_read(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read() 3131 static int bnx2x_cl45_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_write() 3227 struct bnx2x_phy *phy, in bnx2x_bsc_read() 3319 static void bnx2x_cl45_read_or_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read_or_write() 3362 static u8 bnx2x_get_warpcore_lane(struct bnx2x_phy *phy, in bnx2x_get_warpcore_lane() 3417 struct bnx2x_phy *phy) in bnx2x_set_aer_mmd() 3507 static void bnx2x_calc_ieee_aneg_adv(struct bnx2x_phy *phy, in bnx2x_calc_ieee_aneg_adv() 3585 struct bnx2x_phy *phy, in bnx2x_ext_phy_set_pause() [all …]
|
/linux-3.3/drivers/scsi/aic94xx/ |
D | aic94xx_scb.c | 54 static void get_lrate_mode(struct asd_phy *phy, u8 oob_mode) in get_lrate_mode() 91 struct asd_phy *phy = &asd_ha->phys[phy_id]; in asd_phy_event_tasklet() local 129 static unsigned ord_phy(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in ord_phy() 154 static void asd_get_attached_sas_addr(struct asd_phy *phy, u8 *sas_addr) in asd_get_attached_sas_addr() 171 static void asd_form_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in asd_form_port() 220 static void asd_deform_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in asd_deform_port() 242 struct asd_phy *phy = &ascb->ha->phys[phy_id]; in asd_bytes_dmaed_tasklet() local 265 struct asd_phy *phy = &asd_ha->phys[phy_id]; in asd_link_reset_err_tasklet() local 319 struct asd_phy *phy = &asd_ha->phys[phy_id]; in asd_primitive_rcvd_tasklet() local 424 struct asd_phy *phy = &asd_ha->phys[phy_id]; in escb_tasklet_complete() local [all …]
|
/linux-3.3/include/net/ |
D | wpan-phy.h | 54 static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *dev) in wpan_phy_set_dev() 64 static inline void *wpan_phy_priv(struct wpan_phy *phy) in wpan_phy_priv() 72 static inline void wpan_phy_put(struct wpan_phy *phy) in wpan_phy_put() 77 static inline const char *wpan_phy_name(struct wpan_phy *phy) in wpan_phy_name()
|
/linux-3.3/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 130 struct e1000_phy_info *phy = &hw->phy; in e1000e_get_phy_id() local 189 struct e1000_phy_info *phy = &hw->phy; in e1000e_read_phy_reg_mdic() local 249 struct e1000_phy_info *phy = &hw->phy; in e1000e_write_phy_reg_mdic() local 688 struct e1000_phy_info *phy = &hw->phy; in e1000e_copper_link_setup_m88() local 820 struct e1000_phy_info *phy = &hw->phy; in e1000e_copper_link_setup_igp() local 937 struct e1000_phy_info *phy = &hw->phy; in e1000_phy_setup_autoneg() local 1094 struct e1000_phy_info *phy = &hw->phy; in e1000_copper_link_autoneg() local 1217 struct e1000_phy_info *phy = &hw->phy; in e1000e_phy_force_speed_duplex_igp() local 1288 struct e1000_phy_info *phy = &hw->phy; in e1000e_phy_force_speed_duplex_m88() local 1397 struct e1000_phy_info *phy = &hw->phy; in e1000_phy_force_speed_duplex_ife() local [all …]
|
/linux-3.3/drivers/ieee802154/ |
D | fakehard.c | 36 struct wpan_phy *phy; member 56 struct wpan_phy *phy = fake_to_phy(dev); in fake_get_phy() local 144 struct wpan_phy *phy = fake_to_phy(dev); in fake_assoc_req() local 219 struct wpan_phy *phy = fake_to_phy(dev); in fake_start_req() local 335 struct wpan_phy *phy = fake_to_phy(dev); in ieee802154_fake_destruct() local 361 struct wpan_phy *phy = wpan_phy_alloc(0); in ieee802154fake_probe() local
|
/linux-3.3/drivers/of/ |
D | of_mdio.c | 35 struct phy_device *phy; in of_mdiobus_register() local 145 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_connect() local 170 struct phy_device *phy; in of_phy_connect_fixed_link() local
|
/linux-3.3/drivers/net/phy/ |
D | mdio-bitbang.c | 97 static void mdiobb_cmd(struct mdiobb_ctrl *ctrl, int op, u8 phy, u8 reg) in mdiobb_cmd() 137 static int mdiobb_cmd_addr(struct mdiobb_ctrl *ctrl, int phy, u32 addr) in mdiobb_cmd_addr() 155 static int mdiobb_read(struct mii_bus *bus, int phy, int reg) in mdiobb_read() 184 static int mdiobb_write(struct mii_bus *bus, int phy, int reg, u16 val) in mdiobb_write()
|