Home
last modified time | relevance | path

Searched refs:sc_params (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/hid/
H A Dbcm5974.c503 const struct bcm5974_dev_params *sc_params; member
624 switch (sc->sc_params->tp - tp) { in bcm5974_set_device_mode()
732 sc->sc_params = bcm5974_dev_params + drv_info; in bcm5974_attach()
753 BCM5974_ABS(sc->sc_evdev, ABS_MT_POSITION_X, sc->sc_params->x); in bcm5974_attach()
754 BCM5974_ABS(sc->sc_evdev, ABS_MT_POSITION_Y, sc->sc_params->y); in bcm5974_attach()
756 if ((sc->sc_params->tp->caps & SUPPORTS_FORCETOUCH) != 0) in bcm5974_attach()
757 BCM5974_ABS(sc->sc_evdev, ABS_MT_PRESSURE, sc->sc_params->p); in bcm5974_attach()
759 BCM5974_ABS(sc->sc_evdev, ABS_MT_TOUCH_MAJOR, sc->sc_params->w); in bcm5974_attach()
760 BCM5974_ABS(sc->sc_evdev, ABS_MT_TOUCH_MINOR, sc->sc_params->w); in bcm5974_attach()
762 if ((sc->sc_params->tp->caps & USES_COMPACT_REPORT) == 0) { in bcm5974_attach()
[all …]
/freebsd/sys/dev/usb/input/
H A Dwsp.c594 const struct wsp_dev_params *sc_params; /* device configuration */ member
701 const struct wsp_dev_params *params = sc->sc_params; in wsp_set_device_mode()
818 sc->sc_params = wsp_dev_params + USB_GET_DRIVER_INFO(uaa); in wsp_attach()
897 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_POSITION_X, sc->sc_params->x); in wsp_attach()
898 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_POSITION_Y, sc->sc_params->y); in wsp_attach()
900 if ((sc->sc_params->tp->caps & SUPPORTS_FORCETOUCH) != 0) in wsp_attach()
901 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_PRESSURE, sc->sc_params->p); in wsp_attach()
903 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_TOUCH_MAJOR, sc->sc_params->w); in wsp_attach()
904 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_TOUCH_MINOR, sc->sc_params->w); in wsp_attach()
906 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_WIDTH_MAJOR, sc->sc_params->w); in wsp_attach()
[all …]
H A Datp.c666 const void *sc_params; /* device configuration */ member
988 (const struct fg_dev_params *)sc->sc_params; in fg_interpret_sensor_data()
1048 (const struct fg_dev_params *)sc->sc_params; in fg_interpret_sensor_data()
1269 const struct wsp_dev_params *params = sc->sc_params; in wsp_interpret_sensor_data()
2239 sc->sc_params = in atp_attach()
2244 sc->sc_params = in atp_attach()