Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mailbox/
H A Darm_mhuv2.c43 #define MHUV2_STAT_BITS (MHUV2_STAT_BYTES * __CHAR_BIT__) macro
511 ch_wn = i * MHUV2_STAT_BITS + __builtin_ctz(stat); in get_irq_chan_comb()
519 channel += MHUV2_STAT_BITS * windows; in get_irq_chan_comb()
529 channel += MHUV2_STAT_BITS * (ch_wn - offset); in get_irq_chan_comb()
586 for (i = 0; i < MHUV2_STAT_BITS; i++) { in mhuv2_sender_interrupt()
662 i += IS_PROTOCOL_DOORBELL(priv) ? MHUV2_STAT_BITS : 1; in get_irq_chan_stat_rx()
804 if (doorbell >= MHUV2_STAT_BITS) in mhuv2_mbox_of_xlate()
813 return &chans[channel + MHUV2_STAT_BITS * offset + doorbell]; in mhuv2_mbox_of_xlate()
815 channel += MHUV2_STAT_BITS * windows; in mhuv2_mbox_of_xlate()
852 channels += MHUV2_STAT_BITS * windows; in mhuv2_verify_protocol()
[all …]