/dports/sysutils/u-boot-tools/u-boot-2020.07/drivers/net/ |
H A D | dc2114x.c | 102 static int tx_new; /* TX descriptor ring pointer */ variable 383 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 395 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 397 le32_to_cpu(tx_ring[tx_new].status)); in send_setup_frame() 400 tx_new = (tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 421 tx_ring[tx_new].buf = cpu_to_le32(phys_to_bus((u32)packet)); in dc21x4x_send() 423 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 435 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 436 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 443 tx_new = (tx_new + 1) % NUM_TX_DESC; in dc21x4x_send() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/drivers/net/ |
H A D | dc2114x.c | 368 tx_new = 0; in dc21x4x_init() 386 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 395 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 399 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 406 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 409 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 411 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 418 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 502 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 513 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot-sam460ex/drivers/net/ |
H A D | dc2114x.c | 377 tx_new = 0; in dc21x4x_init() 395 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 404 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 408 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 415 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 418 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 420 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 427 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 510 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 521 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/drivers/net/ |
H A D | dc2114x.c | 368 tx_new = 0; in dc21x4x_init() 386 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 395 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 399 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 406 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 409 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 411 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 418 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 502 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 513 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot-sam460ex/drivers/net/ |
H A D | dc2114x.c | 377 tx_new = 0; in dc21x4x_init() 395 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 404 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 408 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 415 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 418 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 420 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 427 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 510 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 521 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot-sam460ex/drivers/net/ |
H A D | dc2114x.c | 377 tx_new = 0; in dc21x4x_init() 395 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 404 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 408 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 415 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 418 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 420 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 427 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 510 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 521 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/u-boot-sam460ex/drivers/net/ |
H A D | dc2114x.c | 377 tx_new = 0; in dc21x4x_init() 395 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 404 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 408 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 415 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 418 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 420 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 427 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 510 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 521 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot-sam460ex/drivers/net/ |
H A D | dc2114x.c | 377 tx_new = 0; in dc21x4x_init() 395 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 404 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 408 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 415 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 418 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 420 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 427 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 510 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 521 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot/drivers/net/ |
H A D | dc2114x.c | 368 tx_new = 0; in dc21x4x_init() 386 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 395 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 399 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 406 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 409 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 411 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 418 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 502 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 513 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot/drivers/net/ |
H A D | dc2114x.c | 368 tx_new = 0; in dc21x4x_init() 386 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 395 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 399 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 406 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 409 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 411 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 418 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 502 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 513 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/u-boot-sam460ex/drivers/net/ |
H A D | dc2114x.c | 377 tx_new = 0; in dc21x4x_init() 395 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 404 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 408 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 415 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 418 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 420 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 427 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 510 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 521 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/sysutils/u-boot-utilite/u-boot-2015.07/drivers/net/ |
H A D | dc2114x.c | 371 tx_new = 0; in dc21x4x_init() 389 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 398 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 402 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 409 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 412 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 414 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 421 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 505 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 516 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/u-boot/drivers/net/ |
H A D | dc2114x.c | 368 tx_new = 0; in dc21x4x_init() 386 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 395 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 399 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 406 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 409 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 411 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 418 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 502 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 513 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/u-boot-sam460ex/drivers/net/ |
H A D | dc2114x.c | 377 tx_new = 0; in dc21x4x_init() 395 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 404 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send() 408 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send() 415 if (le32_to_cpu(tx_ring[tx_new].status) & TD_ES) { in dc21x4x_send() 418 le32_to_cpu(tx_ring[tx_new].status)); in dc21x4x_send() 420 tx_ring[tx_new].status = 0x0; in dc21x4x_send() 427 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send() 510 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 521 if (le32_to_cpu(tx_ring[tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() [all …]
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/drivers/net/ |
H A D | dc2114x.c | 103 int tx_new; /* TX descriptor ring pointer */ member 306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame() 309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 321 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 323 le32_to_cpu(priv->tx_ring[priv->tx_new].status)); in send_setup_frame() 326 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common() 362 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) & TD_ES) { in dc21x4x_send_common() 363 priv->tx_ring[priv->tx_new].status = 0x0; in dc21x4x_send_common() 370 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in dc21x4x_send_common() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/net/ |
H A D | dc2114x.c | 103 int tx_new; /* TX descriptor ring pointer */ member 306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame() 309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 321 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 323 le32_to_cpu(priv->tx_ring[priv->tx_new].status)); in send_setup_frame() 326 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common() 362 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) & TD_ES) { in dc21x4x_send_common() 363 priv->tx_ring[priv->tx_new].status = 0x0; in dc21x4x_send_common() 370 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in dc21x4x_send_common() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2-emmc/u-boot-2021.07/drivers/net/ |
H A D | dc2114x.c | 103 int tx_new; /* TX descriptor ring pointer */ member 306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame() 309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 321 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 323 le32_to_cpu(priv->tx_ring[priv->tx_new].status)); in send_setup_frame() 326 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common() 362 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) & TD_ES) { in dc21x4x_send_common() 363 priv->tx_ring[priv->tx_new].status = 0x0; in dc21x4x_send_common() 370 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in dc21x4x_send_common() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/net/ |
H A D | dc2114x.c | 103 int tx_new; /* TX descriptor ring pointer */ member 306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame() 309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 321 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 323 le32_to_cpu(priv->tx_ring[priv->tx_new].status)); in send_setup_frame() 326 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common() 362 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) & TD_ES) { in dc21x4x_send_common() 363 priv->tx_ring[priv->tx_new].status = 0x0; in dc21x4x_send_common() 370 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in dc21x4x_send_common() [all …]
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/drivers/net/ |
H A D | dc2114x.c | 103 int tx_new; /* TX descriptor ring pointer */ member 306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame() 309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 321 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 323 le32_to_cpu(priv->tx_ring[priv->tx_new].status)); in send_setup_frame() 326 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common() 362 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) & TD_ES) { in dc21x4x_send_common() 363 priv->tx_ring[priv->tx_new].status = 0x0; in dc21x4x_send_common() 370 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in dc21x4x_send_common() [all …]
|
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/net/ |
H A D | dc2114x.c | 103 int tx_new; /* TX descriptor ring pointer */ member 306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame() 309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 321 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 323 le32_to_cpu(priv->tx_ring[priv->tx_new].status)); in send_setup_frame() 326 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common() 362 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) & TD_ES) { in dc21x4x_send_common() 363 priv->tx_ring[priv->tx_new].status = 0x0; in dc21x4x_send_common() 370 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in dc21x4x_send_common() [all …]
|
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/drivers/net/ |
H A D | dc2114x.c | 103 int tx_new; /* TX descriptor ring pointer */ member 306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame() 309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 321 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 323 le32_to_cpu(priv->tx_ring[priv->tx_new].status)); in send_setup_frame() 326 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common() 362 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) & TD_ES) { in dc21x4x_send_common() 363 priv->tx_ring[priv->tx_new].status = 0x0; in dc21x4x_send_common() 370 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in dc21x4x_send_common() [all …]
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/drivers/net/ |
H A D | dc2114x.c | 103 int tx_new; /* TX descriptor ring pointer */ member 306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame() 309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 321 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 323 le32_to_cpu(priv->tx_ring[priv->tx_new].status)); in send_setup_frame() 326 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common() 362 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) & TD_ES) { in dc21x4x_send_common() 363 priv->tx_ring[priv->tx_new].status = 0x0; in dc21x4x_send_common() 370 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in dc21x4x_send_common() [all …]
|
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/drivers/net/ |
H A D | dc2114x.c | 103 int tx_new; /* TX descriptor ring pointer */ member 306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame() 309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 321 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 323 le32_to_cpu(priv->tx_ring[priv->tx_new].status)); in send_setup_frame() 326 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common() 362 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) & TD_ES) { in dc21x4x_send_common() 363 priv->tx_ring[priv->tx_new].status = 0x0; in dc21x4x_send_common() 370 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in dc21x4x_send_common() [all …]
|
/dports/sysutils/u-boot-sopine/u-boot-2021.07/drivers/net/ |
H A D | dc2114x.c | 103 int tx_new; /* TX descriptor ring pointer */ member 306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame() 309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 321 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 323 le32_to_cpu(priv->tx_ring[priv->tx_new].status)); in send_setup_frame() 326 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common() 362 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) & TD_ES) { in dc21x4x_send_common() 363 priv->tx_ring[priv->tx_new].status = 0x0; in dc21x4x_send_common() 370 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in dc21x4x_send_common() [all …]
|
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/drivers/net/ |
H A D | dc2114x.c | 103 int tx_new; /* TX descriptor ring pointer */ member 306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame() 309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame() 321 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) != 0x7FFFFFFF) { in send_setup_frame() 323 le32_to_cpu(priv->tx_ring[priv->tx_new].status)); in send_setup_frame() 326 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in send_setup_frame() 350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common() 362 if (le32_to_cpu(priv->tx_ring[priv->tx_new].status) & TD_ES) { in dc21x4x_send_common() 363 priv->tx_ring[priv->tx_new].status = 0x0; in dc21x4x_send_common() 370 priv->tx_new = (priv->tx_new + 1) % NUM_TX_DESC; in dc21x4x_send_common() [all …]
|