Home
last modified time | relevance | path

Searched refs:motor (Results 1 – 25 of 27) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dmp6507.c125 static int set_motor_running_status(struct motor_dev *motor, in set_motor_running_status() argument
136 if (motor->move_status != MOTOR_STATUS_STOPPED) in set_motor_running_status()
137 wait_for_completion(&motor->complete); in set_motor_running_status()
139 motor->cur_ext_dev = cur_ext_dev; in set_motor_running_status()
143 motor->move_status = status; in set_motor_running_status()
147 motor->run_queue = &cur_ext_dev->speed_que; in set_motor_running_status()
148 motor->run_queue->speed_p[cur_ext_dev->length_up - 1].count = in set_motor_running_status()
151 motor->run_queue = &cur_ext_dev->one_speed_que; in set_motor_running_status()
152 motor->run_queue->speed_p[0].count = step_cnt; in set_motor_running_status()
154 motor->move_cnt = motor->run_queue->count; in set_motor_running_status()
[all …]
H A Dhall-dc-motor.c53 static int motor_dev_parse_dt(struct motor_dev *motor) in motor_dev_parse_dt() argument
55 struct device_node *node = motor->dev->of_node; in motor_dev_parse_dt()
59 motor->pwm = devm_pwm_get(motor->dev, NULL); in motor_dev_parse_dt()
60 if (IS_ERR(motor->pwm)) { in motor_dev_parse_dt()
61 error = PTR_ERR(motor->pwm); in motor_dev_parse_dt()
63 dev_err(motor->dev, "Failed to request PWM device: %d\n", error); in motor_dev_parse_dt()
66 if (motor->pwm && motor->pwm->args.period != 0) { in motor_dev_parse_dt()
67 motor->pwm_state.period = motor->pwm->args.period; in motor_dev_parse_dt()
68 motor->pwm_state.polarity = motor->pwm->args.polarity; in motor_dev_parse_dt()
70 motor->pwm_state.period = PWM_PERIOD_DEF; in motor_dev_parse_dt()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Dtwl6040.txt27 - vddvibl-supply: Regulator for the left vibra motor
28 - vddvibr-supply: Regulator for the right vibra motor
33 - ti,viblmotor-res: Resistance parameter for left motor
34 - ti,viblmotor-res: Resistance parameter for right motor
53 /* regulators for vibra motor */
58 /* Vibra driver, motor resistance parameters */
H A Dmax77693.txt29 - haptic : The MAX77693 haptic device utilises a PWM controlled motor to provide
35 - haptic-supply : power supply for the haptic motor
/OK3568_Linux_fs/kernel/drivers/of/unittest-data/
H A Doverlay_bad_add_dup_prop.dts6 * &electric_1/motor-1/electric and &spin_ctrl_1/electric are the same node:
7 * /testcase-data-2/substation@100/motor-1/electric
16 * property being located in the pre-existing node 'motor-1'.
28 motor-1 {
H A Doverlay_bad_add_dup_node.dts6 * &electric_1/motor-1 and &spin_ctrl_1 are the same node:
7 * /testcase-data-2/substation@100/motor-1
17 motor-1 {
H A Doverlay_base.dts30 spin_ctrl_1: motor-1 {
31 compatible = "ot,ferris-wheel-motor";
36 spin_ctrl_2: motor-8 {
37 compatible = "ot,roller-coaster-motor";
H A Doverlay_bad_phandle.dts9 // in the base tree for motor-1.
10 spin_ctrl_1_conflict: motor-1 {
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A Datomisp_ioctl.c566 struct v4l2_subdev *motor; in atomisp_enum_input() local
585 motor = isp->inputs[index].motor; in atomisp_enum_input()
587 motor = isp->motor; in atomisp_enum_input()
589 if (motor && strlen(motor->name) > 0) { in atomisp_enum_input()
596 motor->name, max_size); in atomisp_enum_input()
671 struct v4l2_subdev *motor; in atomisp_s_input() local
747 motor = isp->inputs[input].motor; in atomisp_s_input()
749 motor = isp->motor; in atomisp_s_input()
750 if (motor) in atomisp_s_input()
751 ret = v4l2_subdev_call(motor, core, s_power, 1); in atomisp_s_input()
[all …]
H A Datomisp_internal.h161 struct v4l2_subdev *motor; member
259 struct v4l2_subdev *motor; member
H A Datomisp_v4l2.c1128 if (isp->motor) { in atomisp_subdev_probe()
1134 isp->motor = subdev; in atomisp_subdev_probe()
1157 if (isp->motor && raw_index >= 0) in atomisp_subdev_probe()
1158 isp->inputs[raw_index].motor = isp->motor; in atomisp_subdev_probe()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dregulator-haptic.txt5 - haptic-supply : Power supply to the haptic motor.
8 - max-microvolt : The maximum voltage value supplied to the haptic motor.
11 - min-microvolt : The minimum voltage value supplied to the haptic motor.
/OK3568_Linux_fs/kernel/drivers/staging/fieldbus/Documentation/
H A Dfieldbus_dev.txt22 A "Fieldbus Device" is such an actuator, motor, console light, switch, ...
36 actuator, motor, console light, switch, etc. over the fieldbus.
/OK3568_Linux_fs/kernel/drivers/staging/fieldbus/
H A DKconfig11 as an actuator, motor, console light, switch, etc. over the fieldbus.
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dsun4i-a10-dserve-dsrv9703c.dts78 reg_motor: reg-motor {
80 regulator-name = "vcc-motor";
H A Domap4-sdp.dts399 /* regulators for vibra motor */
404 /* Vibra driver, motor resistance parameters */
H A Dda850-lego-ev3.dts136 * the sensor (input) ports, the motor (output) ports and the A/DC.
H A Dlpc32xx.dtsi305 compatible = "nxp,lpc3220-motor-pwm";
/OK3568_Linux_fs/kernel/drivers/block/
H A Damiflop.c200 int motor; /* true when motor is at speed */ member
408 if (unit[drive].motor == 1) in fd_select()
461 if (!unit[nr].motor) { in fd_motor_on()
462 unit[nr].motor = 1; in fd_motor_on()
500 unit[drive].motor = 0; in fd_motor_off()
1647 unit[drive].motor = 0; in fd_probe()
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dsun4i-a10-dserve-dsrv9703c.dts85 regulator-name = "vcc-motor";
/OK3568_Linux_fs/kernel/Documentation/i2c/busses/
H A Di2c-parport.rst169 stepper motor card with the simple commands which are in the original
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3399-sapphire.dtsi588 motor_pwr: motor-pwr {
/OK3568_Linux_fs/kernel/drivers/input/joystick/
H A DKconfig363 To drive rumble motor a dedicated power supply is required.
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dvidioc-queryctrl.rst531 action (e. g. motor control) but no meaningful value can be
/OK3568_Linux_fs/kernel/Documentation/x86/
H A Dboot.rst1289 switch off the floppy motor before running the kernel, since the
1290 kernel boot leaves interrupts off and thus the motor will not be

12