Home
last modified time | relevance | path

Searched refs:MBOX_CMD_BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dmailbox_s10.c54 cin = MBOX_READL(MBOX_CIN) % MBOX_CMD_BUFFER_SIZE; in mbox_fill_cmd_circular_buff()
55 cout = MBOX_READL(MBOX_COUT) % MBOX_CMD_BUFFER_SIZE; in mbox_fill_cmd_circular_buff()
60 if (((cin + 1) % MBOX_CMD_BUFFER_SIZE) == cout || in mbox_fill_cmd_circular_buff()
61 ((MBOX_CMD_BUFFER_SIZE - cin + cout - 1) % in mbox_fill_cmd_circular_buff()
62 MBOX_CMD_BUFFER_SIZE) < len) in mbox_fill_cmd_circular_buff()
68 cin %= MBOX_CMD_BUFFER_SIZE; in mbox_fill_cmd_circular_buff()
74 cin %= MBOX_CMD_BUFFER_SIZE; in mbox_fill_cmd_circular_buff()
92 if ((len + 1) > MBOX_CMD_BUFFER_SIZE) in mbox_prepare_cmd_only()
/openbmc/u-boot/arch/arm/mach-socfpga/include/mach/
H A Dmailbox_s10.h18 #define MBOX_CMD_BUFFER_SIZE 32 macro