Lines Matching refs:tn40_rxdb
69 static struct tn40_rxdb *tn40_rxdb_alloc(int nelem) in tn40_rxdb_alloc()
71 size_t size = sizeof(struct tn40_rxdb) + (nelem * sizeof(int)) + in tn40_rxdb_alloc()
73 struct tn40_rxdb *db; in tn40_rxdb_alloc()
89 static void tn40_rxdb_free(struct tn40_rxdb *db) in tn40_rxdb_free()
94 static int tn40_rxdb_alloc_elem(struct tn40_rxdb *db) in tn40_rxdb_alloc_elem()
99 static void *tn40_rxdb_addr_elem(struct tn40_rxdb *db, unsigned int n) in tn40_rxdb_addr_elem()
104 static int tn40_rxdb_available(struct tn40_rxdb *db) in tn40_rxdb_available()
109 static void tn40_rxdb_free_elem(struct tn40_rxdb *db, unsigned int n) in tn40_rxdb_free_elem()
178 struct tn40_rxdb *db = priv->rxdb0; in tn40_rx_free_buffers()
243 struct tn40_rxdb *db = priv->rxdb0; in tn40_rx_alloc_buffers()
289 struct tn40_rxdb *db = NULL; in tn40_rx_receive()