| @@ -2201,10 +2201,10 @@ static inline int hdspm_get_pll_freq(struct hdspm *hdspm) · 2200 unmodified lines |
| 2201 | 2201 | return rate; |
| 2202 | 2202 | } |
| 2203 | 2203 | |
| 2204 | | −/** |
| 2204 | +/* |
| 2205 | 2205 | * Calculate the real sample rate from the |
| 2206 | 2206 | * current DDS value. |
| 2207 | | − **/ |
| 2207 | + */ |
| 2208 | 2208 | static int hdspm_get_system_sample_rate(struct hdspm *hdspm) |
| 2209 | 2209 | { |
| 2210 | 2210 | unsigned int rate; |
| @@ -2270,9 +2270,9 @@ static int snd_hdspm_put_system_sample_rate(struct snd_kcontrol *kcontrol, · 59 unmodified lines |
| 2270 | 2270 | } |
| 2271 | 2271 | |
| 2272 | 2272 | |
| 2273 | | −/** |
| 2273 | +/* |
| 2274 | 2274 | * Returns the WordClock sample rate class for the given card. |
| 2275 | | − **/ |
| 2275 | + */ |
| 2276 | 2276 | static int hdspm_get_wc_sample_rate(struct hdspm *hdspm) |
| 2277 | 2277 | { |
| 2278 | 2278 | int status; |
| @@ -2295,9 +2295,9 @@ static int hdspm_get_wc_sample_rate(struct hdspm *hdspm) · 16 unmodified lines |
| 2295 | 2295 | } |
| 2296 | 2296 | |
| 2297 | 2297 | |
| 2298 | | −/** |
| 2298 | +/* |
| 2299 | 2299 | * Returns the TCO sample rate class for the given card. |
| 2300 | | − **/ |
| 2300 | + */ |
| 2301 | 2301 | static int hdspm_get_tco_sample_rate(struct hdspm *hdspm) |
| 2302 | 2302 | { |
| 2303 | 2303 | int status; |
| @@ -2321,9 +2321,9 @@ static int hdspm_get_tco_sample_rate(struct hdspm *hdspm) · 17 unmodified lines |
| 2321 | 2321 | } |
| 2322 | 2322 | |
| 2323 | 2323 | |
| 2324 | | −/** |
| 2324 | +/* |
| 2325 | 2325 | * Returns the SYNC_IN sample rate class for the given card. |
| 2326 | | − **/ |
| 2326 | + */ |
| 2327 | 2327 | static int hdspm_get_sync_in_sample_rate(struct hdspm *hdspm) |
| 2328 | 2328 | { |
| 2329 | 2329 | int status; |
| @@ -2343,9 +2343,9 @@ static int hdspm_get_sync_in_sample_rate(struct hdspm *hdspm) · 13 unmodified lines |
| 2343 | 2343 | return 0; |
| 2344 | 2344 | } |
| 2345 | 2345 | |
| 2346 | | −/** |
| 2346 | +/* |
| 2347 | 2347 | * Returns the AES sample rate class for the given card. |
| 2348 | | − **/ |
| 2348 | + */ |
| 2349 | 2349 | static int hdspm_get_aes_sample_rate(struct hdspm *hdspm, int index) |
| 2350 | 2350 | { |
| 2351 | 2351 | int timecode; |
| @@ -2361,10 +2361,10 @@ static int hdspm_get_aes_sample_rate(struct hdspm *hdspm, int index) · 9 unmodified lines |
| 2361 | 2361 | return 0; |
| 2362 | 2362 | } |
| 2363 | 2363 | |
| 2364 | | −/** |
| 2364 | +/* |
| 2365 | 2365 | * Returns the sample rate class for input source <idx> for |
| 2366 | 2366 | * 'new style' cards like the AIO and RayDAT. |
| 2367 | | − **/ |
| 2367 | + */ |
| 2368 | 2368 | static int hdspm_get_s1_sample_rate(struct hdspm *hdspm, unsigned int idx) |
| 2369 | 2369 | { |
| 2370 | 2370 | int status = hdspm_read(hdspm, HDSPM_RD_STATUS_2); |
| @@ -2512,10 +2512,10 @@ static int snd_hdspm_get_autosync_sample_rate(struct snd_kcontrol *kcontrol, · 141 unmodified lines |
| 2512 | 2512 | } |
| 2513 | 2513 | |
| 2514 | 2514 | |
| 2515 | | −/** |
| 2515 | +/* |
| 2516 | 2516 | * Returns the system clock mode for the given card. |
| 2517 | 2517 | * @returns 0 - master, 1 - slave |
| 2518 | | − **/ |
| 2518 | + */ |
| 2519 | 2519 | static int hdspm_system_clock_mode(struct hdspm *hdspm) |
| 2520 | 2520 | { |
| 2521 | 2521 | switch (hdspm->io_type) { |
| @@ -2534,10 +2534,10 @@ static int hdspm_system_clock_mode(struct hdspm *hdspm) · 12 unmodified lines |
| 2534 | 2534 | } |
| 2535 | 2535 | |
| 2536 | 2536 | |
| 2537 | | −/** |
| 2537 | +/* |
| 2538 | 2538 | * Sets the system clock mode. |
| 2539 | 2539 | * @param mode 0 - master, 1 - slave |
| 2540 | | − **/ |
| 2540 | + */ |
| 2541 | 2541 | static void hdspm_set_system_clock_mode(struct hdspm *hdspm, int mode) |
| 2542 | 2542 | { |
| 2543 | 2543 | hdspm_set_toggle_setting(hdspm, |
| @@ -2692,11 +2692,11 @@ static int snd_hdspm_put_clock_source(struct snd_kcontrol *kcontrol, · 148 unmodified lines |
| 2692 | 2692 | } |
| 2693 | 2693 | |
| 2694 | 2694 | |
| 2695 | | −/** |
| 2695 | +/* |
| 2696 | 2696 | * Returns the current preferred sync reference setting. |
| 2697 | 2697 | * The semantics of the return value are depending on the |
| 2698 | 2698 | * card, please see the comments for clarification. |
| 2699 | | − **/ |
| 2699 | + */ |
| 2700 | 2700 | static int hdspm_pref_sync_ref(struct hdspm * hdspm) |
| 2701 | 2701 | { |
| 2702 | 2702 | switch (hdspm->io_type) { |
| @@ -2795,11 +2795,11 @@ static int hdspm_pref_sync_ref(struct hdspm * hdspm) · 92 unmodified lines |
| 2795 | 2795 | } |
| 2796 | 2796 | |
| 2797 | 2797 | |
| 2798 | | −/** |
| 2798 | +/* |
| 2799 | 2799 | * Set the preferred sync reference to <pref>. The semantics |
| 2800 | 2800 | * of <pref> are depending on the card type, see the comments |
| 2801 | 2801 | * for clarification. |
| 2802 | | − **/ |
| 2802 | + */ |
| 2803 | 2803 | static int hdspm_set_pref_sync_ref(struct hdspm * hdspm, int pref) |
| 2804 | 2804 | { |
| 2805 | 2805 | int p = 0; |
| @@ -4101,9 +4101,9 @@ static int snd_hdspm_get_sync_check(struct snd_kcontrol *kcontrol, · 1295 unmodified lines |
| 4101 | 4101 | |
| 4102 | 4102 | |
| 4103 | 4103 | |
| 4104 | | −/** |
| 4104 | +/* |
| 4105 | 4105 | * TCO controls |
| 4106 | | − **/ |
| 4106 | + */ |
| 4107 | 4107 | static void hdspm_tco_write(struct hdspm *hdspm) |
| 4108 | 4108 | { |
| 4109 | 4109 | unsigned int tc[4] = { 0, 0, 0, 0}; |
| @@ -5403,7 +5403,7 @@ static irqreturn_t snd_hdspm_interrupt(int irq, void *dev_id) · 1293 unmodified lines |
| 5403 | 5403 | HDSPM_midi2IRQPending | HDSPM_midi3IRQPending); |
| 5404 | 5404 | |
| 5405 | 5405 | /* now = get_cycles(); */ |
| 5406 | | − /** |
| 5406 | + /* |
| 5407 | 5407 | * LAT_2..LAT_0 period counter (win) counter (mac) |
| 5408 | 5408 | * 6 4096 ~256053425 ~514672358 |
| 5409 | 5409 | * 5 2048 ~128024983 ~257373821 |
| @@ -5412,7 +5412,7 @@ static irqreturn_t snd_hdspm_interrupt(int irq, void *dev_id) · 2 unmodified lines |
| 5412 | 5412 | * 2 256 ~16003039 ~32260176 |
| 5413 | 5413 | * 1 128 ~7998738 ~16194507 |
| 5414 | 5414 | * 0 64 ~3998231 ~8191558 |
| 5415 | | − **/ |
| 5415 | + */ |
| 5416 | 5416 | /* |
| 5417 | 5417 | dev_info(hdspm->card->dev, "snd_hdspm_interrupt %llu @ %llx\n", |
| 5418 | 5418 | now-hdspm->last_interrupt, status & 0xFFC0); |