Lines Matching refs:calib_bboard
1365 if (val[i] <= s->calib_bboard[i][0]) { in wiimod_bboard_in_ext()
1367 } else if (val[i] < s->calib_bboard[i][1]) { in wiimod_bboard_in_ext()
1368 tmp = val[i] - s->calib_bboard[i][0]; in wiimod_bboard_in_ext()
1370 div = s->calib_bboard[i][1] - s->calib_bboard[i][0]; in wiimod_bboard_in_ext()
1373 tmp = val[i] - s->calib_bboard[i][1]; in wiimod_bboard_in_ext()
1375 div = s->calib_bboard[i][2] - s->calib_bboard[i][1]; in wiimod_bboard_in_ext()
1443 wdata->state.calib_bboard[j][i] = buf[offs]; in wiimod_bboard_calib_show()
1444 wdata->state.calib_bboard[j][i] <<= 8; in wiimod_bboard_calib_show()
1445 wdata->state.calib_bboard[j][i] |= buf[offs + 1]; in wiimod_bboard_calib_show()
1454 val = wdata->state.calib_bboard[j][i]; in wiimod_bboard_calib_show()
1491 wdata->state.calib_bboard[j][i] = buf[offs]; in wiimod_bboard_probe()
1492 wdata->state.calib_bboard[j][i] <<= 8; in wiimod_bboard_probe()
1493 wdata->state.calib_bboard[j][i] |= buf[offs + 1]; in wiimod_bboard_probe()