Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/broadcom/b43/
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 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 …]
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()
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 …]
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 …]
/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 Dcommon.h261 struct gphy;
280 const struct gphy *gphy; member
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 Dmy3126.c207 const struct gphy t1_my3126_ops = {
H A Dmv88x201x.c247 const struct gphy t1_mv88x201x_ops = {
H A Dmv88e1xxx.c395 const struct gphy t1_mv88e1xxx_ops = {
/linux/Documentation/devicetree/bindings/net/
H A Dbrcm,bcm7445-switch-v4.0.txt31 brcm,num-gphy = <1>;
43 label = "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/arch/arm64/boot/dts/rockchip/
H A Drk3399-kobol-helios64.dts440 gphy_reset: gphy-reset {