Home
last modified time | relevance | path

Searched refs:img (Results 1 – 25 of 109) sorted by relevance

12345

/Linux-v5.4/drivers/media/rc/img-ir/
DMakefile2 img-ir-y := img-ir-core.o
3 img-ir-$(CONFIG_IR_IMG_RAW) += img-ir-raw.o
4 img-ir-$(CONFIG_IR_IMG_HW) += img-ir-hw.o
5 img-ir-$(CONFIG_IR_IMG_NEC) += img-ir-nec.o
6 img-ir-$(CONFIG_IR_IMG_JVC) += img-ir-jvc.o
7 img-ir-$(CONFIG_IR_IMG_SONY) += img-ir-sony.o
8 img-ir-$(CONFIG_IR_IMG_SHARP) += img-ir-sharp.o
9 img-ir-$(CONFIG_IR_IMG_SANYO) += img-ir-sanyo.o
10 img-ir-$(CONFIG_IR_IMG_RC5) += img-ir-rc5.o
11 img-ir-$(CONFIG_IR_IMG_RC6) += img-ir-rc6.o
[all …]
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/
Dacr_r367.c118 struct ls_ucode_img_r367 *img; in acr_r367_ls_ucode_img_load() local
121 img = kzalloc(sizeof(*img), GFP_KERNEL); in acr_r367_ls_ucode_img_load()
122 if (!img) in acr_r367_ls_ucode_img_load()
125 img->base.falcon_id = falcon_id; in acr_r367_ls_ucode_img_load()
127 ret = func->load(sb, func->version_max, &img->base); in acr_r367_ls_ucode_img_load()
129 kfree(img->base.ucode_data); in acr_r367_ls_ucode_img_load()
130 kfree(img->base.sig); in acr_r367_ls_ucode_img_load()
131 kfree(img); in acr_r367_ls_ucode_img_load()
135 img->func = func->version[ret]; in acr_r367_ls_ucode_img_load()
138 if (img->base.sig_size != sizeof(img->lsb_header.signature)) { in acr_r367_ls_ucode_img_load()
[all …]
Dls_ucode_msgqueue.c42 int maxver, struct ls_ucode_img *img) in acr_ls_ucode_load_msgqueue() argument
52 img->ucode_data = kmemdup(image->data, image->size, GFP_KERNEL); in acr_ls_ucode_load_msgqueue()
54 if (!img->ucode_data) in acr_ls_ucode_load_msgqueue()
61 memcpy(&img->ucode_desc, desc->data, sizeof(img->ucode_desc)); in acr_ls_ucode_load_msgqueue()
62 img->ucode_size = ALIGN(img->ucode_desc.app_start_offset + img->ucode_desc.app_size, 256); in acr_ls_ucode_load_msgqueue()
69 img->sig_size = sig->size; in acr_ls_ucode_load_msgqueue()
70 img->sig = kmemdup(sig->data, sig->size, GFP_KERNEL); in acr_ls_ucode_load_msgqueue()
72 if (!img->sig) in acr_ls_ucode_load_msgqueue()
103 struct ls_ucode_img *img) in acr_ls_ucode_load_pmu() argument
108 ret = acr_ls_ucode_load_msgqueue(&sb->subdev, "pmu", maxver, img); in acr_ls_ucode_load_pmu()
[all …]
Dls_ucode_gr.c94 struct ls_ucode_img *img, const char *falcon_name) in ls_ucode_img_load_gr() argument
120 img->sig = kmemdup(sig->data, sig->size, GFP_KERNEL); in ls_ucode_img_load_gr()
121 if (!img->sig) { in ls_ucode_img_load_gr()
125 img->sig_size = sig->size; in ls_ucode_img_load_gr()
127 img->ucode_data = ls_ucode_img_build(bl, code, data, in ls_ucode_img_load_gr()
128 &img->ucode_desc); in ls_ucode_img_load_gr()
129 if (IS_ERR(img->ucode_data)) { in ls_ucode_img_load_gr()
130 kfree(img->sig); in ls_ucode_img_load_gr()
131 ret = PTR_ERR(img->ucode_data); in ls_ucode_img_load_gr()
134 img->ucode_size = img->ucode_desc.image_size; in ls_ucode_img_load_gr()
[all …]
Dacr_r352.c77 const struct ls_ucode_img *img, u64 wpr_addr, in acr_r352_generate_flcn_bl_desc() argument
81 const struct ls_ucode_img_desc *pdesc = &img->ucode_desc; in acr_r352_generate_flcn_bl_desc()
84 base = wpr_addr + img->ucode_off + pdesc->app_start_offset; in acr_r352_generate_flcn_bl_desc()
249 struct ls_ucode_img_r352 *img; in acr_r352_ls_ucode_img_load() local
252 img = kzalloc(sizeof(*img), GFP_KERNEL); in acr_r352_ls_ucode_img_load()
253 if (!img) in acr_r352_ls_ucode_img_load()
256 img->base.falcon_id = falcon_id; in acr_r352_ls_ucode_img_load()
258 ret = func->load(sb, func->version_max, &img->base); in acr_r352_ls_ucode_img_load()
260 kfree(img->base.ucode_data); in acr_r352_ls_ucode_img_load()
261 kfree(img->base.sig); in acr_r352_ls_ucode_img_load()
[all …]
Dacr_r361.c32 const struct ls_ucode_img *img, u64 wpr_addr, in acr_r361_generate_flcn_bl_desc() argument
36 const struct ls_ucode_img_desc *pdesc = &img->ucode_desc; in acr_r361_generate_flcn_bl_desc()
39 base = wpr_addr + img->ucode_off + pdesc->app_start_offset; in acr_r361_generate_flcn_bl_desc()
117 const struct ls_ucode_img *img, u64 wpr_addr, in acr_r361_generate_pmu_bl_desc() argument
120 const struct ls_ucode_img_desc *pdesc = &img->ucode_desc; in acr_r361_generate_pmu_bl_desc()
126 base = wpr_addr + img->ucode_off + pdesc->app_start_offset; in acr_r361_generate_pmu_bl_desc()
162 const struct ls_ucode_img *img, u64 wpr_addr, in acr_r361_generate_sec2_bl_desc() argument
165 const struct ls_ucode_img_desc *pdesc = &img->ucode_desc; in acr_r361_generate_sec2_bl_desc()
171 base = wpr_addr + img->ucode_off + pdesc->app_start_offset; in acr_r361_generate_sec2_bl_desc()
Dacr_r370.c32 const struct ls_ucode_img *img, u64 wpr_addr, in acr_r370_generate_flcn_bl_desc() argument
36 const struct ls_ucode_img_desc *pdesc = &img->ucode_desc; in acr_r370_generate_flcn_bl_desc()
39 base = wpr_addr + img->ucode_off + pdesc->app_start_offset; in acr_r370_generate_flcn_bl_desc()
86 const struct ls_ucode_img *img, u64 wpr_addr, in acr_r370_generate_sec2_bl_desc() argument
89 const struct ls_ucode_img_desc *pdesc = &img->ucode_desc; in acr_r370_generate_sec2_bl_desc()
95 base = wpr_addr + img->ucode_off + pdesc->app_start_offset; in acr_r370_generate_sec2_bl_desc()
/Linux-v5.4/drivers/mtd/parsers/
Dredboot.c32 struct fis_image_desc *img; member
39 static inline int redboot_checksum(struct fis_image_desc *img) in redboot_checksum() argument
207 new_fl->img = &buf[i]; in parse_redboot_partitions()
217 while(*prev && (*prev)->img->flash_base < new_fl->img->flash_base) in parse_redboot_partitions()
225 if (fl->img->flash_base) { in parse_redboot_partitions()
231 …if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize <= tmp_fl->next->img->flash_ba… in parse_redboot_partitions()
255 if (fl->img->flash_base) { in parse_redboot_partitions()
257 parts[0].size = fl->img->flash_base; in parse_redboot_partitions()
263 parts[i].size = fl->img->size; in parse_redboot_partitions()
264 parts[i].offset = fl->img->flash_base; in parse_redboot_partitions()
[all …]
/Linux-v5.4/drivers/input/rmi4/
Drmi_f34v7.c578 block_count = f34->v7.img.ui_firmware.size / f34->v7.block_size; in rmi_f34v7_check_ui_firmware_size()
595 block_count = f34->v7.img.ui_config.size / f34->v7.block_size; in rmi_f34v7_check_ui_config_size()
610 block_count = f34->v7.img.dp_config.size / f34->v7.block_size; in rmi_f34v7_check_dp_config_size()
625 block_count = f34->v7.img.guest_code.size / f34->v7.block_size; in rmi_f34v7_check_guest_code_size()
640 block_count = f34->v7.img.bl_config.size / f34->v7.block_size; in rmi_f34v7_check_bl_config_size()
898 f34->v7.config_data = f34->v7.img.ui_config.data; in rmi_f34v7_write_ui_config()
899 f34->v7.config_size = f34->v7.img.ui_config.size; in rmi_f34v7_write_ui_config()
908 f34->v7.config_data = f34->v7.img.dp_config.data; in rmi_f34v7_write_dp_config()
909 f34->v7.config_size = f34->v7.img.dp_config.size; in rmi_f34v7_write_dp_config()
917 return rmi_f34v7_write_f34v7_blocks(f34, f34->v7.img.guest_code.data, in rmi_f34v7_write_guest_code()
[all …]
/Linux-v5.4/sound/soc/img/
DMakefile2 obj-$(CONFIG_SND_SOC_IMG_I2S_IN) += img-i2s-in.o
3 obj-$(CONFIG_SND_SOC_IMG_I2S_OUT) += img-i2s-out.o
4 obj-$(CONFIG_SND_SOC_IMG_PARALLEL_OUT) += img-parallel-out.o
5 obj-$(CONFIG_SND_SOC_IMG_SPDIF_IN) += img-spdif-in.o
6 obj-$(CONFIG_SND_SOC_IMG_SPDIF_OUT) += img-spdif-out.o
/Linux-v5.4/arch/mips/boot/dts/img/
Dpistachio.dtsi14 compatible = "img,pistachio";
45 compatible = "img,scb-i2c";
63 compatible = "img,scb-i2c";
81 compatible = "img,scb-i2c";
99 compatible = "img,scb-i2c";
117 compatible = "img,i2s-in";
124 img,i2s-channels = <6>;
133 compatible = "img,i2s-out";
143 img,i2s-channels = <6>;
153 compatible = "img,parallel-out";
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/phy/
Dpistachio-usb-phy.txt6 - compatible: Must be "img,pistachio-usb-phy".
11 - img,cr-top: Must constain a phandle to the CR_TOP syscon node.
12 - img,refclk: Indicates the reference clock source for the USB PHY.
22 compatible = "img,pistachio-usb-phy";
26 img,refclk = <REFCLK_CLK_CORE>;
27 img,cr-top = <&cr_top>;
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dgm200.c32 pmu_code(struct nv50_devinit *init, u32 pmu, u32 img, u32 len, bool sec) in pmu_code() argument
42 nvkm_wr32(device, 0x10a184, nvbios_rd32(bios, img + i)); in pmu_code()
52 pmu_data(struct nv50_devinit *init, u32 pmu, u32 img, u32 len) in pmu_data() argument
60 nvkm_wr32(device, 0x10a1c4, nvbios_rd32(bios, img + i)); in pmu_data()
144 u32 img = nvbios_rd16(bios, bit_I.offset + 0x14); in gm200_devinit_post() local
146 pmu_data(init, pmu, img, len); in gm200_devinit_post()
152 u32 img = nvbios_rd16(bios, bit_I.offset + 0x18); in gm200_devinit_post() local
154 pmu_data(init, pmu, img, len); in gm200_devinit_post()
/Linux-v5.4/scripts/
Dextract-vmlinux30 for pos in `tr "$1\n$2" "\n$2=" < "$img" | grep -abo "^$2"`
33 tail -c+$pos "$img" | $3 > $tmp 2> /dev/null
40 img=$1
61 check_vmlinux $img
Dextract-ikconfig33 for pos in `tr "$1\n$2" "\n$2=" < "$img" | grep -abo "^$2"`
36 tail -c+$pos "$img" | $3 > $tmp2 2> /dev/null
43 img=$1
56 dump_config "$img"
/Linux-v5.4/Documentation/devicetree/bindings/sound/
Dimg,pistachio-internal-dac.txt5 - compatible: "img,pistachio-internal-dac"
7 - img,cr-top : Must contain a phandle to the top level control syscon
15 compatible = "img,pistachio-internal-dac";
16 img,cr-top = <&cr_top>;
Dimg,i2s-in.txt5 - compatible : Compatible list, must contain "img,i2s-in"
21 - img,i2s-channels : Number of I2S channels instantiated in the I2S in block
38 compatible = "img,i2s-in";
45 img,i2s-channels = <6>;
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c163 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img() argument
166 for (i = 0; i < img->num_sec; i++) in iwl_free_fw_img()
167 iwl_free_fw_desc(drv, &img->sec[i]); in iwl_free_fw_img()
168 kfree(img->sec); in iwl_free_fw_img()
185 iwl_free_fw_img(drv, drv->fw.img + i); in iwl_dealloc_ucode()
289 struct fw_img_parsing img[IWL_UCODE_TYPE_MAX]; member
317 return &pieces->img[type].sec[sec]; in get_sec()
324 struct fw_img_parsing *img = &pieces->img[type]; in alloc_sec_data() local
327 size_t alloc_size = sizeof(*img->sec) * size; in alloc_sec_data()
329 if (img->sec && img->sec_counter >= size) in alloc_sec_data()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/dma/
Dimg-mdc-dma.txt4 - compatible: Must be "img,pistachio-mdc-dma".
11 - img,cr-periph: Must contain a phandle to the peripheral control syscon
13 - img,max-burst-multiplier: Must be the maximum supported burst size multiplier.
29 compatible = "img,pistachio-mdc-dma";
46 img,max-burst-multiplier = <16>;
47 img,cr-periph = <&cr_periph>;
/Linux-v5.4/Documentation/devicetree/bindings/timer/
Dimg,pistachio-gptimer.txt4 - compatible: "img,pistachio-gptimer".
12 - img,cr-periph: Must contain a phandle to the peripheral control
17 compatible = "img,pistachio-gptimer";
27 img,cr-periph = <&cr_periph>;
/Linux-v5.4/samples/bpf/
Dtest_override_return.sh3 rm -f testfile.img
4 dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1
5 DEVICE=$(losetup --show -f testfile.img)
/Linux-v5.4/Documentation/devicetree/bindings/pwm/
Dimg-pwm.txt4 - compatible: Should be "img,pistachio-pwm"
13 - img,cr-periph: Must contain a phandle to the peripheral control
18 compatible = "img,pistachio-pwm";
23 img,cr-periph = <&cr_periph>;
/Linux-v5.4/arch/s390/boot/
Dstartup.c132 void *img; in startup_kernel() local
150 img = (void *)vmlinux.default_lma; in startup_kernel()
162 img = decompress_kernel(); in startup_kernel()
163 memmove((void *)vmlinux.default_lma, img, vmlinux.image_size); in startup_kernel()
165 memcpy((void *)vmlinux.default_lma, img, vmlinux.image_size); in startup_kernel()
175 memset(img, 0, vmlinux.image_size); in startup_kernel()
/Linux-v5.4/Documentation/devicetree/bindings/clock/
Dpistachio-clock.txt24 - compatible: Must be "img,pistachio-clk".
35 compatible = "img,pistachio-clk";
52 - compatible: Must be "img,pistachio-periph-clk".
63 compatible = "img,pistachio-clk-periph";
80 - compatible: Must include "img,pistachio-periph-cr" and "syscon".
91 compatible = "img,pistachio-cr-periph", "syscon";
106 - compatible: Must include "img,pistachio-cr-top" and "syscon".
117 compatible = "img,pistachio-cr-top", "syscon";
/Linux-v5.4/arch/x86/boot/
Dgenimage.sh54 mcopy "$FDINITRD" a:initrd.img
66 mcopy "$FDINITRD" v:initrd.img
78 mcopy "$FDINITRD" w:initrd.img
115 cp "$FDINITRD" $tmp_dir/initrd.img

12345