Home
last modified time | relevance | path

Searched full:fw (Results 1 – 25 of 2250) sorted by relevance

12345678910>>...90

/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_pci.c80 #define PRESTERA_LDR_REG_BASE(fw) ((fw)->ldr_regs) argument
81 #define PRESTERA_LDR_REG_ADDR(fw, reg) (PRESTERA_LDR_REG_BASE(fw) + (reg)) argument
83 /* fw loader registers */
136 /* fw registers */
182 #define PRESTERA_FW_REG_BASE(fw) ((fw)->dev.ctl_regs) argument
183 #define PRESTERA_FW_REG_ADDR(fw, reg) PRESTERA_FW_REG_BASE((fw)) + (reg) argument
230 static int prestera_fw_load(struct prestera_fw *fw);
232 static void prestera_fw_write(struct prestera_fw *fw, u32 reg, u32 val) in prestera_fw_write() argument
234 writel(val, PRESTERA_FW_REG_ADDR(fw, reg)); in prestera_fw_write()
237 static u32 prestera_fw_read(struct prestera_fw *fw, u32 reg) in prestera_fw_read() argument
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dfw.c27 #include <nvfw/fw.h>
31 nvkm_falcon_fw_patch(struct nvkm_falcon_fw *fw) in nvkm_falcon_fw_patch() argument
33 struct nvkm_falcon *falcon = fw->falcon; in nvkm_falcon_fw_patch()
34 u32 sig_base_src = fw->sig_base_prd; in nvkm_falcon_fw_patch()
38 FLCNFW_DBG(fw, "patching sigs:%d size:%d", fw->sig_nr, fw->sig_size); in nvkm_falcon_fw_patch()
39 if (fw->func->signature) { in nvkm_falcon_fw_patch()
40 idx = fw->func->signature(fw, &sig_base_src); in nvkm_falcon_fw_patch()
45 src = idx * fw->sig_size; in nvkm_falcon_fw_patch()
46 dst = fw->sig_base_img; in nvkm_falcon_fw_patch()
47 len = fw->sig_size / 4; in nvkm_falcon_fw_patch()
[all …]
H A Dgm200.c52 /* Sigh. Tegra PMU FW's init message... */ in gm200_flcn_pio_dmem_rd()
218 gm200_flcn_fw_boot(struct nvkm_falcon_fw *fw, u32 *pmbox0, u32 *pmbox1, u32 mbox0_ok, u32 irqsclr) in gm200_flcn_fw_boot() argument
220 struct nvkm_falcon *falcon = fw->falcon; in gm200_flcn_fw_boot()
228 nvkm_falcon_wr32(falcon, 0x104, fw->boot_addr); in gm200_flcn_fw_boot()
249 gm200_flcn_fw_load(struct nvkm_falcon_fw *fw) in gm200_flcn_fw_load() argument
251 struct nvkm_falcon *falcon = fw->falcon; in gm200_flcn_fw_load()
254 if (fw->inst) { in gm200_flcn_fw_load()
257 switch (nvkm_memory_target(fw->inst)) { in gm200_flcn_fw_load()
266 falcon->func->bind_inst(falcon, target, nvkm_memory_addr(fw->inst)); in gm200_flcn_fw_load()
287 if (fw->boot) { in gm200_flcn_fw_load()
[all …]
H A Dga102.c107 ga102_flcn_fw_boot(struct nvkm_falcon_fw *fw, u32 *mbox0, u32 *mbox1, u32 mbox0_ok, u32 irqsclr) in ga102_flcn_fw_boot() argument
109 struct nvkm_falcon *falcon = fw->falcon; in ga102_flcn_fw_boot()
111 nvkm_falcon_wr32(falcon, falcon->addr2 + 0x210, fw->dmem_sign); in ga102_flcn_fw_boot()
112 nvkm_falcon_wr32(falcon, falcon->addr2 + 0x19c, fw->engine_id); in ga102_flcn_fw_boot()
113 nvkm_falcon_wr32(falcon, falcon->addr2 + 0x198, fw->ucode_id); in ga102_flcn_fw_boot()
116 return gm200_flcn_fw_boot(fw, mbox0, mbox1, mbox0_ok, irqsclr); in ga102_flcn_fw_boot()
120 ga102_flcn_fw_load(struct nvkm_falcon_fw *fw) in ga102_flcn_fw_load() argument
122 struct nvkm_falcon *falcon = fw->falcon; in ga102_flcn_fw_load()
129 ret = nvkm_falcon_dma_wr(falcon, fw->fw.img, fw->fw.phys, fw->imem_base_img, in ga102_flcn_fw_load()
130 IMEM, fw->imem_base, fw->imem_size, true); in ga102_flcn_fw_load()
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/filters/
H A Dfw.json4 "name": "Add fw filter with prio at 32-bit maxixum",
7 "fw"
15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok",
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw",
18 "matchPattern": "pref 65535 fw.*handle 0x1.*gact action pass",
26 "name": "Add fw filter with prio exceeding 32-bit maxixum",
29 "fw"
37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok",
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw",
40 "matchPattern": "pref 65536 fw.*handle 0x1.*gact action pass",
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dfw-api.h10 #include "fw/api/tdls.h"
11 #include "fw/api/mac-cfg.h"
12 #include "fw/api/offload.h"
13 #include "fw/api/context.h"
14 #include "fw/api/time-event.h"
15 #include "fw/api/datapath.h"
16 #include "fw/api/phy.h"
17 #include "fw/api/config.h"
18 #include "fw/api/system.h"
19 #include "fw/api/alive.h"
[all …]
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dfirewall.c17 static int fw_next(struct tegra_drm_firewall *fw, u32 *word) in fw_next() argument
19 if (fw->pos == fw->end) in fw_next()
22 *word = fw->data[fw->pos++]; in fw_next()
27 static bool fw_check_addr_valid(struct tegra_drm_firewall *fw, u32 offset) in fw_check_addr_valid() argument
31 for (i = 0; i < fw->submit->num_used_mappings; i++) { in fw_check_addr_valid()
32 struct tegra_drm_mapping *m = fw->submit->used_mappings[i].mapping; in fw_check_addr_valid()
41 static int fw_check_reg(struct tegra_drm_firewall *fw, u32 offset) in fw_check_reg() argument
47 err = fw_next(fw, &word); in fw_check_reg()
51 if (!fw->client->ops->is_addr_reg) in fw_check_reg()
54 is_addr = fw->client->ops->is_addr_reg(fw->client->base.dev, fw->class, in fw_check_reg()
[all …]
/openbmc/linux/drivers/firmware/
H A Draspberrypi.c41 struct rpi_firmware *fw = container_of(cl, struct rpi_firmware, cl); in response_callback() local
42 complete(&fw->c); in response_callback()
50 rpi_firmware_transaction(struct rpi_firmware *fw, u32 chan, u32 data) in rpi_firmware_transaction() argument
58 reinit_completion(&fw->c); in rpi_firmware_transaction()
59 ret = mbox_send_message(fw->chan, &message); in rpi_firmware_transaction()
61 if (wait_for_completion_timeout(&fw->c, HZ)) { in rpi_firmware_transaction()
68 dev_err(fw->cl.dev, "mbox_send_message returned %d\n", ret); in rpi_firmware_transaction()
77 * @fw: Pointer to firmware structure from rpi_firmware_get().
89 int rpi_firmware_property_list(struct rpi_firmware *fw, in rpi_firmware_property_list() argument
101 buf = dma_alloc_coherent(fw->chan->mbox->dev, PAGE_ALIGN(size), in rpi_firmware_property_list()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dfirmware.c47 const struct firmware *fw; in nvkm_firmware_load_blob() local
50 ret = nvkm_firmware_load_name(subdev, base, name, ver, &fw); in nvkm_firmware_load_blob()
52 blob->data = kmemdup(fw->data, fw->size, GFP_KERNEL); in nvkm_firmware_load_blob()
53 blob->size = fw->size; in nvkm_firmware_load_blob()
54 nvkm_firmware_put(fw); in nvkm_firmware_load_blob()
67 * @fw: firmware structure to load to
74 const struct firmware **fw) in nvkm_firmware_get() argument
95 if (!firmware_request_nowarn(fw, f, device->dev)) { in nvkm_firmware_get()
97 f, (*fw)->size); in nvkm_firmware_get()
109 nvkm_firmware_put(const struct firmware *fw) in nvkm_firmware_put() argument
[all …]
/openbmc/linux/drivers/accel/ivpu/
H A Divpu_fw.c46 /* TODO: Remove mtl_vpu.bin from names after transition to generation based FW names */
68 ret = request_firmware(&vdev->fw->file, ivpu_firmware, vdev->drm.dev); in ivpu_fw_request()
70 vdev->fw->name = ivpu_firmware; in ivpu_fw_request()
78 ret = firmware_request_nowarn(&vdev->fw->file, fw_names[i].name, vdev->drm.dev); in ivpu_fw_request()
80 vdev->fw->name = fw_names[i].name; in ivpu_fw_request()
98 ivpu_err(vdev, "Incompatible FW %s API version: %d.%d, required %d.0 or later\n", in ivpu_fw_check_api()
103 ivpu_warn(vdev, "Major FW %s API version different: %d.%d (expected %d.%d)\n", in ivpu_fw_check_api()
106 ivpu_dbg(vdev, FW_BOOT, "FW %s API version: %d.%d (expected %d.%d)\n", in ivpu_fw_check_api()
114 struct ivpu_fw_info *fw = vdev->fw; in ivpu_fw_parse() local
115 const struct vpu_firmware_header *fw_hdr = (const void *)fw->file->data; in ivpu_fw_parse()
[all …]
/openbmc/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_fw.c23 dev_err(&plat_dev->dev, "Invalid vcodec fw type"); in mtk_vcodec_fw_select()
29 void mtk_vcodec_fw_release(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_release() argument
31 fw->ops->release(fw); in mtk_vcodec_fw_release()
35 int mtk_vcodec_fw_load_firmware(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_load_firmware() argument
37 return fw->ops->load_firmware(fw); in mtk_vcodec_fw_load_firmware()
41 unsigned int mtk_vcodec_fw_get_vdec_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_vdec_capa() argument
43 return fw->ops->get_vdec_capa(fw); in mtk_vcodec_fw_get_vdec_capa()
47 unsigned int mtk_vcodec_fw_get_venc_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_venc_capa() argument
49 return fw->ops->get_venc_capa(fw); in mtk_vcodec_fw_get_venc_capa()
53 void *mtk_vcodec_fw_map_dm_addr(struct mtk_vcodec_fw *fw, u32 mem_addr) in mtk_vcodec_fw_map_dm_addr() argument
[all …]
H A Dmtk_vcodec_fw_scp.c7 static int mtk_vcodec_scp_load_firmware(struct mtk_vcodec_fw *fw) in mtk_vcodec_scp_load_firmware() argument
9 return rproc_boot(scp_get_rproc(fw->scp)); in mtk_vcodec_scp_load_firmware()
12 static unsigned int mtk_vcodec_scp_get_vdec_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_scp_get_vdec_capa() argument
14 return scp_get_vdec_hw_capa(fw->scp); in mtk_vcodec_scp_get_vdec_capa()
17 static unsigned int mtk_vcodec_scp_get_venc_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_scp_get_venc_capa() argument
19 return scp_get_venc_hw_capa(fw->scp); in mtk_vcodec_scp_get_venc_capa()
22 static void *mtk_vcodec_vpu_scp_dm_addr(struct mtk_vcodec_fw *fw, in mtk_vcodec_vpu_scp_dm_addr() argument
25 return scp_mapping_dm_addr(fw->scp, dtcm_dmem_addr); in mtk_vcodec_vpu_scp_dm_addr()
28 static int mtk_vcodec_scp_set_ipi_register(struct mtk_vcodec_fw *fw, int id, in mtk_vcodec_scp_set_ipi_register() argument
32 return scp_ipi_register(fw->scp, id, handler, priv); in mtk_vcodec_scp_set_ipi_register()
[all …]
H A Dmtk_vcodec_fw_vpu.c7 static int mtk_vcodec_vpu_load_firmware(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_load_firmware() argument
9 return vpu_load_firmware(fw->pdev); in mtk_vcodec_vpu_load_firmware()
12 static unsigned int mtk_vcodec_vpu_get_vdec_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_get_vdec_capa() argument
14 return vpu_get_vdec_hw_capa(fw->pdev); in mtk_vcodec_vpu_get_vdec_capa()
17 static unsigned int mtk_vcodec_vpu_get_venc_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_get_venc_capa() argument
19 return vpu_get_venc_hw_capa(fw->pdev); in mtk_vcodec_vpu_get_venc_capa()
22 static void *mtk_vcodec_vpu_map_dm_addr(struct mtk_vcodec_fw *fw, in mtk_vcodec_vpu_map_dm_addr() argument
25 return vpu_mapping_dm_addr(fw->pdev, dtcm_dmem_addr); in mtk_vcodec_vpu_map_dm_addr()
28 static int mtk_vcodec_vpu_set_ipi_register(struct mtk_vcodec_fw *fw, int id, in mtk_vcodec_vpu_set_ipi_register() argument
32 return vpu_ipi_register(fw->pdev, id, handler, name, priv); in mtk_vcodec_vpu_set_ipi_register()
[all …]
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00firmware.c23 const struct firmware *fw; in rt2x00lib_request_firmware() local
40 retval = request_firmware(&fw, fw_name, device); in rt2x00lib_request_firmware()
46 if (!fw || !fw->size || !fw->data) { in rt2x00lib_request_firmware()
48 release_firmware(fw); in rt2x00lib_request_firmware()
53 fw->data[fw->size - 4], fw->data[fw->size - 3]); in rt2x00lib_request_firmware()
56 fw->data[fw->size - 4], fw->data[fw->size - 3]); in rt2x00lib_request_firmware()
58 retval = rt2x00dev->ops->lib->check_firmware(rt2x00dev, fw->data, fw->size); in rt2x00lib_request_firmware()
67 fw->size); in rt2x00lib_request_firmware()
74 rt2x00dev->fw = fw; in rt2x00lib_request_firmware()
79 release_firmware(fw); in rt2x00lib_request_firmware()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/adreno/
H A Dadreno_device.c28 .fw = {
29 [ADRENO_FW_PM4] = "yamato_pm4.fw",
30 [ADRENO_FW_PFP] = "yamato_pfp.fw",
39 .fw = {
40 [ADRENO_FW_PM4] = "yamato_pm4.fw",
41 [ADRENO_FW_PFP] = "yamato_pfp.fw",
50 .fw = {
51 [ADRENO_FW_PM4] = "leia_pm4_470.fw",
52 [ADRENO_FW_PFP] = "leia_pfp_470.fw",
64 .fw = {
[all …]
/openbmc/openbmc/meta-arm/meta-arm/recipes-bsp/scp-firmware/
H A Dscp-firmware_2.15.0.bb59 for FW in ${FW_TARGETS}; do
61 bbnote Configuring ${SCP_PLATFORM}/${FW}_${TYPE}...
62 …_OECMAKE} -S ${S} -B "${B}/${TYPE}/${FW}" -D SCP_FIRMWARE_SOURCE_DIR:PATH="${SCP_PRODUCT_GROUP}/${…
70 for FW in ${FW_TARGETS}; do
72 bbnote Building ${SCP_PLATFORM}/${FW}_${TYPE}...
73 VERBOSE=1 cmake --build ${B}/${TYPE}/${FW} --target all
81 for FW in ${FW_TARGETS}; do
83 if [ "$FW" = "scp" ]; then
84 … install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl1.bin" "${D}/firmware/${FW}_${TYPE}.bin"
85 … install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl1.elf" "${D}/firmware/${FW}_${TYPE}.elf"
[all …]
/openbmc/linux/drivers/nfc/s3fwrn5/
H A Dfirmware.c285 struct s3fwrn5_fw_image *fw = &fw_info->fw; in s3fwrn5_fw_request_firmware() local
291 ret = request_firmware(&fw->fw, fw_info->fw_name, in s3fwrn5_fw_request_firmware()
296 if (fw->fw->size < S3FWRN5_FW_IMAGE_HEADER_SIZE) { in s3fwrn5_fw_request_firmware()
297 release_firmware(fw->fw); in s3fwrn5_fw_request_firmware()
301 memcpy(fw->date, fw->fw->data + 0x00, 12); in s3fwrn5_fw_request_firmware()
302 fw->date[12] = '\0'; in s3fwrn5_fw_request_firmware()
304 memcpy(&fw->version, fw->fw->data + 0x10, 4); in s3fwrn5_fw_request_firmware()
306 memcpy(&sig_off, fw->fw->data + 0x14, 4); in s3fwrn5_fw_request_firmware()
307 fw->sig = fw->fw->data + sig_off; in s3fwrn5_fw_request_firmware()
308 memcpy(&fw->sig_size, fw->fw->data + 0x18, 4); in s3fwrn5_fw_request_firmware()
[all …]
/openbmc/linux/drivers/gpu/host1x/
H A Djob.c355 static int check_register(struct host1x_firewall *fw, unsigned long offset) in check_register() argument
357 if (!fw->job->is_addr_reg) in check_register()
360 if (fw->job->is_addr_reg(fw->dev, fw->class, offset)) { in check_register()
361 if (!fw->num_relocs) in check_register()
364 if (!check_reloc(fw->reloc, fw->cmdbuf, fw->offset)) in check_register()
367 fw->num_relocs--; in check_register()
368 fw->reloc++; in check_register()
374 static int check_class(struct host1x_firewall *fw, u32 class) in check_class() argument
376 if (!fw->job->is_valid_class) { in check_class()
377 if (fw->class != class) in check_class()
[all …]
/openbmc/linux/drivers/net/wireless/ath/carl9170/
H A Dfw.c25 carl9170fw_for_each_hdr(iter, ar->fw.desc) { in carl9170_fw_find_desc()
176 dev_err(&ar->udev->dev, "fw checksum test failed.\n"); in carl9170_fw_checksum()
195 ar->fw.tx_seq_table = le32_to_cpu(txsq_desc->seq_table_addr); in carl9170_fw_tx_sequence()
196 if (!valid_cpu_addr(ar->fw.tx_seq_table)) in carl9170_fw_tx_sequence()
199 ar->fw.tx_seq_table = 0; in carl9170_fw_tx_sequence()
208 if (ar->fw.vif_num < 2) in carl9170_fw_set_if_combinations()
211 ar->if_comb_limits[0].max = ar->fw.vif_num; in carl9170_fw_set_if_combinations()
215 ar->if_combs[0].max_interfaces = ar->fw.vif_num; in carl9170_fw_set_if_combinations()
248 ar->fw.api_version = otus_desc->api_ver; in carl9170_fw()
250 if (ar->fw.api_version < CARL9170FW_API_MIN_VER || in carl9170_fw()
[all …]
/openbmc/linux/scripts/
H A Dextract_xc3028.pl19 # cp xc3028-v24.fw /lib/firmware
20 # cp xc3028-v27.fw /lib/firmware
163 # Firmware 0, type: BASE FW F8MHZ (0x00000003), id: (0000000000000000), size: 6635
172 # Firmware 1, type: BASE FW F8MHZ MTS (0x00000007), id: (0000000000000000), size: 6635
181 # Firmware 2, type: BASE FW FM (0x00000401), id: (0000000000000000), size: 6525
190 # Firmware 3, type: BASE FW FM INPUT1 (0x00000c01), id: (0000000000000000), size: 6539
199 # Firmware 4, type: BASE FW (0x00000001), id: (0000000000000000), size: 6633
208 # Firmware 5, type: BASE FW MTS (0x00000005), id: (0000000000000000), size: 6617
217 # Firmware 6, type: STD FW (0x00000000), id: PAL/BG A2/A (0000000100000007), size: 161
226 # Firmware 7, type: STD FW MTS (0x00000004), id: PAL/BG A2/A (0000000100000007), size: 169
[all …]
H A Dget_dvb_firmware53 my $outfile = "dvb-fe-sp8870.fw";
71 my $outfile = "dvb-fe-sp887x.fw";
90 my $outfile = "dvb-fe-tda10045.fw";
108 my $outfile = "dvb-fe-tda10046.fw";
126 my $outfile = "dvb-fe-tda10046.fw";
141 my $sourcefile = "dvb-ttpci-01.fw-261d";
144 my $outfile = "dvb-ttpci-01.fw";
159 my $outfile = "dvb-ttusb-dec-2000t.fw";
176 my $outfile = "dvb-ttusb-dec-2540t.fw";
193 my $outfile = "dvb-ttusb-dec-3000s.fw";
[all …]
/openbmc/linux/drivers/firmware/meson/
H A Dmeson_sm.c93 * @fw: Pointer to secure-monitor firmware
104 int meson_sm_call(struct meson_sm_firmware *fw, unsigned int cmd_index, in meson_sm_call() argument
109 if (!fw->chip) in meson_sm_call()
112 cmd = meson_sm_get_cmd(fw->chip, cmd_index); in meson_sm_call()
128 * @fw: Pointer to secure-monitor firmware
142 int meson_sm_call_read(struct meson_sm_firmware *fw, void *buffer, in meson_sm_call_read() argument
149 if (!fw->chip) in meson_sm_call_read()
152 if (!fw->chip->cmd_shmem_out_base) in meson_sm_call_read()
155 if (bsize > fw->chip->shmem_size) in meson_sm_call_read()
158 if (meson_sm_call(fw, cmd_index, &size, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_read()
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_dbg.c747 struct qla2300_fw_dump *fw; in qla2300_fw_dump() local
766 fw = &ha->fw_dump->isp.isp23; in qla2300_fw_dump()
770 fw->hccr = htons(rd_reg_word(&reg->hccr)); in qla2300_fw_dump()
790 for (cnt = 0; cnt < ARRAY_SIZE(fw->pbiu_reg); cnt++, dmp_reg++) in qla2300_fw_dump()
791 fw->pbiu_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2300_fw_dump()
794 for (cnt = 0; cnt < ARRAY_SIZE(fw->risc_host_reg); in qla2300_fw_dump()
796 fw->risc_host_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2300_fw_dump()
799 for (cnt = 0; cnt < ARRAY_SIZE(fw->mailbox_reg); in qla2300_fw_dump()
801 fw->mailbox_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2300_fw_dump()
804 qla2xxx_read_window(reg, 32, fw->resp_dma_reg); in qla2300_fw_dump()
[all …]
/openbmc/linux/drivers/media/usb/go7007/
H A Dgo7007-loader.c20 { 0x1943, 0xa250, "go7007/s2250-1.fw", "go7007/s2250-2.fw" },
21 { 0x093b, 0xa002, "go7007/px-m402u.fw", NULL },
22 { 0x093b, 0xa004, "go7007/px-tv402u.fw", NULL },
23 { 0x0eb1, 0x6666, "go7007/lr192.fw", NULL },
24 { 0x0eb1, 0x6668, "go7007/wis-startrek.fw", NULL },
27 MODULE_FIRMWARE("go7007/s2250-1.fw");
28 MODULE_FIRMWARE("go7007/s2250-2.fw");
29 MODULE_FIRMWARE("go7007/px-m402u.fw");
30 MODULE_FIRMWARE("go7007/px-tv402u.fw");
31 MODULE_FIRMWARE("go7007/lr192.fw");
[all …]
/openbmc/linux/drivers/remoteproc/
H A Dremoteproc_elf_loader.c31 * @fw: the ELF firmware image
33 * Make sure this fw image is sane (ie a correct ELF32/ELF64 file).
37 int rproc_elf_sanity_check(struct rproc *rproc, const struct firmware *fw) argument
52 if (!fw) {
57 if (fw->size < sizeof(struct elf32_hdr)) {
62 ehdr = (struct elf32_hdr *)fw->data;
75 if (class == ELFCLASS64 && fw->size < sizeof(struct elf64_hdr)) {
90 phoff = elf_hdr_get_e_phoff(class, fw->data);
91 shoff = elf_hdr_get_e_shoff(class, fw->data);
92 phnum = elf_hdr_get_e_phnum(class, fw->data);
[all …]

12345678910>>...90