Lines Matching refs:s32

28 static s32 CR_L2R_T2B = CR_BIAS_HORIZONTAL;
29 static s32 CR_R2L_T2B = CR_DIAGONAL_BALANCE;
34 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u8 align,
36 static s32 sita_reserve_1d(struct tcm *tcm, u32 slots, struct tcm_area *area);
37 static s32 sita_free(struct tcm *tcm, struct tcm_area *area);
43 static s32 scan_areas_and_find_fit(struct tcm *tcm, u16 w, u16 h, u16 align,
46 static s32 scan_l2r_t2b(struct tcm *tcm, u16 w, u16 h, u16 align,
49 static s32 scan_r2l_t2b(struct tcm *tcm, u16 w, u16 h, u16 align,
52 static s32 scan_r2l_b2t_one_dim(struct tcm *tcm, u32 num_slots,
58 static s32 is_area_free(struct tcm_area ***map, u16 x0, u16 y0, u16 w, u16 h);
60 static s32 update_candidate(struct tcm *tcm, u16 x0, u16 y0, u16 w, u16 h,
61 struct tcm_area *field, s32 criteria,
85 s32 i; in sita_init()
153 s32 i; in sita_deinit()
177 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, in sita_reserve_1d()
180 s32 ret; in sita_reserve_1d()
208 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u8 align, in sita_reserve_2d()
211 s32 ret; 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()
277 s32 x, y; in scan_r2l_t2b()
348 static s32 scan_l2r_t2b(struct tcm *tcm, u16 w, u16 h, u16 align, in scan_l2r_t2b()
351 s32 x, y; in scan_l2r_t2b()
424 static s32 scan_r2l_b2t_one_dim(struct tcm *tcm, u32 num_slots, in scan_r2l_b2t_one_dim()
427 s32 found = 0; 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()
505 s32 ret = 0; in scan_areas_and_find_fit()
559 static s32 is_area_free(struct tcm_area ***map, u16 x0, u16 y0, u16 w, u16 h) in is_area_free()
575 s32 x, y; in fill_area()
602 static s32 update_candidate(struct tcm *tcm, u16 x0, u16 y0, u16 w, u16 h, in update_candidate()
603 struct tcm_area *field, s32 criteria, in update_candidate()
662 nf->x = (s32)(area->p0.x - field->p0.x) * 1000 / in get_nearness_factor()
664 nf->y = (s32)(area->p0.y - field->p0.y) * 1000 / in get_nearness_factor()