Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/bus/mhi/host/
Dboot.c23 struct image_info *img_info) in mhi_rddm_prepare() argument
25 struct mhi_buf *mhi_buf = img_info->mhi_buf; in mhi_rddm_prepare()
26 struct bhi_vec_entry *bhi_vec = img_info->bhi_vec; in mhi_rddm_prepare()
33 for (i = 0; i < img_info->entries - 1; i++, mhi_buf++, bhi_vec++) { in mhi_rddm_prepare()
320 struct image_info *img_info; in mhi_alloc_bhie_table() local
323 img_info = kzalloc(sizeof(*img_info), GFP_KERNEL); in mhi_alloc_bhie_table()
324 if (!img_info) in mhi_alloc_bhie_table()
328 img_info->mhi_buf = kcalloc(segments, sizeof(*img_info->mhi_buf), in mhi_alloc_bhie_table()
330 if (!img_info->mhi_buf) in mhi_alloc_bhie_table()
334 mhi_buf = img_info->mhi_buf; in mhi_alloc_bhie_table()
[all …]
Dinternal.h384 struct image_info *img_info);
/linux-6.12.1/drivers/fpga/tests/
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()
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()