/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/gpu/drm/nouveau/core/include/subdev/bios/ |
D | rammap.h | 19 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, 22 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
|
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
D | rammap.c | 136 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, in nvbios_rammapSe() argument 140 data = data + ehdr + (idx * elen); in nvbios_rammapSe() 150 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, in nvbios_rammapSp() argument 153 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() 2020 cfg.cfghdr.ehdr = &hdr; in mptsas_get_linkerrors() 2377 cfg.cfghdr.ehdr = &hdr; in mptsas_sas_io_unit_pg0() 2451 cfg.cfghdr.ehdr = &hdr; in mptsas_sas_io_unit_pg1() 2454 cfg.cfghdr.ehdr->PageType = MPI_CONFIG_PAGETYPE_EXTENDED; in mptsas_sas_io_unit_pg1() 2455 cfg.cfghdr.ehdr->ExtPageType = MPI_CONFIG_EXTPAGETYPE_SAS_IO_UNIT; in mptsas_sas_io_unit_pg1() 2456 cfg.cfghdr.ehdr->PageVersion = MPI_SASIOUNITPAGE1_PAGEVERSION; in mptsas_sas_io_unit_pg1() 2457 cfg.cfghdr.ehdr->PageNumber = 1; in mptsas_sas_io_unit_pg1() 2513 cfg.cfghdr.ehdr = &hdr; in mptsas_sas_phy_pg0() 2578 cfg.cfghdr.ehdr = &hdr; in mptsas_sas_device_pg0() [all …]
|
D | mptbase.h | 896 ConfigExtendedPageHeader_t *ehdr; member
|
D | mptbase.c | 299 cfg.cfghdr.ehdr = &hdr; in mpt_is_discovery_complete() 6420 pExtHdr = (ConfigExtendedPageHeader_t *)pCfg->cfghdr.ehdr; in mpt_config() 6494 pCfg->cfghdr.ehdr->ExtPageLength = in mpt_config() 6496 pCfg->cfghdr.ehdr->ExtPageType = in mpt_config()
|
/drivers/staging/rtl8723au/core/ |
D | rtw_xmit.c | 435 struct ethhdr *ehdr = (struct ethhdr *) skb->data; in update_attrib() local 437 pattrib->ether_type = ntohs(ehdr->h_proto); in update_attrib() 439 ether_addr_copy(pattrib->dst, ehdr->h_dest); in update_attrib() 440 ether_addr_copy(pattrib->src, ehdr->h_source); in update_attrib()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 2048 struct ethhdr *ehdr; in stmmac_rx_vlan() local 2055 ehdr = (struct ethhdr *)skb->data; in stmmac_rx_vlan() 2056 memmove(skb->data + VLAN_HLEN, ehdr, ETH_ALEN * 2); in stmmac_rx_vlan()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 3189 struct ethhdr *ehdr; in vmxnet3_suspend() local 3241 ehdr = (struct ethhdr *)pmConf->filters[i].pattern; in vmxnet3_suspend() 3242 ehdr->h_proto = htons(ETH_P_ARP); in vmxnet3_suspend()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 6565 static u64 niu_compute_tx_flags(struct sk_buff *skb, struct ethhdr *ehdr, in niu_compute_tx_flags() argument 6573 eth_proto = be16_to_cpu(ehdr->h_proto); in niu_compute_tx_flags() 6576 struct vlan_ethhdr *vp = (struct vlan_ethhdr *) ehdr; in niu_compute_tx_flags() 6639 struct ethhdr *ehdr; in niu_start_xmit() local 6679 ehdr = (struct ethhdr *) skb->data; in niu_start_xmit() 6683 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 | 921 struct ipv6_opt_hdr *ehdr = in be_ipv6_exthdr_check() local 925 if (ehdr->hdrlen == 0xff) in be_ipv6_exthdr_check()
|