Home
last modified time | relevance | path

Searched refs:CALC_WORD (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/
H A Dcamss-vfe-gen1.c706 #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()
H A Dcamss-vfe-4-7.c341 #define CALC_WORD(width, M, N) (((width) * (M) + (N) - 1) / (N)) macro
352 val = CALC_WORD(pixel_per_line, 1, 8); in vfe_word_per_line_by_pixel()
358 val = CALC_WORD(pixel_per_line, 2, 8); in vfe_word_per_line_by_pixel()
367 return CALC_WORD(bytes_per_line, 1, 8); in vfe_word_per_line_by_bytes()
H A Dcamss-vfe-4-8.c314 #define CALC_WORD(width, M, N) (((width) * (M) + (N) - 1) / (N)) macro
325 val = CALC_WORD(pixel_per_line, 1, 8); in vfe_word_per_line_by_pixel()
331 val = CALC_WORD(pixel_per_line, 2, 8); in vfe_word_per_line_by_pixel()
340 return CALC_WORD(bytes_per_line, 1, 8); in vfe_word_per_line_by_bytes()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
H A Dcamss-vfe-4-7.c322 #define CALC_WORD(width, M, N) (((width) * (M) + (N) - 1) / (N)) macro
333 val = CALC_WORD(pixel_per_line, 1, 8); in vfe_word_per_line_by_pixel()
339 val = CALC_WORD(pixel_per_line, 2, 8); in vfe_word_per_line_by_pixel()
348 return CALC_WORD(bytes_per_line, 1, 8); in vfe_word_per_line_by_bytes()
H A Dcamss-vfe-4-1.c286 #define CALC_WORD(width, M, N) (((width) * (M) + (N) - 1) / (N)) macro
297 val = CALC_WORD(pixel_per_line, 1, 8); in vfe_word_per_line()
303 val = CALC_WORD(pixel_per_line, 2, 8); in vfe_word_per_line()

Completed in 10 milliseconds