Searched refs:virt_to_le32desc (Results 1 – 11 of 11) sorted by relevance
/external/syslinux/gpxe/src/drivers/net/ |
D | epic100.c | 17 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 257 outl(virt_to_le32desc(&rx_ring), prcdar); in epic100_open() 258 outl(virt_to_le32desc(&tx_ring), ptcdar); in epic100_open() 279 rx_ring[i].next = virt_to_le32desc(&rx_ring[i + 1]) ; in epic100_init_ring() 282 rx_ring[i-1].next = virt_to_le32desc(&rx_ring[0]); in epic100_init_ring() 293 tx_ring[i].next = virt_to_le32desc(&tx_ring[i + 1]); in epic100_init_ring() 295 tx_ring[i-1].next = virt_to_le32desc(&tx_ring[0]); in epic100_init_ring()
|
D | ns83820.c | 61 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 326 writel(virt_to_le32desc(&rx_ring[ns->cur_rx]), ns->base + RXDP); \ 503 rx_ring[i].link = virt_to_le32desc(&rx_ring[i + 1]); in ns83820_setup_rx() 505 virt_to_le32desc(&rxb[i * REAL_RX_BUF_SIZE]); in ns83820_setup_rx() 512 writel(virt_to_le32desc(&rx_ring[0]), ns->base + RXDP); in ns83820_setup_rx() 735 tx_ring[cur_tx].bufptr = virt_to_le32desc(&txb); in ns83820_transmit() 742 writel(virt_to_le32desc(&tx_ring[0]), ns->base + TXDP); in ns83820_transmit()
|
D | sundance.c | 59 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 329 rx_ring[i].next_desc = virt_to_le32desc(&rx_ring[i + 1]); in init_ring() 336 rx_ring[i - 1].next_desc = virt_to_le32desc(&rx_ring[0]); in init_ring() 339 rx_ring[i].addr = virt_to_le32desc(&rxb[i * PKT_BUF_SZ]); in init_ring() 369 outl(virt_to_le32desc(&rx_ring[0]), BASE + RxListPtr); in sundance_reset() 517 outl(virt_to_le32desc(&tx_ring[0]), BASE + TxListPtr); in sundance_transmit()
|
D | mtd80x.c | 38 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 388 mtdx.rx_ring[i].next_desc = virt_to_le32desc(&mtdx.rx_ring[i+1]); in init_ring() 390 mtdx.rx_ring[i].buffer = virt_to_le32desc(&rxb[i * PKT_BUF_SZ]); in init_ring() 394 mtdx.rx_ring[i-1].next_desc = virt_to_le32desc(&mtdx.rx_ring[0]); in init_ring() 402 mtdx.tx_ring[0].next_desc = virt_to_le32desc(&mtdx.tx_ring[1]); in init_ring() 407 mtdx.tx_ring[1].next_desc = virt_to_le32desc(&mtdx.tx_ring[0]); in init_ring()
|
D | tlan.c | 58 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 265 rx_ring[i].forward = virt_to_le32desc(&rx_ring[i + 1]); in TLan_ResetLists() 271 virt_to_le32desc(&rxb[i * TLAN_MAX_FRAME_SIZE]); in TLan_ResetLists() 277 rx_ring[i - 1].forward = virt_to_le32desc(&rx_ring[0]); in TLan_ResetLists() 648 outl(virt_to_le32desc(tail_list), BASE + TLAN_CH_PARM); in tlan_transmit() 654 virt_to_le32desc(tail_list); in tlan_transmit() 658 virt_to_le32desc(tail_list); in tlan_transmit() 686 outl(virt_to_le32desc(head_list), BASE + TLAN_CH_PARM); in tlan_transmit() 701 outl(virt_to_le32desc(head_list), BASE + TLAN_CH_PARM); in tlan_transmit()
|
D | w89c840.c | 90 #define virt_to_le32desc(addr) virt_to_bus(addr) macro 512 = virt_to_le32desc(w89c840_buf.tx_packet); in w89c840_transmit() 936 w840private.rx_ring[i].next_desc = virt_to_le32desc(&w840private.rx_ring[i+1]); in init_ring() 938 w840private.rx_ring[i].buffer1 = virt_to_le32desc(p + (PKT_BUF_SZ * i)); in init_ring() 944 w840private.rx_ring[i-1].next_desc = virt_to_le32desc(&w840private.rx_ring[0]); in init_ring()
|
D | tulip.c | 132 #define virt_to_le32desc(addr) virt_to_bus(addr) macro 929 rx_ring[i].buffer1 = virt_to_le32desc(&rxb[i * BUFLEN]); in tulip_init_ring() 930 rx_ring[i].buffer2 = virt_to_le32desc(&rx_ring[i+1]); in tulip_init_ring() 934 rx_ring[i-1].buffer2 = virt_to_le32desc(&rx_ring[0]); in tulip_init_ring() 940 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]); in tulip_init_ring() 941 tx_ring[0].buffer2 = virt_to_le32desc(&tx_ring[1]); in tulip_init_ring() 946 tx_ring[1].buffer1 = virt_to_le32desc(&txb[0]); in tulip_init_ring() 947 tx_ring[1].buffer2 = virt_to_le32desc(&tx_ring[0]); in tulip_init_ring() 1049 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]); in tulip_reset() 1054 outl(virt_to_le32desc(&rx_ring[0]), ioaddr + CSR3); in tulip_reset() [all …]
|
D | pcnet32.c | 66 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 387 virt_to_le32desc(&pcnet32_bufs.rxb[i]); in pcnet32_init_ring() 404 lp->init_block.rx_ring = virt_to_le32desc(&pcnet32_bufs.rx_ring[0]); in pcnet32_init_ring() 405 lp->init_block.tx_ring = virt_to_le32desc(&pcnet32_bufs.tx_ring[0]); in pcnet32_init_ring() 602 pcnet32_bufs.tx_ring[entry].base = (u32) virt_to_le32desc(ptxb); in pcnet32_transmit()
|
D | dmfe.c | 57 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 313 outl(virt_to_le32desc(&txd[0]), ioaddr + DCR4); /* TX DESC address */ in dmfe_init_dm910x() 316 outl(virt_to_le32desc(&rxd[0]), ioaddr + DCR3); /* RX DESC address */ in dmfe_init_dm910x() 520 outl(virt_to_le32desc(&txd[0]), ioaddr + DCR4); /* TX DESC address */ in dmfe_descriptor_init() 523 outl(virt_to_le32desc(&rxd[0]), ioaddr + DCR3); /* RX DESC address */ in dmfe_descriptor_init() 535 txd[i - 1].tdes3 = virt_to_le32desc(&txd[0]); in dmfe_descriptor_init()
|
D | forcedeth.c | 71 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 702 virt_to_le32desc(&rxb[i * RX_NIC_BUFSIZE]); in alloc_rx() 962 writel((u32) virt_to_le32desc(&rx_ring[0]), in forcedeth_reset() 964 writel((u32) virt_to_le32desc(&tx_ring[0]), in forcedeth_reset() 1145 tx_ring[nr].PacketBuffer = (u32) virt_to_le32desc(ptxb); in forcedeth_transmit()
|
D | via-velocity.c | 59 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 960 writel(virt_to_le32desc(vptr->rd_ring), ®s->RDBaseLo); in velocity_rx_reset() 1059 writel(virt_to_le32desc(vptr->rd_ring), ®s->RDBaseLo); in velocity_init_registers() 1067 writel(virt_to_le32desc(vptr->td_rings), in velocity_init_registers()
|