Home
last modified time | relevance | path

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

123

/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 …]
/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
212 new_fl->img = &buf[i]; in parse_redboot_partitions()
222 while (*prev && (*prev)->img->flash_base < new_fl->img->flash_base) in parse_redboot_partitions()
230 if (fl->img->flash_base) { in parse_redboot_partitions()
236 …if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize <= tmp_fl->next->img->flash_ba… in parse_redboot_partitions()
259 if (fl->img->flash_base) { in parse_redboot_partitions()
261 parts[0].size = fl->img->flash_base; in parse_redboot_partitions()
267 parts[i].size = fl->img->size; in parse_redboot_partitions()
268 parts[i].offset = fl->img->flash_base; in parse_redboot_partitions()
[all …]
/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 …]
/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()
/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c110 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img() argument
113 for (i = 0; i < img->num_sec; i++) in iwl_free_fw_img()
114 iwl_free_fw_desc(drv, &img->sec[i]); in iwl_free_fw_img()
115 kfree(img->sec); in iwl_free_fw_img()
133 iwl_free_fw_img(drv, drv->fw.img + i); in iwl_dealloc_ucode()
240 struct fw_img_parsing img[IWL_UCODE_TYPE_MAX]; member
268 return &pieces->img[type].sec[sec]; in get_sec()
275 struct fw_img_parsing *img = &pieces->img[type]; in alloc_sec_data() local
278 size_t alloc_size = sizeof(*img->sec) * size; in alloc_sec_data()
280 if (img->sec && img->sec_counter >= size) in alloc_sec_data()
[all …]
DMakefile18 iwlwifi-objs += fw/img.o fw/notif-wait.o
/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dlsfw.c31 nvkm_blob_dtor(&lsfw->img); in nvkm_acr_lsfw_del()
104 ret = nvkm_firmware_load_blob(subdev, path, "image", ver, &lsfw->img); in nvkm_acr_lsfw_load_sig_image_desc_()
229 lsfw->img.size = lsfw->bootloader_size + lsfw->app_size; in nvkm_acr_lsfw_load_bl_inst_data_sig()
230 if (!(lsfw->img.data = kzalloc(lsfw->img.size, GFP_KERNEL))) { in nvkm_acr_lsfw_load_bl_inst_data_sig()
235 memcpy(lsfw->img.data, bldata, lsfw->bootloader_size); in nvkm_acr_lsfw_load_bl_inst_data_sig()
236 memcpy(lsfw->img.data + lsfw->app_start_offset + in nvkm_acr_lsfw_load_bl_inst_data_sig()
238 memcpy(lsfw->img.data + lsfw->app_start_offset + in nvkm_acr_lsfw_load_bl_inst_data_sig()
Dgp102.c103 nvkm_wobj(acr->wpr, lsfw->offset.img, in gp102_acr_wpr_build()
104 lsfw->img.data, in gp102_acr_wpr_build()
105 lsfw->img.size); in gp102_acr_wpr_build()
148 lsfw->offset.img = wpr; in gp102_acr_wpr_layout()
149 wpr += lsfw->img.size; in gp102_acr_wpr_layout()
Dtu102.c74 nvkm_wobj(acr->wpr, lsfw->offset.img, in tu102_acr_wpr_build()
75 lsfw->img.data, in tu102_acr_wpr_build()
76 lsfw->img.size); in tu102_acr_wpr_build()
Dgm200.c95 hdr->ucode_off = lsfw->offset.img; in gm200_acr_wpr_build_lsb_tail()
153 nvkm_wobj(acr->wpr, lsfw->offset.img, in gm200_acr_wpr_build()
154 lsfw->img.data, in gm200_acr_wpr_build()
155 lsfw->img.size); in gm200_acr_wpr_build()
194 lsfw->offset.img = wpr; in gm200_acr_wpr_layout()
195 wpr += lsfw->img.size; in gm200_acr_wpr_layout()
/drivers/clk/mediatek/
DMakefile7 obj-$(CONFIG_COMMON_CLK_MT6765_IMGSYS) += clk-mt6765-img.o
13 obj-$(CONFIG_COMMON_CLK_MT6779_IMGSYS) += clk-mt6779-img.o
21 obj-$(CONFIG_COMMON_CLK_MT6797_IMGSYS) += clk-mt6797-img.o
31 obj-$(CONFIG_COMMON_CLK_MT2701_IMGSYS) += clk-mt2701-img.o
36 obj-$(CONFIG_COMMON_CLK_MT2712_IMGSYS) += clk-mt2712-img.o
52 obj-$(CONFIG_COMMON_CLK_MT8167_IMGSYS) += clk-mt8167-img.o
61 obj-$(CONFIG_COMMON_CLK_MT8183_IMGSYS) += clk-mt8183-img.o
73 obj-$(CONFIG_COMMON_CLK_MT8192_IMGSYS) += clk-mt8192-img.o
/drivers/gpu/drm/nouveau/nvkm/engine/sec2/
Dgp102.c105 .code_dma_base = lsfw->offset.img + lsfw->app_start_offset, in gp102_sec2_acr_bld_write()
109 .data_dma_base = lsfw->offset.img + lsfw->app_start_offset + in gp102_sec2_acr_bld_write()
112 .overlay_dma_base = lsfw->offset.img + lsfw->app_start_offset, in gp102_sec2_acr_bld_write()
288 .code_dma_base = lsfw->offset.img + lsfw->app_start_offset, in gp102_sec2_acr_bld_write_1()
292 .data_dma_base = lsfw->offset.img + lsfw->app_start_offset + in gp102_sec2_acr_bld_write_1()
/drivers/net/ethernet/netronome/nfp/bpf/
Doffload.c502 void *img; in nfp_net_bpf_load() local
522 img = nfp_bpf_relo_for_vnic(nfp_prog, nn->app_priv); in nfp_net_bpf_load()
523 if (IS_ERR(img)) in nfp_net_bpf_load()
524 return PTR_ERR(img); in nfp_net_bpf_load()
526 dma_addr = dma_map_single(nn->dp.dev, img, in nfp_net_bpf_load()
530 kfree(img); in nfp_net_bpf_load()
545 kfree(img); in nfp_net_bpf_load()
/drivers/net/can/
Dkvaser_pciefd.c393 struct kvaser_pciefd_cfg_img *img) in kvaser_pciefd_cfg_read_and_verify() argument
406 res = kvaser_pciefd_spi_cmd(pcie, cmd, ARRAY_SIZE(cmd), (u8 *)img, in kvaser_pciefd_cfg_read_and_verify()
411 crc_buff = (u8 *)img->params; in kvaser_pciefd_cfg_read_and_verify()
413 if (le32_to_cpu(img->version) != KVASER_PCIEFD_CFG_SYS_VER) { in kvaser_pciefd_cfg_read_and_verify()
419 if (le32_to_cpu(img->magic) != KVASER_PCIEFD_CFG_MAGIC) { in kvaser_pciefd_cfg_read_and_verify()
425 crc = ~crc32_be(0xffffffff, crc_buff, sizeof(img->params)); in kvaser_pciefd_cfg_read_and_verify()
426 if (le32_to_cpu(img->crc) != crc) { in kvaser_pciefd_cfg_read_and_verify()
436 struct kvaser_pciefd_cfg_img *img) in kvaser_pciefd_cfg_read_params() argument
440 param = &img->params[KVASER_PCIEFD_CFG_PARAM_NR_CHAN]; in kvaser_pciefd_cfg_read_params()
447 struct kvaser_pciefd_cfg_img *img; in kvaser_pciefd_read_cfg() local
[all …]
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dacr.h76 struct nvkm_blob img; member
96 u32 img; member
/drivers/video/fbdev/
Dtridentfb.c639 const struct fb_image *img) in tridentfb_imageblit() argument
644 if ((info->flags & FBINFO_HWACCEL_DISABLED) || img->depth != 1) { in tridentfb_imageblit()
645 cfb_imageblit(info, img); in tridentfb_imageblit()
649 col = img->fg_color; in tridentfb_imageblit()
652 bgcol = img->bg_color; in tridentfb_imageblit()
656 col = ((u32 *)(info->pseudo_palette))[img->fg_color]; in tridentfb_imageblit()
657 bgcol = ((u32 *)(info->pseudo_palette))[img->bg_color]; in tridentfb_imageblit()
662 par->image_blit(par, img->data, img->dx, img->dy, in tridentfb_imageblit()
663 img->width, img->height, col, bgcol); in tridentfb_imageblit()
665 cfb_imageblit(info, img); in tridentfb_imageblit()
Dmetronomefb.c457 u16 *img = (u16 *)(par->metromem_img + index); in metronomefb_dpy_update_page() local
461 *(img + i) = (buf[i] << 5) & 0xE0E0; in metronomefb_dpy_update_page()
462 csum += *(img + i); in metronomefb_dpy_update_page()
/drivers/net/wireless/intel/iwlwifi/fw/
Dimg.h204 struct fw_img img[IWL_UCODE_TYPE_MAX]; member
263 return &fw->img[ucode_type]; in iwl_get_ucode_image()
/drivers/auxdisplay/
DMakefile11 obj-$(CONFIG_IMG_ASCII_LCD) += img-ascii-lcd.o
/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgp108.c43 const u64 base = lsfw->offset.img + lsfw->app_start_offset; in gp108_gr_acr_bld_write()
/drivers/net/wireless/intel/iwlwifi/dvm/
Dmac80211.c152 if (priv->fw->img[IWL_UCODE_WOWLAN].num_sec && in iwlagn_mac_setup_register()
452 const struct fw_img *img; in iwlagn_mac_resume() local
495 img = &priv->fw->img[IWL_UCODE_WOWLAN]; in iwlagn_mac_resume()
498 kzalloc(img->sec[IWL_UCODE_SECTION_DATA].len, in iwlagn_mac_resume()
504 img->sec[IWL_UCODE_SECTION_DATA].len / 4); in iwlagn_mac_resume()
/drivers/net/wireless/intel/iwlwifi/mvm/
Ddebugfs.c146 const struct fw_img *img; in iwl_dbgfs_sram_read() local
155 img = &mvm->fw->img[mvm->fwrt.cur_fw_img]; in iwl_dbgfs_sram_read()
156 ofs = img->sec[IWL_UCODE_SECTION_DATA].offset; in iwl_dbgfs_sram_read()
157 len = img->sec[IWL_UCODE_SECTION_DATA].len; in iwl_dbgfs_sram_read()
180 const struct fw_img *img; in iwl_dbgfs_sram_write() local
187 img = &mvm->fw->img[mvm->fwrt.cur_fw_img]; in iwl_dbgfs_sram_write()
188 img_offset = img->sec[IWL_UCODE_SECTION_DATA].offset; in iwl_dbgfs_sram_write()
189 img_len = img->sec[IWL_UCODE_SECTION_DATA].len; in iwl_dbgfs_sram_write()
/drivers/crypto/
DMakefile19 obj-$(CONFIG_CRYPTO_DEV_IMGTEC_HASH) += img-hash.o
/drivers/media/rc/
DMakefile48 obj-$(CONFIG_IR_IMG) += img-ir/
/drivers/infiniband/hw/qib/
Dqib_sd7220.c859 const u8 *img, int len, int offset) in qib_sd7220_prog_ld() argument
869 (u8 *)img + sofar, req, 0); in qib_sd7220_prog_ld()
883 const u8 *img, int len, int offset) in qib_sd7220_prog_vfy() argument
902 if (readback[idx] != img[idx+sofar]) in qib_sd7220_prog_vfy()

123