Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/acpi/glue.c, line 210
- drivers/acpi/nfit/core.c, line 1826
- drivers/gpu/drm/i915/display/intel_acpi.c, line 317
- drivers/mfd/mfd-core.c, line 87
- drivers/pci/controller/vmd.c, line 524
- drivers/pci/pci-acpi.c, line 1341
- drivers/thunderbolt/acpi.c
- drivers/usb/core/usb-acpi.c, line 308
- include/linux/acpi.h, line 94
- sound/soc/amd/acp/acp-legacy-common.c, line 604
- sound/soc/amd/ps/pci-ps.c
- sound/soc/sof/amd/acp.c, line 867
Smatch caller information:
drivers/pci/controller/vmd.c vmd_acpi_find_companion() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 2 | check_children | 0 |
| BIT_INFO | 1 | address | 0x8000ffff,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_byte |
| LOCK2 | global &pci_acpi_companion_lookup_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/mfd/mfd-core.c mfd_acpi_add_device() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | check_children | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_byte |
| HALF_LOCKED2 | &hdev->driver_input_lock |
sound/soc/amd/acp/acp-legacy-common.c check_acp_config() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | address | 2-3 |
| PARAM_VALUE | 2 | check_children | 0 |
| FUZZY_MAX | 1 | address | 3 |
| BIT_INFO | 1 | address | 0x2,0x3 |
| HARD_MAX | 1 | address | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_byte |
| HALF_LOCKED2 | &pci->dev.mutex |
drivers/i2c/busses/i2c-piix4.c acpi_preset_companion() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | address | 0-4 |
| PARAM_VALUE | 2 | check_children | 0 |
| CAPPED_DATA | 1 | address | 1 |
| CAPPED_DATA | 1 | address | 1 |
| DATA_SOURCE | 0 | parent | $1 |
| DATA_SOURCE | 1 | address | $2 |
| FUZZY_MAX | 1 | address | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_byte |
| HALF_LOCKED2 | &dev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/display/intel_acpi.c intel_acpi_assign_connector_fwnodes() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | address | 31 |
| PARAM_VALUE | 2 | check_children | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_byte |
| LOCK2 | &display->drm->mode_config.mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct drm_mode_config)->mutex |
drivers/thunderbolt/acpi.c tb_acpi_switch_find_companion() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | address | 0 |
| PARAM_VALUE | 2 | check_children | 0 |
| BUF_SIZE | 0 | parent | 0 |
| BIT_INFO | 0 | parent | 0x0,0x0 |
drivers/thunderbolt/acpi.c tb_acpi_switch_find_companion() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | address | 0 |
| PARAM_VALUE | 2 | check_children | 0 |
| UNITS | 0 | parent | unit_byte |
drivers/i2c/i2c-mux.c acpi_preset_companion() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 2 | check_children | 0 |
| DATA_SOURCE | 0 | parent | $1 |
| DATA_SOURCE | 1 | address | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | address | |
| UNITS | 0 | parent | unit_byte |
drivers/usb/core/usb-acpi.c usb_acpi_find_companion_for_device() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | address | 0 |
| PARAM_VALUE | 2 | check_children | 0 |
| UNITS | 0 | parent | unit_byte |
sound/soc/sof/amd/acp.c acp_sof_scan_sdw_devices() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | address | 1-u64max |
| PARAM_VALUE | 2 | check_children | 0 |
| DATA_SOURCE | 1 | address | $1 |
| UNITS | 0 | parent | unit_byte |
| LOCK2 | &pool->lock |
drivers/mmc/core/sdio_bus.c acpi_preset_companion() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | address | 0-281474976710655 |
| PARAM_VALUE | 2 | check_children | 0 |
| DATA_SOURCE | 0 | parent | $1 |
| DATA_SOURCE | 1 | address | $2 |
| UNITS | 0 | parent | unit_byte |
| LOCK2 | &pool->lock |
drivers/acpi/nfit/core.c acpi_nfit_add_dimm() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | check_children | 0 |
| DATA_SOURCE | 0 | parent | r to_acpi_dev |
| DATA_SOURCE | 1 | address | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &acpi_desc->init_mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct acpi_nfit_desc)->init_mutex |
sound/soc/amd/ps/pci-ps.c acp_scan_sdw_devices() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | address | 5 |
| PARAM_VALUE | 2 | check_children | 0 |
| DATA_SOURCE | 1 | address | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_byte |
| HALF_LOCKED2 | &pci->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
sound/soc/amd/ps/pci-ps.c get_acp63_device_config() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | address | 2 |
| PARAM_VALUE | 2 | check_children | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_byte |
| HALF_LOCKED2 | &pci->dev.mutex |
drivers/pci/pci-acpi.c acpi_pci_find_companion() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | address | 0-2097151 |
| DATA_SOURCE | 2 | check_children | r pci_is_bridge |
| BIT_INFO | 1 | address | 0x0,0x1f0007 |
| BIT_INFO | 1 | address | 0x0,0x1f0007 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_byte |
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/ata/libata-acpi.c acpi_preset_companion() -> acpi_find_child_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | check_children | 0 |
| DATA_SOURCE | 0 | parent | $1 |
| DATA_SOURCE | 1 | address | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_byte |
| UNITS | 1 | address | unit_array_size |