Searched refs:CALC_WORD (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/drivers/media/platform/qcom/camss/ |
D | camss-vfe-gen1.c | 706 #define CALC_WORD(width, M, N) (((width) * (M) + (N) - 1) / (N)) macro 717 val = CALC_WORD(width, 1, 8); in vfe_word_per_line() 723 val = CALC_WORD(width, 2, 8); in vfe_word_per_line()
|
D | camss-vfe-4-7.c | 339 #define CALC_WORD(width, M, N) (((width) * (M) + (N) - 1) / (N)) macro 350 val = CALC_WORD(pixel_per_line, 1, 8); in vfe_word_per_line_by_pixel() 356 val = CALC_WORD(pixel_per_line, 2, 8); in vfe_word_per_line_by_pixel() 365 return CALC_WORD(bytes_per_line, 1, 8); in vfe_word_per_line_by_bytes()
|
D | camss-vfe-4-8.c | 312 #define CALC_WORD(width, M, N) (((width) * (M) + (N) - 1) / (N)) macro 323 val = CALC_WORD(pixel_per_line, 1, 8); in vfe_word_per_line_by_pixel() 329 val = CALC_WORD(pixel_per_line, 2, 8); in vfe_word_per_line_by_pixel() 338 return CALC_WORD(bytes_per_line, 1, 8); in vfe_word_per_line_by_bytes()
|