Lines Matching +full:cfg +full:- +full:space
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright(c) 2023-2024 Intel Corporation
18 #define __acpi_nhlt_config_caps(cfg) ((void *)((cfg) + 1)) argument
21 * acpi_nhlt_endpoint_fmtscfg - Get the formats configuration space.
22 * @ep: the endpoint to retrieve the space for.
24 * Return: A pointer to the formats configuration space.
29 struct acpi_nhlt_config *cfg = __acpi_nhlt_endpoint_config(ep); in acpi_nhlt_endpoint_fmtscfg() local
31 return (struct acpi_nhlt_formats_config *)((u8 *)(cfg + 1) + cfg->capabilities_size); in acpi_nhlt_endpoint_fmtscfg()
38 ((void *)((u8 *)(ep) + (ep)->length))
47 ((void *)((u8 *)((fmt) + 1) + (fmt)->config.capabilities_size))
55 * of an OED-Config used by Windows only.
59 * for_each_nhlt_endpoint - Iterate over endpoints in a NHLT table.
65 __i < (tb)->endpoints_count && \
70 * for_each_nhlt_fmtcfg - Iterate over format configurations.
71 * @fmts: the pointer to formats configuration space.
76 __i < (fmts)->formats_count && \
81 * for_each_nhlt_endpoint_fmtcfg - Iterate over format configurations in an endpoint.
91 * System-wide pointer to the first NHLT table.