Searched refs:tn40_rxdb (Results 1 – 2 of 2) sorted by relevance
75 struct tn40_rxdb { struct113 struct tn40_rxdb *rxdb0; /* Rx dbs to store skb pointers */
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()[all …]