Lines Matching refs:ring_entry
279 struct ring_entry { struct
301 #define ENTRIES_PER_RING (RING_BUF_SIZE / (int) sizeof(struct ring_entry)) argument
305 struct ring_entry entries[ENTRIES_PER_RING];
1496 struct ring_entry *entry; in do_ioc4_write()
1515 cons_ptr = (cons_ptr - (int) sizeof(struct ring_entry)) & PROD_CONS_MASK; in do_ioc4_write()
1523 entry = (struct ring_entry*) ((caddr_t)outring + prod_ptr); in do_ioc4_write()
1547 p->ip_tx_lowat * (int)sizeof(struct ring_entry)) { in do_ioc4_write()
1554 prod_ptr = (prod_ptr + (int) sizeof(struct ring_entry)) & PROD_CONS_MASK; in do_ioc4_write()
1724 (txcons + (int) sizeof(struct ring_entry)) & PROD_CONS_MASK); in ioc4_enable_tx()
1837 struct ring_entry *entry; in ioc4_read()
1839 entry = (struct ring_entry *) ((caddr_t)inring + cons_ptr); in ioc4_read()
1846 if ((((volatile struct ring_entry *) entry)->ring_allsc & in ioc4_read()
1900 (cons_ptr + (int) sizeof(struct ring_entry)) & in ioc4_read()
1983 cons_ptr = (cons_ptr + (int) sizeof(struct ring_entry)) & in ioc4_read()