Home
last modified time | relevance | path

Searched refs:anar (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.5.0/components/esp_eth/src/
Desp_eth_phy_rtl8201.c290 anar_reg_t anar; in rtl8201_advertise_pause_ability() local
291 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_ANAR_REG_ADDR, &(anar.val)), err, … in rtl8201_advertise_pause_ability()
293 anar.asymmetric_pause = 1; in rtl8201_advertise_pause_ability()
294 anar.symmetric_pause = 1; in rtl8201_advertise_pause_ability()
296 anar.asymmetric_pause = 0; in rtl8201_advertise_pause_ability()
297 anar.symmetric_pause = 0; in rtl8201_advertise_pause_ability()
299 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, rtl8201->addr, ETH_PHY_ANAR_REG_ADDR, anar.val), err, TA… in rtl8201_advertise_pause_ability()
Desp_eth_phy_dm9051.c304 anar_reg_t anar; in dm9051_advertise_pause_ability() local
305 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_ANAR_REG_ADDR, &(anar.val)), err, T… in dm9051_advertise_pause_ability()
307 anar.asymmetric_pause = 1; in dm9051_advertise_pause_ability()
308 anar.symmetric_pause = 1; in dm9051_advertise_pause_ability()
310 anar.asymmetric_pause = 0; in dm9051_advertise_pause_ability()
311 anar.symmetric_pause = 0; in dm9051_advertise_pause_ability()
313 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, dm9051->addr, ETH_PHY_ANAR_REG_ADDR, anar.val), err, TAG… in dm9051_advertise_pause_ability()
Desp_eth_phy_dp83848.c298 anar_reg_t anar; in dp83848_advertise_pause_ability() local
299 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_ANAR_REG_ADDR, &(anar.val)), err, … in dp83848_advertise_pause_ability()
301 anar.asymmetric_pause = 1; in dp83848_advertise_pause_ability()
302 anar.symmetric_pause = 1; in dp83848_advertise_pause_ability()
304 anar.asymmetric_pause = 0; in dp83848_advertise_pause_ability()
305 anar.symmetric_pause = 0; in dp83848_advertise_pause_ability()
307 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, dp83848->addr, ETH_PHY_ANAR_REG_ADDR, anar.val), err, TA… in dp83848_advertise_pause_ability()
Desp_eth_phy_ip101.c337 anar_reg_t anar; in ip101_advertise_pause_ability() local
338 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_ANAR_REG_ADDR, &(anar.val)), err, TA… in ip101_advertise_pause_ability()
340 anar.asymmetric_pause = 1; in ip101_advertise_pause_ability()
341 anar.symmetric_pause = 1; in ip101_advertise_pause_ability()
343 anar.asymmetric_pause = 0; in ip101_advertise_pause_ability()
344 anar.symmetric_pause = 0; in ip101_advertise_pause_ability()
346 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ip101->addr, ETH_PHY_ANAR_REG_ADDR, anar.val), err, TAG,… in ip101_advertise_pause_ability()
Desp_eth_phy_ksz80xx.c315 anar_reg_t anar; in ksz80xx_advertise_pause_ability() local
316 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ksz80xx->addr, ETH_PHY_ANAR_REG_ADDR, &(anar.val)), err, … in ksz80xx_advertise_pause_ability()
318 anar.asymmetric_pause = 1; in ksz80xx_advertise_pause_ability()
319 anar.symmetric_pause = 1; in ksz80xx_advertise_pause_ability()
321 anar.asymmetric_pause = 0; in ksz80xx_advertise_pause_ability()
322 anar.symmetric_pause = 0; in ksz80xx_advertise_pause_ability()
324 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ksz80xx->addr, ETH_PHY_ANAR_REG_ADDR, anar.val), err, TA… in ksz80xx_advertise_pause_ability()
Desp_eth_phy_lan87xx.c447 anar_reg_t anar; in lan87xx_advertise_pause_ability() local
448 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, lan87xx->addr, ETH_PHY_ANAR_REG_ADDR, &(anar.val)), err, … in lan87xx_advertise_pause_ability()
450 anar.asymmetric_pause = 1; in lan87xx_advertise_pause_ability()
451 anar.symmetric_pause = 1; in lan87xx_advertise_pause_ability()
453 anar.asymmetric_pause = 0; in lan87xx_advertise_pause_ability()
454 anar.symmetric_pause = 0; in lan87xx_advertise_pause_ability()
456 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, lan87xx->addr, ETH_PHY_ANAR_REG_ADDR, anar.val), err, TA… in lan87xx_advertise_pause_ability()
Desp_eth_phy_ksz8851snl.c233 uint32_t anar; in phy_ksz8851_advertise_pause_ability() local
234 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ksz8851->addr, KSZ8851_P1ANAR, &anar), err, TAG, "P1ANAR … in phy_ksz8851_advertise_pause_ability()
236 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ksz8851->addr, KSZ8851_P1ANAR, anar | P1ANAR_PAUSE), err… in phy_ksz8851_advertise_pause_ability()
239 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ksz8851->addr, KSZ8851_P1ANAR, anar & ~P1ANAR_PAUSE), er… in phy_ksz8851_advertise_pause_ability()