/drivers/remoteproc/ |
D | remoteproc_elf_loader.c | 47 struct elf32_hdr *ehdr; local 60 ehdr = (struct elf32_hdr *)fw->data; 63 class = ehdr->e_ident[EI_CLASS]; 71 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { 73 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { 79 if (fw->size < ehdr->e_shoff + sizeof(struct elf32_shdr)) { 84 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) { 89 if (ehdr->e_phnum == 0) { 94 if (ehdr->e_phoff > fw->size) { 116 struct elf32_hdr *ehdr = (struct elf32_hdr *)fw->data; local [all …]
|
D | qcom_mdt_loader.c | 61 const struct elf32_hdr *ehdr; in qcom_mdt_parse() local 67 ehdr = (struct elf32_hdr *)fw->data; in qcom_mdt_parse() 68 phdrs = (struct elf32_phdr *)(ehdr + 1); in qcom_mdt_parse() 70 for (i = 0; i < ehdr->e_phnum; i++) { in qcom_mdt_parse() 117 const struct elf32_hdr *ehdr; in qcom_mdt_load() local 125 ehdr = (struct elf32_hdr *)fw->data; in qcom_mdt_load() 126 phdrs = (struct elf32_phdr *)(ehdr + 1); in qcom_mdt_load() 136 for (i = 0; i < ehdr->e_phnum; i++) { in qcom_mdt_load()
|
D | qcom_q6v5_pil.c | 383 struct elf32_hdr *ehdr; in q6v5_mpss_validate() local 402 ehdr = (struct elf32_hdr *)fw->data; in q6v5_mpss_validate() 403 phdrs = (struct elf32_phdr *)(ehdr + 1); in q6v5_mpss_validate() 404 for (i = 0; i < ehdr->e_phnum; i++, phdr++) { in q6v5_mpss_validate()
|
/drivers/s390/crypto/ |
D | zcrypt_error.h | 93 struct error_hdr *ehdr = reply->message; in convert_error() local 95 switch (ehdr->reply_code) { in convert_error() 118 ehdr->reply_code); in convert_error() 130 ehdr->reply_code); in convert_error() 138 ehdr->reply_code); in convert_error()
|
/drivers/media/platform/sti/c8sectpfe/ |
D | c8sectpfe-core.c | 974 struct elf32_hdr *ehdr; in c8sectpfe_elf_sanity_check() local 987 ehdr = (struct elf32_hdr *)fw->data; in c8sectpfe_elf_sanity_check() 990 class = ehdr->e_ident[EI_CLASS]; in c8sectpfe_elf_sanity_check() 996 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { in c8sectpfe_elf_sanity_check() 1001 if (fw->size < ehdr->e_shoff + sizeof(struct elf32_shdr)) { in c8sectpfe_elf_sanity_check() 1006 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) { in c8sectpfe_elf_sanity_check() 1012 ehdr = (Elf32_Ehdr *)fw->data; in c8sectpfe_elf_sanity_check() 1013 if (ehdr->e_ident[EI_MAG0] != ELFMAG0 || in c8sectpfe_elf_sanity_check() 1014 ehdr->e_ident[EI_MAG1] != ELFMAG1 || in c8sectpfe_elf_sanity_check() 1015 ehdr->e_ident[EI_MAG2] != ELFMAG2 || in c8sectpfe_elf_sanity_check() [all …]
|
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | rammap.h | 18 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, 23 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | rammap.c | 147 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, u8 *ver, u8 *hdr) in nvbios_rammapSe() argument 150 data = data + ehdr + (idx * elen); in nvbios_rammapSe() 191 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, in nvbios_rammapSp() argument 194 data = nvbios_rammapSe(bios, data, ever, ehdr, ecnt, elen, idx, ver, hdr); in nvbios_rammapSp()
|
/drivers/message/fusion/ |
D | mptsas.c | 1360 cfg.cfghdr.ehdr = &hdr; in mptsas_sas_enclosure_pg0() 2021 cfg.cfghdr.ehdr = &hdr; in mptsas_get_linkerrors() 2378 cfg.cfghdr.ehdr = &hdr; in mptsas_sas_io_unit_pg0() 2452 cfg.cfghdr.ehdr = &hdr; in mptsas_sas_io_unit_pg1() 2455 cfg.cfghdr.ehdr->PageType = MPI_CONFIG_PAGETYPE_EXTENDED; in mptsas_sas_io_unit_pg1() 2456 cfg.cfghdr.ehdr->ExtPageType = MPI_CONFIG_EXTPAGETYPE_SAS_IO_UNIT; in mptsas_sas_io_unit_pg1() 2457 cfg.cfghdr.ehdr->PageVersion = MPI_SASIOUNITPAGE1_PAGEVERSION; in mptsas_sas_io_unit_pg1() 2458 cfg.cfghdr.ehdr->PageNumber = 1; in mptsas_sas_io_unit_pg1() 2514 cfg.cfghdr.ehdr = &hdr; in mptsas_sas_phy_pg0() 2579 cfg.cfghdr.ehdr = &hdr; in mptsas_sas_device_pg0() [all …]
|
D | mptbase.h | 895 ConfigExtendedPageHeader_t *ehdr; member
|
D | mptbase.c | 295 cfg.cfghdr.ehdr = &hdr; in mpt_is_discovery_complete() 6423 pExtHdr = (ConfigExtendedPageHeader_t *)pCfg->cfghdr.ehdr; in mpt_config() 6497 pCfg->cfghdr.ehdr->ExtPageLength = in mpt_config() 6499 pCfg->cfghdr.ehdr->ExtPageType = in mpt_config()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 2389 struct ethhdr *ehdr; in stmmac_rx_vlan() local 2396 ehdr = (struct ethhdr *)skb->data; in stmmac_rx_vlan() 2397 memmove(skb->data + VLAN_HLEN, ehdr, ETH_ALEN * 2); in stmmac_rx_vlan()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 3584 struct ethhdr *ehdr; in vmxnet3_suspend() local 3636 ehdr = (struct ethhdr *)pmConf->filters[i].pattern; in vmxnet3_suspend() 3637 ehdr->h_proto = htons(ETH_P_ARP); in vmxnet3_suspend()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 6564 static u64 niu_compute_tx_flags(struct sk_buff *skb, struct ethhdr *ehdr, in niu_compute_tx_flags() argument 6572 eth_proto = be16_to_cpu(ehdr->h_proto); in niu_compute_tx_flags() 6575 struct vlan_ethhdr *vp = (struct vlan_ethhdr *) ehdr; in niu_compute_tx_flags() 6638 struct ethhdr *ehdr; in niu_start_xmit() local 6671 ehdr = (struct ethhdr *) skb->data; in niu_start_xmit() 6675 tp->flags = cpu_to_le64(niu_compute_tx_flags(skb, ehdr, align, len)); in niu_start_xmit()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 1096 struct ipv6_opt_hdr *ehdr = in be_ipv6_exthdr_check() local 1100 if (ehdr->hdrlen == 0xff) in be_ipv6_exthdr_check()
|