Home
last modified time | relevance | path

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

12345

/Linux-v4.19/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-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/
Dacr_r367.c114 struct ls_ucode_img_r367 *img; in acr_r367_ls_ucode_img_load() local
117 img = kzalloc(sizeof(*img), GFP_KERNEL); in acr_r367_ls_ucode_img_load()
118 if (!img) in acr_r367_ls_ucode_img_load()
121 img->base.falcon_id = falcon_id; in acr_r367_ls_ucode_img_load()
123 ret = acr->func->ls_func[falcon_id]->load(sb, &img->base); in acr_r367_ls_ucode_img_load()
125 kfree(img->base.ucode_data); in acr_r367_ls_ucode_img_load()
126 kfree(img->base.sig); in acr_r367_ls_ucode_img_load()
127 kfree(img); in acr_r367_ls_ucode_img_load()
132 if (img->base.sig_size != sizeof(img->lsb_header.signature)) { in acr_r367_ls_ucode_img_load()
139 memcpy(&img->lsb_header.signature, img->base.sig, img->base.sig_size); in acr_r367_ls_ucode_img_load()
[all …]
Dls_ucode_msgqueue.c42 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()
102 acr_ls_ucode_load_pmu(const struct nvkm_secboot *sb, struct ls_ucode_img *img) in acr_ls_ucode_load_pmu() argument
107 ret = acr_ls_ucode_load_msgqueue(&sb->subdev, "pmu", img); in acr_ls_ucode_load_pmu()
[all …]
Dls_ucode_gr.c93 ls_ucode_img_load_gr(const struct nvkm_subdev *subdev, struct ls_ucode_img *img, 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()
246 struct ls_ucode_img_r352 *img; in acr_r352_ls_ucode_img_load() local
249 img = kzalloc(sizeof(*img), GFP_KERNEL); in acr_r352_ls_ucode_img_load()
250 if (!img) in acr_r352_ls_ucode_img_load()
253 img->base.falcon_id = falcon_id; in acr_r352_ls_ucode_img_load()
255 ret = acr->func->ls_func[falcon_id]->load(sb, &img->base); in acr_r352_ls_ucode_img_load()
258 kfree(img->base.ucode_data); in acr_r352_ls_ucode_img_load()
259 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()
101 const struct ls_ucode_img *img, u64 wpr_addr, in acr_r361_generate_pmu_bl_desc() argument
104 const struct ls_ucode_img_desc *pdesc = &img->ucode_desc; in acr_r361_generate_pmu_bl_desc()
110 base = wpr_addr + img->ucode_off + pdesc->app_start_offset; in acr_r361_generate_pmu_bl_desc()
138 const struct ls_ucode_img *img, u64 wpr_addr, in acr_r361_generate_sec2_bl_desc() argument
141 const struct ls_ucode_img_desc *pdesc = &img->ucode_desc; in acr_r361_generate_sec2_bl_desc()
147 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()
70 const struct ls_ucode_img *img, u64 wpr_addr, in acr_r370_generate_sec2_bl_desc() argument
73 const struct ls_ucode_img_desc *pdesc = &img->ucode_desc; in acr_r370_generate_sec2_bl_desc()
79 base = wpr_addr + img->ucode_off + pdesc->app_start_offset; in acr_r370_generate_sec2_bl_desc()
/Linux-v4.19/drivers/mtd/
Dredboot.c46 struct fis_image_desc *img; member
53 static inline int redboot_checksum(struct fis_image_desc *img) in redboot_checksum() argument
198 new_fl->img = &buf[i]; in parse_redboot_partitions()
208 while(*prev && (*prev)->img->flash_base < new_fl->img->flash_base) in parse_redboot_partitions()
216 if (fl->img->flash_base) { in parse_redboot_partitions()
222 …if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize <= tmp_fl->next->img->flash_ba… in parse_redboot_partitions()
246 if (fl->img->flash_base) { in parse_redboot_partitions()
248 parts[0].size = fl->img->flash_base; in parse_redboot_partitions()
254 parts[i].size = fl->img->size; in parse_redboot_partitions()
255 parts[i].offset = fl->img->flash_base; in parse_redboot_partitions()
[all …]
/Linux-v4.19/drivers/input/rmi4/
Drmi_f34v7.c581 block_count = f34->v7.img.ui_firmware.size / f34->v7.block_size; in rmi_f34v7_check_ui_firmware_size()
598 block_count = f34->v7.img.ui_config.size / f34->v7.block_size; in rmi_f34v7_check_ui_config_size()
613 block_count = f34->v7.img.dp_config.size / f34->v7.block_size; in rmi_f34v7_check_dp_config_size()
628 block_count = f34->v7.img.guest_code.size / f34->v7.block_size; in rmi_f34v7_check_guest_code_size()
643 block_count = f34->v7.img.bl_config.size / f34->v7.block_size; in rmi_f34v7_check_bl_config_size()
901 f34->v7.config_data = f34->v7.img.ui_config.data; in rmi_f34v7_write_ui_config()
902 f34->v7.config_size = f34->v7.img.ui_config.size; in rmi_f34v7_write_ui_config()
911 f34->v7.config_data = f34->v7.img.dp_config.data; in rmi_f34v7_write_dp_config()
912 f34->v7.config_size = f34->v7.img.dp_config.size; in rmi_f34v7_write_dp_config()
920 return rmi_f34v7_write_f34v7_blocks(f34, f34->v7.img.guest_code.data, in rmi_f34v7_write_guest_code()
[all …]
/Linux-v4.19/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-v4.19/arch/mips/boot/dts/img/
Dpistachio.dtsi17 compatible = "img,pistachio";
48 compatible = "img,scb-i2c";
66 compatible = "img,scb-i2c";
84 compatible = "img,scb-i2c";
102 compatible = "img,scb-i2c";
120 compatible = "img,i2s-in";
127 img,i2s-channels = <6>;
136 compatible = "img,i2s-out";
146 img,i2s-channels = <6>;
156 compatible = "img,parallel-out";
[all …]
/Linux-v4.19/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-v4.19/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()
135 u32 img = nvbios_rd16(bios, bit_I.offset + 0x14); in gm200_devinit_post() local
137 pmu_data(init, pmu, img, len); in gm200_devinit_post()
143 u32 img = nvbios_rd16(bios, bit_I.offset + 0x18); in gm200_devinit_post() local
145 pmu_data(init, pmu, img, len); in gm200_devinit_post()
/Linux-v4.19/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
52 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-v4.19/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-v4.19/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c164 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img() argument
167 for (i = 0; i < img->num_sec; i++) in iwl_free_fw_img()
168 iwl_free_fw_desc(drv, &img->sec[i]); in iwl_free_fw_img()
169 kfree(img->sec); in iwl_free_fw_img()
185 iwl_free_fw_img(drv, drv->fw.img + i); in iwl_dealloc_ucode()
294 struct fw_img_parsing img[IWL_UCODE_TYPE_MAX]; member
322 return &pieces->img[type].sec[sec]; in get_sec()
329 struct fw_img_parsing *img = &pieces->img[type]; in alloc_sec_data() local
332 size_t alloc_size = sizeof(*img->sec) * size; in alloc_sec_data()
334 if (img->sec && img->sec_counter >= size) in alloc_sec_data()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/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-v4.19/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-v4.19/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";
Dimg,boston-clock.txt11 - compatible : Should be "img,boston-clock".
19 compatible = "img,boston-platform-regs", "syscon";
23 compatible = "img,boston-clock";
/Linux-v4.19/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