Lines Matching defs:tcm
82 struct tcm *tcm; in sita_init() local
149 static void sita_deinit(struct tcm *tcm) in sita_deinit()
177 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, in sita_reserve_1d()
208 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u8 align, in sita_reserve_2d()
236 static s32 sita_free(struct tcm *tcm, struct tcm_area *area) in sita_free()
274 static s32 scan_r2l_t2b(struct tcm *tcm, u16 w, u16 h, u16 align, in scan_r2l_t2b()
348 static s32 scan_l2r_t2b(struct tcm *tcm, u16 w, u16 h, u16 align, in scan_l2r_t2b()
424 static s32 scan_r2l_b2t_one_dim(struct tcm *tcm, u32 num_slots, in scan_r2l_b2t_one_dim()
502 static s32 scan_areas_and_find_fit(struct tcm *tcm, u16 w, u16 h, u16 align, in scan_areas_and_find_fit()
572 static void fill_area(struct tcm *tcm, struct tcm_area *area, in fill_area()
602 static s32 update_candidate(struct tcm *tcm, u16 x0, u16 y0, u16 w, u16 h, in update_candidate()
669 static void get_neighbor_stats(struct tcm *tcm, struct tcm_area *area, in get_neighbor_stats()