Defined in 1 files as a function:
Referenced in 14 files:
- arch/arm/plat-orion/gpio.c
- drivers/gpio/gpio-rockchip.c
- drivers/irqchip/irq-atmel-aic.c
- drivers/irqchip/irq-atmel-aic5.c
- drivers/irqchip/irq-bcm7120-l2.c
- drivers/irqchip/irq-brcmstb-l2.c
- drivers/irqchip/irq-csky-apb-intc.c
- drivers/irqchip/irq-ingenic.c, line 124
- drivers/irqchip/irq-lan966x-oic.c
- drivers/irqchip/irq-mscc-ocelot.c
- drivers/irqchip/irq-stm32-exti.c
- drivers/irqchip/irq-sunxi-nmi.c, line 87
- drivers/irqchip/irq-tb10x.c, line 33
- kernel/irq/generic-chip.c
Smatch caller information:
kernel/irq/generic-chip.c irq_gc_ack_clr_bit() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
kernel/irq/generic-chip.c irq_gc_ack_set_bit() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
kernel/irq/generic-chip.c irq_gc_eoi() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | reg_offset | 12 |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
kernel/irq/generic-chip.c irq_gc_mask_clr_bit() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
kernel/irq/generic-chip.c irq_gc_mask_disable_and_ack_set() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | _T->flags | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
kernel/irq/generic-chip.c irq_gc_mask_disable_and_ack_set() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | _T->flags | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
kernel/irq/generic-chip.c irq_gc_mask_disable_reg() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
kernel/irq/generic-chip.c irq_gc_mask_set_bit() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
kernel/irq/generic-chip.c irq_gc_unmask_enable_reg() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
drivers/irqchip/irq-lan966x-oic.c lan966x_oic_chip_exit() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->chip_types | 4096-ptr_max |
| PARAM_VALUE | 1 | val | u32max |
| DATA_SOURCE | 0 | gc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/irqchip/irq-lan966x-oic.c lan966x_oic_chip_exit() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->chip_types | 4096-ptr_max |
| PARAM_VALUE | 1 | val | u32max |
| DATA_SOURCE | 0 | gc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/irqchip/irq-lan966x-oic.c lan966x_oic_chip_init() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->chip_types | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->domain | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->domain->bus_token | 0,3,5,9,12-13 |
| PARAM_VALUE | 0 | gc->domain->dev | 0 |
| PARAM_VALUE | 0 | gc->domain->exit | 0,7584432225381912576 |
| PARAM_VALUE | 0 | gc->domain->fwnode | 0,248,4096-u64max |
| PARAM_VALUE | 0 | gc->domain->gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->domain->host_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->domain->hwirq_max | 0-u32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | gc->domain->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | gc->domain->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->domain->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | gc->domain->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | gc->domain->name | 1-u64max |
| PARAM_VALUE | 0 | gc->domain->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->domain->revmap_tree.xa_flags | 3264 |
| PARAM_VALUE | 0 | gc->domain->revmap_tree.xa_head | 0 |
| PARAM_VALUE | 0 | gc->lock.magic | 3735899821 |
| PARAM_VALUE | 0 | gc->lock.owner | (-1) |
| PARAM_VALUE | 0 | gc->lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | gc->num_ct | 1 |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| PARAM_VALUE | 1 | val | u32max |
| BUF_SIZE | 0 | gc->domain | 376-s32max |
| BUF_SIZE | 0 | gc->reg_readl | (-1),8 |
| BUF_SIZE | 0 | gc->reg_writel | (-1),8 |
| CAPPED_DATA | 0 | gc->domain->hwirq_max | 1 |
| DATA_SOURCE | 0 | gc | $0 |
| STR_LEN | 0 | gc->domain | (-1),2-4,10,17 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | gc->domain->hwirq_max | |
| NO_OVERFLOW_SIMPLE | 0 | gc->domain->revmap_size | |
| NO_OVERFLOW_SIMPLE | 0 | gc->num_ct | |
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &uv_lock | ||
| HALF_LOCKED2 | global &component_mutex |
drivers/irqchip/irq-lan966x-oic.c lan966x_oic_irq_shutdown() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0-u32max[c] |
| UNITS | 0 | gc | unit_byte |
| LOCK2 | 0 | &gc->lock | |
| TYPE_LOCK | (struct irq_chip_generic)->lock |
drivers/irqchip/irq-lan966x-oic.c lan966x_oic_irq_startup() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0-u32max |
| UNITS | 0 | gc | unit_byte |
| LOCK2 | 0 | &gc->lock | |
| TYPE_LOCK | (struct irq_chip_generic)->lock |
drivers/irqchip/irq-bcm7120-l2.c bcm7120_l2_intc_probe() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->chip_types | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->chip_types->regs.mask | 0 |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->unused | 0-u32max |
| PARAM_VALUE | 2 | reg_offset | 0 |
| BUF_SIZE | 0 | gc->private | 192 |
| CAPPED_DATA | 0 | gc->unused | 1 |
| DATA_SOURCE | 0 | gc | r irq_get_domain_generic_chip |
| NOCHECK_CALL |
drivers/irqchip/irq-bcm7120-l2.c bcm7120_l2_intc_resume() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->chip_types | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->resume | 1-u64max |
| DATA_SOURCE | 0 | gc | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
drivers/irqchip/irq-bcm7120-l2.c bcm7120_l2_intc_suspend() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->chip_types | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->suspend | 1-u64max |
| DATA_SOURCE | 0 | gc | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
drivers/gpio/gpio-rockchip.c rockchip_irq_resume() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| PARAM_VALUE | 2 | reg_offset | 24,52 |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq |
drivers/gpio/gpio-rockchip.c rockchip_irq_suspend() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| PARAM_VALUE | 2 | reg_offset | 24,52 |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq |
drivers/irqchip/irq-brcmstb-l2.c __brcmstb_l2_intc_suspend() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | global &syscore_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
drivers/irqchip/irq-brcmstb-l2.c __brcmstb_l2_intc_suspend() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | global &syscore_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
drivers/irqchip/irq-brcmstb-l2.c brcmstb_l2_intc_resume() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
drivers/irqchip/irq-brcmstb-l2.c brcmstb_l2_intc_resume() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |
drivers/irqchip/irq-brcmstb-l2.c brcmstb_l2_intc_resume() -> irq_reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->private | 4096-ptr_max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gc | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gc->lock | |
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct irq_chip_generic)->lock |