Lines Matching refs:img_info
23 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()
350 img_info->bhi_vec = img_info->mhi_buf[segments - 1].buf; in mhi_alloc_bhie_table()
351 img_info->entries = segments; in mhi_alloc_bhie_table()
352 *image_info = img_info; in mhi_alloc_bhie_table()
362 kfree(img_info); in mhi_alloc_bhie_table()
369 struct image_info *img_info) in mhi_firmware_copy() argument
372 struct mhi_buf *mhi_buf = img_info->mhi_buf; in mhi_firmware_copy()
373 struct bhi_vec_entry *bhi_vec = img_info->bhi_vec; in mhi_firmware_copy()