Lines Matching full:psm
99 #include <dev/atkbdc/psm.h>
783 VLOG(2, (LOG_DEBUG, "psm: ENABLE_DEV return code:%04x\n", res)); in enable_aux_dev()
794 VLOG(2, (LOG_DEBUG, "psm: DISABLE_DEV return code:%04x\n", res)); in disable_aux_dev()
817 VLOG(2, (LOG_DEBUG, "psm: SEND_AUX_DEV_%s return code:%04x\n", in get_mouse_status()
830 VLOG(1, (LOG_DEBUG, "psm: %s %02x %02x %02x\n", in get_mouse_status()
845 VLOG(2, (LOG_DEBUG, "psm: SEND_DEV_ID return code:%04x\n", res)); in get_aux_id()
853 VLOG(2, (LOG_DEBUG, "psm: device ID: %04x\n", id)); in get_aux_id()
864 VLOG(2, (LOG_DEBUG, "psm: SET_SAMPLING_RATE (%d) %04x\n", rate, res)); in set_mouse_sampling_rate()
884 VLOG(2, (LOG_DEBUG, "psm: SET_SCALING%s return code:%04x\n", in set_mouse_scaling()
897 VLOG(2, (LOG_DEBUG, "psm: SET_RESOLUTION (%d) %04x\n", val, res)); in set_mouse_resolution()
912 VLOG(2, (LOG_DEBUG, "psm: SET_STREAM_MODE return code:%04x\n", res)); in set_mouse_mode()
1015 log(LOG_ERR, "psm: keyboard controller failed.\n"); in recover_from_error()
1018 VLOG(1, (LOG_ERR, "psm: keyboard port failed.\n")); in recover_from_error()
1028 log(LOG_ERR, "psm: failed to restore the keyboard controller " in restore_controller()
1144 * Absolute Mode bit. But a verbose boot or debug.psm.loglevel=5
1325 /* psm driver entry points */
1331 device_t psm; local
1338 psm = BUS_ADD_CHILD(parent, KBDC_RID_AUX, driver->name, unit);
1339 if (psm == NULL)
1342 irq = bus_get_resource_start(psm, SYS_RES_IRQ, KBDC_RID_AUX);
1359 bus_set_resource(psm, SYS_RES_IRQ, KBDC_RID_AUX, irq, 1);
1975 if ((error = make_dev_s(&mda, &sc->cdev, "psm%d", unit)) != 0)
2936 /* Add all sysctls under the debug.psm and hw.psm nodes */
2937 static SYSCTL_NODE(_debug, OID_AUTO, psm, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
2939 static SYSCTL_NODE(_hw, OID_AUTO, psm, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
5788 /* hw.psm.synaptics.softbuttons_y */
5798 /* hw.psm.synaptics.softbutton2_x */
5808 /* hw.psm.synaptics.softbutton3_x */
5827 /* Attach extra synaptics sysctl nodes under hw.psm.synaptics */
5833 /* hw.psm.synaptics.directional_scrolls. */
5842 /* hw.psm.synaptics.max_x. */
5850 /* hw.psm.synaptics.max_y. */
5868 /* hw.psm.synaptics.two_finger_scroll. */
5875 /* hw.psm.synaptics.min_pressure. */
5885 /* hw.psm.synaptics.max_pressure. */
5895 /* hw.psm.synaptics.max_width. */
5905 /* hw.psm.synaptics.top_margin. */
5915 /* hw.psm.synaptics.right_margin. */
5925 /* hw.psm.synaptics.bottom_margin. */
5935 /* hw.psm.synaptics.left_margin. */
5945 /* hw.psm.synaptics.na_top. */
5956 /* hw.psm.synaptics.na_right. */
5967 /* hw.psm.synaptics.na_bottom. */
5978 /* hw.psm.synaptics.na_left. */
5989 /* hw.psm.synaptics.window_min. */
5999 /* hw.psm.synaptics.window_max. */
6009 /* hw.psm.synaptics.multiplicator. */
6019 /* hw.psm.synaptics.weight_current. */
6029 /* hw.psm.synaptics.weight_previous. */
6039 /* hw.psm.synaptics.weight_previous_na. */
6049 /* hw.psm.synaptics.weight_len_squared. */
6060 /* hw.psm.synaptics.div_min. */
6070 /* hw.psm.synaptics.div_max. */
6080 /* hw.psm.synaptics.div_max_na. */
6090 /* hw.psm.synaptics.div_len. */
6100 /* hw.psm.synaptics.tap_max_delta. */
6110 /* hw.psm.synaptics.tap_min_queue. */
6120 /* hw.psm.synaptics.taphold_timeout. */
6132 /* hw.psm.synaptics.vscroll_hor_area. */
6142 /* hw.psm.synaptics.vscroll_ver_area. */
6152 /* hw.psm.synaptics.vscroll_min_delta. */
6162 /* hw.psm.synaptics.vscroll_div_min. */
6172 /* hw.psm.synaptics.vscroll_div_min. */
6182 /* hw.psm.synaptics.touchpad_off. */
6201 /* hw.psm.synaptics.natural_scroll. */
6307 /* psm has a special support for GenMouse + SynTouchpad combination */
6333 printf("Consider adding hw.psm.mux_disabled=1 to "
6714 VLOG(2, (LOG_NOTICE, "psm: setting pass-through mode.\n"));
6721 VLOG(2, (LOG_NOTICE, "psm: turning pass-through mode off.\n"));
6812 /* Attach extra trackpoint sysctl nodes under hw.psm.trackpoint */
6818 /* hw.psm.trackpoint.sensitivity */
6828 /* hw.psm.trackpoint.negative_inertia */
6838 /* hw.psm.trackpoint.upper_plateau */
6848 /* hw.psm.trackpoint.backup_range */
6858 /* hw.psm.trackpoint.drag_hysteresis */
6868 /* hw.psm.trackpoint.minimum_drag */
6878 /* hw.psm.trackpoint.up_threshold */
6888 /* hw.psm.trackpoint.threshold */
6898 /* hw.psm.trackpoint.jenks_curvature */
6908 /* hw.psm.trackpoint.z_time */
6918 /* hw.psm.trackpoint.press_to_select */
6928 /* hw.psm.trackpoint.skip_backups */
7454 DRIVER_MODULE(psm, atkbdc, psm_driver, 0, 0);
7456 MODULE_DEPEND(psm, evdev, 1, 1, 1);
7555 device_t psm; local
7559 psm = device_find_child(atkbdc, PSM_DRIVER_NAME,
7561 if (psm == NULL)
7563 if (device_get_state(psm) != DS_NOTPRESENT)
7569 bus_set_resource(psm, SYS_RES_IRQ, KBDC_RID_AUX, irq, 1);
7572 return (device_probe_and_attach(psm));