Searched refs:virt_to_le32desc (Results 1 – 10 of 10) sorted by relevance
/titanic_50/usr/src/grub/grub-0.97/netboot/ |
H A D | epic100.c | 14 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 250 outl(virt_to_le32desc(&rx_ring), prcdar); in epic100_open() 251 outl(virt_to_le32desc(&tx_ring), ptcdar); in epic100_open() 272 rx_ring[i].next = virt_to_le32desc(&rx_ring[i + 1]) ; in epic100_init_ring() 275 rx_ring[i-1].next = virt_to_le32desc(&rx_ring[0]); in epic100_init_ring() 286 tx_ring[i].next = virt_to_le32desc(&tx_ring[i + 1]); in epic100_init_ring() 288 tx_ring[i-1].next = virt_to_le32desc(&tx_ring[0]); in epic100_init_ring()
|
H A D | ns83820.c | 66 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 331 writel(virt_to_le32desc(&rx_ring[ns->cur_rx]), ns->base + RXDP); \ 514 rx_ring[i].link = virt_to_le32desc(&rx_ring[i + 1]); in ns83820_setup_rx() 516 virt_to_le32desc(&rxb[i * REAL_RX_BUF_SIZE]); in ns83820_setup_rx() 523 writel(virt_to_le32desc(&rx_ring[0]), ns->base + RXDP); in ns83820_setup_rx() 745 tx_ring[cur_tx].bufptr = virt_to_le32desc(&txb); in ns83820_transmit() 752 writel(virt_to_le32desc(&tx_ring[0]), ns->base + TXDP); in ns83820_transmit()
|
H A D | sundance.c | 65 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 354 rx_ring[i].next_desc = virt_to_le32desc(&rx_ring[i + 1]); in init_ring() 361 rx_ring[i - 1].next_desc = virt_to_le32desc(&rx_ring[0]); in init_ring() 364 rx_ring[i].addr = virt_to_le32desc(&rxb[i * PKT_BUF_SZ]); in init_ring() 394 outl(virt_to_le32desc(&rx_ring[0]), BASE + RxListPtr); in sundance_reset() 542 outl(virt_to_le32desc(&tx_ring[0]), BASE + TxListPtr); in sundance_transmit()
|
H A D | w89c840.c | 95 #define virt_to_le32desc(addr) virt_to_bus(addr) macro 513 w840private.tx_ring[entry].buffer1 = virt_to_le32desc(tx_packet); in w89c840_transmit() 924 w840private.rx_ring[i].next_desc = virt_to_le32desc(&w840private.rx_ring[i+1]); in init_ring() 926 w840private.rx_ring[i].buffer1 = virt_to_le32desc(p + (PKT_BUF_SZ * i)); in init_ring() 932 w840private.rx_ring[i-1].next_desc = virt_to_le32desc(&w840private.rx_ring[0]); in init_ring()
|
H A D | tlan.c | 71 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 299 rx_ring[i].forward = virt_to_le32desc(&rx_ring[i + 1]); in TLan_ResetLists() 305 virt_to_le32desc(&rxb[i * TLAN_MAX_FRAME_SIZE]); in TLan_ResetLists() 311 rx_ring[i - 1].forward = virt_to_le32desc(&rx_ring[0]); in TLan_ResetLists() 698 outl(virt_to_le32desc(tail_list), BASE + TLAN_CH_PARM); in tlan_transmit() 706 virt_to_le32desc(tail_list); in tlan_transmit() 712 virt_to_le32desc(tail_list); in tlan_transmit() 743 outl(virt_to_le32desc(head_list), BASE + TLAN_CH_PARM); in tlan_transmit() 758 outl(virt_to_le32desc(head_list), BASE + TLAN_CH_PARM); in tlan_transmit()
|
H A D | tulip.c | 132 #define virt_to_le32desc(addr) virt_to_bus(addr) macro 910 rx_ring[i].buffer1 = virt_to_le32desc(&rxb[i * BUFLEN]); in tulip_init_ring() 911 rx_ring[i].buffer2 = virt_to_le32desc(&rx_ring[i+1]); in tulip_init_ring() 915 rx_ring[i-1].buffer2 = virt_to_le32desc(&rx_ring[0]); in tulip_init_ring() 921 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]); in tulip_init_ring() 922 tx_ring[0].buffer2 = virt_to_le32desc(&tx_ring[1]); in tulip_init_ring() 927 tx_ring[1].buffer1 = virt_to_le32desc(&txb[0]); in tulip_init_ring() 928 tx_ring[1].buffer2 = virt_to_le32desc(&tx_ring[0]); in tulip_init_ring() 1029 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]); in tulip_reset() 1034 outl(virt_to_le32desc(&rx_ring[0]), ioaddr + CSR3); in tulip_reset() [all …]
|
H A D | forcedeth.c | 71 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 531 virt_to_le32desc(&rxb[i * RX_NIC_BUFSIZE]); in alloc_rx() 742 writel((u32) virt_to_le32desc(&rx_ring[0]), in forcedeth_reset() 744 writel((u32) virt_to_le32desc(&tx_ring[0]), in forcedeth_reset() 863 tx_ring[nr].PacketBuffer = (u32) virt_to_le32desc(ptxb); in forcedeth_transmit()
|
H A D | pcnet32.c | 73 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 412 rx_ring[i].base = (u32) virt_to_le32desc(&rxb[i]); in pcnet32_init_ring() 429 lp->init_block.rx_ring = (u32) virt_to_le32desc(&rx_ring[0]); in pcnet32_init_ring() 430 lp->init_block.tx_ring = (u32) virt_to_le32desc(&tx_ring[0]); in pcnet32_init_ring() 610 tx_ring[entry].base = (u32) virt_to_le32desc(ptxb); in pcnet32_transmit()
|
H A D | r8169.c | 73 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) macro 599 RTL_W32(TxDescStartAddr, virt_to_le32desc(tpc->TxDescArray)); in rtl8169_hw_start() 600 RTL_W32(RxDescStartAddr, virt_to_le32desc(tpc->RxDescArray)); in rtl8169_hw_start()
|
H A D | natsemi.c | 86 #define virt_to_le32desc(addr) virt_to_bus(addr) macro
|