Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpio/gpio-loongson-64bit.c loongson_gpio_direction_input() -> loongson_commit_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lgpio | 4096-ptr_max |
| PARAM_VALUE | 2 | input | 1 |
| DATA_SOURCE | 0 | lgpio | r to_loongson_gpio_chip |
| DATA_SOURCE | 1 | pin | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lgpio->lock | |
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct loongson_gpio_chip)->lock |
drivers/gpio/gpio-loongson-64bit.c loongson_gpio_direction_output() -> loongson_commit_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lgpio | 4096-ptr_max |
| PARAM_VALUE | 0 | lgpio->chip_data | 4096-ptr_max |
| PARAM_VALUE | 2 | input | 0 |
| DATA_SOURCE | 0 | lgpio | r to_loongson_gpio_chip |
| DATA_SOURCE | 1 | pin | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lgpio->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct loongson_gpio_chip)->lock |