Lines Matching refs:desc_offset
107 static inline u16 desc_offset(port_t *port, u16 desc, int transmit)
119 + desc_offset(port, desc, transmit));
122 + desc_offset(port, desc, transmit));
172 u16 chain_off = desc_offset(port, i + 1, transmit);
190 sca_outw(desc_offset(port, 0, transmit), dmac + CDAL, card);
192 sca_outw(desc_offset(port, buffs - 1, transmit),
195 sca_outw(desc_offset(port, 0, transmit), dmac + EDAL,
308 u32 desc_off = desc_offset(port, port->rxin, 0);
362 u32 desc_off = desc_offset(port, port->txlast, 1);
663 sca_outw(desc_offset(port, port->txin, 1),