Home
last modified time | relevance | path

Searched refs:MSG_TOKEN_MAX (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/firmware/arm_scmi/
H A Dvirtio.c856 if (sz > MSG_TOKEN_MAX) { in scmi_vio_probe()
860 sz, MSG_TOKEN_MAX); in scmi_vio_probe()
861 sz = MSG_TOKEN_MAX; in scmi_vio_probe()
H A Dsmc.c61 #define INFLIGHT_NONE MSG_TOKEN_MAX
H A Ddriver.c377 next_token = (xfer->transfer_id & (MSG_TOKEN_MAX - 1)); in scmi_xfer_token_set()
381 MSG_TOKEN_MAX, next_token); in scmi_xfer_token_set()
382 if (xfer_id == MSG_TOKEN_MAX) { in scmi_xfer_token_set()
389 MSG_TOKEN_MAX, 0); in scmi_xfer_token_set()
395 if (WARN_ON_ONCE(xfer_id == MSG_TOKEN_MAX)) in scmi_xfer_token_set()
2214 if (WARN_ON(!info->max_msg || info->max_msg > MSG_TOKEN_MAX)) { in __scmi_xfer_info_init()
2217 info->max_msg, MSG_TOKEN_MAX); in __scmi_xfer_info_init()
2224 info->xfer_alloc_table = devm_bitmap_zalloc(dev, MSG_TOKEN_MAX, in __scmi_xfer_info_init()
H A Dcommon.h83 #define MSG_TOKEN_MAX (MSG_XTRACT_TOKEN(MSG_TOKEN_ID_MASK) + 1) macro