Lines Matching full:library
60 /* Library Selection */
178 * @library: The vibration library to be used
191 u32 library; member
394 haptics->library); in drv260x_init()
417 haptics->library); in drv260x_init()
484 error = device_property_read_u32(dev, "library-sel", &haptics->library); in drv260x_probe()
486 dev_err(dev, "Can't fetch 'library-sel' property: %d\n", error); in drv260x_probe()
490 if (haptics->library < DRV260X_LIB_EMPTY || in drv260x_probe()
491 haptics->library > DRV260X_ERM_LIB_F) { in drv260x_probe()
493 "Library value is invalid: %i\n", haptics->library); in drv260x_probe()
498 haptics->library != DRV260X_LIB_EMPTY && in drv260x_probe()
499 haptics->library != DRV260X_LIB_LRA) { in drv260x_probe()
500 dev_err(dev, "LRA Mode with ERM Library mismatch\n"); in drv260x_probe()
505 (haptics->library == DRV260X_LIB_EMPTY || in drv260x_probe()
506 haptics->library == DRV260X_LIB_LRA)) { in drv260x_probe()
507 dev_err(dev, "ERM Mode with LRA Library mismatch\n"); in drv260x_probe()