Defined in 2 files as a function:
- drivers/misc/rp1/rp1_pci.c, line 71 (as a function)
- drivers/pinctrl/pinctrl-rp1.c, line 920 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/pinctrl/pinctrl-rp1.c rp1_gpio_irq_set_type() -> rp1_irq_set_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pin | 4096-ptr_max |
| PARAM_VALUE | 0 | pin->bank | 0-2 |
| DATA_SOURCE | 0 | pin | r rp1_get_pin |
| DATA_SOURCE | 1 | type | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | global &probing_active |
kernel/irq/manage.c __irq_set_trigger() -> (struct irq_chip)->irq_set_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pin | 4096-ptr_max |
| PARAM_VALUE | 0 | pin->chip | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-15 |
| DATA_SOURCE | 1 | type | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/irqchip/irq-sg2042-msi.c sg204x_msi_parent_domain_alloc() -> (struct irq_chip)->irq_set_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pin | 4096-ptr_max |
| PARAM_VALUE | 0 | pin->chip | 4096-ptr_max |
| BUF_SIZE | 0 | pin | (-1),56 |
| BUF_SIZE | 0 | pin | (-1),56 |
| DATA_SOURCE | 0 | pin | r irq_domain_get_irq_data |
| CONTAINER | 0 | -104-24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &domain->root->mutex |
kernel/irq/chip.c irq_chip_set_type_parent() -> (struct irq_chip)->irq_set_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pin | 4096-ptr_max |
| PARAM_VALUE | 0 | pin->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | pin->chip->irq_set_type | 1-u64max |
| PARAM_VALUE | 0 | pin->parent_data->chip | 4096-ptr_max |
| DATA_SOURCE | 0 | pin | $0 [m] |
| DATA_SOURCE | 1 | type | $1 |
| CONTAINER | 0 | -104-24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pctrl->lock | ||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &probing_active |
kernel/irq/autoprobe.c probe_irq_on() -> (struct irq_chip)->irq_set_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pin | 4096-ptr_max |
| PARAM_VALUE | 0 | pin->chip | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 16 |
| CONTAINER | 0 | -104-24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &probing_active | ||
| HALF_LOCKED2 | &port->lock |