Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_fw_meta.c111 struct rogue_meta_ldr_l2_data_blk *l2_block = in meta_ldr_cmd_loadmem() local
121 if (((u8 *)l2_block - fw) >= fw_size || ((u8 *)(l2_block + 1) - fw) >= fw_size) in meta_ldr_cmd_loadmem()
124 data_size = l2_block->length - 6 /* L2 Tag length and checksum */; in meta_ldr_cmd_loadmem()
127 if (((u8 *)l2_block->block_data - fw) >= fw_size || in meta_ldr_cmd_loadmem()
128 ((((u8 *)l2_block->block_data) + data_size) - fw) >= fw_size) in meta_ldr_cmd_loadmem()
146 memcpy(write_addr, l2_block->block_data, data_size); in meta_ldr_cmd_loadmem()
189 struct rogue_meta_ldr_l2_data_blk *l2_block = in meta_ldr_cmd_config() local
198 if (((u8 *)l2_block - fw) >= fw_size || ((u8 *)(l2_block + 1) - fw) >= fw_size) in meta_ldr_cmd_config()
201 l2_block_size = l2_block->length - 6 /* L2 Tag length and checksum */; in meta_ldr_cmd_config()
202 config_command = (struct rogue_meta_ldr_cfg_blk *)l2_block->block_data; in meta_ldr_cmd_config()