Ignore:
Timestamp:
2018-03-26T20:04:11Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb748a0
Parents:
b752a31
Message:

Modify PADDn macros so that their use is easier to parse.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/platform/amdm37x/prm/usbhost.h

    rb752a31 raf60409  
    4949 */
    5050typedef struct {
    51         PADD32[22];
     51        PADD32(22);
    5252        ioport32_t rm_rstst;
    5353#define USBHOST_PRM_RM_RSTST_COREDOMAINWKUP_RST_FLAG   (1 << 3)
     
    5656#define USBHOST_PRM_RM_RSTST_GLOBALCOLD_RST_FLAG   (1 << 0)
    5757
    58         PADD32[18];
     58        PADD32(18);
    5959        ioport32_t pm_wken;
    6060#define USBHOST_PRM_PM_WKEN_EN_USBHOST_FLAG   (1 << 0)
     
    6666#define USBHOST_PRM_PM_IVA2GRPSEL_GRPSEL_USBHOST_FLAG   (1 << 0)
    6767
    68         PADD32;
     68        PADD32(1);
    6969        ioport32_t pm_wkst;
    7070#define USBHOST_PRM_PM_WKST_ST_USBHOST_FLAG   (1 << 0)
    7171
    72         PADD32[5];
     72        PADD32(5);
    7373        ioport32_t pm_wkdep;
    7474#define USBHOST_PRM_PM_WKDEP_EN_WKUP_FLAG   (1 << 4)
     
    7777#define USBHOST_PRM_PM_WKDEP_EN_CORE_FLAG   (1 << 0)
    7878
    79         PADD32[5];
     79        PADD32(5);
    8080        ioport32_t pm_pwstctrl;
    8181#define USBHOST_PRM_PM_PWSTCTRL_MEMONSTATE_MASK   (0x3 << 16)
Note: See TracChangeset for help on using the changeset viewer.