Home
last modified time | relevance | path

Searched full:gphy (Results 1 – 25 of 57) sorted by relevance

123

/linux/Documentation/devicetree/bindings/net/dsa/
H A Dlantiq,gswip.yaml43 gphy-fw:
55 - lantiq,xrx200-gphy-fw
56 - lantiq,xrx300-gphy-fw
57 - lantiq,xrx330-gphy-fw
58 - const: lantiq,gphy-fw
65 "^gphy@[0-9a-f]{1,2}$":
75 Offset of the GPHY firmware register in the RCU register range
79 - description: GPHY reset line
83 - const: gphy
182 gphy-fw {
[all …]
H A Dbrcm,sf2.yaml61 brcm,num-gphy:
153 brcm,num-gphy = <1>;
163 label = "gphy";
/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_g.c73 /* APHY.rev < 5 || GPHY.rev < 6 */ in generate_rfatt_list()
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()
221 * to pass &gphy->rfatt as rfatt pointer argument. Same for bbatt. */ 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()
[all …]
H A Dlo.c165 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()
279 /* 802.11/LO/GPHY/MeasuringGains */
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()
[all …]
H A Dtables.c368 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 Dxmit.c575 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 Dphy-bcm-kona-usb2.c50 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 …]
H A Dphy-brcm-usb.c111 static int brcm_usb_phy_init(struct phy *gphy) in brcm_usb_phy_init() argument
113 struct brcm_usb_phy *phy = phy_get_drvdata(gphy); in brcm_usb_phy_init()
137 dev_dbg(&gphy->dev, "INIT, id: %d, total: %d\n", phy->id, in brcm_usb_phy_init()
143 static int brcm_usb_phy_exit(struct phy *gphy) in brcm_usb_phy_exit() argument
145 struct brcm_usb_phy *phy = phy_get_drvdata(gphy); in brcm_usb_phy_exit()
152 dev_dbg(&gphy->dev, "EXIT\n"); in brcm_usb_phy_exit()
392 struct phy *gphy = NULL; in brcm_usb_phy_dvr_init() local
407 gphy = devm_phy_create(dev, NULL, &brcm_usb_phy_ops); in brcm_usb_phy_dvr_init()
408 if (IS_ERR(gphy)) { in brcm_usb_phy_dvr_init()
410 return PTR_ERR(gphy); in brcm_usb_phy_dvr_init()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dcphy.h148 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 Dsubr.c412 .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 Dcommon.h261 struct gphy;
280 const struct gphy *gphy; member
H A Dmy3126.c207 const struct gphy t1_my3126_ops = {
H A Dmv88x201x.c247 const struct gphy t1_mv88x201x_ops = {
/linux/Documentation/devicetree/bindings/net/
H A Dbrcm,bcm7445-switch-v4.0.txt31 brcm,num-gphy = <1>;
43 label = "gphy";
/linux/drivers/net/dsa/
H A Dlantiq_gswip.c845 * Also with various other PHY / port combinations (PHY11G GPHY, PHY22F in gswip_setup()
846 * GPHY, external RGMII PEF7071/7072) any traffic would stop. Sometimes in gswip_setup()
1891 { .compatible = "lantiq,xrx200-gphy-fw", .data = NULL },
1892 { .compatible = "lantiq,xrx200a1x-gphy-fw", .data = &xrx200a1x_gphy_data },
1893 { .compatible = "lantiq,xrx200a2x-gphy-fw", .data = &xrx200a2x_gphy_data },
1894 { .compatible = "lantiq,xrx300-gphy-fw", .data = &xrx300_gphy_data },
1895 { .compatible = "lantiq,xrx330-gphy-fw", .data = &xrx300_gphy_data },
1926 /* GPHY cores need the firmware code in a persistent and contiguous in gswip_gphy_fw_load()
1962 snprintf(gphyname, sizeof(gphyname), "gphy%d", i); in gswip_gphy_fw_probe()
1974 ret = of_property_read_u32(gphy_fw_np, "lantiq,gphy-mode", &gphy_mode); in gswip_gphy_fw_probe()
[all …]
H A Dbcm_sf2.c311 /* Re-enable the GPHY and re-apply workarounds */ in bcm_sf2_port_setup()
1527 /* Assume a single GPHY setup if we can't read that property */ in bcm_sf2_sw_probe()
1528 if (of_property_read_u32(dn, "brcm,num-gphy", in bcm_sf2_sw_probe()
1587 /* For a kernel about to be kexec'd we want to keep the GPHY on for a in bcm_sf2_sw_shutdown()
1588 * successful MDIO bus scan to occur. If we did turn off the GPHY in bcm_sf2_sw_shutdown()
/linux/drivers/pinctrl/
H A Dpinctrl-xway.c633 MFP_XWAY(GPIO2, GPIO, CGU, EXIN, GPHY),
636 MFP_XWAY(GPIO5, GPIO, STP, GPHY, DFE),
638 MFP_XWAY(GPIO7, GPIO, CGU, CBUS, GPHY),
675 MFP_XWAY(GPIO44, GPIO, MII, SIN, GPHY),
676 MFP_XWAY(GPIO45, GPIO, MII, GPHY, SIN),
678 MFP_XWAY(GPIO47, GPIO, MII, GPHY, SIN),
824 GRP_MUX("gphy0 led0", GPHY, xrx200_pins_gphy0_led0),
825 GRP_MUX("gphy0 led1", GPHY, xrx200_pins_gphy0_led1),
826 GRP_MUX("gphy0 led2", GPHY, xrx200_pins_gphy0_led2),
827 GRP_MUX("gphy1 led0", GPHY, xrx200_pins_gphy1_led0),
[all …]
/linux/drivers/phy/cadence/
H A Dphy-cadence-sierra.c538 static int cdns_sierra_phy_init(struct phy *gphy) in cdns_sierra_phy_init() argument
540 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_init()
541 struct cdns_sierra_phy *phy = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_init()
607 static int cdns_sierra_phy_on(struct phy *gphy) in cdns_sierra_phy_on() argument
609 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_on()
610 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_on()
659 static int cdns_sierra_phy_off(struct phy *gphy) in cdns_sierra_phy_off() argument
661 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_off()
666 static int cdns_sierra_phy_reset(struct phy *gphy) in cdns_sierra_phy_reset() argument
668 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_reset()
[all …]
/linux/drivers/net/ethernet/marvell/
H A Dsky2.h41 PCI_PHY_LNK_TIM_MSK= 3L<<8,/* Bit 9.. 8: GPHY Link Trigger Timer */
43 PCI_ENA_GPHY_LNK = 1<<6, /* Enable PEX L1 on GPHY Link down */
101 P_ASPM_GPHY_LINK_DOWN = 1<<14, /* GPHY Link Down (A1 only) */
123 P_REL_GPHY_REC_PACKET = 1<<25, /* GPHY Received Packet */
132 P_REL_GPHY_LINK_UP = 1<<16, /* GPHY Link Up */
136 P_GAT_GPHY_N_REC_PACKET = 1<<9, /* GPHY Not Received Packet */
145 P_GAT_GPHY_LINK_DOWN = 1<<0, /* GPHY Link Down */
204 PSM_CONFIG_REG1_EN_GPHY_INT_PSM = 1<<20, /* Enable GPHY INT for PSM */
210 PSM_CONFIG_REG1_GPHY_ENERGY_STS = 1<<31, /* GPHY Energy Detect Status */
225 PSM_CONFIG_REG1_GPHY_INT = 1<<16, /* GPHY INT Status */
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Dgpio-stp-xway.yaml68 The gphy core can control 3 bits of the gpio cascade. In the xRX200 family
/linux/Documentation/devicetree/bindings/leds/
H A Dleds-lgm.yaml123 function = "gphy";
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dlantiq,pinctrl-xway.txt89 spi, usif, cgu, exin, stp, gpt, nmi, pci, ebu, mdio, dfe, gphy
/linux/drivers/net/phy/
H A Dbcm-cygnus.c266 .name = "Broadcom Omega Combo GPHY",
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c3369 /* If this is an internal GPHY, power it back on now, before UniMAC is in bcmgenet_open()
3872 * deployed similar to the Starfighter 2 switch with GPHY major in bcmgenet_set_hw_params()
3875 * heuristic to check for the new GPHY revision and re-arrange things in bcmgenet_set_hw_params()
3876 * so the GPHY driver is happy. in bcmgenet_set_hw_params()
3890 pr_warn("Invalid GPHY revision detected: 0x%04x\n", gphy_rev); in bcmgenet_set_hw_params()
3892 /* This is the good old scheme, just GPHY major, no minor nor patch */ in bcmgenet_set_hw_params()
3895 /* This is the new scheme, GPHY major rolls over with 0x10 = rev G0 */ in bcmgenet_set_hw_params()
4107 /* If this is an internal GPHY, power it on now, before UniMAC is in bcmgenet_probe()
4230 /* If this is an internal GPHY, power it back on now, before UniMAC is in bcmgenet_resume()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_phy.c777 * igc_read_phy_fw_version - Read gPHY firmware version
789 hw_dbg("igc_phy: read wrong gphy version\n"); in igc_read_phy_fw_version()

123