Home
last modified time | relevance | path

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

/linux/drivers/firmware/arm_scmi/
A Dvirtio.c429 if (sz > MSG_TOKEN_MAX) { in scmi_vio_probe()
433 sz, MSG_TOKEN_MAX); in scmi_vio_probe()
434 sz = MSG_TOKEN_MAX; in scmi_vio_probe()
A Ddriver.c274 next_token = (xfer->transfer_id & (MSG_TOKEN_MAX - 1)); in scmi_xfer_token_set()
278 MSG_TOKEN_MAX, next_token); in scmi_xfer_token_set()
279 if (xfer_id == MSG_TOKEN_MAX) { in scmi_xfer_token_set()
286 MSG_TOKEN_MAX, 0); in scmi_xfer_token_set()
292 if (WARN_ON_ONCE(xfer_id == MSG_TOKEN_MAX)) in scmi_xfer_token_set()
1385 if (WARN_ON(!info->max_msg || info->max_msg > MSG_TOKEN_MAX)) { in __scmi_xfer_info_init()
1388 info->max_msg, MSG_TOKEN_MAX); in __scmi_xfer_info_init()
1395 info->xfer_alloc_table = devm_kcalloc(dev, BITS_TO_LONGS(MSG_TOKEN_MAX), in __scmi_xfer_info_init()
A Dcommon.h70 #define MSG_TOKEN_MAX (MSG_XTRACT_TOKEN(MSG_TOKEN_ID_MASK) + 1) macro

Completed in 8 milliseconds