Lines Matching defs:hidcc
1 /* $OpenBSD: hidcc.c,v 1.5 2022/11/14 00:16:44 deraadt Exp $ */
37 struct hidcc;
38 void hidcc_dump(struct hidcc *, const char *, uint8_t *, u_int);
45 struct hidcc {
596 void hidcc_attach_wskbd(struct hidcc *);
601 int hidcc_parse(struct hidcc *, void *, int, int, int);
602 int hidcc_parse_array(struct hidcc *, const struct hid_item *);
604 int hidcc_add_key(struct hidcc *, int32_t, u_int);
605 int hidcc_add_key_volume(struct hidcc *, const struct hid_item *, uint32_t,
607 int hidcc_bit_to_sym(struct hidcc *, u_int, const struct hidcc_keysym **);
610 int hidcc_bits_to_volume(struct hidcc *, uint8_t *, int, u_int *);
611 int hidcc_intr_slice(struct hidcc *, uint8_t *, uint8_t *, int *);
612 void hidcc_input(struct hidcc *, u_int, int);
613 void hidcc_rawinput(struct hidcc *, u_char, int);
614 int hidcc_setbits(struct hidcc *, uint8_t *, int, u_int *);
642 struct hidcc *
645 struct hidcc *sc;
676 hidcc_detach(struct hidcc *sc, int flags)
690 hidcc_intr(struct hidcc *sc, void *data, u_int len)
758 hidcc_attach_wskbd(struct hidcc *sc)
785 struct hidcc *sc = (struct hidcc *)v;
811 struct hidcc *sc = (struct hidcc *)v;
827 hidcc_parse(struct hidcc *sc, void *desc, int descsiz, int repid, int isize)
925 hidcc_parse_array(struct hidcc *sc, const struct hid_item *hi)
957 hidcc_add_key(struct hidcc *sc, int32_t usage, u_int bit)
988 hidcc_add_key_volume(struct hidcc *sc, const struct hid_item *hi,
1022 hidcc_bit_to_sym(struct hidcc *sc, u_int bit, const struct hidcc_keysym **ks)
1064 hidcc_bits_to_volume(struct hidcc *sc, uint8_t *buf, int buflen, u_int *bit)
1095 hidcc_intr_slice(struct hidcc *sc, uint8_t *src, uint8_t *dst, int *len)
1127 hidcc_input(struct hidcc *sc, u_int bit, int release)
1138 hidcc_rawinput(struct hidcc *sc, u_char c, int release)
1158 hidcc_setbits(struct hidcc *sc, uint8_t *data, int len, u_int *bit)
1183 hidcc_dump(struct hidcc *sc, const char *prefix, uint8_t *data, u_int len)