Home
last modified time | relevance | path

Searched refs:tx_bdr (Results 1 – 25 of 114) sorted by relevance

12345

/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-olinuxino-lime2-emmc/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-sopine/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-rpi/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-nanopi-m1plus/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-nanopi-neo/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-wandboard/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-chip/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-beaglebone/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-clearfog/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-orangepi-zero-plus/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-orangepi-r1/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-orangepi-zero/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-pine64/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()
/dports/sysutils/u-boot-pine-h64/u-boot-2021.07/drivers/net/
H A Dfsl_enetc.c447 struct bd_ring *tx_bdr = &priv->tx_bdr; in enetc_setup_tx_bdr() local
451 tx_bdr->bd_count = ENETC_BD_CNT; in enetc_setup_tx_bdr()
452 tx_bdr->next_prod_idx = 0; in enetc_setup_tx_bdr()
453 tx_bdr->next_cons_idx = 0; in enetc_setup_tx_bdr()
454 tx_bdr->cons_idx = priv->regs_base + in enetc_setup_tx_bdr()
456 tx_bdr->prod_idx = priv->regs_base + in enetc_setup_tx_bdr()
466 tx_bdr->bd_count); in enetc_setup_tx_bdr()
469 enetc_write_reg(tx_bdr->cons_idx, tx_bdr->next_cons_idx); in enetc_setup_tx_bdr()
470 enetc_write_reg(tx_bdr->prod_idx, tx_bdr->next_prod_idx); in enetc_setup_tx_bdr()
584 struct bd_ring *txr = &priv->tx_bdr; in enetc_send()

12345