/openbmc/qemu/ui/ |
H A D | input-legacy.c | 40 int axis[INPUT_AXIS__MAX]; member 134 s->axis[INPUT_AXIS_X], in legacy_mouse_event() 135 s->axis[INPUT_AXIS_Y], in legacy_mouse_event() 141 s->axis[INPUT_AXIS_X], in legacy_mouse_event() 142 s->axis[INPUT_AXIS_Y], in legacy_mouse_event() 148 s->axis[INPUT_AXIS_X], in legacy_mouse_event() 149 s->axis[INPUT_AXIS_Y], in legacy_mouse_event() 155 s->axis[INPUT_AXIS_X], in legacy_mouse_event() 156 s->axis[INPUT_AXIS_Y], in legacy_mouse_event() 163 s->axis[move->axis] = move->value; in legacy_mouse_event() [all …]
|
H A D | input.c | 215 name = InputAxis_str(move->axis); in qemu_input_event_trace() 220 name = InputAxis_str(move->axis); in qemu_input_event_trace() 225 name = InputAxis_str(mtt->axis); in qemu_input_event_trace() 483 void qemu_input_queue_rel(QemuConsole *src, InputAxis axis, int value) in qemu_input_queue_rel() argument 486 .axis = axis, in qemu_input_queue_rel() 497 void qemu_input_queue_abs(QemuConsole *src, InputAxis axis, int value, in qemu_input_queue_abs() argument 501 .axis = axis, in qemu_input_queue_abs() 530 void qemu_input_queue_mtt_abs(QemuConsole *src, InputAxis axis, int value, in qemu_input_queue_mtt_abs() argument 537 .axis = axis, in qemu_input_queue_mtt_abs()
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | rotary-encoder.txt | 7 - linux,axis: the input subsystem axis to map to this rotary encoder. 10 encoder. Only relevant for absolute axis. Defaults to 24 which is a 12 - rotary-encoder,relative-axis: register a relative axis rather than an 13 absolute one. Relative axis will only generate +1/-1 events on the input 16 greater than the specified steps or smaller than 0. For absolute axis only. 38 linux,axis = <0>; /* REL_X */ 40 rotary-encoder,relative-axis; 46 linux,axis = <1>; /* ABS_Y */
|
H A D | gpio-decoder.txt | 11 - linux,axis: the input subsystem axis to map to (ABS_X/ABS_Y). 21 linux,axis = <0>; /* ABS_X */
|
/openbmc/linux/drivers/staging/axis-fifo/ |
H A D | axis-fifo.txt | 28 - xlnx,axis-tdest-width: AXI-Stream TDEST width (ignored by the driver) 29 - xlnx,axis-tid-width: AXI-Stream TID width (ignored by the driver) 30 - xlnx,axis-tuser-width: AXI-Stream TUSER width (ignored by the driver) 32 - xlnx,has-axis-tdest: Should be <0x0> (this feature isn't supported) 33 - xlnx,has-axis-tid: Should be <0x0> (this feature isn't supported) 34 - xlnx,has-axis-tkeep: Should be <0x0> (this feature isn't supported) 35 - xlnx,has-axis-tstrb: Should be <0x0> (this feature isn't supported) 36 - xlnx,has-axis-tuser: Should be <0x0> (this feature isn't supported) 70 xlnx,axis-tdest-width = <0x4>; 71 xlnx,axis-tid-width = <0x4>; [all …]
|
/openbmc/linux/drivers/input/ |
H A D | touchscreen.c | 34 unsigned long axis, in touchscreen_set_params() argument 39 if (!test_bit(axis, dev->absbit)) { in touchscreen_set_params() 42 axis); in touchscreen_set_params() 46 absinfo = &dev->absinfo[axis]; in touchscreen_set_params() 70 unsigned int axis, axis_x, axis_y; in touchscreen_parse_properties() local 107 axis = multitouch ? ABS_MT_PRESSURE : ABS_PRESSURE; in touchscreen_parse_properties() 110 input_abs_get_max(input, axis), in touchscreen_parse_properties() 114 input_abs_get_fuzz(input, axis), in touchscreen_parse_properties() 117 touchscreen_set_params(input, axis, 0, maximum, fuzz); in touchscreen_parse_properties()
|
/openbmc/linux/include/linux/input/ |
H A D | mt.h | 90 static inline bool input_is_mt_value(int axis) in input_is_mt_value() argument 92 return axis >= ABS_MT_FIRST && axis <= ABS_MT_LAST; in input_is_mt_value() 95 static inline bool input_is_mt_axis(int axis) in input_is_mt_axis() argument 97 return axis == ABS_MT_SLOT || input_is_mt_value(axis); in input_is_mt_axis()
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A D | axis.txt | 8 - compatible = "axis,artpec6"; 17 - compatible: "axis,artpec6-syscon", "syscon" 22 compatible = "axis,artpec6-syscon", "syscon"; 29 - compatible = "axis,artpec6-dev-board", "axis,artpec6";
|
/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A D | axis,artpec6-pcie.txt | 7 - compatible: "axis,artpec6-pcie", "snps,dw-pcie" for ARTPEC-6 in RC mode; 8 "axis,artpec6-pcie-ep", "snps,dw-pcie" for ARTPEC-6 in EP mode; 9 "axis,artpec7-pcie", "snps,dw-pcie" for ARTPEC-7 in RC mode; 10 "axis,artpec7-pcie-ep", "snps,dw-pcie" for ARTPEC-7 in EP mode; 21 - axis,syscon-pcie: A phandle pointing to the ARTPEC-6 system controller, 27 compatible = "axis,artpec6-pcie", "snps,dw-pcie"; 49 axis,syscon-pcie = <&syscon>;
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/canonical-multitouch/frame/ |
H A D | pessimizing-move.patch | 4 | std::move(UniqueUFAxis(static_cast<oif::frame::UFAxis*>(axis))); 7 | std::move(UniqueUFAxis(static_cast<oif::frame::UFAxis*>(axis))); 19 UFAxis_* axis = new UFAxis(type, valuator_info->min, valuator_info->max, 23 - std::move(UniqueUFAxis(static_cast<oif::frame::UFAxis*>(axis))); 24 + axes_[type] = UniqueUFAxis(static_cast<oif::frame::UFAxis*>(axis));
|
/openbmc/qemu/chardev/ |
H A D | msmouse.c | 62 int axis[INPUT_AXIS__MAX]; member 96 dx = mouse->axis[INPUT_AXIS_X]; in msmouse_queue_event() 97 mouse->axis[INPUT_AXIS_X] = 0; in msmouse_queue_event() 99 dy = mouse->axis[INPUT_AXIS_Y]; in msmouse_queue_event() 100 mouse->axis[INPUT_AXIS_Y] = 0; in msmouse_queue_event() 139 mouse->axis[move->axis] += move->value; in msmouse_input_event() 232 memset(mouse->axis, 0, sizeof(mouse->axis)); in msmouse_ioctl()
|
/openbmc/linux/Documentation/devicetree/bindings/iio/accel/ |
H A D | lis302.txt | 25 x/y/z axis. 28 x/y/z axis. 29 - st,click-thresh-{x,y,z}: set the x/y/z axis threshold 47 - st,wakeup-{x,y,z}-{lo,hi}: set wakeup condition on x/y/z axis for 50 - st,wakeup2-{x,y,z}-{lo,hi}: set wakeup condition on x/y/z axis for 59 - st,axis-{x,y,z}=: set the axis to map to the three coordinates. 60 Negative values can be used for inverted axis. 61 - st,{min,max}-limit-{x,y,z} set the min/max limits for x/y/z axis
|
/openbmc/qemu/replay/ |
H A D | replay-input.c | 54 replay_put_dword(move->axis); in replay_save_input_event() 59 replay_put_dword(move->axis); in replay_save_input_event() 67 replay_put_dword(mtt->axis); in replay_save_input_event() 114 evt.u.rel.data->axis = (InputAxis)replay_get_dword(); in replay_read_input_event() 119 evt.u.abs.data->axis = (InputAxis)replay_get_dword(); in replay_read_input_event() 127 evt.u.mtt.data->axis = (InputAxis)replay_get_dword(); in replay_read_input_event()
|
/openbmc/linux/drivers/iio/accel/ |
H A D | Kconfig | 15 Say Y here to build support for Analog Devices adis16201 dual-axis 27 Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer 43 ADXL313 3-axis digital accelerometer. 56 ADXL313 3-axis digital accelerometer. 73 ADXL345 or ADXL375 3-axis digital accelerometer. 87 ADXL345 or ADXL375 3-axis digital accelerometer. 105 ADXL355 3-axis digital accelerometer. 120 ADXL355 3-axis digital accelerometer. 276 tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver" 279 Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | bu21013.txt | 23 - rohm,touch-max-x : Maximum outward permitted limit in the X axis 24 - rohm,touch-max-y : Maximum outward permitted limit in the Y axis 25 - rohm,flip-x : Flip touch coordinates on the X axis 26 - rohm,flip-y : Flip touch coordinates on the Y axis
|
/openbmc/linux/drivers/input/misc/ |
H A D | gpio_decoder.c | 20 u32 axis; member 53 input_report_abs(input, decoder->axis, state); in gpio_decoder_poll_gpios() 72 device_property_read_u32(dev, "linux,axis", &decoder->axis); in gpio_decoder_probe() 96 input_set_abs_params(input, decoder->axis, 0, max, 0, 0); in gpio_decoder_probe()
|
H A D | rotary_encoder.c | 39 u32 axis; member 78 encoder->axis, encoder->dir); in rotary_encoder_report_event() 98 input_report_abs(encoder->input, encoder->axis, encoder->pos); in rotary_encoder_report_event() 234 device_property_read_u32(dev, "linux,axis", &encoder->axis); in rotary_encoder_probe() 256 input_set_capability(input, EV_REL, encoder->axis); in rotary_encoder_probe() 259 encoder->axis, 0, encoder->steps, 0, 1); in rotary_encoder_probe()
|
/openbmc/qemu/hw/input/ |
H A D | virtio-input-host.c | 73 static void virtio_input_abs_config(VirtIOInputHost *vih, int axis) in virtio_input_abs_config() argument 79 rc = ioctl(vih->fd, EVIOCGABS(axis), &absinfo); in virtio_input_abs_config() 86 config.subsel = axis; in virtio_input_abs_config() 104 int rc, ver, i, axis; in virtio_input_host_realize() local 164 axis = 8 * i; in virtio_input_host_realize() 167 virtio_input_abs_config(vih, axis); in virtio_input_host_realize() 169 axis++; in virtio_input_host_realize()
|
/openbmc/linux/Documentation/devicetree/bindings/crypto/ |
H A D | artpec6-crypto.txt | 5 "axis,artpec6-crypto" for the version in the Axis ARTPEC-6 SoC 6 "axis,artpec7-crypto" for the version in the Axis ARTPEC-7 SoC. 13 compatible = "axis,artpec6-crypto";
|
/openbmc/linux/drivers/iio/common/scmi_sensors/ |
H A D | scmi_iio.c | 342 scale = sensor->sensor_info->axis[ch->scan_index].scale; in scmi_iio_read_raw() 387 if (sensor->sensor_info->axis[0].extended_attrs) { in scmi_iio_get_raw_available() 388 min_range = sensor->sensor_info->axis[0].attrs.min_range; in scmi_iio_get_raw_available() 389 max_range = sensor->sensor_info->axis[0].attrs.max_range; in scmi_iio_get_raw_available() 390 resolution = sensor->sensor_info->axis[0].resolution; in scmi_iio_get_raw_available() 391 exponent = sensor->sensor_info->axis[0].exponent; in scmi_iio_get_raw_available() 392 scale = sensor->sensor_info->axis[0].scale; in scmi_iio_get_raw_available() 612 ret = scmi_iio_get_chan_type(sensor_info->axis[i].type, &type); in scmi_alloc_iiodev() 616 ret = scmi_iio_get_chan_modifier(sensor_info->axis[i].name, in scmi_alloc_iiodev() 622 sensor_info->axis[i].id); in scmi_alloc_iiodev() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | xenfb.c | 58 int axis[INPUT_AXIS__MAX]; member 270 xenfb->axis[move->axis] = move->value; in xenfb_mouse_event() 278 switch (move->axis) { in xenfb_mouse_event() 289 xenfb->axis[move->axis] = move->value * scale / 0x7fff; in xenfb_mouse_event() 295 xenfb->axis[move->axis] += move->value; in xenfb_mouse_event() 307 trace_xenfb_mouse_event(xenfb, xenfb->axis[INPUT_AXIS_X], in xenfb_mouse_sync() 308 xenfb->axis[INPUT_AXIS_Y], in xenfb_mouse_sync() 312 xenfb_send_position(xenfb, xenfb->axis[INPUT_AXIS_X], in xenfb_mouse_sync() 313 xenfb->axis[INPUT_AXIS_Y], in xenfb_mouse_sync() 316 xenfb_send_motion(xenfb, xenfb->axis[INPUT_AXIS_X], in xenfb_mouse_sync() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/ |
H A D | mount-matrix.txt | 29 screen and (z) being depth, the axis perpendicular to the screen. 55 9.81 m/s^2 upwards along the (z) axis, i.e. out of the screen when the device 57 as the gravity vector is projected 1:1 onto the sensors (z)-axis. 78 its top towards surface, you get a negative y axis. 97 perpendicular to the North axis and positive towards the East and (z) is 131 device on a flat surface and spin it around the z axis (such as rotating a 133 along the (z) axis if rotated clockwise, and a positive value if rotated 189 The sensor is mounted 30 degrees (Pi/6 radians) tilted along the X axis, so we 190 compensate by performing a -30 degrees rotation around the X axis: 196 The sensor is flipped 180 degrees (Pi radians) around the Z axis, i.e. mounted
|
/openbmc/linux/arch/arm/boot/dts/axis/ |
H A D | artpec6.dtsi | 45 #include <dt-bindings/clock/axis,artpec6-clkctrl.h> 50 compatible = "axis,artpec6"; 73 compatible = "axis,artpec6-syscon", "syscon"; 105 compatible = "axis,artpec6-clkctrl"; 163 compatible = "axis,artpec6-pcie", "snps,dw-pcie"; 185 axis,syscon-pcie = <&syscon>; 190 compatible = "axis,artpec6-pcie-ep", "snps,dw-pcie"; 199 axis,syscon-pcie = <&syscon>; 204 compatible = "axis,artpec6-pinctrl"; 237 compatible = "axis,artpec6-crypto";
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | artpec6.txt | 19 See dt-bindings/clock/axis,artpec6-clkctrl.h for the list of valid identifiers. 20 - compatible: Should be "axis,artpec6-clkctrl" 37 compatible = "axis,artpec6-clkctrl";
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-n9.dts | 67 st,axis-x = <1>; /* LIS3_DEV_X */ 68 st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */ 69 st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */
|