| /linux/arch/x86/kernel/ |
| H A D | machine_kexec_32.c | 43 static void machine_kexec_free_page_tables(struct kimage *image) in machine_kexec_free_page_tables() argument 45 free_pages((unsigned long)image->arch.pgd, pgd_allocation_order()); in machine_kexec_free_page_tables() 46 image->arch.pgd = NULL; in machine_kexec_free_page_tables() 48 free_page((unsigned long)image->arch.pmd0); in machine_kexec_free_page_tables() 49 image->arch.pmd0 = NULL; in machine_kexec_free_page_tables() 50 free_page((unsigned long)image->arch.pmd1); in machine_kexec_free_page_tables() 51 image->arch.pmd1 = NULL; in machine_kexec_free_page_tables() 53 free_page((unsigned long)image->arch.pte0); in machine_kexec_free_page_tables() 54 image->arch.pte0 = NULL; in machine_kexec_free_page_tables() 55 free_page((unsigned long)image->arch.pte1); in machine_kexec_free_page_tables() [all …]
|
| /linux/arch/riscv/ |
| H A D | Makefile | 141 boot-image-y := Image 142 boot-image-$(CONFIG_KERNEL_BZIP2) := Image.bz2 143 boot-image-$(CONFIG_KERNEL_GZIP) := Image.gz 144 boot-image-$(CONFIG_KERNEL_LZ4) := Image.lz4 145 boot-image-$(CONFIG_KERNEL_LZMA) := Image.lzma 146 boot-image-$(CONFIG_KERNEL_LZO) := Image.lzo 147 boot-image-$(CONFIG_KERNEL_ZSTD) := Image.zst 148 boot-image-$(CONFIG_KERNEL_XZ) := Image.xz 150 boot-image-$(CONFIG_SOC_CANAAN_K210) := loader.bin 152 boot-image-$(CONFIG_EFI_ZBOOT) := vmlinuz.efi [all …]
|
| /linux/arch/arm64/boot/ |
| H A D | Makefile | 19 targets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo \ 20 Image.zst Image.xz image.fit 22 $(obj)/Image: vmlinux FORCE 25 $(obj)/Image.bz2: $(obj)/Image FORCE 28 $(obj)/Image.gz: $(obj)/Image FORCE 31 $(obj)/Image.lz4: $(obj)/Image FORCE 34 $(obj)/Image.lzma: $(obj)/Image FORCE 37 $(obj)/Image.lzo: $(obj)/Image FORCE 40 $(obj)/Image.zst: $(obj)/Image FORCE 43 $(obj)/Image.xz: $(obj)/Image FORCE [all …]
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fb_logo.c | 211 struct fb_image *image, int rotate) in fb_rotate_logo() argument 216 fb_rotate_logo_ud(image->data, dst, image->width, in fb_rotate_logo() 217 image->height); in fb_rotate_logo() 218 image->dx = info->var.xres - image->width - image->dx; in fb_rotate_logo() 219 image->dy = info->var.yres - image->height - image->dy; in fb_rotate_logo() 221 fb_rotate_logo_cw(image->data, dst, image->width, in fb_rotate_logo() 222 image->height); in fb_rotate_logo() 223 swap(image->width, image->height); in fb_rotate_logo() 224 tmp = image->dy; in fb_rotate_logo() 225 image->dy = image->dx; in fb_rotate_logo() [all …]
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | opal-flash.c | 27 /* Validate image status values */ 28 #define VALIDATE_IMG_READY -1001 /* Image ready for validation */ 31 /* Manage image status values */ 34 /* Flash image status values */ 36 #define FLASH_INVALID_IMG -1003 /* Flash image shorter than expected */ 41 #define FLASH_REJECT_TMP_SIDE 0 /* Reject temporary fw image */ 42 #define FLASH_COMMIT_TMP_SIDE 1 /* Commit temporary fw image */ 48 /* Validate image update result tokens */ 51 #define VALIDATE_INVALID_IMG 2 /* Candidate image is not valid */ 55 * image, and the new image is downlevel from current image [all …]
|
| /linux/kernel/ |
| H A D | kexec.c | 28 struct kimage *image; in kimage_alloc_init() local 41 image = do_kimage_alloc_init(); in kimage_alloc_init() 42 if (!image) in kimage_alloc_init() 45 image->start = entry; in kimage_alloc_init() 46 image->nr_segments = nr_segments; in kimage_alloc_init() 47 memcpy(image->segment, segments, nr_segments * sizeof(*segments)); in kimage_alloc_init() 52 image->control_page = crashk_res.start; in kimage_alloc_init() 53 image->type = KEXEC_TYPE_CRASH; in kimage_alloc_init() 57 ret = sanity_check_segment_list(image); in kimage_alloc_init() 67 image->control_code_page = kimage_alloc_control_pages(image, in kimage_alloc_init() [all …]
|
| /linux/arch/riscv/boot/ |
| H A D | Makefile | 21 targets := Image Image.* loader loader.o loader.lds loader.bin xipImage 23 $(obj)/Image: vmlinux FORCE 26 $(obj)/Image.gz: $(obj)/Image FORCE 29 $(obj)/loader.o: $(src)/loader.S $(obj)/Image 31 $(obj)/loader: $(obj)/loader.o $(obj)/Image $(obj)/loader.lds FORCE 34 $(obj)/Image.bz2: $(obj)/Image FORCE 37 $(obj)/Image.lz4: $(obj)/Image FORCE 40 $(obj)/Image.lzma: $(obj)/Image FORCE 43 $(obj)/Image.lzo: $(obj)/Image FORCE 46 $(obj)/Image.zst: $(obj)/Image FORCE [all …]
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_image.c | 37 struct qxl_drm_image *image, in qxl_allocate_chunk() argument 53 list_add_tail(&chunk->head, &image->chunk_list); in qxl_allocate_chunk() 63 struct qxl_drm_image *image; in qxl_image_alloc_objects() local 66 image = kmalloc_obj(struct qxl_drm_image); in qxl_image_alloc_objects() 67 if (!image) in qxl_image_alloc_objects() 70 INIT_LIST_HEAD(&image->chunk_list); in qxl_image_alloc_objects() 72 ret = qxl_alloc_bo_reserved(qdev, release, sizeof(struct qxl_image), &image->bo); in qxl_image_alloc_objects() 74 kfree(image); in qxl_image_alloc_objects() 78 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); in qxl_image_alloc_objects() 80 qxl_bo_unref(&image->bo); in qxl_image_alloc_objects() [all …]
|
| /linux/Documentation/arch/powerpc/ |
| H A D | bootwrapper.rst | 7 PowerPC image targets compresses and wraps the kernel image (vmlinux) with 10 be adaptable for each kind of image that needs to be built. 13 Makefile in that directory has targets for all the available image types. 14 The different image types are used to support all of the various firmware 19 firmware interface requires a different image format. 23 image. The details of the build system is discussed in the next section. 24 Currently, the following image format targets exist: 29 tree). This image embeds a device tree blob inside 30 the image. The boot wrapper, kernel and device tree 48 inside the image instead of provided by firmware. The [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| H A D | image.c | 25 #include <subdev/bios/image.h> 30 nvbios_imagen(struct nvkm_bios *bios, struct nvbios_image *image) in nvbios_imagen() argument 39 switch ((data = nvbios_rd16(bios, image->base + 0x00))) { in nvbios_imagen() 46 image->base, data); in nvbios_imagen() 50 if (!(data = nvbios_pcirTp(bios, image->base, &ver, &hdr, &pcir))) in nvbios_imagen() 52 image->size = pcir.image_size; in nvbios_imagen() 53 image->type = pcir.image_type; in nvbios_imagen() 54 image->last = pcir.last; in nvbios_imagen() 56 if (image->type != 0x70) { in nvbios_imagen() 57 if (!(data = nvbios_npdeTp(bios, image->base, &npde))) in nvbios_imagen() [all …]
|
| /linux/arch/powerpc/kexec/ |
| H A D | file_load_64.c | 52 int arch_check_excluded_range(struct kimage *image, unsigned long start, in arch_check_excluded_range() argument 58 emem = image->arch.exclude_ranges; in arch_check_excluded_range() 339 * @image: Kexec image. 344 static int load_backup_segment(struct kimage *image, struct kexec_buf *kbuf) in load_backup_segment() argument 372 image->arch.backup_buf = buf; in load_backup_segment() 373 image->arch.backup_start = kbuf->mem; in load_backup_segment() 397 * @image: Kexec image. 402 static int load_elfcorehdr_segment(struct kimage *image, struct kexec_buf *kbuf) in load_elfcorehdr_segment() argument 421 sync_backup_region_phdr(image, headers, false); in load_elfcorehdr_segment() 440 image->elf_load_addr = kbuf->mem; in load_elfcorehdr_segment() [all …]
|
| /linux/include/video/ |
| H A D | imx-ipu-image-convert.h | 5 * i.MX Queued image conversion support, with tiling and rotation. 15 * struct ipu_image_convert_run - image conversion run request struct 18 * @in_phys: dma addr of input image buffer for this run 19 * @out_phys: dma addr of output image buffer for this run 31 /* internal to image converter, callers don't touch */ 47 * @in: input image format, adjusted on return 48 * @out: output image format, adjusted on return 57 * ipu_image_convert_verify() - verify that input/output image formats 60 * @in: input image format 61 * @out: output image forma [all...] |
| /linux/arch/riscv/kernel/ |
| H A D | machine_kexec.c | 25 * provided us with an image to be loaded. Its goal is to validate 26 * the image and prepare the control code buffer as needed. 31 machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 33 struct kimage_arch *internal = &image->arch; in machine_kexec_prepare() 40 for (i = 0; i < image->nr_segments; i++) { in machine_kexec_prepare() 41 if (image->segment[i].memsz <= sizeof(fdt)) in machine_kexec_prepare() 44 if (image->file_mode) in machine_kexec_prepare() 45 memcpy(&fdt, image->segment[i].buf, sizeof(fdt)); in machine_kexec_prepare() 46 else if (copy_from_user(&fdt, image->segment[i].buf, sizeof(fdt))) in machine_kexec_prepare() 52 internal->fdt_addr = (unsigned long) image->segment[i].mem; in machine_kexec_prepare() [all …]
|
| /linux/arch/powerpc/boot/dts/fsl/ |
| H A D | c293pcie.dts | 83 /* 1MB for DTB Image */ 85 label = "NOR DTB Image"; 89 /* 8 MB for Linux Kernel Image */ 91 label = "NOR Linux Kernel Image"; 97 label = "NOR Rootfs Image"; 107 /* 512KB for u-boot Bootloader Image and evn */ 109 label = "NOR U-Boot Image"; 122 /* 1MB for u-boot Bootloader Image */ 124 label = "NAND U-Boot Image"; 129 /* 1MB for DTB Image */ [all …]
|
| H A D | p1024rdb.dtsi | 53 /* 256KB for DTB Image */ 55 label = "NOR DTB Image"; 59 /* 3.5 MB for Linux Kernel Image */ 61 label = "NOR Linux Kernel Image"; 72 /* 512KB for u-boot Bootloader Image */ 75 label = "NOR U-Boot Image"; 89 /* 1MB for u-boot Bootloader Image */ 91 label = "NAND U-Boot Image"; 96 /* 1MB for DTB Image */ 98 label = "NAND DTB Image"; [all …]
|
| H A D | p2020rdb-pc.dtsi | 53 /* 256KB for DTB Image */ 55 label = "NOR DTB Image"; 59 /* 3.5 MB for Linux Kernel Image */ 61 label = "NOR Linux Kernel Image"; 72 /* 512KB for u-boot Bootloader Image */ 75 label = "NOR U-Boot Image"; 89 /* 1MB for u-boot Bootloader Image */ 91 label = "NAND U-Boot Image"; 96 /* 1MB for DTB Image */ 98 label = "NAND DTB Image"; [all …]
|
| H A D | p2020rdb.dts | 53 /* 256KB for DTB Image */ 55 label = "NOR (RO) DTB Image"; 60 /* 3.5 MB for Linux Kernel Image */ 62 label = "NOR (RO) Linux Kernel Image"; 74 /* 512KB for u-boot Bootloader Image */ 77 label = "NOR (RO) U-Boot Image"; 91 /* 1MB for u-boot Bootloader Image */ 93 label = "NAND (RO) U-Boot Image"; 98 /* 1MB for DTB Image */ 100 label = "NAND (RO) DTB Image"; [all …]
|
| /linux/arch/loongarch/kernel/ |
| H A D | machine_kexec_file.c | 29 int arch_kimage_file_post_load_cleanup(struct kimage *image) in arch_kimage_file_post_load_cleanup() argument 31 vfree(image->elf_headers); in arch_kimage_file_post_load_cleanup() 32 image->elf_headers = NULL; in arch_kimage_file_post_load_cleanup() 33 image->elf_headers_sz = 0; in arch_kimage_file_post_load_cleanup() 35 return kexec_image_post_load_cleanup_default(image); in arch_kimage_file_post_load_cleanup() 48 static void cmdline_add_initrd(struct kimage *image, unsigned long *cmdline_tmplen, in cmdline_add_initrd() argument 54 initrd, image->initrd_buf_len); in cmdline_add_initrd() 121 static void cmdline_add_elfcorehdr(struct kimage *image, unsigned long *cmdline_tmplen, in cmdline_add_elfcorehdr() argument 127 elfcorehdr_sz, image->elf_load_addr); in cmdline_add_elfcorehdr() 134 * Try to add the initrd to the image. If it is not possible to find valid [all …]
|
| /linux/drivers/video/fbdev/savage/ |
| H A D | savagefb_accel.c | 92 void savagefb_imageblit(struct fb_info *info, const struct fb_image *image) in savagefb_imageblit() argument 97 u32 *src = (u32 *) image->data; in savagefb_imageblit() 99 if (!image->width || !image->height) in savagefb_imageblit() 102 if (image->depth != 1) { in savagefb_imageblit() 103 cfb_imageblit(info, image); in savagefb_imageblit() 108 fg = image->fg_color; in savagefb_imageblit() 109 bg = image->bg_color; in savagefb_imageblit() 111 fg = ((u32 *)info->pseudo_palette)[image->fg_color]; in savagefb_imageblit() 112 bg = ((u32 *)info->pseudo_palette)[image->bg_color]; in savagefb_imageblit() 122 width = (image->width + 31) & ~31; in savagefb_imageblit() [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | raspberrypi-pisp-be.rst | 10 The PiSP Back End is a memory-to-memory Image Signal Processor (ISP) which reads 11 image data from DRAM memory and performs image processing as specified by the 16 Image Signal Processor (PiSP) Specification document`_ 18 The PiSP Back End ISP processes images in tiles. The handling of image 23 The full image processing pipeline, which involves capturing RAW Bayer data from 24 an image sensor through a MIPI CSI-2 compatible capture interface, storing them 52 - pispbe-stitch_input: output device for image stitching (HDR). 56 - pispbe-stitch_output: capture device for image stitching (HDR). 63 node. For a list of image formats supported as input to the ISP refer to the 64 `Raspberry Pi Image Signal Processor (PiSP) Specification document`_. [all …]
|
| /linux/drivers/video/fbdev/mb862xx/ |
| H A D | mb862xxfb_accel.c | 66 * Fill in the cmd array /GDC FIFO commands/ to draw a 1bit image. 71 u32 bgcolor, const struct fb_image *image, in mb86290fb_imageblit1() argument 90 line = image->data; in mb86290fb_imageblit1() 91 bytes = (image->width + 7) >> 3; in mb86290fb_imageblit1() 93 /* and the image */ in mb86290fb_imageblit1() 115 * Fill in the cmd array /GDC FIFO commands/ to draw a 8bit image. 120 u32 bgcolor, const struct fb_image *image, in mb86290fb_imageblit8() argument 133 line = image->data; in mb86290fb_imageblit8() 134 bytes = image->width; in mb86290fb_imageblit8() 154 * Fill in the cmd array /GDC FIFO commands/ to draw a 16bit image. [all …]
|
| /linux/drivers/misc/mei/ |
| H A D | vsc-fw-loader.c | 77 /* image type */ 88 /* image fragments */ 188 __u8 image[]; member 194 /* image type */ 209 * @csi: CSI image 210 * @ace: ACE image 211 * @cfg: config image 215 * @count: total image count 217 * @frags: image fragments 249 /* get sensor name to construct image name */ [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | dell_rbu.rst | 16 update itself with the image downloaded in to the memory. 31 Dell_RBU driver supports BIOS update using the monolithic image and packetized 32 image methods. In case of monolithic the driver allocates a contiguous chunk 33 of physical pages having the BIOS image. In case of packetized the app 34 using the driver breaks the image in to packets of fixed sizes and the driver 43 The user should not unload the rbu driver after downloading the BIOS image 56 Most of the Dell systems support a monolithic update where the BIOS image is 60 of contiguous memory and the BIOS image is scattered in these packets. 75 The user creates packets header, gets the chunk of the BIOS image and 76 places it next to the packetheader; now, the packetheader + BIOS image chunk [all …]
|
| /linux/arch/s390/kernel/ |
| H A D | kexec_image.c | 3 * Image loader for kexec_file_load system call. 16 static int kexec_file_add_kernel_image(struct kimage *image, in kexec_file_add_kernel_image() argument 21 buf.image = image; in kexec_file_add_kernel_image() 23 buf.buffer = image->kernel_buf; in kexec_file_add_kernel_image() 24 buf.bufsz = image->kernel_buf_len; in kexec_file_add_kernel_image() 28 if (image->type == KEXEC_TYPE_CRASH) in kexec_file_add_kernel_image() 33 data->kernel_buf = image->kernel_buf; in kexec_file_add_kernel_image() 35 data->parm = image->kernel_buf + PARMAREA; in kexec_file_add_kernel_image() 45 static void *s390_image_load(struct kimage *image, in s390_image_load() argument 50 return kexec_file_add_components(image, kexec_file_add_kernel_image); in s390_image_load() [all …]
|
| /linux/arch/sh/kernel/ |
| H A D | machine_kexec.c | 37 * Do what every setup is needed on image and the 41 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 46 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 50 static void kexec_info(struct kimage *image) in kexec_info() argument 54 for (i = 0; i < image->nr_segments; i++) { in kexec_info() 57 (unsigned int)image->segment[i].mem, in kexec_info() 58 (unsigned int)image->segment[i].mem + in kexec_info() 59 image->segment[i].memsz, in kexec_info() 60 (unsigned int)image->segment[i].memsz); in kexec_info() 62 printk(" start : 0x%08x\n\n", (unsigned int)image->start); in kexec_info() [all …]
|