PERIPHERAL_ID_MAX
if (!name || !(parent_name || parent_hw) || id > PERIPHERAL_ID_MAX)
#define PERIPHERAL_MASK(id) (1 << ((id) & PERIPHERAL_ID_MAX))
if (id > PERIPHERAL_ID_MAX)
if (id > PERIPHERAL_ID_MAX)
if (id > PERIPHERAL_ID_MAX)