Lines Matching +full:sub +full:- +full:bus
1 /* SPDX-License-Identifier: GPL-2.0
3 * Header file for the CDX Bus
5 * Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
14 * struct cdx_dev_params - CDX device parameters
16 * @parent: Associated CDX Bus device
19 * @subsys_vendor: Sub vendor ID for CDX device
20 * @subsys_device: Sub device ID for CDX device
21 * @bus_num: Bus number for this CDX device
46 * cdx_register_controller - Register a CDX controller and its ports
47 * on the CDX bus.
50 * Return: -errno on failure, 0 on success.
55 * cdx_unregister_controller - Unregister a CDX controller
61 * cdx_device_add - Add a CDX device. This function adds a CDX device
62 * on the CDX bus as per the device parameters provided
67 * Return: -errno on failure, 0 on success.
72 * cdx_bus_add - Add a CDX bus. This function adds a bus on the CDX bus
73 * subsystem. It creates a CDX device for the corresponding bus and
76 * @us_num: Bus number