Lines Matching refs:printf
25 printf("Cannot read proximity data.\n"); in print_proxy_data()
29 printf("Proximity: %d\n", (uint16_t) pdata.val1); in print_proxy_data()
37 printf("ALS read error.\n"); in print_als_data()
41 printf("Light (lux): %d\n", (uint16_t) val.val1); in print_als_data()
50 printf("sample update error.\n"); in test_polling_mode()
71 printf("Triggered.\n"); in trigger_handler()
73 printf("sample update error.\n"); in trigger_handler()
80 printf("trigger handler: unknown trigger type.\n"); in trigger_handler()
92 printf("Testing proximity trigger.\n"); in test_trigger_mode()
99 printf("cannot set proximity high threshold.\n"); in test_trigger_mode()
107 printf("cannot set proximity low threshold.\n"); in test_trigger_mode()
115 printf("cannot set trigger.\n"); in test_trigger_mode()
122 printf("cannot clear trigger.\n"); in test_trigger_mode()
126 printf("Threshold trigger test finished.\n"); in test_trigger_mode()
140 printf("Testing the polling mode.\n"); in main()
142 printf("Polling mode test finished.\n"); in main()
144 printf("Testing the trigger mode.\n"); in main()
146 printf("Trigger mode test finished.\n"); in main()