Lines Matching +full:codec +full:- +full:driver
1 /* SPDX-License-Identifier: GPL-2.0
22 * struct ac97_id - matches a codec device and driver on an ac97 bus
23 * @id: The significant bits if the codec vendor ID1 and ID2
25 * matching. A driver binds to a device when :
27 * @data: Private data used by the driver.
36 * ac97_codec_device - a ac97 codec
38 * @vendor_id: the vendor_id of the codec, as sensed on the AC-link
39 * @num: the codec number, 0 is primary, 1 is first slave, etc ...
40 * @clk: the clock BIT_CLK provided by the codec
41 * @ac97_ctrl: ac97 digital controller on the same AC-link
43 * This is the device instantiated for each codec living on a AC-link. There are
44 * normally 0 to 4 codec devices per AC-link, and all of them are controlled by
56 * ac97_codec_driver - a ac97 codec driver
57 * @driver: the device driver structure
64 struct device_driver driver; member
76 #define to_ac97_driver(__drv) container_of_const(__drv, struct ac97_codec_driver, driver)
97 return &adev->dev; in ac97_codec_dev2dev()