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.c498 const struct bcm5974_dev_params *sc_params;
619 switch (sc->sc_params->tp - tp) { in bcm5974_set_device_mode()
727 sc->sc_params = bcm5974_dev_params + drv_info; in bcm5974_attach()
748 BCM5974_ABS(sc->sc_evdev, ABS_MT_POSITION_X, sc->sc_params->x); in bcm5974_attach()
749 BCM5974_ABS(sc->sc_evdev, ABS_MT_POSITION_Y, sc->sc_params->y); in bcm5974_attach()
751 BCM5974_ABS(sc->sc_evdev, ABS_MT_PRESSURE, sc->sc_params->p); in bcm5974_attach()
753 BCM5974_ABS(sc->sc_evdev, ABS_MT_TOUCH_MAJOR, sc->sc_params->w); in bcm5974_attach()
754 BCM5974_ABS(sc->sc_evdev, ABS_MT_TOUCH_MINOR, sc->sc_params->w); in bcm5974_attach()
756 if ((sc->sc_params->tp->caps & USES_COMPACT_REPORT) == 0) { in bcm5974_attach()
757 BCM5974_ABS(sc->sc_evdev, ABS_MT_WIDTH_MAJOR, sc->sc_params in bcm5974_attach()
496 const struct bcm5974_dev_params *sc_params; global() member
[all...]
/freebsd/sys/dev/usb/input/
H A Dwsp.c569 const struct wsp_dev_params *sc_params; /* device configuration */ member
676 const struct wsp_dev_params *params = sc->sc_params; in wsp_set_device_mode()
793 sc->sc_params = wsp_dev_params + USB_GET_DRIVER_INFO(uaa); in wsp_attach()
872 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_POSITION_X, sc->sc_params->x); in wsp_attach()
873 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_POSITION_Y, sc->sc_params->y); in wsp_attach()
875 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_PRESSURE, sc->sc_params->p); in wsp_attach()
877 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_TOUCH_MAJOR, sc->sc_params->w); in wsp_attach()
878 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_TOUCH_MINOR, sc->sc_params->w); in wsp_attach()
880 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_WIDTH_MAJOR, sc->sc_params->w); in wsp_attach()
881 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_WIDTH_MINOR, sc->sc_params->w); in wsp_attach()
[all …]
H A Datp.c667 const void *sc_params; /* device configuration */ member
989 (const struct fg_dev_params *)sc->sc_params; in fg_interpret_sensor_data()
1049 (const struct fg_dev_params *)sc->sc_params; in fg_interpret_sensor_data()
1270 const struct wsp_dev_params *params = sc->sc_params; in wsp_interpret_sensor_data()
2240 sc->sc_params = in atp_attach()
2245 sc->sc_params = in atp_attach()