Searched refs:cursor_size (Results 1 – 8 of 8) sorted by relevance
37 if (dsize + sizeof(struct fb_image) != ops->cursor_size) { in soft_cursor() 39 ops->cursor_size = dsize + sizeof(struct fb_image); in soft_cursor() 41 ops->cursor_src = kmalloc(ops->cursor_size, GFP_ATOMIC); in soft_cursor() 43 ops->cursor_size = 0; in soft_cursor()
87 u32 cursor_size; member
120 uint32_t cursor_size = cursor_width * cursor_height; in hubp32_cursor_set_attributes() local 147 cursor_size /= 2; in hubp32_cursor_set_attributes() 152 cursor_size *= 4; in hubp32_cursor_set_attributes() 158 cursor_size *= 8; in hubp32_cursor_set_attributes() 162 if (cursor_size > 16384) in hubp32_cursor_set_attributes()
45 uint32_t cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_helper_calculate_mall_bytes_for_cursor() local 50 cursor_size /= 2; in dcn32_helper_calculate_mall_bytes_for_cursor() 55 cursor_size *= 4; in dcn32_helper_calculate_mall_bytes_for_cursor() 60 cursor_size *= 8; in dcn32_helper_calculate_mall_bytes_for_cursor() 68 cursor_size > 16384)) { in dcn32_helper_calculate_mall_bytes_for_cursor() 72 cursor_mall_size_bytes = ((cursor_size + DCN3_2_MALL_MBLK_SIZE_BYTES - 1) / in dcn32_helper_calculate_mall_bytes_for_cursor()
159 enum lsdc_cursor_size cursor_size,
676 int cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height; in dcn32_update_mall_sel() local 680 cursor_size /= 2; in dcn32_update_mall_sel() 685 cursor_size *= 4; in dcn32_update_mall_sel() 691 cursor_size *= 8; in dcn32_update_mall_sel() 695 if (cursor_size > 16384) in dcn32_update_mall_sel()
1424 u16 cursor_size; in skl_crtc_allocate_plane_ddb() local 1445 cursor_size = skl_cursor_allocation(crtc_state, num_active); in skl_crtc_allocate_plane_ddb() 1446 iter.size -= cursor_size; in skl_crtc_allocate_plane_ddb() 1448 alloc->end - cursor_size, alloc->end); in skl_crtc_allocate_plane_ddb()
1189 u8 cursor_size) in rtw89_regd_entcpy() argument 1198 u8 valid_size = min_t(u8, sizeof(entry), cursor_size); in rtw89_regd_entcpy()