| /rk3399_rockchip-uboot/drivers/net/phy/ |
| H A D | phy.c | 41 int oldadv, adv, bmsr; in genphy_config_advert() local 49 adv = phy_read(phydev, MDIO_DEVAD_NONE, MII_ADVERTISE); in genphy_config_advert() 50 oldadv = adv; in genphy_config_advert() 52 if (adv < 0) in genphy_config_advert() 53 return adv; in genphy_config_advert() 55 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4 | ADVERTISE_PAUSE_CAP | in genphy_config_advert() 58 adv |= ADVERTISE_10HALF; in genphy_config_advert() 60 adv |= ADVERTISE_10FULL; in genphy_config_advert() 62 adv |= ADVERTISE_100HALF; in genphy_config_advert() 64 adv |= ADVERTISE_100FULL; in genphy_config_advert() [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | test.c | 34 int adv; member 57 int i, op, left, adv, expr, last_expr, last_unop, last_binop; in do_test() local 84 adv = op_adv[i].adv; in do_test() 92 if (left < adv) { in do_test() 175 ap += adv; left -= adv; in do_test()
|
| /rk3399_rockchip-uboot/drivers/qe/ |
| H A D | uec_phy.c | 235 u16 adv; in config_genmii_advert() local 242 adv = uec_phy_read(mii_info, MII_ADVERTISE); in config_genmii_advert() 243 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in config_genmii_advert() 245 adv |= ADVERTISE_10HALF; in config_genmii_advert() 247 adv |= ADVERTISE_10FULL; in config_genmii_advert() 249 adv |= ADVERTISE_100HALF; in config_genmii_advert() 251 adv |= ADVERTISE_100FULL; in config_genmii_advert() 252 uec_phy_write(mii_info, MII_ADVERTISE, adv); in config_genmii_advert() 305 u16 adv; in gbit_config_aneg() local 313 adv = uec_phy_read(mii_info, MII_CTRL1000); in gbit_config_aneg() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | omap-gpmc-smsc9221.dtsi | 35 gpmc,adv-on-ns = <6>; 36 gpmc,adv-rd-off-ns = <12>; 37 gpmc,adv-wr-off-ns = <12>;
|
| H A D | am335x-draco.dtsi | 140 gpmc,adv-on-ns = <6>; 141 gpmc,adv-rd-off-ns = <34>; 142 gpmc,adv-wr-off-ns = <44>;
|
| H A D | dm8168-evm.dts | 104 gpmc,adv-on-ns = <6>; 105 gpmc,adv-rd-off-ns = <34>; 106 gpmc,adv-wr-off-ns = <44>;
|
| H A D | logicpd-torpedo-som.dtsi | 59 gpmc,adv-on-ns = <6>; 60 gpmc,adv-rd-off-ns = <34>; 61 gpmc,adv-wr-off-ns = <44>;
|
| H A D | logicpd-som-lv.dtsi | 56 gpmc,adv-on-ns = <6>; 57 gpmc,adv-rd-off-ns = <34>; 58 gpmc,adv-wr-off-ns = <44>;
|
| H A D | am335x-pxm2.dtsi | 169 gpmc,adv-on-ns = <6>; 170 gpmc,adv-rd-off-ns = <34>; 171 gpmc,adv-wr-off-ns = <44>;
|
| H A D | dra72-evm-common.dtsi | 311 gpmc,adv-on-ns = <0>; 312 gpmc,adv-rd-off-ns = <60>; 313 gpmc,adv-wr-off-ns = <60>;
|
| H A D | am335x-rut.dts | 218 gpmc,adv-on-ns = <0>; 219 gpmc,adv-rd-off-ns = <57>; 220 gpmc,adv-wr-off-ns = <57>;
|
| H A D | am335x-evm.dts | 513 gpmc,adv-on-ns = <6>; 514 gpmc,adv-rd-off-ns = <34>; 515 gpmc,adv-wr-off-ns = <44>;
|
| H A D | am437x-gp-evm.dts | 674 gpmc,adv-on-ns = <0>; 675 gpmc,adv-rd-off-ns = <25>; 676 gpmc,adv-wr-off-ns = <25>;
|
| H A D | am43x-epos-evm.dts | 584 gpmc,adv-on-ns = <0>; /* cs-on-ns */ 585 gpmc,adv-rd-off-ns = <25>; /* min( tALH + tALS + 1) */ 586 gpmc,adv-wr-off-ns = <25>; /* min( tALH + tALS + 1) */
|
| H A D | dra7-evm.dts | 775 gpmc,adv-on-ns = <0>; 776 gpmc,adv-rd-off-ns = <60>; 777 gpmc,adv-wr-off-ns = <60>;
|
| /rk3399_rockchip-uboot/common/ |
| H A D | miiphyutil.c | 395 u16 bmcr, anlpar, adv; in miiphy_speed() local 433 if (miiphy_read(devname, addr, MII_ADVERTISE, &adv)) { in miiphy_speed() 437 return ((anlpar & adv) & LPA_100) ? _100BASET : _10BASET; in miiphy_speed() 453 u16 bmcr, anlpar, adv; in miiphy_duplex() local 496 if (miiphy_read(devname, addr, MII_ADVERTISE, &adv)) { in miiphy_duplex() 500 return ((anlpar & adv) & (LPA_10FULL | LPA_100FULL)) ? in miiphy_duplex()
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | dnet.c | 219 u16 status, adv; in dnet_phy_reset() local 221 adv = ADVERTISE_CSMA | ADVERTISE_ALL; in dnet_phy_reset() 222 dnet_mdio_write(dnet, MII_ADVERTISE, adv); in dnet_phy_reset() 244 u16 phy_id, status, adv, lpa; in dnet_phy_init() local 287 adv = dnet_mdio_read(dnet, MII_ADVERTISE); in dnet_phy_init() 289 media = mii_nway_result(lpa & adv); in dnet_phy_init()
|
| H A D | ftgmac100.c | 140 u16 status, adv; in ftgmac100_phy_reset() local 142 adv = ADVERTISE_CSMA | ADVERTISE_ALL; in ftgmac100_phy_reset() 144 ftgmac100_phy_write(dev, priv->phy_addr, MII_ADVERTISE, adv); in ftgmac100_phy_reset() 175 u16 phy_id, status, adv, lpa, stat_ge; in ftgmac100_phy_init() local 239 ftgmac100_phy_read(dev, priv->phy_addr, MII_ADVERTISE, &adv); in ftgmac100_phy_init() 242 media = mii_nway_result(lpa & adv); in ftgmac100_phy_init()
|
| H A D | at91_emac.c | 188 u16 status, adv; in at91emac_phy_reset() local 193 adv = ADVERTISE_CSMA | ADVERTISE_ALL; in at91emac_phy_reset() 195 MII_ADVERTISE, adv); in at91emac_phy_reset() 221 u16 phy_id, status, adv, lpa; in at91emac_phy_init() local 257 MII_ADVERTISE, &adv); in at91emac_phy_init() 260 media = mii_nway_result(lpa & adv); in at91emac_phy_init()
|
| H A D | macb.c | 431 u16 status, adv; in macb_phy_reset() local 433 adv = ADVERTISE_CSMA | ADVERTISE_ALL; in macb_phy_reset() 434 macb_mdio_write(macb, MII_ADVERTISE, adv); in macb_phy_reset() 484 u16 phy_id, status, adv, lpa; in macb_phy_init() local 562 adv = macb_mdio_read(macb, MII_ADVERTISE); in macb_phy_init() 564 media = mii_nway_result(lpa & adv); in macb_phy_init()
|
| /rk3399_rockchip-uboot/include/fsl-mc/ |
| H A D | fsl_dpni.h | 119 MC_CMD_OP(cmd, 0, 0, 8, uint8_t, cfg->adv.max_tcs); \ 120 MC_CMD_OP(cmd, 0, 8, 8, uint8_t, cfg->adv.max_senders); \ 127 MC_CMD_OP(cmd, 1, 0, 32, uint32_t, cfg->adv.options); \ 128 MC_CMD_OP(cmd, 2, 0, 8, uint8_t, cfg->adv.max_unicast_filters); \ 129 MC_CMD_OP(cmd, 2, 8, 8, uint8_t, cfg->adv.max_multicast_filters); \ 130 MC_CMD_OP(cmd, 2, 16, 8, uint8_t, cfg->adv.max_vlan_filters); \ 131 MC_CMD_OP(cmd, 2, 24, 8, uint8_t, cfg->adv.max_qos_entries); \ 132 MC_CMD_OP(cmd, 2, 32, 8, uint8_t, cfg->adv.max_qos_key_size); \ 133 MC_CMD_OP(cmd, 2, 48, 8, uint8_t, cfg->adv.max_dist_key_size); \ 134 MC_CMD_OP(cmd, 2, 56, 8, enum net_prot, cfg->adv.start_hdr); \ [all …]
|
| /rk3399_rockchip-uboot/drivers/usb/eth/ |
| H A D | asix88179.c | 353 u16 adv = 0; in asix_basic_reset() local 354 adv = ADVERTISE_ALL | ADVERTISE_CSMA | ADVERTISE_LPACK | in asix_basic_reset() 356 asix_write_cmd(dev, AX_ACCESS_PHY, 0x03, MII_ADVERTISE, 2, &adv); in asix_basic_reset() 358 adv = ADVERTISE_1000FULL; in asix_basic_reset() 359 asix_write_cmd(dev, AX_ACCESS_PHY, 0x03, MII_CTRL1000, 2, &adv); in asix_basic_reset()
|
| H A D | mcs7830.c | 305 int adv, flg; in mcs7830_set_autoneg() local 318 adv = ADVERTISE_PAUSE_CAP | ADVERTISE_ALL | ADVERTISE_CSMA; in mcs7830_set_autoneg() 319 rc = mcs7830_write_phy(udev, MII_ADVERTISE, adv); in mcs7830_set_autoneg()
|
| /rk3399_rockchip-uboot/drivers/net/fsl-mc/ |
| H A D | mc.c | 1218 dpni_cfg.adv.options = DPNI_OPT_UNICAST_FILTER | in dpni_init() 1221 dpni_cfg.adv.ext_cfg_iova = (uint64_t)&ext_cfg_buf[0]; in dpni_init()
|