/freebsd/sys/dev/hid/ |
H A D | hms.c | 197 void *d_ptr; in hms_identify() local 205 error = hid_get_report_descr(parent, &d_ptr, &d_len); in hms_identify() 208 hid_is_mouse(d_ptr, d_len))) in hms_identify() 253 void *d_ptr; in hms_attach() local 265 error = hid_get_report_descr(dev, &d_ptr, &d_len); in hms_attach() 267 memcmp(d_ptr, hms_boot_desc, sizeof(hms_boot_desc)) == 0); in hms_attach() 283 sc->isize = hid_report_size_max(d_ptr, d_len, hid_input, NULL); in hms_attach()
|
H A D | hconf.c | 211 uint16_t usage, void *d_ptr, hid_size_t d_len) in hconf_parse_feature() argument 215 if (!hidbus_locate(d_ptr, d_len, HID_USAGE2(HUP_DIGITIZERS, usage), in hconf_parse_feature() 222 fc->rlen = hid_report_size(d_ptr, d_len, hid_feature, fc->rid); in hconf_parse_feature() 246 void *d_ptr; in hconf_attach() local 252 error = hid_get_report_descr(dev, &d_ptr, &d_len); in hconf_attach() 265 feature_control_descrs[i].usage, d_ptr, d_len); in hconf_attach()
|
H A D | hmt.c | 266 void *d_ptr; in hmt_probe() local 274 err = hid_get_report_descr(dev, &d_ptr, &d_len); in hmt_probe() 283 sc->type = hmt_hid_parse(sc, d_ptr, d_len, in hmt_probe() 299 void *d_ptr; in hmt_attach() local 307 err = hid_get_report_descr(dev, &d_ptr, &d_len); in hmt_attach() 316 fsize = hid_report_size_max(d_ptr, d_len, hid_feature, NULL); in hmt_attach() 655 hmt_hid_parse(struct hmt_softc *sc, const void *d_ptr, hid_size_t d_len, in hmt_hid_parse() argument 703 if (!hidbus_locate(d_ptr, d_len, in hmt_hid_parse() 712 if (hidbus_locate(d_ptr, d_len, in hmt_hid_parse() 719 hidbus_locate(d_ptr, d_len, HID_USAGE2(HUP_MICROSOFT, HUMS_THQA_CERT), in hmt_hid_parse() [all …]
|
H A D | hpen.c | 176 void *d_ptr; in hpen_probe() local 193 if (hid_get_report_descr(dev, &d_ptr, &d_len) != 0) in hpen_probe() 196 if (hidbus_is_collection(d_ptr, d_len, in hpen_probe()
|
H A D | hidmap.c | 443 hidmap_probe_hid_descr(void *d_ptr, hid_size_t d_len, uint8_t tlc_index, in hidmap_probe_hid_descr() argument 459 hd = hid_start_parse(d_ptr, d_len, 1 << hid_input); in hidmap_probe_hid_descr() 503 void *d_ptr; in hidmap_add_map() local 514 error = hid_get_report_descr(hm->dev, &d_ptr, &d_len); in hidmap_add_map() 522 items = hidmap_probe_hid_descr(d_ptr, d_len, tlc_index, map, in hidmap_add_map() 660 void *d_ptr; in hidmap_parse_hid_descr() local 666 error = hid_get_report_descr(hm->dev, &d_ptr, &d_len); in hidmap_parse_hid_descr() 674 hd = hid_start_parse(d_ptr, d_len, 1 << hid_input); in hidmap_parse_hid_descr()
|
H A D | ietp.c | 248 void *d_ptr; in ietp_attach() local 260 error = hid_get_report_descr(sc->dev, &d_ptr, &d_len); in ietp_attach() 266 if (hidbus_locate(d_ptr, d_len, HID_USAGE2(HUP_BUTTON, 3), in ietp_attach() 423 void *d_ptr; in ietp_iic_identify() local 430 if (hid_get_report_descr(parent, &d_ptr, &d_len) != 0) in ietp_iic_identify() 439 isize = hid_report_size_max(d_ptr, d_len, hid_input, &iid); in ietp_iic_identify()
|
H A D | hidbus.c | 345 void *d_ptr = NULL; in hidbus_attach() local 360 d_ptr = malloc(d_len, M_DEVBUF, M_ZERO | M_WAITOK); in hidbus_attach() 361 error = hid_get_rdesc(dev, d_ptr, d_len); in hidbus_attach() 363 free(d_ptr, M_DEVBUF); in hidbus_attach() 365 d_ptr = NULL; in hidbus_attach() 369 hidbus_fill_rdesc_info(&sc->rdesc, d_ptr, d_len); in hidbus_attach()
|
H A D | hid.h | 328 int hid_is_mouse(const void *d_ptr, uint16_t d_len); 329 int hid_is_keyboard(const void *d_ptr, uint16_t d_len);
|
H A D | hid.c | 904 hid_is_mouse(const void *d_ptr, uint16_t d_len) in hid_is_mouse() argument 911 hd = hid_start_parse(d_ptr, d_len, 1 << hid_input); in hid_is_mouse() 962 hid_is_keyboard(const void *d_ptr, uint16_t d_len) in hid_is_keyboard() argument 964 if (hid_is_collection(d_ptr, d_len, in hid_is_keyboard()
|
/freebsd/sys/dev/usb/input/ |
H A D | wmt.c | 285 void *d_ptr; in wmt_probe() local 299 &d_ptr, &d_len, M_TEMP, uaa->info.bIfaceIndex); in wmt_probe() 305 sc->type = wmt_hid_parse(sc, d_ptr, d_len); in wmt_probe() 318 free(d_ptr, M_TEMP); in wmt_probe() 729 wmt_hid_parse(struct wmt_softc *sc, const void *d_ptr, uint16_t d_len) in wmt_hid_parse() argument 750 hd = hid_start_parse(d_ptr, d_len, 1 << hid_feature); in wmt_hid_parse() 806 hd = hid_start_parse(d_ptr, d_len, 1 << hid_input); in wmt_hid_parse() 934 sc->isize = hid_report_size_max(d_ptr, d_len, hid_input, NULL); in wmt_hid_parse() 935 sc->report_len = hid_report_size(d_ptr, d_len, hid_input, in wmt_hid_parse() 937 sc->cont_max_rlen = hid_report_size(d_ptr, d_len, hid_feature, in wmt_hid_parse() [all …]
|
H A D | ums.c | 425 void *d_ptr; in ums_probe() local 445 &d_ptr, &d_len, M_TEMP, uaa->info.bIfaceIndex); in ums_probe() 450 if (hid_is_mouse(d_ptr, d_len)) in ums_probe() 455 free(d_ptr, M_TEMP); in ums_probe() 575 void *d_ptr = NULL; in ums_attach() local 611 err = usbd_req_get_hid_desc(uaa->device, NULL, &d_ptr, in ums_attach() 619 isize = hid_report_size_max(d_ptr, d_len, hid_input, &sc->sc_iid); in ums_attach() 662 ums_hid_parse(sc, dev, d_ptr, d_len, i); in ums_attach() 676 free(d_ptr, M_TEMP); in ums_attach() 677 d_ptr = NULL; in ums_attach() [all …]
|
/freebsd/sys/cam/ctl/ |
H A D | ctl_tpc.c | 273 struct scsi_vpd_tpc_descriptor *d_ptr; in ctl_inquiry_evpd_tpc() local 320 d_ptr = (struct scsi_vpd_tpc_descriptor *)&tpc_ptr->descr[0]; in ctl_inquiry_evpd_tpc() 321 bdrl_ptr = (struct scsi_vpd_tpc_descriptor_bdrl *)d_ptr; in ctl_inquiry_evpd_tpc() 333 d_ptr = (struct scsi_vpd_tpc_descriptor *) in ctl_inquiry_evpd_tpc() 334 (&d_ptr->parameters[0] + scsi_2btoul(d_ptr->desc_length)); in ctl_inquiry_evpd_tpc() 335 sc_ptr = (struct scsi_vpd_tpc_descriptor_sc *)d_ptr; in ctl_inquiry_evpd_tpc() 359 d_ptr = (struct scsi_vpd_tpc_descriptor *) in ctl_inquiry_evpd_tpc() 360 (&d_ptr->parameters[0] + scsi_2btoul(d_ptr->desc_length)); in ctl_inquiry_evpd_tpc() 361 pd_ptr = (struct scsi_vpd_tpc_descriptor_pd *)d_ptr; in ctl_inquiry_evpd_tpc() 370 d_ptr = (struct scsi_vpd_tpc_descriptor *) in ctl_inquiry_evpd_tpc() [all …]
|
/freebsd/sys/dev/usb/misc/ |
H A D | ugold.c | 194 void *d_ptr; in ugold_attach() local 222 &d_ptr, &d_len, M_TEMP, uaa->info.bIfaceIndex); in ugold_attach() 227 (void)hid_report_size_max(d_ptr, d_len, hid_input, &sc->sc_report_id); in ugold_attach() 229 free(d_ptr, M_TEMP); in ugold_attach()
|
/freebsd/lib/libkldelf/ |
H A D | ef.c | 295 hash_off = ef_get_offset(ef, dp->d_un.d_ptr); in ef_parse_dynamic() 301 str_off = ef_get_offset(ef, dp->d_un.d_ptr); in ef_parse_dynamic() 307 sym_off = ef_get_offset(ef, dp->d_un.d_ptr); in ef_parse_dynamic() 320 rel_off = ef_get_offset(ef, dp->d_un.d_ptr); in ef_parse_dynamic() 339 rela_off = ef_get_offset(ef, dp->d_un.d_ptr); in ef_parse_dynamic()
|
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
H A D | ELFObjHandler.cpp | 134 Entry.d_un.d_ptr = Addr; in addAddr() 140 Entries[Index].d_un.d_ptr = Addr; in modifyAddr() 462 Dyn.StrTabAddr = Entry.d_un.d_ptr; in populateDynamic() 473 Dyn.DynSymAddr = Entry.d_un.d_ptr; in populateDynamic() 477 Dyn.ElfHash = Entry.d_un.d_ptr; in populateDynamic() 480 Dyn.GnuHash = Entry.d_un.d_ptr; in populateDynamic()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/ |
H A D | cfi.cpp | 229 symtab = p->d_un.d_ptr; in find_cfi_check_in_dso() 231 strtab = p->d_un.d_ptr; in find_cfi_check_in_dso() 233 strsz = p->d_un.d_ptr; in find_cfi_check_in_dso()
|
/freebsd/contrib/file/src/ |
H A D | readelf.h | 479 Elf32_Addr d_ptr; member 487 Elf64_Addr d_ptr; member
|
/freebsd/stand/common/ |
H A D | self_reloc.c | 82 rel = (ElfW_Rel *)(dynp->d_un.d_ptr + baseaddr); in self_reloc()
|
H A D | load_elf.c | 876 (Elf_Hashelt*)(uintptr_t)(dp[i].d_un.d_ptr + off); 880 (char *)(uintptr_t)(dp[i].d_un.d_ptr + off); 887 (Elf_Sym *)(uintptr_t)(dp[i].d_un.d_ptr + off); 891 (Elf_Rel *)(uintptr_t)(dp[i].d_un.d_ptr + off); 898 (Elf_Rela *)(uintptr_t)(dp[i].d_un.d_ptr + off);
|
/freebsd/sys/powerpc/powerpc/ |
H A D | elf32_machdep.c | 349 rela = (Elf_Rela *)(relocbase+dynp->d_un.d_ptr); in elf_reloc_self() 425 got = (Elf_Addr *)(loadbase + dp->d_un.d_ptr); in elf_cpu_parse_dynamic()
|
/freebsd/sys/kern/ |
H A D | link_elf.c | 594 (ef->address + dp->d_un.d_ptr); in parse_dynamic() 602 ef->strtab = (caddr_t) (ef->address + dp->d_un.d_ptr); in parse_dynamic() 608 ef->symtab = (Elf_Sym*) (ef->address + dp->d_un.d_ptr); in parse_dynamic() 615 ef->got = (Elf_Addr *) (ef->address + dp->d_un.d_ptr); in parse_dynamic() 618 ef->rel = (const Elf_Rel *) (ef->address + dp->d_un.d_ptr); in parse_dynamic() 628 ef->pltrel = (const Elf_Rel *) (ef->address + dp->d_un.d_ptr); in parse_dynamic() 634 ef->rela = (const Elf_Rela *) (ef->address + dp->d_un.d_ptr); in parse_dynamic() 650 dp->d_un.d_ptr = (Elf_Addr)&r_debug; in parse_dynamic()
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | elf_types.m4 | 93 `d_un.d_ptr, WORD', 98 `d_un.d_ptr, XWORD',
|
/freebsd/sys/sys/ |
H A D | elf32.h | 125 Elf32_Addr d_ptr; /* Address value. */ member
|
H A D | elf64.h | 134 Elf64_Addr d_ptr; /* Address value. */ member
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.h | 280 elf_addr d_ptr; ///< Pointer value of the table entry. member
|