Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mailbox/
H A Darm_mhuv2.c42 #define MHUV2_STAT_BYTES (sizeof(u32)) macro
43 #define MHUV2_STAT_BITS (MHUV2_STAT_BYTES * __CHAR_BIT__)
357 msg = kzalloc(sizeof(*msg) + windows * MHUV2_STAT_BYTES, GFP_KERNEL); in mhuv2_data_transfer_read_data()
362 msg->len = windows * MHUV2_STAT_BYTES; in mhuv2_data_transfer_read_data()
463 bytes_in_round = min(bytes_left, (int)(windows * MHUV2_STAT_BYTES)); in mhuv2_data_transfer_send_data()
467 if (unlikely(bytes_in_round <= i * MHUV2_STAT_BYTES)) in mhuv2_data_transfer_send_data()
471 bytes_to_send = bytes_in_round & (MHUV2_STAT_BYTES - 1); in mhuv2_data_transfer_send_data()
475 bytes_to_send = MHUV2_STAT_BYTES; in mhuv2_data_transfer_send_data()