forked from Imagelibrary/rtems
libchip: Fix prototypes
This commit is contained in:
@@ -50,45 +50,45 @@ extern rtc_fns icm7170_fns;
|
||||
*/
|
||||
|
||||
uint32_t icm7170_get_register( /* registers are at 1 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void icm7170_set_register(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint32_t ucData
|
||||
);
|
||||
|
||||
uint32_t icm7170_get_register_2( /* registers are at 2 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void icm7170_set_register_2(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint32_t ucData
|
||||
);
|
||||
|
||||
uint32_t icm7170_get_register_4( /* registers are at 4 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void icm7170_set_register_4(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint32_t ucData
|
||||
);
|
||||
|
||||
uint32_t icm7170_get_register_8( /* registers are at 8 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void icm7170_set_register_8(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint32_t ucData
|
||||
);
|
||||
|
||||
@@ -40,45 +40,45 @@ extern rtc_fns m48t08_fns;
|
||||
*/
|
||||
|
||||
uint32_t m48t08_get_register( /* registers are at 1 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void m48t08_set_register(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint32_t ucData
|
||||
);
|
||||
|
||||
uint32_t m48t08_get_register_2( /* registers are at 2 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void m48t08_set_register_2(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint32_t ucData
|
||||
);
|
||||
|
||||
uint32_t m48t08_get_register_4( /* registers are at 4 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void m48t08_set_register_4(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint32_t ucData
|
||||
);
|
||||
|
||||
uint32_t m48t08_get_register_8( /* registers are at 8 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void m48t08_set_register_8(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint32_t ucData
|
||||
);
|
||||
|
||||
@@ -69,45 +69,45 @@ extern const console_fns mc68681_fns_polled;
|
||||
*/
|
||||
|
||||
uint8_t mc68681_get_register( /* registers are at 1 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void mc68681_set_register(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint8_t ucData
|
||||
);
|
||||
|
||||
uint8_t mc68681_get_register_2( /* registers are at 2 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void mc68681_set_register_2(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint8_t ucData
|
||||
);
|
||||
|
||||
uint8_t mc68681_get_register_4( /* registers are at 4 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void mc68681_set_register_4(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint8_t ucData
|
||||
);
|
||||
|
||||
uint8_t mc68681_get_register_8( /* registers are at 8 byte boundaries */
|
||||
uint32_t ulCtrlPort, /* and accessed as bytes */
|
||||
uintptr_t ulCtrlPort, /* and accessed as bytes */
|
||||
uint8_t ucRegNum
|
||||
);
|
||||
|
||||
void mc68681_set_register_8(
|
||||
uint32_t ulCtrlPort,
|
||||
uintptr_t ulCtrlPort,
|
||||
uint8_t ucRegNum,
|
||||
uint8_t ucData
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user