Lines Matching defs:hidev
189 struct bthidev *hidev;
327 hidev = device_private(dev);
328 hidev->sc_dev = dev;
329 hidev->sc_parent = self;
330 hidev->sc_id = rep;
331 hidev->sc_input = bha.ba_input;
332 hidev->sc_feature = bha.ba_feature;
333 LIST_INSERT_HEAD(&sc->sc_list, hidev, sc_next);
356 struct bthidev *hidev;
405 while ((hidev = LIST_FIRST(&sc->sc_list)) != NULL) {
406 LIST_REMOVE(hidev, sc_next);
407 config_detach(hidev->sc_dev, flags);
623 struct bthidev *hidev;
646 LIST_FOREACH(hidev, &sc->sc_list, sc_next)
647 if (data[1] == hidev->sc_id)
650 if (hidev == NULL) {
659 (*hidev->sc_input)(hidev, data + 2, len - 2);
663 (*hidev->sc_feature)(hidev, data + 2, len - 2);
976 bthidev_null(struct bthidev *hidev, uint8_t *report, int len)
986 bthidev_output(struct bthidev *hidev, uint8_t *report, int rlen)
988 struct bthidev_softc *sc = device_private(hidev->sc_parent);
1017 mtod(m, uint8_t *)[1] = hidev->sc_id;