Lines Matching +full:lane +full:- +full:polarities
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * acpi_bus.h - ACPI Bus Driver ($Revision: 22 $)
71 if (obj && obj->type != type) { in acpi_evaluate_dsm_typed()
114 * -----------------
145 * --------------------
161 * -----------
187 * -----------
227 #define acpi_device_dir(d) ((d)->dir.entry)
258 acpi_device_name device_name; /* Driver-determined */
262 #define acpi_device_bid(d) ((d)->pnp.bus_id)
263 #define acpi_device_adr(d) ((d)->pnp.bus_address)
265 #define acpi_device_uid(d) ((d)->pnp.unique_id)
266 #define acpi_device_name(d) ((d)->pnp.device_name)
267 #define acpi_device_class(d) ((d)->pnp.device_class)
274 u32 inrush_current:1; /* Serialize Dx->D0 */
275 u32 power_removed:1; /* Optimize Dx->D0 */
289 int latency; /* Dx->D0 time (microseconds) */
295 struct acpi_device_power_state states[ACPI_D_STATE_COUNT]; /* Power states (D0-D3Cold) */
321 int latency; /* Px->P0 time (microseconds) */
334 u8 notifier_present:1; /* Wake-up notify handler has been installed */
381 * The maximum expected number of CSI-2 data lanes.
422 * number of CSI-2 ports.
429 * struct acpi_device_software_node_port - MIPI DisCo for Imaging CSI-2 port
431 * @data_lanes: "data-lanes" property values.
432 * @lane_polarities: "lane-polarities" property values.
443 u32 lane_polarities[ACPI_DEVICE_CSI2_DATA_LANES + 1 /* clock lane */];
455 * struct acpi_device_software_nodes - Software nodes for an ACPI device
499 /* Non-device subnode */
546 fwnode->ops == &acpi_static_fwnode_ops; in is_acpi_static_node()
553 (!strcmp(to_acpi_data_node(fwnode)->name, name)) : false; in acpi_data_node_match()
558 return &adev->fwnode; in acpi_fwnode_handle()
563 return d->driver_data; in acpi_driver_data()
571 if (adev->dev.parent) in acpi_dev_parent()
572 return to_acpi_device(adev->dev.parent); in acpi_dev_parent()
579 *((u32 *)&adev->status) = sta; in acpi_set_device_status()
585 hp->self = adev; in acpi_set_hp_context()
586 adev->hp = hp; in acpi_set_hp_context()
605 * ------
685 return adev && adev->flags.initialized && adev->flags.visited; in acpi_device_enumerated()
689 * module_acpi_driver(acpi_driver) - Helper macro for registering an ACPI driver
841 return -ENODEV; in acpi_pm_set_device_wakeup()
859 return adev->flags.power_manageable; in acpi_device_power_manageable()
864 return adev->wakeup.flags.valid; in acpi_device_can_wakeup()
869 return adev->power.states[ACPI_STATE_D3_COLD].flags.valid || in acpi_device_can_poweroff()
871 adev->power.states[ACPI_STATE_D3_HOT].flags.explicit_set); in acpi_device_can_poweroff()
908 * acpi_dev_uid_match - Match device by supplied UID
924 * acpi_dev_hid_uid_match - Match device by supplied HID and UID
947 * for_each_acpi_consumer_dev - iterate over the consumer ACPI devices for a
963 * for_each_acpi_dev_match - iterate over ACPI devices that matching the criteria
967 * @hrv: Hardware Revision of the device, pass -1 to not check _HRV
978 return adev ? to_acpi_device(get_device(&adev->dev)) : NULL; in acpi_dev_get()
984 put_device(&adev->dev); in acpi_dev_put()