Lines Matching refs:whoami
178 if (lis3->whoami == WAI_12B) { in lis3lv02d_get_xyz()
276 if (lis3->whoami == WAI_8B) { in lis3lv02d_selftest()
289 if ((lis3->whoami == WAI_3DC) || (lis3->whoami == WAI_3DLH)) { in lis3lv02d_selftest()
294 if (lis3->whoami == WAI_12B) in lis3lv02d_selftest()
323 if (lis3->whoami == WAI_8B) { in lis3lv02d_selftest()
418 if (lis3->whoami == WAI_12B) in lis3lv02d_poweron()
420 else if (lis3->whoami == WAI_3DLH) in lis3lv02d_poweron()
426 if (lis3->whoami == WAI_3DLH) { in lis3lv02d_poweron()
466 if (lis3->pdata && lis3->whoami == WAI_8B && lis3->idev) in lis3lv02d_joystick_open()
704 if (lis3->whoami == WAI_12B) { in lis3lv02d_joystick_enable()
1130 lis3->whoami = lis3lv02d_read_8(lis3, WHO_AM_I); in lis3lv02d_init_device()
1132 switch (lis3->whoami) { in lis3lv02d_init_device()
1175 pr_err("unknown sensor type 0x%X\n", lis3->whoami); in lis3lv02d_init_device()
1210 if (lis3->whoami == WAI_8B) in lis3lv02d_init_device()
1240 if (lis3->pdata && lis3->whoami == WAI_8B) in lis3lv02d_init_device()