Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/firmware/arm_scmi/transports/
Dvirtio.c858 if (sz > MSG_TOKEN_MAX) { in scmi_vio_probe()
862 sz, MSG_TOKEN_MAX); in scmi_vio_probe()
863 sz = MSG_TOKEN_MAX; in scmi_vio_probe()
Dsmc.c65 #define INFLIGHT_NONE MSG_TOKEN_MAX
/linux-6.12.1/drivers/firmware/arm_scmi/
Ddriver.c523 next_token = (xfer->transfer_id & (MSG_TOKEN_MAX - 1)); in scmi_xfer_token_set()
527 MSG_TOKEN_MAX, next_token); in scmi_xfer_token_set()
528 if (xfer_id == MSG_TOKEN_MAX) { in scmi_xfer_token_set()
535 MSG_TOKEN_MAX, 0); in scmi_xfer_token_set()
541 if (WARN_ON_ONCE(xfer_id == MSG_TOKEN_MAX)) in scmi_xfer_token_set()
2538 if (WARN_ON(!info->max_msg || info->max_msg > MSG_TOKEN_MAX)) { in __scmi_xfer_info_init()
2541 info->max_msg, MSG_TOKEN_MAX); in __scmi_xfer_info_init()
2548 info->xfer_alloc_table = devm_bitmap_zalloc(dev, MSG_TOKEN_MAX, in __scmi_xfer_info_init()
Dcommon.h83 #define MSG_TOKEN_MAX (MSG_XTRACT_TOKEN(MSG_TOKEN_ID_MASK) + 1) macro