Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpio/gpio-mt7621.c mt7621_gpio_bank_probe() -> mtk_gpio_w32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rg | 4096-ptr_max |
| PARAM_VALUE | 0 | rg->bank | 0-2 |
| PARAM_VALUE | 0 | rg->chip.bits | 8,16,32,64 |
| PARAM_VALUE | 0 | rg->chip.dir_unreadable | 1 |
| PARAM_VALUE | 0 | rg->chip.gc.parent | 0 |
| PARAM_VALUE | 0 | rg->chip.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | rg->chip.lock.owner | (-1) |
| PARAM_VALUE | 0 | rg->chip.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | rg->chip.pinctrl | 1 |
| PARAM_VALUE | 0 | rg->chip.read_reg | 2189877061993816064,2300194121365708800,5302491638966931456,6290825970198790144,7627854653971529728,8589641711378251776 |
| PARAM_VALUE | 0 | rg->chip.reg_set | 1-u64max |
| PARAM_VALUE | 0 | rg->chip.write_reg | 1302825759051804672,2264972764792877056,3881800160937377792,4226973430857023488,5210441000530759680,8683190200015892480 |
| PARAM_VALUE | 0 | rg->parent_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 16 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | rg->parent_priv | s32min-(-2),1-s32max |
| MEM_ZERO | 0 | rg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | rg->chip.sdata | 0-u64max |
| HOST_DATA | 0 | rg->chip.sdir | 0-u64max |
drivers/gpio/gpio-mt7621.c mt7621_gpio_irq_bank_handler() -> mtk_gpio_w32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rg | 4096-ptr_max |
| PARAM_VALUE | 0 | rg->chip.gc.gpiodev | 4096-ptr_max |
| PARAM_VALUE | 0 | rg->parent_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 144 |
| PARAM_VALUE | 2 | val | 1-u32max |
| DATA_SOURCE | 0 | rg | $0 |
| DATA_SOURCE | 2 | val | r mtk_gpio_r32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 1-u32max |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpio/gpio-mt7621.c mt7621_gpio_irq_mask() -> mtk_gpio_w32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rg | 4096-ptr_max |
| PARAM_VALUE | 0 | rg->chip.gc.gpiodev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 96 |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | val | 1 |
| DATA_SOURCE | 0 | rg | r gpiochip_get_data |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| LOCK2 | &(_T->lock)->lock | ||
| LOCK2 | _T->flags | ||
| HALF_LOCKED2 | &desc->lock |
drivers/gpio/gpio-mt7621.c mt7621_gpio_irq_mask() -> mtk_gpio_w32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rg | 4096-ptr_max |
| PARAM_VALUE | 0 | rg->chip.gc.gpiodev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 80 |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | val | 1 |
| DATA_SOURCE | 0 | rg | r gpiochip_get_data |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| LOCK2 | &(_T->lock)->lock | ||
| LOCK2 | _T->flags | ||
| HALF_LOCKED2 | &desc->lock |
drivers/gpio/gpio-mt7621.c mt7621_gpio_irq_mask() -> mtk_gpio_w32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rg | 4096-ptr_max |
| PARAM_VALUE | 0 | rg->chip.gc.gpiodev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 112 |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | val | 1 |
| DATA_SOURCE | 0 | rg | r gpiochip_get_data |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| LOCK2 | &(_T->lock)->lock | ||
| LOCK2 | _T->flags | ||
| HALF_LOCKED2 | &desc->lock |
drivers/gpio/gpio-mt7621.c mt7621_gpio_irq_mask() -> mtk_gpio_w32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rg | 4096-ptr_max |
| PARAM_VALUE | 0 | rg->chip.gc.gpiodev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 128 |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | val | 1 |
| DATA_SOURCE | 0 | rg | r gpiochip_get_data |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| LOCK2 | &(_T->lock)->lock | ||
| LOCK2 | _T->flags | ||
| HALF_LOCKED2 | &desc->lock |
drivers/gpio/gpio-mt7621.c mt7621_gpio_irq_unmask() -> mtk_gpio_w32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rg | 4096-ptr_max |
| PARAM_VALUE | 0 | rg->chip.gc.gpiodev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 80 |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | rg | r gpiochip_get_data |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| LOCK2 | &(_T->lock)->lock | ||
| LOCK2 | _T->flags | ||
| HALF_LOCKED2 | &desc->lock |
drivers/gpio/gpio-mt7621.c mt7621_gpio_irq_unmask() -> mtk_gpio_w32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rg | 4096-ptr_max |
| PARAM_VALUE | 0 | rg->chip.gc.gpiodev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 96 |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | rg | r gpiochip_get_data |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| LOCK2 | &(_T->lock)->lock | ||
| LOCK2 | _T->flags | ||
| HALF_LOCKED2 | &desc->lock |
drivers/gpio/gpio-mt7621.c mt7621_gpio_irq_unmask() -> mtk_gpio_w32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rg | 4096-ptr_max |
| PARAM_VALUE | 0 | rg->chip.gc.gpiodev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 112 |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | rg | r gpiochip_get_data |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| LOCK2 | &(_T->lock)->lock | ||
| LOCK2 | _T->flags | ||
| HALF_LOCKED2 | &desc->lock |
drivers/gpio/gpio-mt7621.c mt7621_gpio_irq_unmask() -> mtk_gpio_w32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rg | 4096-ptr_max |
| PARAM_VALUE | 0 | rg->chip.gc.gpiodev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 128 |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rg | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | rg | r gpiochip_get_data |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| LOCK2 | &(_T->lock)->lock | ||
| LOCK2 | _T->flags | ||
| HALF_LOCKED2 | &desc->lock |