Home
last modified time | relevance | path

Searched refs:HIDMAP_CAPS_SZ (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/hid/
H A Dhidmap.h219 #define HIDMAP_CAPS_SZ(nitems) howmany((nitems), 8) macro
220 #define HIDMAP_CAPS(name, map) uint8_t (name)[HIDMAP_CAPS_SZ(nitems(map))]
H A Dhidmap.c452 caps = malloc(HIDMAP_CAPS_SZ(nitems_map), M_DEVBUF, in hidmap_probe_hid_descr()
456 bzero (caps, HIDMAP_CAPS_SZ(nitems_map)); in hidmap_probe_hid_descr()