/drivers/net/ |
D | sungem_phy.c | 50 static inline int __phy_read(struct mii_phy* phy, int id, int reg) in __phy_read() argument 52 return phy->mdio_read(phy->dev, id, reg); in __phy_read() 55 static inline void __phy_write(struct mii_phy* phy, int id, int reg, int val) in __phy_write() argument 57 phy->mdio_write(phy->dev, id, reg, val); in __phy_write() 60 static inline int phy_read(struct mii_phy* phy, int reg) in phy_read() argument 62 return phy->mdio_read(phy->dev, phy->mii_id, reg); in phy_read() 65 static inline void phy_write(struct mii_phy* phy, int reg, int val) in phy_write() argument 67 phy->mdio_write(phy->dev, phy->mii_id, reg, val); in phy_write() 70 static int reset_one_mii_phy(struct mii_phy* phy, int phy_id) in reset_one_mii_phy() argument 75 val = __phy_read(phy, phy_id, MII_BMCR); in reset_one_mii_phy() [all …]
|
/drivers/scsi/libsas/ |
D | sas_phy.c | 36 struct asd_sas_phy *phy = ev->phy; in sas_phye_loss_of_signal() local 38 clear_bit(PHYE_LOSS_OF_SIGNAL, &phy->phy_events_pending); in sas_phye_loss_of_signal() 39 phy->error = 0; in sas_phye_loss_of_signal() 40 sas_deform_port(phy, 1); in sas_phye_loss_of_signal() 46 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_done() local 48 clear_bit(PHYE_OOB_DONE, &phy->phy_events_pending); in sas_phye_oob_done() 49 phy->error = 0; in sas_phye_oob_done() 55 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_error() local 56 struct sas_ha_struct *sas_ha = phy->ha; in sas_phye_oob_error() 57 struct asd_sas_port *port = phy->port; in sas_phye_oob_error() [all …]
|
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() argument 33 struct sas_ha_struct *sas_ha = phy->ha; in phy_is_wideport_member() 35 if (memcmp(port->attached_sas_addr, phy->attached_sas_addr, in phy_is_wideport_member() 37 memcmp(port->sas_addr, phy->sas_addr, SAS_ADDR_SIZE) != 0)) in phy_is_wideport_member() 42 static void sas_resume_port(struct asd_sas_phy *phy) in sas_resume_port() argument 45 struct asd_sas_port *port = phy->port; in sas_resume_port() 46 struct sas_ha_struct *sas_ha = phy->ha; in sas_resume_port() 50 si->dft->lldd_port_formed(phy); in sas_resume_port() 75 struct ex_phy *phy = &dev->ex_dev.ex_phy[i]; in sas_resume_port() local 77 phy->phy_change_count = -1; in sas_resume_port() [all …]
|
D | sas_init.c | 212 static int sas_get_linkerrors(struct sas_phy *phy) in sas_get_linkerrors() argument 214 if (scsi_is_sas_phy_local(phy)) { in sas_get_linkerrors() 215 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_get_linkerrors() 217 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_get_linkerrors() 224 return sas_smp_get_phy_events(phy); in sas_get_linkerrors() 254 static int transport_sas_phy_reset(struct sas_phy *phy, int hard_reset) in transport_sas_phy_reset() argument 263 if (scsi_is_sas_phy_local(phy)) { in transport_sas_phy_reset() 264 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in transport_sas_phy_reset() 266 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in transport_sas_phy_reset() 274 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); in transport_sas_phy_reset() [all …]
|
/drivers/net/ethernet/ibm/emac/ |
D | phy.c | 34 static inline int _phy_read(struct mii_phy *phy, int reg) in _phy_read() argument 36 return phy->mdio_read(phy->dev, phy->address, reg); in _phy_read() 39 static inline void _phy_write(struct mii_phy *phy, int reg, int val) in _phy_write() argument 41 phy->mdio_write(phy->dev, phy->address, reg, val); in _phy_write() 44 static inline int gpcs_phy_read(struct mii_phy *phy, int reg) in gpcs_phy_read() argument 46 return phy->mdio_read(phy->dev, phy->gpcs_address, reg); in gpcs_phy_read() 49 static inline void gpcs_phy_write(struct mii_phy *phy, int reg, int val) in gpcs_phy_write() argument 51 phy->mdio_write(phy->dev, phy->gpcs_address, reg, val); in gpcs_phy_write() 54 int emac_mii_reset_phy(struct mii_phy *phy) in emac_mii_reset_phy() argument 59 val = phy_read(phy, MII_BMCR); in emac_mii_reset_phy() [all …]
|
/drivers/usb/phy/ |
D | phy-omap-usb2.c | 44 struct omap_usb *phy; in omap_usb2_set_comparator() local 50 phy = phy_to_omapusb(x); in omap_usb2_set_comparator() 51 phy->comparator = comparator; in omap_usb2_set_comparator() 58 struct omap_usb *phy = phy_to_omapusb(otg->phy); in omap_usb_set_vbus() local 60 if (!phy->comparator) in omap_usb_set_vbus() 63 return phy->comparator->set_vbus(phy->comparator, enabled); in omap_usb_set_vbus() 68 struct omap_usb *phy = phy_to_omapusb(otg->phy); in omap_usb_start_srp() local 70 if (!phy->comparator) in omap_usb_start_srp() 73 return phy->comparator->start_srp(phy->comparator); in omap_usb_start_srp() 78 struct usb_phy *phy = otg->phy; in omap_usb_set_host() local [all …]
|
D | phy-omap-usb3.c | 79 struct omap_usb *phy = phy_to_omapusb(x); in omap_usb3_suspend() local 83 if (suspend && !phy->is_suspended) { in omap_usb3_suspend() 84 val = omap_usb_readl(phy->pll_ctrl_base, PLL_CONFIGURATION2); in omap_usb3_suspend() 86 omap_usb_writel(phy->pll_ctrl_base, PLL_CONFIGURATION2, val); in omap_usb3_suspend() 89 val = omap_usb_readl(phy->pll_ctrl_base, PLL_STATUS); in omap_usb3_suspend() 95 omap_control_usb3_phy_power(phy->control_dev, 0); in omap_usb3_suspend() 97 phy->is_suspended = 1; in omap_usb3_suspend() 98 } else if (!suspend && phy->is_suspended) { in omap_usb3_suspend() 99 phy->is_suspended = 0; in omap_usb3_suspend() 101 val = omap_usb_readl(phy->pll_ctrl_base, PLL_CONFIGURATION2); in omap_usb3_suspend() [all …]
|
D | phy-ulpi.c | 52 static int ulpi_set_otg_flags(struct usb_phy *phy) in ulpi_set_otg_flags() argument 57 if (phy->flags & ULPI_OTG_ID_PULLUP) in ulpi_set_otg_flags() 64 if (phy->flags & ULPI_OTG_DP_PULLDOWN_DIS) in ulpi_set_otg_flags() 67 if (phy->flags & ULPI_OTG_DM_PULLDOWN_DIS) in ulpi_set_otg_flags() 70 if (phy->flags & ULPI_OTG_EXTVBUSIND) in ulpi_set_otg_flags() 73 return usb_phy_io_write(phy, flags, ULPI_OTG_CTRL); in ulpi_set_otg_flags() 76 static int ulpi_set_fc_flags(struct usb_phy *phy) in ulpi_set_fc_flags() argument 84 if (phy->flags & ULPI_FC_HS) in ulpi_set_fc_flags() 86 else if (phy->flags & ULPI_FC_LS) in ulpi_set_fc_flags() 88 else if (phy->flags & ULPI_FC_FS4LS) in ulpi_set_fc_flags() [all …]
|
D | phy-tegra-usb.c | 199 static int utmip_pad_open(struct tegra_usb_phy *phy) in utmip_pad_open() argument 201 phy->pad_clk = clk_get_sys("utmip-pad", NULL); in utmip_pad_open() 202 if (IS_ERR(phy->pad_clk)) { in utmip_pad_open() 204 return PTR_ERR(phy->pad_clk); in utmip_pad_open() 207 if (phy->is_legacy_phy) { in utmip_pad_open() 208 phy->pad_regs = phy->regs; in utmip_pad_open() 210 phy->pad_regs = ioremap(TEGRA_USB_BASE, TEGRA_USB_SIZE); in utmip_pad_open() 211 if (!phy->pad_regs) { in utmip_pad_open() 213 clk_put(phy->pad_clk); in utmip_pad_open() 220 static void utmip_pad_close(struct tegra_usb_phy *phy) in utmip_pad_close() argument [all …]
|
D | phy-msm-usb.c | 72 hsusb_vddcx = regulator_get(motg->phy.dev, "HSUSB_VDDCX"); in msm_hsusb_init_vddcx() 74 dev_err(motg->phy.dev, "unable to get hsusb vddcx\n"); in msm_hsusb_init_vddcx() 82 dev_err(motg->phy.dev, "unable to set the voltage " in msm_hsusb_init_vddcx() 90 dev_err(motg->phy.dev, "unable to enable hsusb vddcx\n"); in msm_hsusb_init_vddcx() 97 dev_err(motg->phy.dev, "unable to set the voltage " in msm_hsusb_init_vddcx() 101 dev_err(motg->phy.dev, "unable to disable hsusb vddcx\n"); in msm_hsusb_init_vddcx() 114 hsusb_3p3 = regulator_get(motg->phy.dev, "HSUSB_3p3"); in msm_hsusb_ldo_init() 116 dev_err(motg->phy.dev, "unable to get hsusb 3p3\n"); in msm_hsusb_ldo_init() 123 dev_err(motg->phy.dev, "unable to set voltage level " in msm_hsusb_ldo_init() 129 dev_err(motg->phy.dev, "unable to enable the hsusb 3p3\n"); in msm_hsusb_ldo_init() [all …]
|
D | phy.c | 28 struct usb_phy *phy = NULL; in __usb_find_phy() local 30 list_for_each_entry(phy, list, head) { in __usb_find_phy() 31 if (phy->type != type) in __usb_find_phy() 34 return phy; in __usb_find_phy() 48 if (phy_bind->phy) in __usb_find_phy_dev() 49 return phy_bind->phy; in __usb_find_phy_dev() 60 struct usb_phy *phy; in __of_usb_find_phy() local 62 list_for_each_entry(phy, &phy_list, head) { in __of_usb_find_phy() 63 if (node != phy->dev->of_node) in __of_usb_find_phy() 66 return phy; in __of_usb_find_phy() [all …]
|
D | Makefile | 7 obj-$(CONFIG_USB_PHY) += phy.o 13 obj-$(CONFIG_AB8500_USB) += phy-ab8500-usb.o 14 phy-fsl-usb2-objs := phy-fsl-usb.o phy-fsm-usb.o 15 obj-$(CONFIG_FSL_USB2_OTG) += phy-fsl-usb2.o 16 obj-$(CONFIG_ISP1301_OMAP) += phy-isp1301-omap.o 17 obj-$(CONFIG_MV_U3D_PHY) += phy-mv-u3d-usb.o 18 obj-$(CONFIG_NOP_USB_XCEIV) += phy-nop.o 19 obj-$(CONFIG_OMAP_CONTROL_USB) += phy-omap-control.o 20 obj-$(CONFIG_OMAP_USB2) += phy-omap-usb2.o 21 obj-$(CONFIG_OMAP_USB3) += phy-omap-usb3.o [all …]
|
/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() argument 90 err = t3_mdio_write(phy, rv->mmd_addr, rv->reg_addr, in set_phy_regs() 93 err = t3_mdio_change_bits(phy, rv->mmd_addr, in set_phy_regs() 100 static void ael100x_txon(struct cphy *phy) in ael100x_txon() argument 103 phy->mdio.prtad == 0 ? F_GPIO7_OUT_VAL : F_GPIO2_OUT_VAL; in ael100x_txon() 106 t3_set_reg_field(phy->adapter, A_T3DBG_GPIO_EN, 0, tx_on_gpio); in ael100x_txon() 113 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr) in ael_i2c_rd() argument 118 err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AEL_I2C_CTRL, in ael_i2c_rd() 125 err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL_I2C_STAT, &stat); in ael_i2c_rd() 129 err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL_I2C_DATA, in ael_i2c_rd() [all …]
|
D | aq100x.c | 65 static int aq100x_reset(struct cphy *phy, int wait) in aq100x_reset() argument 71 int err = t3_phy_reset(phy, MDIO_MMD_VEND1, 3000); in aq100x_reset() 74 CH_WARN(phy->adapter, "PHY%d: reset failed (0x%x).\n", in aq100x_reset() 75 phy->mdio.prtad, err); in aq100x_reset() 80 static int aq100x_intr_enable(struct cphy *phy) in aq100x_intr_enable() argument 82 int err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AQ_IMASK_PMA, IMASK_PMA); in aq100x_intr_enable() 86 err = t3_mdio_write(phy, MDIO_MMD_VEND1, AQ_IMASK_GLOBAL, IMASK_GLOBAL); in aq100x_intr_enable() 90 static int aq100x_intr_disable(struct cphy *phy) in aq100x_intr_disable() argument 92 return t3_mdio_write(phy, MDIO_MMD_VEND1, AQ_IMASK_GLOBAL, 0); in aq100x_intr_disable() 95 static int aq100x_intr_clear(struct cphy *phy) in aq100x_intr_clear() argument [all …]
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 86 struct e1000_phy_info *phy = &hw->phy; in igb_get_phy_id() local 90 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igb_get_phy_id() 94 phy->id = (u32)(phy_id << 16); in igb_get_phy_id() 96 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igb_get_phy_id() 100 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in igb_get_phy_id() 101 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in igb_get_phy_id() 117 if (!(hw->phy.ops.write_reg)) in igb_phy_reset_dsp() 120 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0xC1); in igb_phy_reset_dsp() 124 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0); in igb_phy_reset_dsp() 141 struct e1000_phy_info *phy = &hw->phy; in igb_read_phy_reg_mdic() local [all …]
|
/drivers/net/fddi/skfp/ |
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) in start_pcm_timer0() argument 219 phy->timer0_exp = FALSE ; /* clear timer event flag */ in start_pcm_timer0() 220 smt_timer_start(smc,&phy->pcm_timer0,value, in start_pcm_timer0() 221 EV_TOKEN(EVENT_PCM+phy->np,event)) ; in start_pcm_timer0() 227 static void stop_pcm_timer0(struct s_smc *smc, struct s_phy *phy) in stop_pcm_timer0() argument [all …]
|
/drivers/net/wireless/b43legacy/ |
D | phy.c | 101 B43legacy_WARN_ON(dev->phy.phy_locked); in b43legacy_phy_lock() 102 dev->phy.phy_locked = 1; in b43legacy_phy_lock() 116 B43legacy_WARN_ON(!dev->phy.phy_locked); in b43legacy_phy_unlock() 117 dev->phy.phy_locked = 0; in b43legacy_phy_unlock() 143 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_calibrate() local 146 if (phy->calibrated) in b43legacy_phy_calibrate() 148 if (phy->type == B43legacy_PHYTYPE_G && phy->rev == 1) { in b43legacy_phy_calibrate() 153 phy->calibrated = 1; in b43legacy_phy_calibrate() 161 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_init_pctl() local 167 B43legacy_BUG_ON(!(phy->type == B43legacy_PHYTYPE_B || in b43legacy_phy_init_pctl() [all …]
|
D | radio.c | 116 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_read16() local 118 switch (phy->type) { in b43legacy_radio_read16() 120 if (phy->radio_ver == 0x2053) { in b43legacy_radio_read16() 125 } else if (phy->radio_ver == 0x2050) in b43legacy_radio_read16() 151 struct b43legacy_phy *phy = &dev->phy; in b43legacy_set_all_gains() local 158 if (phy->rev <= 1) { in b43legacy_set_all_gains() 187 struct b43legacy_phy *phy = &dev->phy; in b43legacy_set_original_gains() local 194 if (phy->rev <= 1) { in b43legacy_set_original_gains() 227 struct b43legacy_phy *phy = &dev->phy; in b43legacy_synth_pu_workaround() local 231 if (phy->radio_ver != 0x2050 || phy->radio_rev >= 6) in b43legacy_synth_pu_workaround() [all …]
|
/drivers/nfc/pn544/ |
D | i2c.c | 82 static void pn544_hci_i2c_platform_init(struct pn544_i2c_phy *phy) in pn544_hci_i2c_platform_init() argument 89 dev_info(&phy->i2c_dev->dev, "Detecting nfc_en polarity\n"); in pn544_hci_i2c_platform_init() 92 gpio_set_value(phy->gpio_fw, 0); in pn544_hci_i2c_platform_init() 95 phy->en_polarity = polarity; in pn544_hci_i2c_platform_init() 99 gpio_set_value(phy->gpio_en, !phy->en_polarity); in pn544_hci_i2c_platform_init() 103 gpio_set_value(phy->gpio_en, phy->en_polarity); in pn544_hci_i2c_platform_init() 107 dev_dbg(&phy->i2c_dev->dev, "Sending reset cmd\n"); in pn544_hci_i2c_platform_init() 108 ret = i2c_master_send(phy->i2c_dev, rset_cmd, count); in pn544_hci_i2c_platform_init() 110 dev_info(&phy->i2c_dev->dev, in pn544_hci_i2c_platform_init() 118 dev_err(&phy->i2c_dev->dev, in pn544_hci_i2c_platform_init() [all …]
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 30 typedef int (*read_sfp_module_eeprom_func_p)(struct bnx2x_phy *phy, 1493 params->phy[phy_index].mdio_ctrl); in bnx2x_set_mdio_emac_per_phy() 1799 if (!(params->phy[INT_PHY].flags & FLAGS_TX_ERROR_CHECK)) { in bnx2x_xmac_enable() 1830 (params->phy[INT_PHY].supported & in bnx2x_xmac_enable() 2632 struct bnx2x_phy *phy, in bnx2x_cl22_write() argument 2639 mode = REG_RD(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_MODE); in bnx2x_cl22_write() 2640 REG_WR(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_MODE, in bnx2x_cl22_write() 2644 tmp = ((phy->addr << 21) | (reg << 16) | val | in bnx2x_cl22_write() 2647 REG_WR(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_COMM, tmp); in bnx2x_cl22_write() 2652 tmp = REG_RD(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_COMM); in bnx2x_cl22_write() [all …]
|
/drivers/media/platform/omap3isp/ |
D | ispcsiphy.c | 35 static void csiphy_routing_cfg_3630(struct isp_csiphy *phy, in csiphy_routing_cfg_3630() argument 40 phy->isp, OMAP3_ISP_IOMEM_3630_CONTROL_CAMERA_PHY_CTRL, 0); in csiphy_routing_cfg_3630() 76 isp_reg_writel(phy->isp, reg, in csiphy_routing_cfg_3630() 80 static void csiphy_routing_cfg_3430(struct isp_csiphy *phy, u32 iface, bool on, in csiphy_routing_cfg_3430() argument 91 isp_reg_writel(phy->isp, 0, in csiphy_routing_cfg_3430() 99 isp_reg_writel(phy->isp, csirxfe, in csiphy_routing_cfg_3430() 115 static void csiphy_routing_cfg(struct isp_csiphy *phy, in csiphy_routing_cfg() argument 119 if (phy->isp->mmio_base[OMAP3_ISP_IOMEM_3630_CONTROL_CAMERA_PHY_CTRL] in csiphy_routing_cfg() 121 return csiphy_routing_cfg_3630(phy, iface, ccp2_strobe); in csiphy_routing_cfg() 122 if (phy->isp->mmio_base[OMAP3_ISP_IOMEM_343X_CONTROL_CSIRXFE]) in csiphy_routing_cfg() [all …]
|
/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 86 struct e1000_phy_info *phy = &hw->phy; in e1000e_get_phy_id() local 91 if (!phy->ops.read_reg) in e1000e_get_phy_id() 99 phy->id = (u32)(phy_id << 16); in e1000e_get_phy_id() 105 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in e1000e_get_phy_id() 106 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in e1000e_get_phy_id() 108 if (phy->id != 0 && phy->id != PHY_REVISION_MASK) in e1000e_get_phy_id() 145 struct e1000_phy_info *phy = &hw->phy; in e1000e_read_phy_reg_mdic() local 158 (phy->addr << E1000_MDIC_PHY_SHIFT) | in e1000e_read_phy_reg_mdic() 208 struct e1000_phy_info *phy = &hw->phy; in e1000e_write_phy_reg_mdic() local 222 (phy->addr << E1000_MDIC_PHY_SHIFT) | in e1000e_write_phy_reg_mdic() [all …]
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_phy.c | 62 if (hw->phy.type == ixgbe_phy_unknown) { in ixgbe_identify_phy_generic() 64 hw->phy.mdio.prtad = phy_addr; in ixgbe_identify_phy_generic() 65 if (mdio45_probe(&hw->phy.mdio, phy_addr) == 0) { in ixgbe_identify_phy_generic() 67 hw->phy.type = in ixgbe_identify_phy_generic() 68 ixgbe_get_phy_type_from_id(hw->phy.id); in ixgbe_identify_phy_generic() 70 if (hw->phy.type == ixgbe_phy_unknown) { in ixgbe_identify_phy_generic() 71 hw->phy.ops.read_reg(hw, in ixgbe_identify_phy_generic() 78 hw->phy.type = in ixgbe_identify_phy_generic() 81 hw->phy.type = in ixgbe_identify_phy_generic() 91 hw->phy.mdio.prtad = 0; in ixgbe_identify_phy_generic() [all …]
|
/drivers/net/wireless/b43/ |
D | phy_common.c | 42 struct b43_phy *phy = &(dev->phy); in b43_phy_allocate() local 45 phy->ops = NULL; in b43_phy_allocate() 47 switch (phy->type) { in b43_phy_allocate() 49 phy->ops = &b43_phyops_a; in b43_phy_allocate() 52 phy->ops = &b43_phyops_g; in b43_phy_allocate() 56 phy->ops = &b43_phyops_n; in b43_phy_allocate() 61 phy->ops = &b43_phyops_lp; in b43_phy_allocate() 66 phy->ops = &b43_phyops_ht; in b43_phy_allocate() 71 phy->ops = &b43_phyops_lcn; in b43_phy_allocate() 75 if (B43_WARN_ON(!phy->ops)) in b43_phy_allocate() [all …]
|
D | phy_g.c | 83 struct b43_phy *phy = &dev->phy; in generate_rfatt_list() local 131 if (phy->radio_ver == 0x2050 && phy->radio_rev == 8) { in generate_rfatt_list() 178 struct b43_phy *phy = &dev->phy; in b43_synth_pu_workaround() local 182 if (phy->radio_ver != 0x2050 || phy->radio_rev >= 6) { in b43_synth_pu_workaround() 201 struct b43_phy *phy = &dev->phy; in b43_gphy_set_baseband_attenuation() local 203 if (phy->analog == 0) { in b43_gphy_set_baseband_attenuation() 207 } else if (phy->analog > 1) { in b43_gphy_set_baseband_attenuation() 219 struct b43_phy *phy = &dev->phy; in b43_set_txpower_g() local 220 struct b43_phy_g *gphy = phy->g; in b43_set_txpower_g() 248 if (phy->radio_ver == 0x2050 && phy->radio_rev == 8) { in b43_set_txpower_g() [all …]
|