Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/input/gameport/gameport.c
- drivers/input/joystick/a3d.c, line 264
- drivers/input/joystick/adi.c, line 467
- drivers/input/joystick/analog.c
- drivers/input/joystick/cobra.c, line 152
- drivers/input/joystick/gf2k.c, line 239
- drivers/input/joystick/grip.c, line 295
- drivers/input/joystick/grip_mp.c, line 643
- drivers/input/joystick/guillemot.c, line 178
- drivers/input/joystick/interact.c, line 207
- drivers/input/joystick/joydump.c
- drivers/input/joystick/sidewinder.c, line 593
- drivers/input/joystick/tmdc.c, line 359
Smatch caller information:
drivers/input/joystick/grip_mp.c grip_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 5839654377913090048 |
| PARAM_VALUE | 1 | drv->connect | 5660429015651303424 |
| PARAM_VALUE | 1 | drv->description | 1866481851445022720 |
| PARAM_VALUE | 1 | drv->disconnect | 484462597361057792 |
| PARAM_VALUE | 1 | drv->driver | 1515503199549652992 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/cobra.c cobra_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 7958682228908109824 |
| PARAM_VALUE | 1 | drv->connect | 1723748824291909632 |
| PARAM_VALUE | 1 | drv->description | 5123363482660601856 |
| PARAM_VALUE | 1 | drv->disconnect | 1717893951463247872 |
| PARAM_VALUE | 1 | drv->driver | 2605145443343589376 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/gameport/gameport.c gameport_measure_speed() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gameport->parent->child | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->parent->child->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | drv | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| UNITS | 0 | gameport | unit_byte |
| LOCK2 | global &gameport_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/input/gameport/gameport.c old_gameport_measure_speed() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gameport->parent->child | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->parent->child->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | drv | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| UNITS | 0 | gameport | unit_byte |
| LOCK2 | global &gameport_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/input/joystick/a3d.c a3d_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 4107394138930462720 |
| PARAM_VALUE | 1 | drv->connect | 2523125015371382784 |
| PARAM_VALUE | 1 | drv->description | 2457827652502384640 |
| PARAM_VALUE | 1 | drv->disconnect | 5088842872029712384 |
| PARAM_VALUE | 1 | drv->driver | 6843672336778616832 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/interact.c interact_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 7030239566846029824 |
| PARAM_VALUE | 1 | drv->connect | 8518979022446804992 |
| PARAM_VALUE | 1 | drv->description | 233815953566900224 |
| PARAM_VALUE | 1 | drv->disconnect | 1959427267740655616 |
| PARAM_VALUE | 1 | drv->driver | 2474131512678019072 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/gf2k.c gf2k_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 7560664423220191232 |
| PARAM_VALUE | 1 | drv->connect | 6706099573168390144 |
| PARAM_VALUE | 1 | drv->description | 2292185931030540288 |
| PARAM_VALUE | 1 | drv->disconnect | 5254968091245711360 |
| PARAM_VALUE | 1 | drv->driver | 1332840627130376192 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/guillemot.c guillemot_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 596630063612108800 |
| PARAM_VALUE | 1 | drv->connect | 8057924899812995072 |
| PARAM_VALUE | 1 | drv->description | 5789734628885491712 |
| PARAM_VALUE | 1 | drv->disconnect | 574749246241992704 |
| PARAM_VALUE | 1 | drv->driver | 5674677427944980480 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/joydump.c joydump_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 7717830599853064192 |
| PARAM_VALUE | 1 | drv->connect | 2252505933606932480 |
| PARAM_VALUE | 1 | drv->description | 1306090646043332608 |
| PARAM_VALUE | 1 | drv->disconnect | 8578188416485605376 |
| PARAM_VALUE | 1 | drv->driver | 1839266690559520768 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/joydump.c joydump_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->open | 1-u64max |
| PARAM_VALUE | 1 | drv | 7717830599853064192 |
| PARAM_VALUE | 1 | drv->connect | 2252505933606932480 |
| PARAM_VALUE | 1 | drv->description | 1306090646043332608 |
| PARAM_VALUE | 1 | drv->disconnect | 8578188416485605376 |
| PARAM_VALUE | 1 | drv->driver | 1839266690559520768 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 2 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/tmdc.c tmdc_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 9102920900898832384 |
| PARAM_VALUE | 1 | drv->connect | 7459475294628794368 |
| PARAM_VALUE | 1 | drv->description | 568357876888657920 |
| PARAM_VALUE | 1 | drv->disconnect | 6988470303472562176 |
| PARAM_VALUE | 1 | drv->driver | 867652688063787008 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/sidewinder.c sw_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 6395306602260393984 |
| PARAM_VALUE | 1 | drv->connect | 5495870290759749632 |
| PARAM_VALUE | 1 | drv->description | 1176749137523200000 |
| PARAM_VALUE | 1 | drv->disconnect | 7943189401173225472 |
| PARAM_VALUE | 1 | drv->driver | 4964628511933894656 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/analog.c analog_init_port() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 3413090510784016384 |
| PARAM_VALUE | 1 | drv->connect | 3816061033607725056 |
| PARAM_VALUE | 1 | drv->description | 5448954905320759296 |
| PARAM_VALUE | 1 | drv->disconnect | 458841352645947392 |
| PARAM_VALUE | 1 | drv->driver | 1799616741766184960 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/analog.c analog_init_port() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->open | 1-u64max |
| PARAM_VALUE | 1 | drv | 3413090510784016384 |
| PARAM_VALUE | 1 | drv->connect | 3816061033607725056 |
| PARAM_VALUE | 1 | drv->description | 5448954905320759296 |
| PARAM_VALUE | 1 | drv->disconnect | 458841352645947392 |
| PARAM_VALUE | 1 | drv->driver | 1799616741766184960 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 2 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/analog.c analog_init_port() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->open | 1-u64max |
| PARAM_VALUE | 1 | drv | 3413090510784016384 |
| PARAM_VALUE | 1 | drv->connect | 3816061033607725056 |
| PARAM_VALUE | 1 | drv->description | 5448954905320759296 |
| PARAM_VALUE | 1 | drv->disconnect | 458841352645947392 |
| PARAM_VALUE | 1 | drv->driver | 1799616741766184960 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/grip.c grip_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 4638987311011700736 |
| PARAM_VALUE | 1 | drv->connect | 3508320056647184384 |
| PARAM_VALUE | 1 | drv->description | 2718190851525283840 |
| PARAM_VALUE | 1 | drv->disconnect | 3710227624056229888 |
| PARAM_VALUE | 1 | drv->driver | 6208317846615818240 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |
drivers/input/joystick/adi.c adi_connect() -> gameport_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gameport | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gameport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | gameport->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | drv | 3402867223303028736 |
| PARAM_VALUE | 1 | drv->connect | 2832364368499208192 |
| PARAM_VALUE | 1 | drv->description | 3196427991926394880 |
| PARAM_VALUE | 1 | drv->disconnect | 1809610548549197824 |
| PARAM_VALUE | 1 | drv->driver | 7227591014439825408 |
| PARAM_VALUE | 1 | drv->reconnect | 0 |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | gameport->dev.driver | (-1),152 |
| CAPPED_DATA | 0 | gameport | 1 |
| DATA_SOURCE | 0 | gameport | $0 |
| DATA_SOURCE | 1 | drv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |