Lines Matching +full:0 +full:xfff

23 #define GELIC_DEVICE_ID 0
31 #define GELIC_DESCR_DMA_STAT_MASK 0xf0000000
32 #define GELIC_DESCR_DMA_CARDOWNED 0xa0000000
34 #define GELIC_DESCR_TX_DMA_IKE 0x00080000
35 #define GELIC_DESCR_TX_DMA_NO_CHKSUM 0x00000000
36 #define GELIC_DESCR_TX_DMA_FRAME_TAIL 0x00040000
77 u64 real_addr = ((u64)start) & 0x0fffffffffffffffUL; in map_dma_mem()
79 u64 map_start = real_addr & ~0xfff; in map_dma_mem()
80 u64 map_end = (real_end + 0xfff) & ~0xfff; in map_dma_mem()
81 u64 bus_addr = 0; in map_dma_mem()
83 u64 flags = 0xf800000000000000UL; in map_dma_mem()
86 map_end - map_start, 12, 0, in map_dma_mem()
89 lv1_panic(0); in map_dma_mem()
95 lv1_panic(0); in map_dma_mem()
105 real_bus_addr = bus_addr & ~0xfff; in unmap_dma_mem()
107 len = (len + 0xfff) & ~0xfff; in unmap_dma_mem()
124 result = lv1_open_device(GELIC_BUS_ID, GELIC_DEVICE_ID, 0); in gelic_debug_init()
126 lv1_panic(0); in gelic_debug_init()
131 memset(&dbg, 0, sizeof(dbg)); in gelic_debug_init()
138 GELIC_LV1_GET_MAC_ADDRESS, 0, 0, 0, in gelic_debug_init()
141 lv1_panic(0); in gelic_debug_init()
154 GELIC_LV1_VLAN_TX_ETHERNET_0, 0, 0, in gelic_debug_init()
165 h_eth->h_proto= 0x0800; in gelic_debug_init()
173 h_ip->protocol = 0x11; in gelic_debug_init()
174 h_ip->saddr = 0x00000000; in gelic_debug_init()
175 h_ip->daddr = 0xffffffff; in gelic_debug_init()
204 h_ip->check = 0; in gelic_sendbuf()
205 sum = 0; in gelic_sendbuf()
207 for (i = 0; i < 5; i++) in gelic_sendbuf()
213 dbg.descr.result_size = 0; in gelic_sendbuf()
214 dbg.descr.data_status = 0; in gelic_sendbuf()
218 lv1_net_start_tx_dma(GELIC_BUS_ID, GELIC_DEVICE_ID, bus_addr, 0); in gelic_sendbuf()