Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_get_direction() -> nsp_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | address | 0 |
| PARAM_VALUE | 2 | reg | 72 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | chip | r gpiochip_get_data |
| DATA_SOURCE | 3 | gpio | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | gpio | |
| LOCK2 | flags | ||
| LOCK2 | 0 | &chip->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct nsp_gpio)->lock |
drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_get_pull() -> nsp_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | address | 1 |
| PARAM_VALUE | 2 | reg | 24 |
| BUF_SIZE | 0 | chip | 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168 |
| BUF_SIZE | 0 | chip | 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 3 | gpio | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &chip->lock | |
| HALF_LOCKED2 | &pctldev->mutex | ||
| HALF_LOCKED2 | &s->lock | ||
| TYPE_LOCK | (struct nsp_gpio)->lock |
drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_get_pull() -> nsp_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | address | 1 |
| PARAM_VALUE | 2 | reg | 28 |
| BUF_SIZE | 0 | chip | 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168 |
| BUF_SIZE | 0 | chip | 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 3 | gpio | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &chip->lock | |
| HALF_LOCKED2 | &pctldev->mutex | ||
| HALF_LOCKED2 | &s->lock | ||
| TYPE_LOCK | (struct nsp_gpio)->lock |
drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_irq_set_type() -> nsp_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | address | 0 |
| PARAM_VALUE | 2 | reg | 100 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | chip | r gpiochip_get_data |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | gpio | unit_array_size |
| LOCK2 | flags | ||
| LOCK2 | 0 | &chip->lock | |
| HALF_LOCKED2 | global &probing_active | ||
| TYPE_LOCK | (struct nsp_gpio)->lock |
drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_irq_set_type() -> nsp_get_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | address | 0 |
| PARAM_VALUE | 2 | reg | 80 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | chip | r gpiochip_get_data |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | gpio | unit_array_size |
| LOCK2 | flags | ||
| LOCK2 | 0 | &chip->lock | |
| HALF_LOCKED2 | global &probing_active | ||
| TYPE_LOCK | (struct nsp_gpio)->lock |