|
13 | 13 | #include <sound/hdmi-codec.h>
|
14 | 14 |
|
15 | 15 | /**
|
16 |
| - * struct dp_audio |
| 16 | + * struct msm_dp_audio |
17 | 17 | * @lane_count: number of lanes configured in current session
|
18 | 18 | * @bw_code: link rate's bandwidth code for current session
|
19 | 19 | */
|
20 |
| -struct dp_audio { |
| 20 | +struct msm_dp_audio { |
21 | 21 | u32 lane_count;
|
22 | 22 | u32 bw_code;
|
23 | 23 | };
|
24 | 24 |
|
25 | 25 | /**
|
26 |
| - * dp_audio_get() |
| 26 | + * msm_dp_audio_get() |
27 | 27 | *
|
28 | 28 | * Creates and instance of dp audio.
|
29 | 29 | *
|
30 | 30 | * @pdev: caller's platform device instance.
|
31 |
| - * @panel: an instance of dp_panel module. |
32 |
| - * @catalog: an instance of dp_catalog module. |
| 31 | + * @panel: an instance of msm_dp_panel module. |
| 32 | + * @catalog: an instance of msm_dp_catalog module. |
33 | 33 | *
|
34 | 34 | * Returns the error code in case of failure, otherwize
|
35 |
| - * an instance of newly created dp_module. |
| 35 | + * an instance of newly created msm_dp_module. |
36 | 36 | */
|
37 |
| -struct dp_audio *dp_audio_get(struct platform_device *pdev, |
38 |
| - struct dp_panel *panel, |
39 |
| - struct dp_catalog *catalog); |
| 37 | +struct msm_dp_audio *msm_dp_audio_get(struct platform_device *pdev, |
| 38 | + struct msm_dp_panel *panel, |
| 39 | + struct msm_dp_catalog *catalog); |
40 | 40 |
|
41 | 41 | /**
|
42 |
| - * dp_register_audio_driver() |
| 42 | + * msm_dp_register_audio_driver() |
43 | 43 | *
|
44 | 44 | * Registers DP device with hdmi_codec interface.
|
45 | 45 | *
|
46 | 46 | * @dev: DP device instance.
|
47 |
| - * @dp_audio: an instance of dp_audio module. |
| 47 | + * @msm_dp_audio: an instance of msm_dp_audio module. |
48 | 48 | *
|
49 | 49 | *
|
50 | 50 | * Returns the error code in case of failure, otherwise
|
51 | 51 | * zero on success.
|
52 | 52 | */
|
53 |
| -int dp_register_audio_driver(struct device *dev, |
54 |
| - struct dp_audio *dp_audio); |
| 53 | +int msm_dp_register_audio_driver(struct device *dev, |
| 54 | + struct msm_dp_audio *msm_dp_audio); |
55 | 55 |
|
56 |
| -void dp_unregister_audio_driver(struct device *dev, struct dp_audio *dp_audio); |
| 56 | +void msm_dp_unregister_audio_driver(struct device *dev, struct msm_dp_audio *msm_dp_audio); |
57 | 57 |
|
58 | 58 | /**
|
59 |
| - * dp_audio_put() |
| 59 | + * msm_dp_audio_put() |
60 | 60 | *
|
61 |
| - * Cleans the dp_audio instance. |
| 61 | + * Cleans the msm_dp_audio instance. |
62 | 62 | *
|
63 |
| - * @dp_audio: an instance of dp_audio. |
| 63 | + * @msm_dp_audio: an instance of msm_dp_audio. |
64 | 64 | */
|
65 |
| -void dp_audio_put(struct dp_audio *dp_audio); |
| 65 | +void msm_dp_audio_put(struct msm_dp_audio *msm_dp_audio); |
66 | 66 |
|
67 |
| -int dp_audio_hw_params(struct device *dev, |
| 67 | +int msm_dp_audio_hw_params(struct device *dev, |
68 | 68 | void *data,
|
69 | 69 | struct hdmi_codec_daifmt *daifmt,
|
70 | 70 | struct hdmi_codec_params *params);
|
|
0 commit comments