Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/i2c/i2c-core-acpi.c, line 544 (as a function)
- include/linux/i2c.h, line 1101 (as a function)
Referenced in 3 files:
- drivers/i2c/i2c-core-acpi.c, line 579
- drivers/media/pci/intel/ipu-bridge.c, line 682
- include/linux/i2c.h, line 1121
Smatch caller information:
drivers/media/pci/intel/ipu-bridge.c ipu_bridge_instantiate_vcm_work() -> i2c_acpi_new_device_by_fwnode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 16,4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| PARAM_VALUE | 2 | info | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/surface/surface3_power.c i2c_acpi_new_device() -> i2c_acpi_new_device_by_fwnode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 1 |
| PARAM_VALUE | 2 | info | 2734745519248707584 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | info | $2 |
| MEM_ZERO | 2 | info | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/serial-multi-instantiate.c i2c_acpi_new_device() -> i2c_acpi_new_device_by_fwnode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 0-s32max |
| PARAM_VALUE | 2 | info | 7833131852274233344 |
| PARAM_VALUE | 2 | info->addr | 0 |
| PARAM_VALUE | 2 | info->dev_name | 5702270192161329152 |
| PARAM_VALUE | 2 | info->flags | 0 |
| PARAM_VALUE | 2 | info->fwnode | 0 |
| PARAM_VALUE | 2 | info->irq | 0-s32max |
| PARAM_VALUE | 2 | info->num_resources | 0 |
| PARAM_VALUE | 2 | info->platform_data | 0 |
| PARAM_VALUE | 2 | info->resources | 0 |
| PARAM_VALUE | 2 | info->swnode | 0 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | info | $2 |
| FUZZY_MAX | 1 | index | 0 |
| MEM_ZERO | 2 | info | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | index | |
| UNITS | 1 | index | unit_array_size |
drivers/platform/x86/intel/chtwc_int33fe.c i2c_acpi_new_device() -> i2c_acpi_new_device_by_fwnode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 1-3 |
| PARAM_VALUE | 2 | info | 1593720797269221376,4850950024793333760 |
| PARAM_VALUE | 2 | info->dev_name | 1839578502753689600,3070951655224897536,8779507322696704000 |
| PARAM_VALUE | 2 | info->fwnode | 4096-ptr_max |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | info | $2 |
| TERMINATED | 2 | info->dev_name | 1 |
| HARD_MAX | 1 | index | 3 |
| MEM_ZERO | 2 | info | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/light/cm32181.c i2c_acpi_new_device() -> i2c_acpi_new_device_by_fwnode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 1 |
| PARAM_VALUE | 2 | info | 170907611779235840 |
| PARAM_VALUE | 2 | info->addr | 0 |
| PARAM_VALUE | 2 | info->dev_name | 0 |
| PARAM_VALUE | 2 | info->flags | 0 |
| PARAM_VALUE | 2 | info->fwnode | 0 |
| PARAM_VALUE | 2 | info->irq | 0 |
| PARAM_VALUE | 2 | info->num_resources | 0 |
| PARAM_VALUE | 2 | info->platform_data | 0 |
| PARAM_VALUE | 2 | info->resources | 0 |
| PARAM_VALUE | 2 | info->swnode | 0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | info | $2 |
| TERMINATED | 2 | info->type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/accel/bmc150-accel-i2c.c i2c_acpi_new_device() -> i2c_acpi_new_device_by_fwnode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 1 |
| PARAM_VALUE | 2 | info | 4021894955632689152 |
| PARAM_VALUE | 2 | info->addr | 0 |
| PARAM_VALUE | 2 | info->dev_name | 3006709783358627840 |
| PARAM_VALUE | 2 | info->flags | 0 |
| PARAM_VALUE | 2 | info->fwnode | 4096-ptr_max |
| PARAM_VALUE | 2 | info->irq | (-22),(-5),(-2) |
| PARAM_VALUE | 2 | info->num_resources | 0 |
| PARAM_VALUE | 2 | info->platform_data | 0 |
| PARAM_VALUE | 2 | info->resources | 0 |
| PARAM_VALUE | 2 | info->swnode | 0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | info | $2 |
| TERMINATED | 2 | info->type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |