Searched refs:sc_params (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/sys/dev/hid/ |
| H A D | bcm5974.c | 497 const struct bcm5974_dev_params *sc_params; member 618 switch (sc->sc_params->tp - tp) { in bcm5974_set_device_mode() 726 sc->sc_params = bcm5974_dev_params + drv_info; in bcm5974_attach() 747 BCM5974_ABS(sc->sc_evdev, ABS_MT_POSITION_X, sc->sc_params->x); in bcm5974_attach() 748 BCM5974_ABS(sc->sc_evdev, ABS_MT_POSITION_Y, sc->sc_params->y); in bcm5974_attach() 750 BCM5974_ABS(sc->sc_evdev, ABS_MT_PRESSURE, sc->sc_params->p); in bcm5974_attach() 752 BCM5974_ABS(sc->sc_evdev, ABS_MT_TOUCH_MAJOR, sc->sc_params->w); in bcm5974_attach() 755 if ((sc->sc_params->tp->caps & USES_COMPACT_REPORT) == 0) { in bcm5974_attach() 763 if ((sc->sc_params->tp->caps & HAS_INTEGRATED_BUTTON) != 0) in bcm5974_attach() 770 if ((sc->sc_params->tp->caps & USES_COMPACT_REPORT) == 0) in bcm5974_attach() [all …]
|
| /freebsd-14.2/sys/dev/usb/input/ |
| H A D | wsp.c | 553 const struct wsp_dev_params *sc_params; /* device configuration */ member 661 const struct wsp_dev_params *params = sc->sc_params; in wsp_set_device_mode() 778 sc->sc_params = wsp_dev_params + USB_GET_DRIVER_INFO(uaa); in wsp_attach() 857 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_POSITION_X, sc->sc_params->x); in wsp_attach() 858 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_POSITION_Y, sc->sc_params->y); in wsp_attach() 860 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_PRESSURE, sc->sc_params->p); in wsp_attach() 862 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_TOUCH_MAJOR, sc->sc_params->w); in wsp_attach() 863 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_TOUCH_MINOR, sc->sc_params->w); in wsp_attach() 865 WSP_SUPPORT_ABS(sc->sc_evdev, ABS_MT_WIDTH_MAJOR, sc->sc_params->w); in wsp_attach() 871 if ((sc->sc_params->tp->caps & HAS_INTEGRATED_BUTTON) != 0) in wsp_attach() [all …]
|
| H A D | atp.c | 667 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()
|