Searched refs:__DECONST (Results 1 - 6 of 6) sorted by relevance
/third_party/FreeBSD/stand/kshim/ |
H A D | bsd_kernel.h | 128 #ifndef __DECONST 129 #define __DECONST(type, var) ((type)(__uintptr_t)(const void *)(var)) macro
|
/third_party/FreeBSD/sys/dev/usb/input/ |
H A D | uhid.c | 765 sc->sc_repdesc_ptr = __DECONST(void *, &uhid_graphire_report_descr); in uhid_attach() 785 sc->sc_repdesc_ptr = __DECONST(void *, &uhid_graphire3_4x5_report_descr); in uhid_attach() 797 __DECONST(void *, reportbuf), sizeof(reportbuf), in uhid_attach() 805 sc->sc_repdesc_ptr = __DECONST(void *, &uhid_xb360gp_report_descr); in uhid_attach()
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_core.h | 64 ((void *)(__DECONST(char *, (ptr)) + (size)))
|
H A D | usb_request.c | 1218 *ppcd = __DECONST(struct usb_config_descriptor *, ptr); in usbd_req_get_descriptor_ptr()
|
/third_party/FreeBSD/sys/sys/ |
H A D | cdefs.h | 616 #ifndef __DECONST 617 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
|
/third_party/FreeBSD/sys/dev/usb/serial/ |
H A D | u3g.c | 634 __DECONST(uint8_t *, &setup[n][8])); in u3g_sael_m460_init()
|
Completed in 8 milliseconds