Defined in 4 files as a member:
- drivers/input/touchscreen/ads7846.c, line 142 (as a member)
- drivers/input/touchscreen/tsc2007.h, line 82 (as a member)
- include/linux/platform_data/tsc2007.h, line 16 (as a member)
- include/linux/spi/ads7846.h, line 40 (as a member)
Defined in 1 files as a function:
Referenced in 4 files:
- arch/powerpc/platforms/512x/pdm360ng.c, line 47
- arch/sh/boards/mach-ecovec24/setup.c, line 616
- drivers/input/touchscreen/ads7846.c
- drivers/input/touchscreen/tsc2007_core.c
Smatch caller information:
drivers/input/touchscreen/ads7846.c ads7846_hard_irq() -> get_pendown_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ts | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/input/touchscreen/ads7846.c ads7846_irq() -> get_pendown_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ts | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->packet->last_cmd_idx | 0-4294967294 |
| PARAM_VALUE | 0 | ts->packet->x | 0-4095 |
| PARAM_VALUE | 0 | ts->packet->y | 0-4095 |
| PARAM_VALUE | 0 | ts->packet->z1 | 0-4095 |
| PARAM_VALUE | 0 | ts->packet->z2 | 0-4095 |
| PARAM_VALUE | 0 | ts->stopped | 0 |
| DATA_SOURCE | 0 | ts | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ts->spi->controller->dev.driver_data->ctx.modulctrl | 0-4294967291[c] |
| HOST_DATA | 0 | ts->spi->controller->dev.driver_data->para | 0-255 |
drivers/input/touchscreen/ads7846.c ads7846_irq() -> get_pendown_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ts | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->packet->last_cmd_idx | 0-4294967294 |
| PARAM_VALUE | 0 | ts->packet->x | 0-4095 |
| PARAM_VALUE | 0 | ts->packet->y | 0-4095 |
| PARAM_VALUE | 0 | ts->packet->z1 | 0-4095 |
| PARAM_VALUE | 0 | ts->packet->z2 | 0-4095 |
| PARAM_VALUE | 0 | ts->stopped | 0 |
| DATA_SOURCE | 0 | ts | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ts->spi->controller->dev.driver_data->ctx.modulctrl | 0-4294967291[c] |
| HOST_DATA | 0 | ts->spi->controller->dev.driver_data->para | 0-255 |
drivers/input/touchscreen/ads7846.c ads7846_report_state() -> get_pendown_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ts | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->packet | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->packet->ignore | 0 |
| PARAM_VALUE | 0 | ts->packet->x | 0-4095 |
| PARAM_VALUE | 0 | ts->packet->y | 0-4095 |
| PARAM_VALUE | 0 | ts->packet->z1 | 0-4095 |
| PARAM_VALUE | 0 | ts->packet->z2 | 0-4095 |
| PARAM_VALUE | 0 | ts->penirq_recheck_delay_usecs | 1-u16max |
| PARAM_VALUE | 0 | ts->stopped | 0 |
| DATA_SOURCE | 0 | ts | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/input/touchscreen/ads7846.c ads7846_restart() -> get_pendown_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ts | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->disabled | 0 |
| PARAM_VALUE | 0 | ts->pendown | 1 |
| PARAM_VALUE | 0 | ts->suspended | 0 |
| BUF_SIZE | 0 | ts | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ts | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ts | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ts | unit_byte |
| LOCK2 | _T->lock |