/linux/drivers/net/wireless/broadcom/b43/ |
H A D | tables.c | 368 struct b43_phy_g *gphy = dev->phy.g; in b43_ofdmtab_read16() local 372 if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_READ) || in b43_ofdmtab_read16() 373 (addr - 1 != gphy->ofdmtab_addr)) { in b43_ofdmtab_read16() 376 gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_READ; in b43_ofdmtab_read16() 378 gphy->ofdmtab_addr = addr; in b43_ofdmtab_read16() 389 struct b43_phy_g *gphy = dev->phy.g; in b43_ofdmtab_write16() local 393 if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_WRITE) || in b43_ofdmtab_write16() 394 (addr - 1 != gphy->ofdmtab_addr)) { in b43_ofdmtab_write16() 397 gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_WRITE; in b43_ofdmtab_write16() 399 gphy->ofdmtab_addr = addr; in b43_ofdmtab_write16() [all …]
|
H A D | phy_g.c | 208 struct b43_phy_g *gphy = phy->g; in b43_set_txpower_g() local 209 struct b43_txpower_lo_control *lo = gphy->lo_control; in b43_set_txpower_g() 222 gphy->tx_control = tx_control; in b43_set_txpower_g() 223 memmove(&gphy->rfatt, rfatt, sizeof(*rfatt)); in b43_set_txpower_g() 224 gphy->rfatt.with_padmix = !!(tx_control & B43_TXCTL_TXMIX); in b43_set_txpower_g() 225 memmove(&gphy->bbatt, bbatt, sizeof(*bbatt)); in b43_set_txpower_g() 254 struct b43_phy_g *gphy = dev->phy.g; in b43_gphy_tssi_power_lt_init() local 259 b43_ofdmtab_write16(dev, 0x3C20, i, gphy->tssi2dbm[i]); in b43_gphy_tssi_power_lt_init() 261 b43_ofdmtab_write16(dev, 0x3C00, i - 32, gphy->tssi2dbm[i]); in b43_gphy_tssi_power_lt_init() 263 value = (u16) gphy->tssi2dbm[i]; in b43_gphy_tssi_power_lt_init() [all …]
|
H A D | lo.c | 165 struct b43_phy_g *gphy = phy->g; in lo_measure_txctl_values() local 166 struct b43_txpower_lo_control *lo = gphy->lo_control; in lo_measure_txctl_values() 187 lb_gain = gphy->max_lb_gain / 2; in lo_measure_txctl_values() 262 struct b43_phy_g *gphy = phy->g; in lo_read_power_vector() local 263 struct b43_txpower_lo_control *lo = gphy->lo_control; in lo_read_power_vector() 284 struct b43_phy_g *gphy = phy->g; in lo_measure_gain_values() local 294 trsw_rx_gain = gphy->trsw_rx_gain / 2; in lo_measure_gain_values() 301 gphy->lna_lod_gain = 0; in lo_measure_gain_values() 303 gphy->lna_lod_gain = 1; in lo_measure_gain_values() 307 gphy->pga_gain = trsw_rx_gain / 3; in lo_measure_gain_values() [all …]
|
H A D | xmit.c | 575 struct b43_phy_g *gphy = phy->g; in b43_rssi_postprocess() local 596 tmp = gphy->nrssi_lt[in_rssi]; in b43_rssi_postprocess()
|
/linux/drivers/phy/broadcom/ |
H A D | phy-bcm-kona-usb2.c | 50 static int bcm_kona_usb_phy_init(struct phy *gphy) in bcm_kona_usb_phy_init() argument 52 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); in bcm_kona_usb_phy_init() 68 static int bcm_kona_usb_phy_power_on(struct phy *gphy) in bcm_kona_usb_phy_power_on() argument 70 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); in bcm_kona_usb_phy_power_on() 77 static int bcm_kona_usb_phy_power_off(struct phy *gphy) in bcm_kona_usb_phy_power_off() argument 79 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); in bcm_kona_usb_phy_power_off() 97 struct phy *gphy; in bcm_kona_usb2_probe() local 110 gphy = devm_phy_create(dev, NULL, &ops); in bcm_kona_usb2_probe() 111 if (IS_ERR(gphy)) in bcm_kona_usb2_probe() 112 return PTR_ERR(gphy); in bcm_kona_usb2_probe() [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cphy.h | 148 struct gphy { struct 160 extern const struct gphy t1_my3126_ops; argument 161 extern const struct gphy t1_mv88e1xxx_ops; 162 extern const struct gphy t1_vsc8244_ops; 163 extern const struct gphy t1_mv88x201x_ops;
|
H A D | common.h | 261 struct gphy; 280 const struct gphy *gphy; member
|
H A D | subr.c | 412 .gphy = &t1_my3126_ops, 432 .gphy = &t1_mv88x201x_ops, 452 .gphy = &t1_mv88x201x_ops, 474 .gphy = &t1_mv88x201x_ops, 496 .gphy = &t1_my3126_ops, 520 .gphy = &t1_mv88e1xxx_ops, 1098 if (bi->gphy->reset) in t1_init_sw_modules() 1099 bi->gphy->reset(adapter); in t1_init_sw_modules() 1108 adapter->port[i].phy = bi->gphy->create(adapter->port[i].dev, in t1_init_sw_modules()
|
H A D | my3126.c | 207 const struct gphy t1_my3126_ops = {
|
H A D | mv88x201x.c | 247 const struct gphy t1_mv88x201x_ops = {
|
H A D | mv88e1xxx.c | 395 const struct gphy t1_mv88e1xxx_ops = {
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | brcm,bcm7445-switch-v4.0.txt | 31 brcm,num-gphy = <1>; 43 label = "gphy";
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | lantiq,pinctrl-xway.txt | 89 spi, usif, cgu, exin, stp, gpt, nmi, pci, ebu, mdio, dfe, gphy
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-kobol-helios64.dts | 440 gphy_reset: gphy-reset {
|