Lines Matching refs:printf
191 printf("DS4510 @ 0x%x:\n\n", chip); in ds4510_info()
195 printf("rstdelay = 0x%x\n\n", data & DS4510_RSTDELAY_MASK); in ds4510_info()
199 printf("config = 0x%x\n", data); in ds4510_info()
200 printf(" /ready = %d\n", data & DS4510_CFG_READY ? 1 : 0); in ds4510_info()
201 printf(" trip pt = %d\n", data & DS4510_CFG_TRIP_POINT ? 1 : 0); in ds4510_info()
202 printf(" rst sts = %d\n", data & DS4510_CFG_RESET ? 1 : 0); in ds4510_info()
203 printf(" /see = %d\n", data & DS4510_CFG_SEE ? 1 : 0); in ds4510_info()
204 printf(" swrst = %d\n\n", data & DS4510_CFG_SWRST ? 1 : 0); in ds4510_info()
206 printf("gpio pins: 3210\n"); in ds4510_info()
207 printf("---------------\n"); in ds4510_info()
208 printf("pullup "); in ds4510_info()
214 printf("%d", (tmp & (1 << i)) ? 1 : 0); in ds4510_info()
215 printf("\n"); in ds4510_info()
217 printf("driven "); in ds4510_info()
222 printf("%d", (tmp & (1 << i)) ? 1 : 0); in ds4510_info()
223 printf("\n"); in ds4510_info()
225 printf("read "); in ds4510_info()
230 printf("%d", (tmp & (1 << i)) ? 1 : 0); in ds4510_info()
231 printf("\n"); in ds4510_info()
283 printf("Current device address: 0x%x\n", chip); in do_ds4510()
344 printf("ERROR: invalid len\n"); in do_ds4510()