Home
last modified time | relevance | path

Searched refs:gphy (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/net/wireless/broadcom/b43/
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 …]
Dphy_g.c208 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 …]
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()
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 …]
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-6.6.21/drivers/phy/broadcom/
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 …]
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-6.6.21/Documentation/devicetree/bindings/net/dsa/
Dlantiq-gswip.txt29 - compatible : "lantiq,xrx200-gphy-fw", "lantiq,gphy-fw"
30 "lantiq,xrx300-gphy-fw", "lantiq,gphy-fw"
31 "lantiq,xrx330-gphy-fw", "lantiq,gphy-fw"
126 gphy-fw {
127 compatible = "lantiq,xrx200-gphy-fw", "lantiq,gphy-fw";
132 gphy@20 {
136 reset-names = "gphy";
139 gphy@68 {
143 reset-names = "gphy";
Dbrcm,sf2.yaml61 brcm,num-gphy:
152 brcm,num-gphy = <1>;
162 label = "gphy";
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
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;
Dcommon.h261 struct gphy;
280 const struct gphy *gphy; member
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()
Dmv88x201x.c247 const struct gphy t1_mv88x201x_ops = {
Dmy3126.c207 const struct gphy t1_my3126_ops = {
Dmv88e1xxx.c395 const struct gphy t1_mv88e1xxx_ops = {
/linux-6.6.21/Documentation/devicetree/bindings/net/
Dbrcm,bcm7445-switch-v4.0.txt31 brcm,num-gphy = <1>;
43 label = "gphy";
/linux-6.6.21/drivers/phy/cadence/
Dphy-cadence-sierra.c537 static int cdns_sierra_phy_init(struct phy *gphy) in cdns_sierra_phy_init() argument
539 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_init()
540 struct cdns_sierra_phy *phy = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_init()
606 static int cdns_sierra_phy_on(struct phy *gphy) in cdns_sierra_phy_on() argument
608 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_on()
609 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_on()
658 static int cdns_sierra_phy_off(struct phy *gphy) in cdns_sierra_phy_off() argument
660 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_off()
665 static int cdns_sierra_phy_reset(struct phy *gphy) in cdns_sierra_phy_reset() argument
667 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_reset()
[all …]
Dphy-cadence-torrent.c2795 struct phy *gphy; in cdns_torrent_phy_probe() local
2866 gphy = devm_phy_create(dev, child, &cdns_torrent_phy_ops); in cdns_torrent_phy_probe()
2868 gphy = devm_phy_create(dev, child, &noop_ops); in cdns_torrent_phy_probe()
2869 if (IS_ERR(gphy)) { in cdns_torrent_phy_probe()
2870 ret = PTR_ERR(gphy); in cdns_torrent_phy_probe()
2933 gphy->attrs.bus_width = cdns_phy->phys[node].num_lanes; in cdns_torrent_phy_probe()
2934 gphy->attrs.max_link_rate = cdns_phy->max_bit_rate; in cdns_torrent_phy_probe()
2935 gphy->attrs.mode = PHY_MODE_DP; in cdns_torrent_phy_probe()
2938 cdns_phy->phys[node].phy = gphy; in cdns_torrent_phy_probe()
2939 phy_set_drvdata(gphy, &cdns_phy->phys[node]); in cdns_torrent_phy_probe()
/linux-6.6.21/Documentation/devicetree/bindings/leds/
Dleds-lgm.yaml123 function = "gphy";
/linux-6.6.21/Documentation/devicetree/bindings/gpio/
Dgpio-stp-xway.yaml68 The gphy core can control 3 bits of the gpio cascade. In the xRX200 family
/linux-6.6.21/Documentation/devicetree/bindings/pinctrl/
Dlantiq,pinctrl-xway.txt89 spi, usif, cgu, exin, stp, gpt, nmi, pci, ebu, mdio, dfe, gphy
/linux-6.6.21/arch/arm64/boot/dts/broadcom/bcmbca/
Dbcm4908.dtsi227 brcm,num-gphy = <5>;
/linux-6.6.21/arch/arm64/boot/dts/rockchip/
Drk3399-kobol-helios64.dts443 gphy_reset: gphy-reset {