/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 110 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 119 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 169 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 173 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 181 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 194 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 197 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 341 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 356 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 366 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 110 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 119 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 169 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 173 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 181 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 194 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 197 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 341 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 356 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 366 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2-emmc/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 110 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 119 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 169 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 173 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 181 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 194 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 197 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 341 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 356 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 366 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-sopine/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-rpi/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-nanopi-m1plus/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-chip/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-beaglebone/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 110 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 119 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 169 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 173 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 181 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 194 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 197 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 341 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 356 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 366 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-clearfog/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-orangepi-zero-plus/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-orangepi-plus-2e/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|
/dports/sysutils/u-boot-orangepi-r1/u-boot-2021.07/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 115 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 124 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_dump() 174 TX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_tx_init() 178 for (i = 0; i < TX_BUF_NUM; i++) { in dma_tx_init() 186 if (i == (TX_BUF_NUM-1)) in dma_tx_init() 199 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 202 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init() 346 if (txout == (TX_BUF_NUM - 1)) { in gmac_tx_packet() 361 DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_tx_packet() 371 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet() [all …]
|