/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 in machine_kexec_free_page_tables() 59 machine_kexec_alloc_page_tables(struct kimage * image) machine_kexec_alloc_page_tables() argument 100 machine_kexec_prepare_page_tables(struct kimage * image) machine_kexec_prepare_page_tables() argument 135 machine_kexec_prepare(struct kimage * image) machine_kexec_prepare() argument 151 machine_kexec_cleanup(struct kimage * image) machine_kexec_cleanup() argument 161 machine_kexec(struct kimage * image) machine_kexec() argument [all...] |
H A D | machine_kexec_64.c | 150 static void free_transition_pgtable(struct kimage *image) in free_transition_pgtable() argument 152 free_page((unsigned long)image->arch.p4d); in free_transition_pgtable() 153 image->arch.p4d = NULL; in free_transition_pgtable() 154 free_page((unsigned long)image->arch.pud); in free_transition_pgtable() 155 image->arch.pud = NULL; in free_transition_pgtable() 156 free_page((unsigned long)image->arch.pmd); in free_transition_pgtable() 157 image->arch.pmd = NULL; in free_transition_pgtable() 158 free_page((unsigned long)image->arch.pte); in free_transition_pgtable() 159 image->arch.pte = NULL; in free_transition_pgtable() 162 static int init_transition_pgtable(struct kimage *image, pgd_ argument 225 struct kimage *image = (struct kimage *)data; alloc_pgt_page() local 238 init_pgtable(struct kimage * image,unsigned long control_page) init_pgtable() argument 342 machine_kexec_prepare(struct kimage * image) machine_kexec_prepare() argument 369 machine_kexec_cleanup(struct kimage * image) machine_kexec_cleanup() argument 383 machine_kexec(struct kimage * image) machine_kexec() argument 587 arch_kimage_file_post_load_cleanup(struct kimage * image) arch_kimage_file_post_load_cleanup() argument [all...] |
/linux/arch/riscv/ |
H A D | Makefile | 152 KBUILD_IMAGE := $(boot)/Image.gz 160 boot-image-y := Image 161 boot-image-$(CONFIG_KERNEL_BZIP2) := Image.bz2 162 boot-image-$(CONFIG_KERNEL_GZIP) := Image.gz 163 boot-image-$(CONFIG_KERNEL_LZ4) := Image.lz4 164 boot-image [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 [all...] |
/linux/kernel/ |
H A D | kexec_file.c | 42 static bool check_ima_segment_index(struct kimage *image, int i) in check_ima_segment_index() argument 44 if (image->is_ima_segment_index_set && i == image->ima_segment_index) in check_ima_segment_index() 50 static bool check_ima_segment_index(struct kimage *image, int i) in check_ima_segment_index() argument 56 static int kexec_calculate_store_digests(struct kimage *image); 66 int kexec_image_probe_default(struct kimage *image, void *buf, in kexec_image_probe_default() argument 75 image->fops = *fops; in kexec_image_probe_default() 83 static void *kexec_image_load_default(struct kimage *image) in kexec_image_load_default() argument 85 if (!image->fops || !image in kexec_image_load_default() 94 kexec_image_post_load_cleanup_default(struct kimage * image) kexec_image_post_load_cleanup_default() argument 107 kimage_file_post_load_cleanup(struct kimage * image) kimage_file_post_load_cleanup() argument 163 kexec_image_verify_sig(struct kimage * image,void * buf,unsigned long buf_len) kexec_image_verify_sig() argument 175 kimage_validate_signature(struct kimage * image) kimage_validate_signature() argument 204 kexec_post_load(struct kimage * image,unsigned long flags) kexec_post_load() argument 218 kimage_file_prepare_segments(struct kimage * image,int kernel_fd,int initrd_fd,const char __user * cmdline_ptr,unsigned long cmdline_len,unsigned flags) kimage_file_prepare_segments() argument 309 struct kimage *image; kimage_file_alloc_init() local 369 struct kimage **dest_image, *image; SYSCALL_DEFINE5() local 474 struct kimage *image = kbuf->image; locate_mem_hole_top_down() local 519 struct kimage *image = kbuf->image; locate_mem_hole_bottom_up() local 801 kexec_calculate_store_digests(struct kimage * image) kexec_calculate_store_digests() argument 1027 kexec_apply_relocations(struct kimage * image) kexec_apply_relocations() argument 1098 kexec_load_purgatory(struct kimage * image,struct kexec_buf * kbuf) kexec_load_purgatory() argument 1185 kexec_purgatory_get_symbol_addr(struct kimage * image,const char * name) kexec_purgatory_get_symbol_addr() argument 1208 kexec_purgatory_get_set_symbol(struct kimage * image,const char * name,void * buf,unsigned int size,bool get_value) kexec_purgatory_get_set_symbol() argument [all...] |
/linux/drivers/staging/vme_user/ |
H A D | vme_user.c | 49 * 0 = /dev/bus/vme/m0 First master image 50 * 1 = /dev/bus/vme/m1 Second master image 51 * 2 = /dev/bus/vme/m2 Third master image 52 * 3 = /dev/bus/vme/m3 Fourth master image 53 * 4 = /dev/bus/vme/s0 First slave image 54 * 5 = /dev/bus/vme/s1 Second slave image 55 * 6 = /dev/bus/vme/s2 Third slave image 56 * 7 = /dev/bus/vme/s3 Fourth slave image 86 #define PCI_BUF_SIZE 0x20000 /* Size of one slave image buffer */ 89 * Structure to handle image relate 101 static struct image_desc image[VME_DEVS]; global() variable [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 in fb_rotate_logo() 239 fb_do_show_logo(struct fb_info * info,struct fb_image * image,int rotate,unsigned int num) fb_do_show_logo() argument 284 struct fb_image image; fb_show_logo_line() local [all...] |
H A D | fbcon_ud.c | 87 struct fb_image *image, u8 *buf, u8 *dst) in ud_putcs_aligned() argument 104 image->height); in ud_putcs_aligned() 107 image->height); in ud_putcs_aligned() 112 info->fbops->fb_imageblit(info, image); in ud_putcs_aligned() 119 struct fb_image *image, u8 *buf, in ud_putcs_unaligned() argument 138 image->height, shift_high, in ud_putcs_unaligned() 146 info->fbops->fb_imageblit(info, image); in ud_putcs_unaligned() 154 struct fb_image image; in ud_putcs() local 170 image.fg_color = fg; in ud_putcs() 171 image in ud_putcs() [all...] |
H A D | fbcon_cw.c | 85 struct fb_image *image, u8 *buf, u8 *dst) in cw_putcs_aligned() argument 110 info->fbops->fb_imageblit(info, image); in cw_putcs_aligned() 117 struct fb_image image; in cw_putcs() local 132 image.fg_color = fg; in cw_putcs() 133 image.bg_color = bg; in cw_putcs() 134 image.dx = vxres - ((yy + 1) * vc->vc_font.height); in cw_putcs() 135 image.dy = xx * vc->vc_font.width; in cw_putcs() 136 image.width = vc->vc_font.height; in cw_putcs() 137 image.depth = 1; in cw_putcs() 151 image in cw_putcs() [all...] |
H A D | fbcon_ccw.c | 100 struct fb_image *image, u8 *buf, u8 *dst) in ccw_putcs_aligned() argument 125 info->fbops->fb_imageblit(info, image); in ccw_putcs_aligned() 132 struct fb_image image; in ccw_putcs() local 147 image.fg_color = fg; in ccw_putcs() 148 image.bg_color = bg; in ccw_putcs() 149 image.dx = yy * vc->vc_font.height; in ccw_putcs() 150 image.dy = vyres - ((xx + count) * vc->vc_font.width); in ccw_putcs() 151 image.width = vc->vc_font.height; in ccw_putcs() 152 image.depth = 1; in ccw_putcs() 168 image in ccw_putcs() [all...] |
H A D | fb_imageblit.h | 3 * Generic bitmap / 8 bpp image bitstreamer for packed pixel framebuffers 25 * The color image is expected to be one byte per pixel, and values should 30 /* bitmap image iterator, one pixel at a time */ 53 /* color image iterator, one pixel at a time */ 81 /* bitmap image iterator, 4 pixels at a time */ 167 /* draw a color image a pixel at a time */ 168 static inline void fb_color_imageblit(const struct fb_image *image, struct fb_address *dst, in fb_color_imageblit() argument 175 iter.data = (const u8 *)image->data; in fb_color_imageblit() 189 iter.width = image->width; in fb_color_imageblit() 192 height = image in fb_color_imageblit() 215 fb_bitmap4x_imageblit(const struct fb_image * image,struct fb_address * dst,unsigned long fgcolor,unsigned long bgcolor,int bpp,unsigned int bits_per_line,struct fb_reverse reverse) fb_bitmap4x_imageblit() argument 256 fb_bitmap1x_imageblit(const struct fb_image * image,struct fb_address * dst,unsigned long fgcolor,unsigned long bgcolor,int bpp,unsigned int bits_per_line,struct fb_reverse reverse) fb_bitmap1x_imageblit() argument 281 fb_bitmap_1ppw(const struct fb_image * image,struct fb_address * dst,unsigned long fgcolor,unsigned long bgcolor,int words_per_line,struct fb_reverse reverse) fb_bitmap_1ppw() argument 337 fb_bitmap_2ppw(const struct fb_image * image,struct fb_address * dst,unsigned long fgcolor,unsigned long bgcolor,int words_per_line,struct fb_reverse reverse) fb_bitmap_2ppw() argument 388 fb_bitmap_4ppw(const struct fb_image * image,struct fb_address * dst,unsigned long fgcolor,unsigned long bgcolor,int words_per_line,struct fb_reverse reverse) fb_bitmap_4ppw() argument 441 fb_bitmap_imageblit(const struct fb_image * image,struct fb_address * dst,unsigned int bits_per_line,const u32 * palette,int bpp,struct fb_reverse reverse) fb_bitmap_imageblit() argument 481 fb_imageblit(struct fb_info * p,const struct fb_image * image) fb_imageblit() argument [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, an [all...] |
/linux/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-cru-regs.h | 26 /* Memory Bank Base Address (Lower) Register for CRU Image Data */ 29 /* Memory Bank Base Address (Higher) Register for CRU Image Data */ 76 AMnMB1ADDRL, /* Bank 1 Address (Lower) for CRU Image Data */ 77 AMnMB1ADDRH, /* Bank 1 Address (Higher) for CRU Image Data */ 78 AMnMB2ADDRL, /* Bank 2 Address (Lower) for CRU Image Data */ 79 AMnMB2ADDRH, /* Bank 2 Address (Higher) for CRU Image Data */ 80 AMnMB3ADDRL, /* Bank 3 Address (Lower) for CRU Image Data */ 81 AMnMB3ADDRH, /* Bank 3 Address (Higher) for CRU Image Data */ 82 AMnMB4ADDRL, /* Bank 4 Address (Lower) for CRU Image Data */ 83 AMnMB4ADDRH, /* Bank 4 Address (Higher) for CRU Image Dat [all...] |
/linux/arch/riscv/boot/ |
H A D | Makefile | 21 targets := Image Image.* loader loader.o loader.lds loader.bin xipImage 35 $(obj)/Image: vmlinux.unstripped FORCE 37 $(obj)/Image: vmlinux FORCE 41 $(obj)/Image.gz: $(obj)/Image FORCE 44 $(obj)/loader.o: $(src)/loader.S $(obj)/Image 46 $(obj)/loader: $(obj)/loader.o $(obj)/Image $(obj)/loader.lds FORCE 49 $(obj)/Image.bz2: $(obj)/Image FORC [all...] |
/linux/arch/s390/kernel/ |
H A D | machine_kexec_file.c | 84 static int kexec_file_update_purgatory(struct kimage *image, in kexec_file_update_purgatory() argument 90 if (image->type == KEXEC_TYPE_CRASH) { in kexec_file_update_purgatory() 98 ret = kexec_purgatory_get_set_symbol(image, "kernel_entry", &entry, in kexec_file_update_purgatory() 103 ret = kexec_purgatory_get_set_symbol(image, "kernel_type", &type, in kexec_file_update_purgatory() 109 if (image->type == KEXEC_TYPE_CRASH) { in kexec_file_update_purgatory() 112 ret = kexec_purgatory_get_set_symbol(image, "crash_start", in kexec_file_update_purgatory() 120 ret = kexec_purgatory_get_set_symbol(image, "crash_size", in kexec_file_update_purgatory() 129 static int kexec_file_add_purgatory(struct kimage *image, in kexec_file_add_purgatory() argument 135 buf.image = image; in kexec_file_add_purgatory() 152 kexec_file_add_initrd(struct kimage * image,struct s390_load_data * data) kexec_file_add_initrd() argument 182 kexec_file_add_ipl_report(struct kimage * image,struct s390_load_data * data) kexec_file_add_ipl_report() argument 242 kexec_file_add_components(struct kimage * image,int (* add_kernel)(struct kimage * image,struct s390_load_data * data)) kexec_file_add_components() argument 243 kexec_file_add_components(struct kimage * image,int (* add_kernel)(struct kimage * image,struct s390_load_data * data)) kexec_file_add_components() argument 383 arch_kimage_file_post_load_cleanup(struct kimage * image) arch_kimage_file_post_load_cleanup() argument [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 in nvbios_imagen() 69 nvbios_image(struct nvkm_bios * bios,int idx,struct nvbios_image * image) nvbios_image() argument [all...] |
/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_image.c | 35 struct qxl_drm_image *image, in qxl_allocate_chunk() argument 51 list_add_tail(&chunk->head, &image->chunk_list); in qxl_allocate_chunk() 61 struct qxl_drm_image *image; in qxl_image_alloc_objects() local 64 image = kmalloc(sizeof(struct qxl_drm_image), GFP_KERNEL); in qxl_image_alloc_objects() 65 if (!image) in qxl_image_alloc_objects() 68 INIT_LIST_HEAD(&image->chunk_list); in qxl_image_alloc_objects() 70 ret = qxl_alloc_bo_reserved(qdev, release, sizeof(struct qxl_image), &image->bo); in qxl_image_alloc_objects() 72 kfree(image); in qxl_image_alloc_objects() 76 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); in qxl_image_alloc_objects() 78 qxl_bo_unref(&image in qxl_image_alloc_objects() 109 struct qxl_image *image; qxl_image_init_helper() local [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 [all...] |
/linux/arch/x86/entry/vdso/ |
H A D | vma.c | 38 int __init init_vdso_image(const struct vdso_image *image) in init_vdso_image() argument 41 BUG_ON(image->size % PAGE_SIZE != 0); in init_vdso_image() 43 apply_alternatives((struct alt_instr *)(image->data + image->alt), in init_vdso_image() 44 (struct alt_instr *)(image->data + image->alt + in init_vdso_image() 45 image->alt_len)); in init_vdso_image() 55 const struct vdso_image *image = vma->vm_mm->context.vdso_image; in vdso_fault() local 57 if (!image || (vmf->pgoff << PAGE_SHIFT) >= image in vdso_fault() 65 vdso_fix_landing(const struct vdso_image * image,struct vm_area_struct * new_vma) vdso_fix_landing() argument 83 const struct vdso_image *image = current->mm->context.vdso_image; vdso_mremap() local 137 map_vdso(const struct vdso_image * image,unsigned long addr) map_vdso() argument 201 map_vdso_once(const struct vdso_image * image,unsigned long addr) map_vdso_once() argument 267 const struct vdso_image *image = current->mm->context.vdso_image; arch_syscall_is_vdso_sigreturn() local [all...] |
/linux/arch/arm64/kernel/ |
H A D | machine_kexec_file.c | 30 int arch_kimage_file_post_load_cleanup(struct kimage *image) in arch_kimage_file_post_load_cleanup() argument 32 kvfree(image->arch.dtb); in arch_kimage_file_post_load_cleanup() 33 image->arch.dtb = NULL; in arch_kimage_file_post_load_cleanup() 35 vfree(image->elf_headers); in arch_kimage_file_post_load_cleanup() 36 image->elf_headers = NULL; in arch_kimage_file_post_load_cleanup() 37 image->elf_headers_sz = 0; in arch_kimage_file_post_load_cleanup() 39 return kexec_image_post_load_cleanup_default(image); in arch_kimage_file_post_load_cleanup() 87 * Tries to add the initrd and DTB to the image. If it is not possible to find 88 * valid locations, this function will undo changes to the image and return non 91 int load_other_segments(struct kimage *image, in load_other_segments() argument [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...] |
/linux/arch/powerpc/boot/ |
H A D | Makefile | 15 # needed to build the 32 bit image. That's normally the same 277 image-$(CONFIG_PPC_PSERIES) += zImage.pseries 278 image-$(CONFIG_PPC_POWERNV) += zImage.pseries 279 image-$(CONFIG_PPC_PS3) += dtbImage.ps3 280 image-$(CONFIG_PPC_CHRP) += zImage.chrp 281 image-$(CONFIG_PPC_EFIKA) += zImage.chrp 282 image-$(CONFIG_PPC_PMAC) += zImage.pmac 283 image-$(CONFIG_PPC_HOLLY) += dtbImage.holly 284 image-$(CONFIG_DEFAULT_UIMAGE) += uImage 285 image [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 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 format [all...] |