Lines Matching refs:sram_piece
27 struct sram_piece { struct
31 struct sram_piece *next; argument
35 static DEFINE_PER_CPU(struct sram_piece, free_l1_ssram_head);
36 static DEFINE_PER_CPU(struct sram_piece, used_l1_ssram_head);
39 static DEFINE_PER_CPU(struct sram_piece, free_l1_data_A_sram_head);
40 static DEFINE_PER_CPU(struct sram_piece, used_l1_data_A_sram_head);
44 static DEFINE_PER_CPU(struct sram_piece, free_l1_data_B_sram_head);
45 static DEFINE_PER_CPU(struct sram_piece, used_l1_data_B_sram_head);
54 static DEFINE_PER_CPU(struct sram_piece, free_l1_inst_sram_head);
55 static DEFINE_PER_CPU(struct sram_piece, used_l1_inst_sram_head);
60 static struct sram_piece free_l2_sram_head, used_l2_sram_head;
256 sizeof(struct sram_piece), in bfin_sram_init()
269 static void *_sram_alloc(size_t size, struct sram_piece *pfree_head, in _sram_alloc()
270 struct sram_piece *pused_head) in _sram_alloc()
272 struct sram_piece *pslot, *plast, *pavail; in _sram_alloc()
326 static void *_sram_alloc_max(struct sram_piece *pfree_head, in _sram_alloc_max()
327 struct sram_piece *pused_head, in _sram_alloc_max()
330 struct sram_piece *pslot, *pmax; in _sram_alloc_max()
354 struct sram_piece *pfree_head, in _sram_free()
355 struct sram_piece *pused_head) in _sram_free()
357 struct sram_piece *pslot, *plast, *pavail; in _sram_free()
805 struct sram_piece *pfree_head, in _sram_proc_show()
806 struct sram_piece *pused_head) in _sram_proc_show()
808 struct sram_piece *pslot; in _sram_proc_show()