/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 …]
|
/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() 117 zdev->ap_dev->qid, zdev->online, ehdr->reply_code); in convert_error() 128 zdev->ap_dev->qid, zdev->online, ehdr->reply_code); in convert_error() 135 zdev->ap_dev->qid, zdev->online, 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() 6396 pExtHdr = (ConfigExtendedPageHeader_t *)pCfg->cfghdr.ehdr; in mpt_config() 6470 pCfg->cfghdr.ehdr->ExtPageLength = in mpt_config() 6472 pCfg->cfghdr.ehdr->ExtPageType = in mpt_config()
|
/drivers/staging/rtl8723au/core/ |
D | rtw_xmit.c | 425 struct ethhdr *ehdr = (struct ethhdr *) skb->data; in update_attrib() local 427 pattrib->ether_type = ntohs(ehdr->h_proto); in update_attrib() 429 ether_addr_copy(pattrib->dst, ehdr->h_dest); in update_attrib() 430 ether_addr_copy(pattrib->src, ehdr->h_source); in update_attrib()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 2107 struct ethhdr *ehdr; in stmmac_rx_vlan() local 2114 ehdr = (struct ethhdr *)skb->data; in stmmac_rx_vlan() 2115 memmove(skb->data + VLAN_HLEN, ehdr, ETH_ALEN * 2); in stmmac_rx_vlan()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 3373 struct ethhdr *ehdr; in vmxnet3_suspend() local 3424 ehdr = (struct ethhdr *)pmConf->filters[i].pattern; in vmxnet3_suspend() 3425 ehdr->h_proto = htons(ETH_P_ARP); in vmxnet3_suspend()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 6561 static u64 niu_compute_tx_flags(struct sk_buff *skb, struct ethhdr *ehdr, in niu_compute_tx_flags() argument 6569 eth_proto = be16_to_cpu(ehdr->h_proto); in niu_compute_tx_flags() 6572 struct vlan_ethhdr *vp = (struct vlan_ethhdr *) ehdr; in niu_compute_tx_flags() 6635 struct ethhdr *ehdr; in niu_start_xmit() local 6668 ehdr = (struct ethhdr *) skb->data; in niu_start_xmit() 6672 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 | 1032 struct ipv6_opt_hdr *ehdr = in be_ipv6_exthdr_check() local 1036 if (ehdr->hdrlen == 0xff) in be_ipv6_exthdr_check()
|