Home
last modified time | relevance | path

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

/linux-6.15/drivers/bus/mhi/host/
H A Dboot.c336 img_info = kzalloc(sizeof(*img_info), GFP_KERNEL); in mhi_alloc_bhi_buffer()
337 if (!img_info) in mhi_alloc_bhi_buffer()
341 img_info->mhi_buf = kzalloc(sizeof(*img_info->mhi_buf), GFP_KERNEL); in mhi_alloc_bhi_buffer()
342 if (!img_info->mhi_buf) in mhi_alloc_bhi_buffer()
355 img_info->entries = 1; in mhi_alloc_bhi_buffer()
363 kfree(img_info); in mhi_alloc_bhi_buffer()
378 img_info = kzalloc(sizeof(*img_info), GFP_KERNEL); in mhi_alloc_bhie_table()
379 if (!img_info) in mhi_alloc_bhie_table()
383 img_info->mhi_buf = kcalloc(segments, sizeof(*img_info->mhi_buf), in mhi_alloc_bhie_table()
405 img_info->bhi_vec = img_info->mhi_buf[segments - 1].buf; in mhi_alloc_bhie_table()
[all …]
H A Dinternal.h391 struct image_info *img_info);
/linux-6.15/drivers/fpga/tests/
H A Dfpga-region-test.c120 struct fpga_image_info *img_info; in fpga_region_test_program_fpga() local
124 img_info = fpga_image_info_alloc(ctx->mgr_dev); in fpga_region_test_program_fpga()
125 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, img_info); in fpga_region_test_program_fpga()
127 ret = kunit_add_action_or_reset(test, fpga_image_info_free_wrapper, img_info); in fpga_region_test_program_fpga()
130 img_info->buf = img_buf; in fpga_region_test_program_fpga()
131 img_info->count = sizeof(img_buf); in fpga_region_test_program_fpga()
133 ctx->region->info = img_info; in fpga_region_test_program_fpga()
H A Dfpga-mgr-test.c41 struct fpga_image_info *img_info; member
236 ctx->img_info->count = IMAGE_SIZE; in fpga_mgr_test_img_load_buf()
237 ctx->img_info->buf = img_buf; in fpga_mgr_test_img_load_buf()
239 ret = fpga_mgr_load(ctx->mgr, ctx->img_info); in fpga_mgr_test_img_load_buf()
273 ctx->img_info->sgt = sgt; in fpga_mgr_test_img_load_sgt()
275 ret = fpga_mgr_load(ctx->mgr, ctx->img_info); in fpga_mgr_test_img_load_sgt()
306 ctx->img_info = fpga_image_info_alloc(ctx->dev); in fpga_mgr_test_init()
307 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx->img_info); in fpga_mgr_test_init()
309 ret = kunit_add_action_or_reset(test, fpga_image_info_free_wrapper, ctx->img_info); in fpga_mgr_test_init()