Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
98 struct phy *gphy; in bcm_kona_usb2_probe() local
112 gphy = devm_phy_create(dev, NULL, &ops); in bcm_kona_usb2_probe()
113 if (IS_ERR(gphy)) in bcm_kona_usb2_probe()
114 return PTR_ERR(gphy); in bcm_kona_usb2_probe()
[all …]
Dphy-brcm-usb.c80 struct phy *gphy = dev_id; in brcm_usb_phy_wake_isr() local
82 pm_wakeup_event(&gphy->dev, 0); in brcm_usb_phy_wake_isr()
87 static int brcm_usb_phy_init(struct phy *gphy) in brcm_usb_phy_init() argument
89 struct brcm_usb_phy *phy = phy_get_drvdata(gphy); in brcm_usb_phy_init()
110 dev_dbg(&gphy->dev, "INIT, id: %d, total: %d\n", phy->id, in brcm_usb_phy_init()
116 static int brcm_usb_phy_exit(struct phy *gphy) in brcm_usb_phy_exit() argument
118 struct brcm_usb_phy *phy = phy_get_drvdata(gphy); in brcm_usb_phy_exit()
122 dev_dbg(&gphy->dev, "EXIT\n"); in brcm_usb_phy_exit()
348 struct phy *gphy = NULL; in brcm_usb_phy_dvr_init() local
363 gphy = devm_phy_create(dev, NULL, &brcm_usb_phy_ops); in brcm_usb_phy_dvr_init()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/
Dlantiq-gswip.txt25 - compatible : "lantiq,xrx200-gphy-fw", "lantiq,gphy-fw"
26 "lantiq,xrx300-gphy-fw", "lantiq,gphy-fw"
27 "lantiq,xrx330-gphy-fw", "lantiq,gphy-fw"
123 gphy-fw {
124 compatible = "lantiq,xrx200-gphy-fw", "lantiq,gphy-fw";
129 gphy@20 {
133 reset-names = "gphy";
136 gphy@68 {
140 reset-names = "gphy";
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dcphy.h157 struct gphy { struct
169 extern const struct gphy t1_my3126_ops; argument
170 extern const struct gphy t1_mv88e1xxx_ops;
171 extern const struct gphy t1_vsc8244_ops;
172 extern const struct gphy t1_mv88x201x_ops;
Dcommon.h270 struct gphy;
289 const struct gphy *gphy; member
Dsubr.c409 .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) in t1_init_sw_modules()
1082 bi->gphy->reset(adapter); in t1_init_sw_modules()
1091 adapter->port[i].phy = bi->gphy->create(adapter->port[i].dev, in t1_init_sw_modules()
Dmy3126.c207 const struct gphy t1_my3126_ops = {
Dmv88x201x.c256 const struct gphy t1_mv88x201x_ops = {
Dmv88e1xxx.c395 const struct gphy t1_mv88e1xxx_ops = {
/kernel/linux/linux-5.10/drivers/phy/cadence/
Dphy-cadence-sierra.c271 static int cdns_sierra_phy_init(struct phy *gphy) in cdns_sierra_phy_init() argument
273 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_init()
274 struct cdns_sierra_phy *phy = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_init()
314 static int cdns_sierra_phy_on(struct phy *gphy) in cdns_sierra_phy_on() argument
316 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_on()
317 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_on()
343 static int cdns_sierra_phy_off(struct phy *gphy) in cdns_sierra_phy_off() argument
345 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_off()
350 static int cdns_sierra_phy_reset(struct phy *gphy) in cdns_sierra_phy_reset() argument
352 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_reset()
[all …]
Dphy-cadence-torrent.c2154 struct phy *gphy; in cdns_torrent_phy_probe() local
2221 gphy = devm_phy_create(dev, child, &cdns_torrent_phy_ops); in cdns_torrent_phy_probe()
2222 if (IS_ERR(gphy)) { in cdns_torrent_phy_probe()
2223 ret = PTR_ERR(gphy); in cdns_torrent_phy_probe()
2287 gphy->attrs.bus_width = cdns_phy->phys[node].num_lanes; in cdns_torrent_phy_probe()
2288 gphy->attrs.max_link_rate = cdns_phy->max_bit_rate; in cdns_torrent_phy_probe()
2289 gphy->attrs.mode = PHY_MODE_DP; in cdns_torrent_phy_probe()
2292 cdns_phy->phys[node].phy = gphy; in cdns_torrent_phy_probe()
2293 phy_set_drvdata(gphy, &cdns_phy->phys[node]); in cdns_torrent_phy_probe()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dbrcm,bcm7445-switch-v4.0.txt34 - brcm,num-gphy: specify the maximum number of integrated gigabit PHYs in the
89 brcm,num-gphy = <1>;
99 label = "gphy";
126 brcm,num-gphy = <1>;
138 label = "gphy";
Dbrcm,iproc-mdio.txt20 enet-gphy@0 {
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dlantiq,pinctrl-xway.txt69 spi, asc, cgu, jtag, exin, stp, gpt, nmi, pci, ebu, mdio, gphy
116 spi, usif, cgu, exin, stp, gpt, nmi, pci, ebu, mdio, dfe, gphy