Home
last modified time | relevance | path

Searched refs:ihdr (Results 1 – 5 of 5) sorted by relevance

/openbsd/src/sys/arch/arm64/dev/
Dapldc.c676 struct mtp_init_hdr *ihdr = buf; in apldchidev_handle_comm() local
681 switch (ihdr->type) { in apldchidev_handle_comm()
683 if (strcmp(ihdr->name, "keyboard") == 0) { in apldchidev_handle_comm()
684 sc->sc_iface_kbd = ihdr->iface; in apldchidev_handle_comm()
685 apldchidev_handle_init(sc, ihdr->iface, in apldchidev_handle_comm()
686 ihdr + 1, len - sizeof(*ihdr)); in apldchidev_handle_comm()
688 if (strcmp(ihdr->name, "multi-touch") == 0) { in apldchidev_handle_comm()
689 sc->sc_iface_mt = ihdr->iface; in apldchidev_handle_comm()
690 apldchidev_handle_init(sc, ihdr->iface, in apldchidev_handle_comm()
691 ihdr + 1, len - sizeof(*ihdr)); in apldchidev_handle_comm()
[all …]
/openbsd/src/sys/dev/pci/drm/amd/amdgpu/
Damdgpu_discovery.c468 struct ip_discovery_header *ihdr = in amdgpu_discovery_init() local
470 if (le32_to_cpu(ihdr->signature) != DISCOVERY_TABLE_SIGNATURE) { in amdgpu_discovery_init()
477 le16_to_cpu(ihdr->size), checksum)) { in amdgpu_discovery_init()
612 struct ip_discovery_header *ihdr; in amdgpu_discovery_read_harvest_bit_per_ip() local
619 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + in amdgpu_discovery_read_harvest_bit_per_ip()
621 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_read_harvest_bit_per_ip()
625 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_read_harvest_bit_per_ip()
662 if (ihdr->base_addr_64_bit) in amdgpu_discovery_read_harvest_bit_per_ip()
1126 struct ip_discovery_header *ihdr; in amdgpu_discovery_sysfs_recurse() local
1134 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + in amdgpu_discovery_sysfs_recurse()
[all …]
/openbsd/src/sys/dev/ic/
Datwvar.h322 struct ieee80211_frame ihdr; member
332 #define atw_ihdr u.s2.ihdr
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Delf.c6079 Elf_Internal_Shdr *ihdr, *ohdr; in _bfd_elf_init_private_section_data() local
6108 ihdr = &elf_section_data (isec)->this_hdr; in _bfd_elf_init_private_section_data()
6113 if ((ihdr->sh_flags & SHF_LINK_ORDER) != 0) in _bfd_elf_init_private_section_data()
6134 Elf_Internal_Shdr *ihdr, *ohdr; in _bfd_elf_copy_private_section_data() local
6140 ihdr = &elf_section_data (isec)->this_hdr; in _bfd_elf_copy_private_section_data()
6143 ohdr->sh_entsize = ihdr->sh_entsize; in _bfd_elf_copy_private_section_data()
6145 if (ihdr->sh_type == SHT_SYMTAB in _bfd_elf_copy_private_section_data()
6146 || ihdr->sh_type == SHT_DYNSYM in _bfd_elf_copy_private_section_data()
6147 || ihdr->sh_type == SHT_GNU_verneed in _bfd_elf_copy_private_section_data()
6148 || ihdr->sh_type == SHT_GNU_verdef) in _bfd_elf_copy_private_section_data()
[all …]
/openbsd/src/gnu/usr.bin/binutils/bfd/
Delf.c5271 Elf_Internal_Shdr *ihdr, *ohdr; in _bfd_elf_copy_private_section_data() local
5295 ihdr = &elf_section_data (isec)->this_hdr; in _bfd_elf_copy_private_section_data()
5298 ohdr->sh_entsize = ihdr->sh_entsize; in _bfd_elf_copy_private_section_data()
5300 if (ihdr->sh_type == SHT_SYMTAB in _bfd_elf_copy_private_section_data()
5301 || ihdr->sh_type == SHT_DYNSYM in _bfd_elf_copy_private_section_data()
5302 || ihdr->sh_type == SHT_GNU_verneed in _bfd_elf_copy_private_section_data()
5303 || ihdr->sh_type == SHT_GNU_verdef) in _bfd_elf_copy_private_section_data()
5304 ohdr->sh_info = ihdr->sh_info; in _bfd_elf_copy_private_section_data()