diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/mkregtable.c')
-rw-r--r-- | drivers/gpu/drm/radeon/mkregtable.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/gpu/drm/radeon/mkregtable.c b/drivers/gpu/drm/radeon/mkregtable.c index 4a85bb644e24..b928c17bdeed 100644 --- a/drivers/gpu/drm/radeon/mkregtable.c +++ b/drivers/gpu/drm/radeon/mkregtable.c | |||
@@ -347,7 +347,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
347 | * list_entry - get the struct for this entry | 347 | * list_entry - get the struct for this entry |
348 | * @ptr: the &struct list_head pointer. | 348 | * @ptr: the &struct list_head pointer. |
349 | * @type: the type of the struct this is embedded in. | 349 | * @type: the type of the struct this is embedded in. |
350 | * @member: the name of the list_struct within the struct. | 350 | * @member: the name of the list_head within the struct. |
351 | */ | 351 | */ |
352 | #define list_entry(ptr, type, member) \ | 352 | #define list_entry(ptr, type, member) \ |
353 | container_of(ptr, type, member) | 353 | container_of(ptr, type, member) |
@@ -356,7 +356,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
356 | * list_first_entry - get the first element from a list | 356 | * list_first_entry - get the first element from a list |
357 | * @ptr: the list head to take the element from. | 357 | * @ptr: the list head to take the element from. |
358 | * @type: the type of the struct this is embedded in. | 358 | * @type: the type of the struct this is embedded in. |
359 | * @member: the name of the list_struct within the struct. | 359 | * @member: the name of the list_head within the struct. |
360 | * | 360 | * |
361 | * Note, that list is expected to be not empty. | 361 | * Note, that list is expected to be not empty. |
362 | */ | 362 | */ |
@@ -406,7 +406,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
406 | * list_for_each_entry - iterate over list of given type | 406 | * list_for_each_entry - iterate over list of given type |
407 | * @pos: the type * to use as a loop cursor. | 407 | * @pos: the type * to use as a loop cursor. |
408 | * @head: the head for your list. | 408 | * @head: the head for your list. |
409 | * @member: the name of the list_struct within the struct. | 409 | * @member: the name of the list_head within the struct. |
410 | */ | 410 | */ |
411 | #define list_for_each_entry(pos, head, member) \ | 411 | #define list_for_each_entry(pos, head, member) \ |
412 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | 412 | for (pos = list_entry((head)->next, typeof(*pos), member); \ |
@@ -417,7 +417,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
417 | * list_for_each_entry_reverse - iterate backwards over list of given type. | 417 | * list_for_each_entry_reverse - iterate backwards over list of given type. |
418 | * @pos: the type * to use as a loop cursor. | 418 | * @pos: the type * to use as a loop cursor. |
419 | * @head: the head for your list. | 419 | * @head: the head for your list. |
420 | * @member: the name of the list_struct within the struct. | 420 | * @member: the name of the list_head within the struct. |
421 | */ | 421 | */ |
422 | #define list_for_each_entry_reverse(pos, head, member) \ | 422 | #define list_for_each_entry_reverse(pos, head, member) \ |
423 | for (pos = list_entry((head)->prev, typeof(*pos), member); \ | 423 | for (pos = list_entry((head)->prev, typeof(*pos), member); \ |
@@ -428,7 +428,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
428 | * list_prepare_entry - prepare a pos entry for use in list_for_each_entry_continue() | 428 | * list_prepare_entry - prepare a pos entry for use in list_for_each_entry_continue() |
429 | * @pos: the type * to use as a start point | 429 | * @pos: the type * to use as a start point |
430 | * @head: the head of the list | 430 | * @head: the head of the list |
431 | * @member: the name of the list_struct within the struct. | 431 | * @member: the name of the list_head within the struct. |
432 | * | 432 | * |
433 | * Prepares a pos entry for use as a start point in list_for_each_entry_continue(). | 433 | * Prepares a pos entry for use as a start point in list_for_each_entry_continue(). |
434 | */ | 434 | */ |
@@ -439,7 +439,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
439 | * list_for_each_entry_continue - continue iteration over list of given type | 439 | * list_for_each_entry_continue - continue iteration over list of given type |
440 | * @pos: the type * to use as a loop cursor. | 440 | * @pos: the type * to use as a loop cursor. |
441 | * @head: the head for your list. | 441 | * @head: the head for your list. |
442 | * @member: the name of the list_struct within the struct. | 442 | * @member: the name of the list_head within the struct. |
443 | * | 443 | * |
444 | * Continue to iterate over list of given type, continuing after | 444 | * Continue to iterate over list of given type, continuing after |
445 | * the current position. | 445 | * the current position. |
@@ -453,7 +453,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
453 | * list_for_each_entry_continue_reverse - iterate backwards from the given point | 453 | * list_for_each_entry_continue_reverse - iterate backwards from the given point |
454 | * @pos: the type * to use as a loop cursor. | 454 | * @pos: the type * to use as a loop cursor. |
455 | * @head: the head for your list. | 455 | * @head: the head for your list. |
456 | * @member: the name of the list_struct within the struct. | 456 | * @member: the name of the list_head within the struct. |
457 | * | 457 | * |
458 | * Start to iterate over list of given type backwards, continuing after | 458 | * Start to iterate over list of given type backwards, continuing after |
459 | * the current position. | 459 | * the current position. |
@@ -467,7 +467,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
467 | * list_for_each_entry_from - iterate over list of given type from the current point | 467 | * list_for_each_entry_from - iterate over list of given type from the current point |
468 | * @pos: the type * to use as a loop cursor. | 468 | * @pos: the type * to use as a loop cursor. |
469 | * @head: the head for your list. | 469 | * @head: the head for your list. |
470 | * @member: the name of the list_struct within the struct. | 470 | * @member: the name of the list_head within the struct. |
471 | * | 471 | * |
472 | * Iterate over list of given type, continuing from current position. | 472 | * Iterate over list of given type, continuing from current position. |
473 | */ | 473 | */ |
@@ -480,7 +480,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
480 | * @pos: the type * to use as a loop cursor. | 480 | * @pos: the type * to use as a loop cursor. |
481 | * @n: another type * to use as temporary storage | 481 | * @n: another type * to use as temporary storage |
482 | * @head: the head for your list. | 482 | * @head: the head for your list. |
483 | * @member: the name of the list_struct within the struct. | 483 | * @member: the name of the list_head within the struct. |
484 | */ | 484 | */ |
485 | #define list_for_each_entry_safe(pos, n, head, member) \ | 485 | #define list_for_each_entry_safe(pos, n, head, member) \ |
486 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | 486 | for (pos = list_entry((head)->next, typeof(*pos), member), \ |
@@ -493,7 +493,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
493 | * @pos: the type * to use as a loop cursor. | 493 | * @pos: the type * to use as a loop cursor. |
494 | * @n: another type * to use as temporary storage | 494 | * @n: another type * to use as temporary storage |
495 | * @head: the head for your list. | 495 | * @head: the head for your list. |
496 | * @member: the name of the list_struct within the struct. | 496 | * @member: the name of the list_head within the struct. |
497 | * | 497 | * |
498 | * Iterate over list of given type, continuing after current point, | 498 | * Iterate over list of given type, continuing after current point, |
499 | * safe against removal of list entry. | 499 | * safe against removal of list entry. |
@@ -509,7 +509,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
509 | * @pos: the type * to use as a loop cursor. | 509 | * @pos: the type * to use as a loop cursor. |
510 | * @n: another type * to use as temporary storage | 510 | * @n: another type * to use as temporary storage |
511 | * @head: the head for your list. | 511 | * @head: the head for your list. |
512 | * @member: the name of the list_struct within the struct. | 512 | * @member: the name of the list_head within the struct. |
513 | * | 513 | * |
514 | * Iterate over list of given type from current point, safe against | 514 | * Iterate over list of given type from current point, safe against |
515 | * removal of list entry. | 515 | * removal of list entry. |
@@ -524,7 +524,7 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
524 | * @pos: the type * to use as a loop cursor. | 524 | * @pos: the type * to use as a loop cursor. |
525 | * @n: another type * to use as temporary storage | 525 | * @n: another type * to use as temporary storage |
526 | * @head: the head for your list. | 526 | * @head: the head for your list. |
527 | * @member: the name of the list_struct within the struct. | 527 | * @member: the name of the list_head within the struct. |
528 | * | 528 | * |
529 | * Iterate backwards over list of given type, safe against removal | 529 | * Iterate backwards over list of given type, safe against removal |
530 | * of list entry. | 530 | * of list entry. |