Lines Matching full:library
60 /* Library Selection */
178 * @library: The vibration library to be used
191 u32 library; member
357 haptics->library); in drv260x_init()
380 haptics->library); in drv260x_init()
445 error = device_property_read_u32(dev, "library-sel", &haptics->library); in drv260x_probe()
447 dev_err(dev, "Can't fetch 'library-sel' property: %d\n", error); in drv260x_probe()
451 if (haptics->library < DRV260X_LIB_EMPTY || in drv260x_probe()
452 haptics->library > DRV260X_ERM_LIB_F) { in drv260x_probe()
454 "Library value is invalid: %i\n", haptics->library); in drv260x_probe()
459 haptics->library != DRV260X_LIB_EMPTY && in drv260x_probe()
460 haptics->library != DRV260X_LIB_LRA) { in drv260x_probe()
461 dev_err(dev, "LRA Mode with ERM Library mismatch\n"); in drv260x_probe()
466 (haptics->library == DRV260X_LIB_EMPTY || in drv260x_probe()
467 haptics->library == DRV260X_LIB_LRA)) { in drv260x_probe()
468 dev_err(dev, "ERM Mode with LRA Library mismatch\n"); in drv260x_probe()