Home
last modified time | relevance | path

Searched refs:ptrs_block (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_bios.c310 static bool fixup_lfp_data_ptrs(const void *bdb, void *ptrs_block) in fixup_lfp_data_ptrs() argument
312 struct bdb_lvds_lfp_data_ptrs *ptrs = ptrs_block; in fixup_lfp_data_ptrs()
365 void *ptrs_block; in generate_lfp_data_ptrs() local
391 ptrs_block = kzalloc(sizeof(*ptrs) + 3, GFP_KERNEL); in generate_lfp_data_ptrs()
392 if (!ptrs_block) in generate_lfp_data_ptrs()
395 *(u8 *)(ptrs_block + 0) = BDB_LVDS_LFP_DATA_PTRS; in generate_lfp_data_ptrs()
396 *(u16 *)(ptrs_block + 1) = sizeof(*ptrs); in generate_lfp_data_ptrs()
397 ptrs = ptrs_block + 3; in generate_lfp_data_ptrs()
416 kfree(ptrs_block); in generate_lfp_data_ptrs()
446 return ptrs_block; in generate_lfp_data_ptrs()