Home
last modified time | relevance | path

Searched refs:orient_code (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/input/misc/
H A Dadxl34x.c302 int int_stat, tap_stat, samples, orient, orient_code; in adxl34x_irq() local
346 orient_code = ADXL346_2D_ORIENT(orient); in adxl34x_irq()
348 if (ac->orient2d_saved != orient_code) { in adxl34x_irq()
349 ac->orient2d_saved = orient_code; in adxl34x_irq()
351 pdata->ev_codes_orient_2d[orient_code]); in adxl34x_irq()
358 orient_code = ADXL346_3D_ORIENT(orient) - 1; in adxl34x_irq()
360 if (ac->orient3d_saved != orient_code) { in adxl34x_irq()
361 ac->orient3d_saved = orient_code; in adxl34x_irq()
363 pdata->ev_codes_orient_3d[orient_code]); in adxl34x_irq()