Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/pinctrl/pinctrl-ocelot.c ocelot_regmap_from_resource() -> ocelot_regmap_from_resource_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| PARAM_VALUE | 2 | config | 3196059565124657152 |
| PARAM_VALUE | 2 | config->cache_type | 0 |
| PARAM_VALUE | 2 | config->can_multi_write | 0 |
| PARAM_VALUE | 2 | config->can_sleep | 0 |
| PARAM_VALUE | 2 | config->disable_locking | 0 |
| PARAM_VALUE | 2 | config->fast_io | 0 |
| PARAM_VALUE | 2 | config->hwlock_id | 0 |
| PARAM_VALUE | 2 | config->hwlock_mode | 0 |
| PARAM_VALUE | 2 | config->io_port | 0 |
| PARAM_VALUE | 2 | config->lock | 0 |
| PARAM_VALUE | 2 | config->lock_arg | 0 |
| PARAM_VALUE | 2 | config->max_raw_read | 0 |
| PARAM_VALUE | 2 | config->max_raw_write | 0 |
| PARAM_VALUE | 2 | config->max_register | 60-10260 |
| PARAM_VALUE | 2 | config->max_register_is_0 | 0 |
| PARAM_VALUE | 2 | config->name | 0 |
| PARAM_VALUE | 2 | config->num_ranges | 0 |
| PARAM_VALUE | 2 | config->num_reg_defaults | 0 |
| PARAM_VALUE | 2 | config->num_reg_defaults_raw | 0 |
| PARAM_VALUE | 2 | config->pad_bits | 0 |
| PARAM_VALUE | 2 | config->precious_reg | 0 |
| PARAM_VALUE | 2 | config->precious_table | 0 |
| PARAM_VALUE | 2 | config->ranges | 0 |
| PARAM_VALUE | 2 | config->rd_noinc_table | 0 |
| PARAM_VALUE | 2 | config->rd_table | 0 |
| PARAM_VALUE | 2 | config->read | 0 |
| PARAM_VALUE | 2 | config->read_flag_mask | 0 |
| PARAM_VALUE | 2 | config->readable_noinc_reg | 0 |
| PARAM_VALUE | 2 | config->readable_reg | 0 |
| PARAM_VALUE | 2 | config->reg_base | 0 |
| PARAM_VALUE | 2 | config->reg_bits | 32 |
| PARAM_VALUE | 2 | config->reg_default_cb | 0 |
| PARAM_VALUE | 2 | config->reg_defaults | 0 |
| PARAM_VALUE | 2 | config->reg_defaults_raw | 0 |
| PARAM_VALUE | 2 | config->reg_format_endian | 0 |
| PARAM_VALUE | 2 | config->reg_read | 0 |
| PARAM_VALUE | 2 | config->reg_shift | 0 |
| PARAM_VALUE | 2 | config->reg_stride | 4 |
| PARAM_VALUE | 2 | config->reg_update_bits | 0 |
| PARAM_VALUE | 2 | config->reg_write | 0 |
| PARAM_VALUE | 2 | config->unlock | 0 |
| PARAM_VALUE | 2 | config->use_hwlock | 0 |
| PARAM_VALUE | 2 | config->use_raw_spinlock | 0 |
| PARAM_VALUE | 2 | config->use_relaxed_mmio | 0 |
| PARAM_VALUE | 2 | config->use_single_read | 0 |
| PARAM_VALUE | 2 | config->use_single_write | 0 |
| PARAM_VALUE | 2 | config->val_bits | 32 |
| PARAM_VALUE | 2 | config->val_format_endian | 0 |
| PARAM_VALUE | 2 | config->volatile_reg | 0 |
| PARAM_VALUE | 2 | config->volatile_table | 0 |
| PARAM_VALUE | 2 | config->wr_noinc_table | 0 |
| PARAM_VALUE | 2 | config->wr_table | 0 |
| PARAM_VALUE | 2 | config->write | 0 |
| PARAM_VALUE | 2 | config->write_flag_mask | 0 |
| PARAM_VALUE | 2 | config->writeable_noinc_reg | 0 |
| PARAM_VALUE | 2 | config->writeable_reg | 0 |
| PARAM_VALUE | 2 | config->zero_flag_mask | 0 |
| DATA_SOURCE | 0 | pdev | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | config | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/mdio/mdio-mscc-miim.c mscc_miim_probe() -> ocelot_regmap_from_resource_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->num_resources | 1-u32max |
| PARAM_VALUE | 0 | *pdev->dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | index | 1 |
| PARAM_VALUE | 2 | config | 3898849314962804736 |
| CAPPED_DATA | 0 | pdev->num_resources | 1 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/mdio/mdio-mscc-miim.c ocelot_regmap_from_resource() -> ocelot_regmap_from_resource_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| PARAM_VALUE | 2 | config | 3931160502798213120 |
| DATA_SOURCE | 0 | pdev | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | config | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/pinctrl-microchip-sgpio.c ocelot_regmap_from_resource() -> ocelot_regmap_from_resource_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 1 | index | 0 |
| PARAM_VALUE | 2 | config | 1545515930770698240 |
| PARAM_VALUE | 2 | config->cache_type | 0 |
| PARAM_VALUE | 2 | config->can_multi_write | 0 |
| PARAM_VALUE | 2 | config->can_sleep | 0 |
| PARAM_VALUE | 2 | config->disable_locking | 0 |
| PARAM_VALUE | 2 | config->fast_io | 0 |
| PARAM_VALUE | 2 | config->hwlock_id | 0 |
| PARAM_VALUE | 2 | config->hwlock_mode | 0 |
| PARAM_VALUE | 2 | config->io_port | 0 |
| PARAM_VALUE | 2 | config->lock | 0 |
| PARAM_VALUE | 2 | config->lock_arg | 0 |
| PARAM_VALUE | 2 | config->max_raw_read | 0 |
| PARAM_VALUE | 2 | config->max_raw_write | 0 |
| PARAM_VALUE | 2 | config->max_register | 0 |
| PARAM_VALUE | 2 | config->max_register_is_0 | 0 |
| PARAM_VALUE | 2 | config->name | 0 |
| PARAM_VALUE | 2 | config->num_ranges | 0 |
| PARAM_VALUE | 2 | config->num_reg_defaults | 0 |
| PARAM_VALUE | 2 | config->num_reg_defaults_raw | 0 |
| PARAM_VALUE | 2 | config->pad_bits | 0 |
| PARAM_VALUE | 2 | config->precious_reg | 0 |
| PARAM_VALUE | 2 | config->precious_table | 0 |
| PARAM_VALUE | 2 | config->ranges | 0 |
| PARAM_VALUE | 2 | config->rd_noinc_table | 0 |
| PARAM_VALUE | 2 | config->rd_table | 0 |
| PARAM_VALUE | 2 | config->read | 0 |
| PARAM_VALUE | 2 | config->read_flag_mask | 0 |
| PARAM_VALUE | 2 | config->readable_noinc_reg | 0 |
| PARAM_VALUE | 2 | config->readable_reg | 0 |
| PARAM_VALUE | 2 | config->reg_base | 0 |
| PARAM_VALUE | 2 | config->reg_bits | 32 |
| PARAM_VALUE | 2 | config->reg_default_cb | 0 |
| PARAM_VALUE | 2 | config->reg_defaults | 0 |
| PARAM_VALUE | 2 | config->reg_defaults_raw | 0 |
| PARAM_VALUE | 2 | config->reg_format_endian | 0 |
| PARAM_VALUE | 2 | config->reg_read | 0 |
| PARAM_VALUE | 2 | config->reg_shift | 0 |
| PARAM_VALUE | 2 | config->reg_stride | 4 |
| PARAM_VALUE | 2 | config->reg_update_bits | 0 |
| PARAM_VALUE | 2 | config->reg_write | 0 |
| PARAM_VALUE | 2 | config->unlock | 0 |
| PARAM_VALUE | 2 | config->use_hwlock | 0 |
| PARAM_VALUE | 2 | config->use_raw_spinlock | 0 |
| PARAM_VALUE | 2 | config->use_relaxed_mmio | 0 |
| PARAM_VALUE | 2 | config->use_single_read | 0 |
| PARAM_VALUE | 2 | config->use_single_write | 0 |
| PARAM_VALUE | 2 | config->val_bits | 32 |
| PARAM_VALUE | 2 | config->val_format_endian | 0 |
| PARAM_VALUE | 2 | config->volatile_reg | 0 |
| PARAM_VALUE | 2 | config->volatile_table | 0 |
| PARAM_VALUE | 2 | config->wr_noinc_table | 0 |
| PARAM_VALUE | 2 | config->wr_table | 0 |
| PARAM_VALUE | 2 | config->write | 0 |
| PARAM_VALUE | 2 | config->write_flag_mask | 0 |
| PARAM_VALUE | 2 | config->writeable_noinc_reg | 0 |
| PARAM_VALUE | 2 | config->writeable_reg | 0 |
| PARAM_VALUE | 2 | config->zero_flag_mask | 0 |
| DATA_SOURCE | 0 | pdev | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | config | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |