Lines Matching refs:bd
250 bd = bufdesc.from_address(addr_rxdesc + ctypes.sizeof(bufdesc) * i)
251 bd.buffer = busaddr + (addr_rxbufs - cpuaddr) + bufsize * i
252 bd.flags = (1 << 31) | (15 << 12) | (-bufsize & 0xfff)
253 bd.length = 0
254 bd._pad_ = 0
257 bd = bufdesc.from_address(addr_txdesc + ctypes.sizeof(bufdesc) * i)
258 bd.buffer = busaddr + (addr_txbufs - cpuaddr) + bufsize * i
259 bd.flags = (15 << 12)
260 bd.length = 0
261 bd._pad_ = 0
308 bd = bufdesc.from_address(addr_txdesc)
309 bd.length = 0
310 bd.flags = (1 << 31) | (1 << 25) | (1 << 24) | (0xf << 12) | (-pktlen & 0xfff)
329 bd = bufdesc.from_address(addr_rxdesc + ctypes.sizeof(bufdesc) * i)
330 if (bd.flags & 0x80000000):
334 logging.debug('RX #%d: broadcast packet: length %u' % (i, bd.length))