Lines Matching defs:mode
181 /* Maximum gain is 0x7fff for PWM mode */
222 u8 mode;
309 /* Set to Inactive mode to make sure safety */
345 * See datasheet 'PWM mode' section.
409 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode);
419 "Failed to set operation mode: %d", error);
446 /* Set to Inactive mode */
452 "Failed to clear operation mode: %d", error);
462 "Failed to disable DRO mode: %d\n", error);
479 "Failed to disable RTWM/ETWM mode: %d\n",
486 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode);
777 char gpi_str2[] = "dlg,gpi0-mode";
784 * If there is no property, then use the mode programmed into the chip.
792 error = device_property_read_u32(dev, "dlg,const-op-mode", &val);
797 error = device_property_read_u32(dev, "dlg,periodic-op-mode", &val);
857 haptics->gpi_ctl[i].mode = 0;
860 haptics->gpi_ctl[i].mode =
932 dev_err(dev, "failed to clear op mode on fault: %d\n",
971 * programmed mode.
1105 haptics->gpi_ctl[i].mode) |