gphy 271 drivers/net/ethernet/chelsio/cxgb/common.h struct gphy; gphy 290 drivers/net/ethernet/chelsio/cxgb/common.h const struct gphy *gphy; gphy 169 drivers/net/ethernet/chelsio/cxgb/cphy.h extern const struct gphy t1_my3126_ops; gphy 170 drivers/net/ethernet/chelsio/cxgb/cphy.h extern const struct gphy t1_mv88e1xxx_ops; gphy 171 drivers/net/ethernet/chelsio/cxgb/cphy.h extern const struct gphy t1_vsc8244_ops; gphy 172 drivers/net/ethernet/chelsio/cxgb/cphy.h extern const struct gphy t1_mv88x201x_ops; gphy 395 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c const struct gphy t1_mv88e1xxx_ops = { gphy 256 drivers/net/ethernet/chelsio/cxgb/mv88x201x.c const struct gphy t1_mv88x201x_ops = { gphy 207 drivers/net/ethernet/chelsio/cxgb/my3126.c const struct gphy t1_my3126_ops = { gphy 409 drivers/net/ethernet/chelsio/cxgb/subr.c .gphy = &t1_my3126_ops, gphy 429 drivers/net/ethernet/chelsio/cxgb/subr.c .gphy = &t1_mv88x201x_ops, gphy 449 drivers/net/ethernet/chelsio/cxgb/subr.c .gphy = &t1_mv88x201x_ops, gphy 471 drivers/net/ethernet/chelsio/cxgb/subr.c .gphy = &t1_mv88x201x_ops, gphy 493 drivers/net/ethernet/chelsio/cxgb/subr.c .gphy = &t1_my3126_ops, gphy 517 drivers/net/ethernet/chelsio/cxgb/subr.c .gphy = &t1_mv88e1xxx_ops, gphy 1081 drivers/net/ethernet/chelsio/cxgb/subr.c if (bi->gphy->reset) gphy 1082 drivers/net/ethernet/chelsio/cxgb/subr.c bi->gphy->reset(adapter); gphy 1091 drivers/net/ethernet/chelsio/cxgb/subr.c adapter->port[i].phy = bi->gphy->create(adapter->port[i].dev, gphy 165 drivers/net/wireless/broadcom/b43/lo.c struct b43_phy_g *gphy = phy->g; gphy 166 drivers/net/wireless/broadcom/b43/lo.c struct b43_txpower_lo_control *lo = gphy->lo_control; gphy 187 drivers/net/wireless/broadcom/b43/lo.c lb_gain = gphy->max_lb_gain / 2; gphy 262 drivers/net/wireless/broadcom/b43/lo.c struct b43_phy_g *gphy = phy->g; gphy 263 drivers/net/wireless/broadcom/b43/lo.c struct b43_txpower_lo_control *lo = gphy->lo_control; gphy 284 drivers/net/wireless/broadcom/b43/lo.c struct b43_phy_g *gphy = phy->g; gphy 294 drivers/net/wireless/broadcom/b43/lo.c trsw_rx_gain = gphy->trsw_rx_gain / 2; gphy 301 drivers/net/wireless/broadcom/b43/lo.c gphy->lna_lod_gain = 0; gphy 303 drivers/net/wireless/broadcom/b43/lo.c gphy->lna_lod_gain = 1; gphy 307 drivers/net/wireless/broadcom/b43/lo.c gphy->pga_gain = trsw_rx_gain / 3; gphy 308 drivers/net/wireless/broadcom/b43/lo.c if (gphy->pga_gain >= 5) { gphy 309 drivers/net/wireless/broadcom/b43/lo.c gphy->pga_gain -= 5; gphy 310 drivers/net/wireless/broadcom/b43/lo.c gphy->lna_gain = 2; gphy 312 drivers/net/wireless/broadcom/b43/lo.c gphy->lna_gain = 0; gphy 314 drivers/net/wireless/broadcom/b43/lo.c gphy->lna_gain = 0; gphy 315 drivers/net/wireless/broadcom/b43/lo.c gphy->trsw_rx_gain = 0x20; gphy 317 drivers/net/wireless/broadcom/b43/lo.c gphy->lna_lod_gain = 1; gphy 318 drivers/net/wireless/broadcom/b43/lo.c gphy->pga_gain = 2; gphy 320 drivers/net/wireless/broadcom/b43/lo.c gphy->lna_lod_gain = 1; gphy 321 drivers/net/wireless/broadcom/b43/lo.c gphy->pga_gain = 1; gphy 323 drivers/net/wireless/broadcom/b43/lo.c gphy->lna_lod_gain = 1; gphy 324 drivers/net/wireless/broadcom/b43/lo.c gphy->pga_gain = 0; gphy 326 drivers/net/wireless/broadcom/b43/lo.c gphy->lna_lod_gain = 0; gphy 327 drivers/net/wireless/broadcom/b43/lo.c gphy->pga_gain = 0; gphy 332 drivers/net/wireless/broadcom/b43/lo.c if (gphy->lna_lod_gain == 0) gphy 377 drivers/net/wireless/broadcom/b43/lo.c struct b43_phy_g *gphy = phy->g; gphy 378 drivers/net/wireless/broadcom/b43/lo.c struct b43_txpower_lo_control *lo = gphy->lo_control; gphy 491 drivers/net/wireless/broadcom/b43/lo.c struct b43_phy_g *gphy = phy->g; gphy 496 drivers/net/wireless/broadcom/b43/lo.c tmp = (gphy->pga_gain << 8); gphy 503 drivers/net/wireless/broadcom/b43/lo.c tmp = (gphy->pga_gain | 0xEFA0); gphy 568 drivers/net/wireless/broadcom/b43/lo.c struct b43_phy_g *gphy = phy->g; gphy 618 drivers/net/wireless/broadcom/b43/lo.c feedth = lo_measure_feedthrough(dev, gphy->lna_gain, gphy 619 drivers/net/wireless/broadcom/b43/lo.c gphy->pga_gain, gphy 620 drivers/net/wireless/broadcom/b43/lo.c gphy->trsw_rx_gain); gphy 649 drivers/net/wireless/broadcom/b43/lo.c struct b43_phy_g *gphy = phy->g; gphy 666 drivers/net/wireless/broadcom/b43/lo.c feedth = lo_measure_feedthrough(dev, gphy->lna_gain, gphy 667 drivers/net/wireless/broadcom/b43/lo.c gphy->pga_gain, gphy 668 drivers/net/wireless/broadcom/b43/lo.c gphy->trsw_rx_gain); gphy 674 drivers/net/wireless/broadcom/b43/lo.c feedth = lo_measure_feedthrough(dev, gphy->lna_gain, gphy 675 drivers/net/wireless/broadcom/b43/lo.c gphy->pga_gain, gphy 676 drivers/net/wireless/broadcom/b43/lo.c gphy->trsw_rx_gain); gphy 725 drivers/net/wireless/broadcom/b43/lo.c struct b43_phy_g *gphy = phy->g; gphy 752 drivers/net/wireless/broadcom/b43/lo.c max_rx_gain += gphy->max_lb_gain; gphy 809 drivers/net/wireless/broadcom/b43/lo.c struct b43_phy_g *gphy = phy->g; gphy 810 drivers/net/wireless/broadcom/b43/lo.c struct b43_txpower_lo_control *lo = gphy->lo_control; gphy 888 drivers/net/wireless/broadcom/b43/lo.c struct b43_phy_g *gphy = dev->phy.g; gphy 892 drivers/net/wireless/broadcom/b43/lo.c memcpy(&rf, &gphy->rfatt, sizeof(rf)); gphy 895 drivers/net/wireless/broadcom/b43/lo.c cal = b43_get_calib_lo_settings(dev, &gphy->bbatt, &rf); gphy 923 drivers/net/wireless/broadcom/b43/lo.c struct b43_phy_g *gphy = phy->g; gphy 924 drivers/net/wireless/broadcom/b43/lo.c struct b43_txpower_lo_control *lo = gphy->lo_control; gphy 955 drivers/net/wireless/broadcom/b43/lo.c if (b43_compare_bbatt(&cal->bbatt, &gphy->bbatt) && gphy 956 drivers/net/wireless/broadcom/b43/lo.c b43_compare_rfatt(&cal->rfatt, &gphy->rfatt)) { gphy 974 drivers/net/wireless/broadcom/b43/lo.c cal = b43_calibrate_lo_setting(dev, &gphy->bbatt, &gphy->rfatt); gphy 208 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 209 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_txpower_lo_control *lo = gphy->lo_control; gphy 222 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tx_control = tx_control; gphy 223 drivers/net/wireless/broadcom/b43/phy_g.c memmove(&gphy->rfatt, rfatt, sizeof(*rfatt)); gphy 224 drivers/net/wireless/broadcom/b43/phy_g.c gphy->rfatt.with_padmix = !!(tx_control & B43_TXCTL_TXMIX); gphy 225 drivers/net/wireless/broadcom/b43/phy_g.c memmove(&gphy->bbatt, bbatt, sizeof(*bbatt)); gphy 254 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = dev->phy.g; gphy 259 drivers/net/wireless/broadcom/b43/phy_g.c b43_ofdmtab_write16(dev, 0x3C20, i, gphy->tssi2dbm[i]); gphy 261 drivers/net/wireless/broadcom/b43/phy_g.c b43_ofdmtab_write16(dev, 0x3C00, i - 32, gphy->tssi2dbm[i]); gphy 263 drivers/net/wireless/broadcom/b43/phy_g.c value = (u16) gphy->tssi2dbm[i]; gphy 264 drivers/net/wireless/broadcom/b43/phy_g.c value |= ((u16) gphy->tssi2dbm[i + 1]) << 8; gphy 273 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 274 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_txpower_lo_control *lo = gphy->lo_control; gphy 395 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = dev->phy.g; gphy 399 drivers/net/wireless/broadcom/b43/phy_g.c delta = 0x1F - gphy->nrssi[0]; gphy 401 drivers/net/wireless/broadcom/b43/phy_g.c tmp = (i - delta) * gphy->nrssislope; gphy 405 drivers/net/wireless/broadcom/b43/phy_g.c gphy->nrssi_lt[i] = tmp; gphy 559 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 656 drivers/net/wireless/broadcom/b43/phy_g.c gphy->nrssislope = 0x00010000; gphy 658 drivers/net/wireless/broadcom/b43/phy_g.c gphy->nrssislope = 0x00400000 / (nrssi0 - nrssi1); gphy 660 drivers/net/wireless/broadcom/b43/phy_g.c gphy->nrssi[0] = nrssi1; gphy 661 drivers/net/wireless/broadcom/b43/phy_g.c gphy->nrssi[1] = nrssi0; gphy 701 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 719 drivers/net/wireless/broadcom/b43/phy_g.c if (gphy->interfmode == B43_INTERFMODE_NONWLAN) { gphy 722 drivers/net/wireless/broadcom/b43/phy_g.c } else if (!gphy->aci_wlan_automatic && gphy->aci_enable) { gphy 730 drivers/net/wireless/broadcom/b43/phy_g.c a = a * (gphy->nrssi[1] - gphy->nrssi[0]); gphy 731 drivers/net/wireless/broadcom/b43/phy_g.c a += (gphy->nrssi[0] << 6); gphy 739 drivers/net/wireless/broadcom/b43/phy_g.c b = b * (gphy->nrssi[1] - gphy->nrssi[0]); gphy 740 drivers/net/wireless/broadcom/b43/phy_g.c b += (gphy->nrssi[0] << 6); gphy 829 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 832 drivers/net/wireless/broadcom/b43/phy_g.c u32 *stack = gphy->interfstack; gphy 888 drivers/net/wireless/broadcom/b43/phy_g.c gphy->aci_enable = true; gphy 995 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 996 drivers/net/wireless/broadcom/b43/phy_g.c u32 *stack = gphy->interfstack; gphy 1029 drivers/net/wireless/broadcom/b43/phy_g.c gphy->aci_enable = false; gphy 1104 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 1111 drivers/net/wireless/broadcom/b43/phy_g.c int max_lb_gain = gphy->max_lb_gain; gphy 1483 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 1570 drivers/net/wireless/broadcom/b43/phy_g.c b43_set_txpower_g(dev, &gphy->bbatt, &gphy->rfatt, gphy->tx_control); gphy 1582 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 1677 drivers/net/wireless/broadcom/b43/phy_g.c b43_set_txpower_g(dev, &gphy->bbatt, &gphy->rfatt, gphy->tx_control); gphy 1698 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 1724 drivers/net/wireless/broadcom/b43/phy_g.c backup_bband = gphy->bbatt.att; gphy 1844 drivers/net/wireless/broadcom/b43/phy_g.c gphy->max_lb_gain = gphy 1846 drivers/net/wireless/broadcom/b43/phy_g.c gphy->trsw_rx_gain = trsw_rx * 2; gphy 1883 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 1891 drivers/net/wireless/broadcom/b43/phy_g.c b43_phy_maskset(dev, 0x0036, 0xFFC0, (gphy->tgt_idle_tssi - gphy->cur_idle_tssi)); gphy 1892 drivers/net/wireless/broadcom/b43/phy_g.c b43_phy_maskset(dev, 0x0478, 0xFF00, (gphy->tgt_idle_tssi - gphy->cur_idle_tssi)); gphy 1913 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 1933 drivers/net/wireless/broadcom/b43/phy_g.c if (gphy->cur_idle_tssi == 0) { gphy 1940 drivers/net/wireless/broadcom/b43/phy_g.c memcpy(&old_rfatt, &gphy->rfatt, sizeof(old_rfatt)); gphy 1941 drivers/net/wireless/broadcom/b43/phy_g.c memcpy(&old_bbatt, &gphy->bbatt, sizeof(old_bbatt)); gphy 1942 drivers/net/wireless/broadcom/b43/phy_g.c old_tx_control = gphy->tx_control; gphy 1955 drivers/net/wireless/broadcom/b43/phy_g.c gphy->cur_idle_tssi = b43_phy_read(dev, B43_PHY_ITSSI); gphy 1958 drivers/net/wireless/broadcom/b43/phy_g.c if (abs(gphy->cur_idle_tssi - gphy->tgt_idle_tssi) >= 20) { gphy 1962 drivers/net/wireless/broadcom/b43/phy_g.c "adjustment.\n", gphy->cur_idle_tssi, gphy 1963 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tgt_idle_tssi); gphy 1964 drivers/net/wireless/broadcom/b43/phy_g.c gphy->cur_idle_tssi = 0; gphy 2000 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 2044 drivers/net/wireless/broadcom/b43/phy_g.c if (gphy->initval == 0xFFFF) gphy 2045 drivers/net/wireless/broadcom/b43/phy_g.c gphy->initval = b43_radio_init2050(dev); gphy 2047 drivers/net/wireless/broadcom/b43/phy_g.c b43_radio_write16(dev, 0x0078, gphy->initval); gphy 2053 drivers/net/wireless/broadcom/b43/phy_g.c | gphy->lo_control->tx_bias | gphy-> gphy 2056 drivers/net/wireless/broadcom/b43/phy_g.c b43_radio_maskset(dev, 0x52, 0xFFF0, gphy->lo_control->tx_bias); gphy 2059 drivers/net/wireless/broadcom/b43/phy_g.c b43_phy_maskset(dev, B43_PHY_CCK(0x36), 0x0FFF, (gphy->lo_control->tx_bias << 12)); gphy 2084 drivers/net/wireless/broadcom/b43/phy_g.c if (gphy->nrssi[0] == -1000) { gphy 2085 drivers/net/wireless/broadcom/b43/phy_g.c B43_WARN_ON(gphy->nrssi[1] != -1000); gphy 2255 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 2263 drivers/net/wireless/broadcom/b43/phy_g.c if (gphy->aci_hw_rssi) gphy 2384 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 2394 drivers/net/wireless/broadcom/b43/phy_g.c gphy->dyn_tssi_tbl = false; gphy 2401 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tgt_idle_tssi = gphy 2404 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tgt_idle_tssi = 62; gphy 2405 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tssi2dbm = b43_generate_dyn_tssi2dbm_tab(dev, pab0, gphy 2407 drivers/net/wireless/broadcom/b43/phy_g.c if (!gphy->tssi2dbm) gphy 2409 drivers/net/wireless/broadcom/b43/phy_g.c gphy->dyn_tssi_tbl = true; gphy 2412 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tgt_idle_tssi = 52; gphy 2413 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tssi2dbm = b43_tssi2dbm_g_table; gphy 2421 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy; gphy 2425 drivers/net/wireless/broadcom/b43/phy_g.c gphy = kzalloc(sizeof(*gphy), GFP_KERNEL); gphy 2426 drivers/net/wireless/broadcom/b43/phy_g.c if (!gphy) { gphy 2430 drivers/net/wireless/broadcom/b43/phy_g.c dev->phy.g = gphy; gphy 2437 drivers/net/wireless/broadcom/b43/phy_g.c gphy->lo_control = lo; gphy 2448 drivers/net/wireless/broadcom/b43/phy_g.c kfree(gphy); gphy 2456 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 2464 drivers/net/wireless/broadcom/b43/phy_g.c tssi2dbm = gphy->tssi2dbm; gphy 2465 drivers/net/wireless/broadcom/b43/phy_g.c tgt_idle_tssi = gphy->tgt_idle_tssi; gphy 2467 drivers/net/wireless/broadcom/b43/phy_g.c lo = gphy->lo_control; gphy 2470 drivers/net/wireless/broadcom/b43/phy_g.c memset(gphy, 0, sizeof(*gphy)); gphy 2473 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tssi2dbm = tssi2dbm; gphy 2474 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tgt_idle_tssi = tgt_idle_tssi; gphy 2475 drivers/net/wireless/broadcom/b43/phy_g.c gphy->lo_control = lo; gphy 2477 drivers/net/wireless/broadcom/b43/phy_g.c memset(gphy->minlowsig, 0xFF, sizeof(gphy->minlowsig)); gphy 2480 drivers/net/wireless/broadcom/b43/phy_g.c for (i = 0; i < ARRAY_SIZE(gphy->nrssi); i++) gphy 2481 drivers/net/wireless/broadcom/b43/phy_g.c gphy->nrssi[i] = -1000; gphy 2482 drivers/net/wireless/broadcom/b43/phy_g.c for (i = 0; i < ARRAY_SIZE(gphy->nrssi_lt); i++) gphy 2483 drivers/net/wireless/broadcom/b43/phy_g.c gphy->nrssi_lt[i] = i; gphy 2485 drivers/net/wireless/broadcom/b43/phy_g.c gphy->lofcal = 0xFFFF; gphy 2486 drivers/net/wireless/broadcom/b43/phy_g.c gphy->initval = 0xFFFF; gphy 2488 drivers/net/wireless/broadcom/b43/phy_g.c gphy->interfmode = B43_INTERFMODE_NONE; gphy 2491 drivers/net/wireless/broadcom/b43/phy_g.c gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_UNKNOWN; gphy 2493 drivers/net/wireless/broadcom/b43/phy_g.c gphy->average_tssi = 0xFF; gphy 2503 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 2505 drivers/net/wireless/broadcom/b43/phy_g.c kfree(gphy->lo_control); gphy 2507 drivers/net/wireless/broadcom/b43/phy_g.c if (gphy->dyn_tssi_tbl) gphy 2508 drivers/net/wireless/broadcom/b43/phy_g.c kfree(gphy->tssi2dbm); gphy 2509 drivers/net/wireless/broadcom/b43/phy_g.c gphy->dyn_tssi_tbl = false; gphy 2510 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tssi2dbm = NULL; gphy 2512 drivers/net/wireless/broadcom/b43/phy_g.c kfree(gphy); gphy 2519 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 2520 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_txpower_lo_control *lo = gphy->lo_control; gphy 2524 drivers/net/wireless/broadcom/b43/phy_g.c default_baseband_attenuation(dev, &gphy->bbatt); gphy 2525 drivers/net/wireless/broadcom/b43/phy_g.c default_radio_attenuation(dev, &gphy->rfatt); gphy 2526 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tx_control = (default_tx_control(dev) << 4); gphy 2599 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 2612 drivers/net/wireless/broadcom/b43/phy_g.c if (gphy->radio_off_context.valid) { gphy 2615 drivers/net/wireless/broadcom/b43/phy_g.c gphy->radio_off_context.rfover); gphy 2617 drivers/net/wireless/broadcom/b43/phy_g.c gphy->radio_off_context.rfoverval); gphy 2618 drivers/net/wireless/broadcom/b43/phy_g.c gphy->radio_off_context.valid = false; gphy 2629 drivers/net/wireless/broadcom/b43/phy_g.c gphy->radio_off_context.rfover = rfover; gphy 2630 drivers/net/wireless/broadcom/b43/phy_g.c gphy->radio_off_context.rfoverval = rfoverval; gphy 2631 drivers/net/wireless/broadcom/b43/phy_g.c gphy->radio_off_context.valid = true; gphy 2709 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 2716 drivers/net/wireless/broadcom/b43/phy_g.c gphy->aci_wlan_automatic = false; gphy 2719 drivers/net/wireless/broadcom/b43/phy_g.c gphy->aci_wlan_automatic = true; gphy 2720 drivers/net/wireless/broadcom/b43/phy_g.c if (gphy->aci_enable) gphy 2733 drivers/net/wireless/broadcom/b43/phy_g.c currentmode = gphy->interfmode; gphy 2740 drivers/net/wireless/broadcom/b43/phy_g.c gphy->aci_enable = false; gphy 2741 drivers/net/wireless/broadcom/b43/phy_g.c gphy->aci_hw_rssi = false; gphy 2744 drivers/net/wireless/broadcom/b43/phy_g.c gphy->interfmode = mode; gphy 2754 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = dev->phy.g; gphy 2758 drivers/net/wireless/broadcom/b43/phy_g.c tmp = (gphy->tgt_idle_tssi - gphy->cur_idle_tssi + tssi); gphy 2760 drivers/net/wireless/broadcom/b43/phy_g.c dbm = gphy->tssi2dbm[tmp]; gphy 2821 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 2828 drivers/net/wireless/broadcom/b43/phy_g.c bbatt = gphy->bbatt.att; gphy 2829 drivers/net/wireless/broadcom/b43/phy_g.c bbatt += gphy->bbatt_delta; gphy 2830 drivers/net/wireless/broadcom/b43/phy_g.c rfatt = gphy->rfatt.att; gphy 2831 drivers/net/wireless/broadcom/b43/phy_g.c rfatt += gphy->rfatt_delta; gphy 2834 drivers/net/wireless/broadcom/b43/phy_g.c tx_control = gphy->tx_control; gphy 2861 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tx_control = tx_control; gphy 2863 drivers/net/wireless/broadcom/b43/phy_g.c gphy->rfatt.att = rfatt; gphy 2864 drivers/net/wireless/broadcom/b43/phy_g.c gphy->bbatt.att = bbatt; gphy 2872 drivers/net/wireless/broadcom/b43/phy_g.c b43_set_txpower_g(dev, &gphy->bbatt, &gphy->rfatt, gphy 2873 drivers/net/wireless/broadcom/b43/phy_g.c gphy->tx_control); gphy 2884 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 2908 drivers/net/wireless/broadcom/b43/phy_g.c if (likely(gphy->average_tssi != 0xFF)) gphy 2909 drivers/net/wireless/broadcom/b43/phy_g.c average_tssi = (average_tssi + gphy->average_tssi) / 2; gphy 2910 drivers/net/wireless/broadcom/b43/phy_g.c gphy->average_tssi = average_tssi; gphy 2978 drivers/net/wireless/broadcom/b43/phy_g.c gphy->bbatt_delta = bbatt_delta; gphy 2979 drivers/net/wireless/broadcom/b43/phy_g.c gphy->rfatt_delta = rfatt_delta; gphy 2991 drivers/net/wireless/broadcom/b43/phy_g.c struct b43_phy_g *gphy = phy->g; gphy 2995 drivers/net/wireless/broadcom/b43/phy_g.c if (gphy->aci_enable && gphy->aci_wlan_automatic) { gphy 2996 drivers/net/wireless/broadcom/b43/phy_g.c if (!gphy->aci_enable && 1 /*TODO: not scanning? */ ) { gphy 3005 drivers/net/wireless/broadcom/b43/phy_g.c } else if (gphy->interfmode == B43_INTERFMODE_NONWLAN && gphy 368 drivers/net/wireless/broadcom/b43/tables.c struct b43_phy_g *gphy = dev->phy.g; gphy 372 drivers/net/wireless/broadcom/b43/tables.c if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_READ) || gphy 373 drivers/net/wireless/broadcom/b43/tables.c (addr - 1 != gphy->ofdmtab_addr)) { gphy 376 drivers/net/wireless/broadcom/b43/tables.c gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_READ; gphy 378 drivers/net/wireless/broadcom/b43/tables.c gphy->ofdmtab_addr = addr; gphy 389 drivers/net/wireless/broadcom/b43/tables.c struct b43_phy_g *gphy = dev->phy.g; gphy 393 drivers/net/wireless/broadcom/b43/tables.c if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_WRITE) || gphy 394 drivers/net/wireless/broadcom/b43/tables.c (addr - 1 != gphy->ofdmtab_addr)) { gphy 397 drivers/net/wireless/broadcom/b43/tables.c gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_WRITE; gphy 399 drivers/net/wireless/broadcom/b43/tables.c gphy->ofdmtab_addr = addr; gphy 405 drivers/net/wireless/broadcom/b43/tables.c struct b43_phy_g *gphy = dev->phy.g; gphy 410 drivers/net/wireless/broadcom/b43/tables.c if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_READ) || gphy 411 drivers/net/wireless/broadcom/b43/tables.c (addr - 1 != gphy->ofdmtab_addr)) { gphy 414 drivers/net/wireless/broadcom/b43/tables.c gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_READ; gphy 416 drivers/net/wireless/broadcom/b43/tables.c gphy->ofdmtab_addr = addr; gphy 427 drivers/net/wireless/broadcom/b43/tables.c struct b43_phy_g *gphy = dev->phy.g; gphy 431 drivers/net/wireless/broadcom/b43/tables.c if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_WRITE) || gphy 432 drivers/net/wireless/broadcom/b43/tables.c (addr - 1 != gphy->ofdmtab_addr)) { gphy 435 drivers/net/wireless/broadcom/b43/tables.c gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_WRITE; gphy 437 drivers/net/wireless/broadcom/b43/tables.c gphy->ofdmtab_addr = addr; gphy 575 drivers/net/wireless/broadcom/b43/xmit.c struct b43_phy_g *gphy = phy->g; gphy 596 drivers/net/wireless/broadcom/b43/xmit.c tmp = gphy->nrssi_lt[in_rssi]; gphy 50 drivers/phy/broadcom/phy-bcm-kona-usb2.c static int bcm_kona_usb_phy_init(struct phy *gphy) gphy 52 drivers/phy/broadcom/phy-bcm-kona-usb2.c struct bcm_kona_usb *phy = phy_get_drvdata(gphy); gphy 68 drivers/phy/broadcom/phy-bcm-kona-usb2.c static int bcm_kona_usb_phy_power_on(struct phy *gphy) gphy 70 drivers/phy/broadcom/phy-bcm-kona-usb2.c struct bcm_kona_usb *phy = phy_get_drvdata(gphy); gphy 77 drivers/phy/broadcom/phy-bcm-kona-usb2.c static int bcm_kona_usb_phy_power_off(struct phy *gphy) gphy 79 drivers/phy/broadcom/phy-bcm-kona-usb2.c struct bcm_kona_usb *phy = phy_get_drvdata(gphy); gphy 98 drivers/phy/broadcom/phy-bcm-kona-usb2.c struct phy *gphy; gphy 112 drivers/phy/broadcom/phy-bcm-kona-usb2.c gphy = devm_phy_create(dev, NULL, &ops); gphy 113 drivers/phy/broadcom/phy-bcm-kona-usb2.c if (IS_ERR(gphy)) gphy 114 drivers/phy/broadcom/phy-bcm-kona-usb2.c return PTR_ERR(gphy); gphy 117 drivers/phy/broadcom/phy-bcm-kona-usb2.c phy_set_bus_width(gphy, 8); gphy 119 drivers/phy/broadcom/phy-bcm-kona-usb2.c phy_set_drvdata(gphy, phy); gphy 65 drivers/phy/broadcom/phy-brcm-usb.c static int brcm_usb_phy_init(struct phy *gphy) gphy 67 drivers/phy/broadcom/phy-brcm-usb.c struct brcm_usb_phy *phy = phy_get_drvdata(gphy); gphy 87 drivers/phy/broadcom/phy-brcm-usb.c dev_dbg(&gphy->dev, "INIT, id: %d, total: %d\n", phy->id, gphy 93 drivers/phy/broadcom/phy-brcm-usb.c static int brcm_usb_phy_exit(struct phy *gphy) gphy 95 drivers/phy/broadcom/phy-brcm-usb.c struct brcm_usb_phy *phy = phy_get_drvdata(gphy); gphy 99 drivers/phy/broadcom/phy-brcm-usb.c dev_dbg(&gphy->dev, "EXIT\n"); gphy 235 drivers/phy/broadcom/phy-brcm-usb.c struct phy *gphy; gphy 248 drivers/phy/broadcom/phy-brcm-usb.c gphy = devm_phy_create(dev, NULL, &brcm_usb_phy_ops); gphy 249 drivers/phy/broadcom/phy-brcm-usb.c if (IS_ERR(gphy)) { gphy 251 drivers/phy/broadcom/phy-brcm-usb.c return PTR_ERR(gphy); gphy 253 drivers/phy/broadcom/phy-brcm-usb.c priv->phys[BRCM_USB_PHY_2_0].phy = gphy; gphy 255 drivers/phy/broadcom/phy-brcm-usb.c phy_set_drvdata(gphy, &priv->phys[BRCM_USB_PHY_2_0]); gphy 259 drivers/phy/broadcom/phy-brcm-usb.c gphy = devm_phy_create(dev, NULL, &brcm_usb_phy_ops); gphy 260 drivers/phy/broadcom/phy-brcm-usb.c if (IS_ERR(gphy)) { gphy 262 drivers/phy/broadcom/phy-brcm-usb.c return PTR_ERR(gphy); gphy 264 drivers/phy/broadcom/phy-brcm-usb.c priv->phys[BRCM_USB_PHY_3_0].phy = gphy; gphy 266 drivers/phy/broadcom/phy-brcm-usb.c phy_set_drvdata(gphy, &priv->phys[BRCM_USB_PHY_3_0]); gphy 101 drivers/phy/cadence/phy-cadence-sierra.c static void cdns_sierra_phy_init(struct phy *gphy) gphy 103 drivers/phy/cadence/phy-cadence-sierra.c struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); gphy 104 drivers/phy/cadence/phy-cadence-sierra.c struct cdns_sierra_phy *phy = dev_get_drvdata(gphy->dev.parent); gphy 124 drivers/phy/cadence/phy-cadence-sierra.c static int cdns_sierra_phy_on(struct phy *gphy) gphy 126 drivers/phy/cadence/phy-cadence-sierra.c struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); gphy 132 drivers/phy/cadence/phy-cadence-sierra.c static int cdns_sierra_phy_off(struct phy *gphy) gphy 134 drivers/phy/cadence/phy-cadence-sierra.c struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); gphy 230 drivers/phy/cadence/phy-cadence-sierra.c struct phy *gphy; gphy 251 drivers/phy/cadence/phy-cadence-sierra.c gphy = devm_phy_create(dev, child, &ops); gphy 253 drivers/phy/cadence/phy-cadence-sierra.c if (IS_ERR(gphy)) { gphy 254 drivers/phy/cadence/phy-cadence-sierra.c ret = PTR_ERR(gphy); gphy 257 drivers/phy/cadence/phy-cadence-sierra.c sp->phys[node].phy = gphy; gphy 258 drivers/phy/cadence/phy-cadence-sierra.c phy_set_drvdata(gphy, &sp->phys[node]); gphy 262 drivers/phy/cadence/phy-cadence-sierra.c cdns_sierra_phy_init(gphy);