/linux-4.1.27/drivers/phy/ |
H A D | phy-bcm-kona-usb2.c | 58 static int bcm_kona_usb_phy_init(struct phy *gphy) bcm_kona_usb_phy_init() argument 60 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); bcm_kona_usb_phy_init() 76 static int bcm_kona_usb_phy_power_on(struct phy *gphy) bcm_kona_usb_phy_power_on() argument 78 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); bcm_kona_usb_phy_power_on() 85 static int bcm_kona_usb_phy_power_off(struct phy *gphy) bcm_kona_usb_phy_power_off() argument 87 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); bcm_kona_usb_phy_power_off() 106 struct phy *gphy; bcm_kona_usb2_probe() local 120 gphy = devm_phy_create(dev, NULL, &ops); bcm_kona_usb2_probe() 121 if (IS_ERR(gphy)) bcm_kona_usb2_probe() 122 return PTR_ERR(gphy); bcm_kona_usb2_probe() 125 phy_set_bus_width(gphy, 8); bcm_kona_usb2_probe() 127 phy_set_drvdata(gphy, phy); bcm_kona_usb2_probe()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
H A D | phy_g.c | 220 struct b43_phy_g *gphy = phy->g; b43_set_txpower_g() local 221 struct b43_txpower_lo_control *lo = gphy->lo_control; b43_set_txpower_g() 233 * to pass &gphy->rfatt as rfatt pointer argument. Same for bbatt. */ b43_set_txpower_g() 234 gphy->tx_control = tx_control; b43_set_txpower_g() 235 memmove(&gphy->rfatt, rfatt, sizeof(*rfatt)); b43_set_txpower_g() 236 gphy->rfatt.with_padmix = !!(tx_control & B43_TXCTL_TXMIX); b43_set_txpower_g() 237 memmove(&gphy->bbatt, bbatt, sizeof(*bbatt)); b43_set_txpower_g() 266 struct b43_phy_g *gphy = dev->phy.g; b43_gphy_tssi_power_lt_init() local 271 b43_ofdmtab_write16(dev, 0x3C20, i, gphy->tssi2dbm[i]); b43_gphy_tssi_power_lt_init() 273 b43_ofdmtab_write16(dev, 0x3C00, i - 32, gphy->tssi2dbm[i]); b43_gphy_tssi_power_lt_init() 275 value = (u16) gphy->tssi2dbm[i]; b43_gphy_tssi_power_lt_init() 276 value |= ((u16) gphy->tssi2dbm[i + 1]) << 8; b43_gphy_tssi_power_lt_init() 285 struct b43_phy_g *gphy = phy->g; b43_gphy_gain_lt_init() local 286 struct b43_txpower_lo_control *lo = gphy->lo_control; b43_gphy_gain_lt_init() 407 struct b43_phy_g *gphy = dev->phy.g; b43_nrssi_mem_update() local 411 delta = 0x1F - gphy->nrssi[0]; b43_nrssi_mem_update() 413 tmp = (i - delta) * gphy->nrssislope; b43_nrssi_mem_update() 417 gphy->nrssi_lt[i] = tmp; b43_nrssi_mem_update() 571 struct b43_phy_g *gphy = phy->g; b43_calc_nrssi_slope() local 668 gphy->nrssislope = 0x00010000; b43_calc_nrssi_slope() 670 gphy->nrssislope = 0x00400000 / (nrssi0 - nrssi1); b43_calc_nrssi_slope() 672 gphy->nrssi[0] = nrssi1; b43_calc_nrssi_slope() 673 gphy->nrssi[1] = nrssi0; b43_calc_nrssi_slope() 713 struct b43_phy_g *gphy = phy->g; b43_calc_nrssi_threshold() local 731 if (gphy->interfmode == B43_INTERFMODE_NONWLAN) { b43_calc_nrssi_threshold() 734 } else if (!gphy->aci_wlan_automatic && gphy->aci_enable) { b43_calc_nrssi_threshold() 742 a = a * (gphy->nrssi[1] - gphy->nrssi[0]); b43_calc_nrssi_threshold() 743 a += (gphy->nrssi[0] << 6); b43_calc_nrssi_threshold() 751 b = b * (gphy->nrssi[1] - gphy->nrssi[0]); b43_calc_nrssi_threshold() 752 b += (gphy->nrssi[0] << 6); b43_calc_nrssi_threshold() 841 struct b43_phy_g *gphy = phy->g; b43_radio_interference_mitigation_enable() local 844 u32 *stack = gphy->interfstack; b43_radio_interference_mitigation_enable() 900 gphy->aci_enable = true; b43_radio_interference_mitigation_enable() 1007 struct b43_phy_g *gphy = phy->g; b43_radio_interference_mitigation_disable() local 1008 u32 *stack = gphy->interfstack; b43_radio_interference_mitigation_disable() 1041 gphy->aci_enable = false; b43_radio_interference_mitigation_disable() 1116 struct b43_phy_g *gphy = phy->g; radio2050_rfover_val() local 1123 int max_lb_gain = gphy->max_lb_gain; radio2050_rfover_val() 1495 struct b43_phy_g *gphy = phy->g; b43_phy_initb5() local 1582 b43_set_txpower_g(dev, &gphy->bbatt, &gphy->rfatt, gphy->tx_control); b43_phy_initb5() 1594 struct b43_phy_g *gphy = phy->g; b43_phy_initb6() local 1689 b43_set_txpower_g(dev, &gphy->bbatt, &gphy->rfatt, gphy->tx_control); b43_phy_initb6() 1710 struct b43_phy_g *gphy = phy->g; b43_calc_loopback_gain() local 1736 backup_bband = gphy->bbatt.att; b43_calc_loopback_gain() 1856 gphy->max_lb_gain = b43_calc_loopback_gain() 1858 gphy->trsw_rx_gain = trsw_rx * 2; b43_calc_loopback_gain() 1895 struct b43_phy_g *gphy = phy->g; b43_hardware_pctl_init_gphy() local 1903 b43_phy_maskset(dev, 0x0036, 0xFFC0, (gphy->tgt_idle_tssi - gphy->cur_idle_tssi)); b43_hardware_pctl_init_gphy() 1904 b43_phy_maskset(dev, 0x0478, 0xFF00, (gphy->tgt_idle_tssi - gphy->cur_idle_tssi)); b43_hardware_pctl_init_gphy() 1925 struct b43_phy_g *gphy = phy->g; b43_phy_init_pctl() local 1945 if (gphy->cur_idle_tssi == 0) { b43_phy_init_pctl() 1952 memcpy(&old_rfatt, &gphy->rfatt, sizeof(old_rfatt)); b43_phy_init_pctl() 1953 memcpy(&old_bbatt, &gphy->bbatt, sizeof(old_bbatt)); b43_phy_init_pctl() 1954 old_tx_control = gphy->tx_control; b43_phy_init_pctl() 1967 gphy->cur_idle_tssi = b43_phy_read(dev, B43_PHY_ITSSI); b43_phy_init_pctl() 1970 if (abs(gphy->cur_idle_tssi - gphy->tgt_idle_tssi) >= 20) { b43_phy_init_pctl() 1974 "adjustment.\n", gphy->cur_idle_tssi, b43_phy_init_pctl() 1975 gphy->tgt_idle_tssi); b43_phy_init_pctl() 1976 gphy->cur_idle_tssi = 0; b43_phy_init_pctl() 1993 struct b43_phy_g *gphy = phy->g; b43_phy_initg() local 2037 if (gphy->initval == 0xFFFF) b43_phy_initg() 2038 gphy->initval = b43_radio_init2050(dev); b43_phy_initg() 2040 b43_radio_write16(dev, 0x0078, gphy->initval); b43_phy_initg() 2046 | gphy->lo_control->tx_bias | gphy-> b43_phy_initg() 2049 b43_radio_maskset(dev, 0x52, 0xFFF0, gphy->lo_control->tx_bias); b43_phy_initg() 2052 b43_phy_maskset(dev, B43_PHY_CCK(0x36), 0x0FFF, (gphy->lo_control->tx_bias << 12)); b43_phy_initg() 2077 if (gphy->nrssi[0] == -1000) { b43_phy_initg() 2078 B43_WARN_ON(gphy->nrssi[1] != -1000); b43_phy_initg() 2253 struct b43_phy_g *gphy = phy->g; b43_gphy_aci_detect() local 2261 if (gphy->aci_hw_rssi) b43_gphy_aci_detect() 2382 struct b43_phy_g *gphy = phy->g; b43_gphy_init_tssi2dbm_table() local 2392 gphy->dyn_tssi_tbl = false; b43_gphy_init_tssi2dbm_table() 2399 gphy->tgt_idle_tssi = b43_gphy_init_tssi2dbm_table() 2402 gphy->tgt_idle_tssi = 62; b43_gphy_init_tssi2dbm_table() 2403 gphy->tssi2dbm = b43_generate_dyn_tssi2dbm_tab(dev, pab0, b43_gphy_init_tssi2dbm_table() 2405 if (!gphy->tssi2dbm) b43_gphy_init_tssi2dbm_table() 2407 gphy->dyn_tssi_tbl = true; b43_gphy_init_tssi2dbm_table() 2410 gphy->tgt_idle_tssi = 52; b43_gphy_init_tssi2dbm_table() 2411 gphy->tssi2dbm = b43_tssi2dbm_g_table; b43_gphy_init_tssi2dbm_table() 2419 struct b43_phy_g *gphy; b43_gphy_op_allocate() local 2423 gphy = kzalloc(sizeof(*gphy), GFP_KERNEL); b43_gphy_op_allocate() 2424 if (!gphy) { b43_gphy_op_allocate() 2428 dev->phy.g = gphy; b43_gphy_op_allocate() 2435 gphy->lo_control = lo; b43_gphy_op_allocate() 2446 kfree(gphy); b43_gphy_op_allocate() 2454 struct b43_phy_g *gphy = phy->g; b43_gphy_op_prepare_structs() local 2462 tssi2dbm = gphy->tssi2dbm; b43_gphy_op_prepare_structs() 2463 tgt_idle_tssi = gphy->tgt_idle_tssi; b43_gphy_op_prepare_structs() 2465 lo = gphy->lo_control; b43_gphy_op_prepare_structs() 2468 memset(gphy, 0, sizeof(*gphy)); b43_gphy_op_prepare_structs() 2471 gphy->tssi2dbm = tssi2dbm; b43_gphy_op_prepare_structs() 2472 gphy->tgt_idle_tssi = tgt_idle_tssi; b43_gphy_op_prepare_structs() 2473 gphy->lo_control = lo; b43_gphy_op_prepare_structs() 2475 memset(gphy->minlowsig, 0xFF, sizeof(gphy->minlowsig)); b43_gphy_op_prepare_structs() 2478 for (i = 0; i < ARRAY_SIZE(gphy->nrssi); i++) b43_gphy_op_prepare_structs() 2479 gphy->nrssi[i] = -1000; b43_gphy_op_prepare_structs() 2480 for (i = 0; i < ARRAY_SIZE(gphy->nrssi_lt); i++) b43_gphy_op_prepare_structs() 2481 gphy->nrssi_lt[i] = i; b43_gphy_op_prepare_structs() 2483 gphy->lofcal = 0xFFFF; b43_gphy_op_prepare_structs() 2484 gphy->initval = 0xFFFF; b43_gphy_op_prepare_structs() 2486 gphy->interfmode = B43_INTERFMODE_NONE; b43_gphy_op_prepare_structs() 2489 gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_UNKNOWN; b43_gphy_op_prepare_structs() 2491 gphy->average_tssi = 0xFF; b43_gphy_op_prepare_structs() 2501 struct b43_phy_g *gphy = phy->g; b43_gphy_op_free() local 2503 kfree(gphy->lo_control); b43_gphy_op_free() 2505 if (gphy->dyn_tssi_tbl) b43_gphy_op_free() 2506 kfree(gphy->tssi2dbm); b43_gphy_op_free() 2507 gphy->dyn_tssi_tbl = false; b43_gphy_op_free() 2508 gphy->tssi2dbm = NULL; b43_gphy_op_free() 2510 kfree(gphy); b43_gphy_op_free() 2517 struct b43_phy_g *gphy = phy->g; b43_gphy_op_prepare_hardware() local 2518 struct b43_txpower_lo_control *lo = gphy->lo_control; b43_gphy_op_prepare_hardware() 2522 default_baseband_attenuation(dev, &gphy->bbatt); b43_gphy_op_prepare_hardware() 2523 default_radio_attenuation(dev, &gphy->rfatt); b43_gphy_op_prepare_hardware() 2524 gphy->tx_control = (default_tx_control(dev) << 4); b43_gphy_op_prepare_hardware() 2597 struct b43_phy_g *gphy = phy->g; b43_gphy_op_software_rfkill() local 2610 if (gphy->radio_off_context.valid) { b43_gphy_op_software_rfkill() 2613 gphy->radio_off_context.rfover); b43_gphy_op_software_rfkill() 2615 gphy->radio_off_context.rfoverval); b43_gphy_op_software_rfkill() 2616 gphy->radio_off_context.valid = false; b43_gphy_op_software_rfkill() 2627 gphy->radio_off_context.rfover = rfover; b43_gphy_op_software_rfkill() 2628 gphy->radio_off_context.rfoverval = rfoverval; b43_gphy_op_software_rfkill() 2629 gphy->radio_off_context.valid = true; b43_gphy_op_software_rfkill() 2707 struct b43_phy_g *gphy = phy->g; b43_gphy_op_interf_mitigation() local 2714 gphy->aci_wlan_automatic = false; b43_gphy_op_interf_mitigation() 2717 gphy->aci_wlan_automatic = true; b43_gphy_op_interf_mitigation() 2718 if (gphy->aci_enable) b43_gphy_op_interf_mitigation() 2731 currentmode = gphy->interfmode; b43_gphy_op_interf_mitigation() 2738 gphy->aci_enable = false; b43_gphy_op_interf_mitigation() 2739 gphy->aci_hw_rssi = false; b43_gphy_op_interf_mitigation() 2742 gphy->interfmode = mode; b43_gphy_op_interf_mitigation() 2752 struct b43_phy_g *gphy = dev->phy.g; b43_gphy_estimate_power_out() local 2756 tmp = (gphy->tgt_idle_tssi - gphy->cur_idle_tssi + tssi); b43_gphy_estimate_power_out() 2758 dbm = gphy->tssi2dbm[tmp]; b43_gphy_estimate_power_out() 2819 struct b43_phy_g *gphy = phy->g; b43_gphy_op_adjust_txpower() local 2826 bbatt = gphy->bbatt.att; b43_gphy_op_adjust_txpower() 2827 bbatt += gphy->bbatt_delta; b43_gphy_op_adjust_txpower() 2828 rfatt = gphy->rfatt.att; b43_gphy_op_adjust_txpower() 2829 rfatt += gphy->rfatt_delta; b43_gphy_op_adjust_txpower() 2832 tx_control = gphy->tx_control; b43_gphy_op_adjust_txpower() 2859 gphy->tx_control = tx_control; b43_gphy_op_adjust_txpower() 2861 gphy->rfatt.att = rfatt; b43_gphy_op_adjust_txpower() 2862 gphy->bbatt.att = bbatt; b43_gphy_op_adjust_txpower() 2870 b43_set_txpower_g(dev, &gphy->bbatt, &gphy->rfatt, b43_gphy_op_adjust_txpower() 2871 gphy->tx_control); b43_gphy_op_adjust_txpower() 2882 struct b43_phy_g *gphy = phy->g; b43_gphy_op_recalc_txpower() local 2906 if (likely(gphy->average_tssi != 0xFF)) b43_gphy_op_recalc_txpower() 2907 average_tssi = (average_tssi + gphy->average_tssi) / 2; b43_gphy_op_recalc_txpower() 2908 gphy->average_tssi = average_tssi; b43_gphy_op_recalc_txpower() 2976 gphy->bbatt_delta = bbatt_delta; b43_gphy_op_recalc_txpower() 2977 gphy->rfatt_delta = rfatt_delta; b43_gphy_op_recalc_txpower() 2989 struct b43_phy_g *gphy = phy->g; b43_gphy_op_pwork_15sec() local 2993 if (gphy->aci_enable && gphy->aci_wlan_automatic) { b43_gphy_op_pwork_15sec() 2994 if (!gphy->aci_enable && 1 /*TODO: not scanning? */ ) { b43_gphy_op_pwork_15sec() 3003 } else if (gphy->interfmode == B43_INTERFMODE_NONWLAN && b43_gphy_op_pwork_15sec()
|
H A D | lo.c | 178 struct b43_phy_g *gphy = phy->g; lo_measure_txctl_values() local 179 struct b43_txpower_lo_control *lo = gphy->lo_control; lo_measure_txctl_values() 200 lb_gain = gphy->max_lb_gain / 2; lo_measure_txctl_values() 275 struct b43_phy_g *gphy = phy->g; lo_read_power_vector() local 276 struct b43_txpower_lo_control *lo = gphy->lo_control; lo_read_power_vector() 297 struct b43_phy_g *gphy = phy->g; lo_measure_gain_values() local 307 trsw_rx_gain = gphy->trsw_rx_gain / 2; lo_measure_gain_values() 314 gphy->lna_lod_gain = 0; lo_measure_gain_values() 316 gphy->lna_lod_gain = 1; lo_measure_gain_values() 320 gphy->pga_gain = trsw_rx_gain / 3; lo_measure_gain_values() 321 if (gphy->pga_gain >= 5) { lo_measure_gain_values() 322 gphy->pga_gain -= 5; lo_measure_gain_values() 323 gphy->lna_gain = 2; lo_measure_gain_values() 325 gphy->lna_gain = 0; lo_measure_gain_values() 327 gphy->lna_gain = 0; lo_measure_gain_values() 328 gphy->trsw_rx_gain = 0x20; lo_measure_gain_values() 330 gphy->lna_lod_gain = 1; lo_measure_gain_values() 331 gphy->pga_gain = 2; lo_measure_gain_values() 333 gphy->lna_lod_gain = 1; lo_measure_gain_values() 334 gphy->pga_gain = 1; lo_measure_gain_values() 336 gphy->lna_lod_gain = 1; lo_measure_gain_values() 337 gphy->pga_gain = 0; lo_measure_gain_values() 339 gphy->lna_lod_gain = 0; lo_measure_gain_values() 340 gphy->pga_gain = 0; lo_measure_gain_values() 345 if (gphy->lna_lod_gain == 0) lo_measure_gain_values() 390 struct b43_phy_g *gphy = phy->g; lo_measure_setup() local 391 struct b43_txpower_lo_control *lo = gphy->lo_control; lo_measure_setup() 504 struct b43_phy_g *gphy = phy->g; lo_measure_restore() local 509 tmp = (gphy->pga_gain << 8); lo_measure_restore() 516 tmp = (gphy->pga_gain | 0xEFA0); lo_measure_restore() 581 struct b43_phy_g *gphy = phy->g; lo_probe_possible_loctls() local 631 feedth = lo_measure_feedthrough(dev, gphy->lna_gain, lo_probe_possible_loctls() 632 gphy->pga_gain, lo_probe_possible_loctls() 633 gphy->trsw_rx_gain); lo_probe_possible_loctls() 662 struct b43_phy_g *gphy = phy->g; lo_probe_loctls_statemachine() local 679 feedth = lo_measure_feedthrough(dev, gphy->lna_gain, lo_probe_loctls_statemachine() 680 gphy->pga_gain, lo_probe_loctls_statemachine() 681 gphy->trsw_rx_gain); lo_probe_loctls_statemachine() 687 feedth = lo_measure_feedthrough(dev, gphy->lna_gain, lo_probe_loctls_statemachine() 688 gphy->pga_gain, lo_probe_loctls_statemachine() 689 gphy->trsw_rx_gain); lo_probe_loctls_statemachine() 738 struct b43_phy_g *gphy = phy->g; b43_calibrate_lo_setting() local 765 max_rx_gain += gphy->max_lb_gain; b43_calibrate_lo_setting() 822 struct b43_phy_g *gphy = phy->g; b43_gphy_dc_lt_init() local 823 struct b43_txpower_lo_control *lo = gphy->lo_control; b43_gphy_dc_lt_init() 901 struct b43_phy_g *gphy = dev->phy.g; b43_lo_g_adjust() local 905 memcpy(&rf, &gphy->rfatt, sizeof(rf)); b43_lo_g_adjust() 908 cal = b43_get_calib_lo_settings(dev, &gphy->bbatt, &rf); b43_lo_g_adjust() 936 struct b43_phy_g *gphy = phy->g; b43_lo_g_maintanance_work() local 937 struct b43_txpower_lo_control *lo = gphy->lo_control; b43_lo_g_maintanance_work() 968 if (b43_compare_bbatt(&cal->bbatt, &gphy->bbatt) && b43_lo_g_maintanance_work() 969 b43_compare_rfatt(&cal->rfatt, &gphy->rfatt)) { b43_lo_g_maintanance_work() 987 cal = b43_calibrate_lo_setting(dev, &gphy->bbatt, &gphy->rfatt); b43_lo_g_maintanance_work()
|
H A D | tables.c | 381 struct b43_phy_g *gphy = dev->phy.g; b43_ofdmtab_read16() local 385 if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_READ) || b43_ofdmtab_read16() 386 (addr - 1 != gphy->ofdmtab_addr)) { b43_ofdmtab_read16() 389 gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_READ; b43_ofdmtab_read16() 391 gphy->ofdmtab_addr = addr; b43_ofdmtab_read16() 402 struct b43_phy_g *gphy = dev->phy.g; b43_ofdmtab_write16() local 406 if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_WRITE) || b43_ofdmtab_write16() 407 (addr - 1 != gphy->ofdmtab_addr)) { b43_ofdmtab_write16() 410 gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_WRITE; b43_ofdmtab_write16() 412 gphy->ofdmtab_addr = addr; b43_ofdmtab_write16() 418 struct b43_phy_g *gphy = dev->phy.g; b43_ofdmtab_read32() local 423 if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_READ) || b43_ofdmtab_read32() 424 (addr - 1 != gphy->ofdmtab_addr)) { b43_ofdmtab_read32() 427 gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_READ; b43_ofdmtab_read32() 429 gphy->ofdmtab_addr = addr; b43_ofdmtab_read32() 440 struct b43_phy_g *gphy = dev->phy.g; b43_ofdmtab_write32() local 444 if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_WRITE) || b43_ofdmtab_write32() 445 (addr - 1 != gphy->ofdmtab_addr)) { b43_ofdmtab_write32() 448 gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_WRITE; b43_ofdmtab_write32() 450 gphy->ofdmtab_addr = addr; b43_ofdmtab_write32()
|
H A D | xmit.c | 581 struct b43_phy_g *gphy = phy->g; b43_rssi_postprocess() local 602 tmp = gphy->nrssi_lt[in_rssi]; b43_rssi_postprocess()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cphy.h | 157 struct gphy { struct 169 extern const struct gphy t1_my3126_ops; 170 extern const struct gphy t1_mv88e1xxx_ops; 171 extern const struct gphy t1_vsc8244_ops; 172 extern const struct gphy t1_mv88x201x_ops;
|
H A D | common.h | 267 struct gphy; 286 const struct gphy *gphy; member in struct:board_info
|
H A D | subr.c | 409 .gphy = &t1_my3126_ops, 429 .gphy = &t1_mv88x201x_ops, 449 .gphy = &t1_mv88x201x_ops, 471 .gphy = &t1_mv88x201x_ops, 493 .gphy = &t1_my3126_ops, 517 .gphy = &t1_mv88e1xxx_ops, 1081 if (bi->gphy->reset) t1_init_sw_modules() 1082 bi->gphy->reset(adapter); t1_init_sw_modules() 1091 adapter->port[i].phy = bi->gphy->create(adapter->port[i].dev, for_each_port()
|
H A D | my3126.c | 206 const struct gphy t1_my3126_ops = {
|
H A D | mv88e1xxx.c | 394 const struct gphy t1_mv88e1xxx_ops = {
|
H A D | mv88x201x.c | 256 const struct gphy t1_mv88x201x_ops = {
|
/linux-4.1.27/arch/mips/lantiq/xway/ |
H A D | reset.c | 32 /* vr9 gphy registers */ 70 /* reset / boot a gphy */ 79 /* reset and boot a gphy. these phys only exist on xrx200 SoC */ xrx200_gphy_boot() 89 clk = clk_get_sys("1f203000.rcu", "gphy"); xrx200_gphy_boot() 96 dev_err(dev, "%u is an invalid gphy id\n", id); xrx200_gphy_boot()
|
H A D | sysctrl.c | 379 clkdev_add_pmu("1f203000.rcu", "gphy", 0, PMU_GPHY); ltq_soc_init()
|
/linux-4.1.27/drivers/net/dsa/ |
H A D | bcm_sf2.c | 686 if (of_property_read_u32(dn, "brcm,num-gphy", bcm_sf2_sw_setup()
|
/linux-4.1.27/drivers/pinctrl/ |
H A D | pinctrl-xway.c | 434 {"gphy", ARRAY_AND_SIZE(xrx_gphy_grps)},
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 9137 /* Manage gphy power for all CPMU absent PCIe devices. */ 13681 /* Re-enable gphy autopowerdown. */ tg3_test_loopback() 15349 /* Read the gphy configuration from the OTP region of the chip. The gphy
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | main.c | 383 * is in reset it breaks CF address mechanism. Accessing gphy phyversion will
|