Lines Matching +full:1 +full:br +full:- +full:100
1 /* SPDX-License-Identifier: BSD-3-Clause */
12 #define ICMSGHDRFLAG_TRANSACTION 1
16 #define IC_VERSION_NEGOTIATION_MAX_VER_COUNT 100
48 * Interrupt mask {0,1}
50 * For TX bufring, host set this to 1, when it is processing
54 * For RX bufring, once this is set to 1 by us, host will not
75 uint32_t feat_pending_send_sz:1;
139 void vmbus_br_setup(struct vmbus_br *br, void *buf, unsigned int blen);
143 static inline uint32_t vmbus_br_availwrite(const struct vmbus_br *br, uint32_t windex) in vmbus_br_availwrite() argument
145 uint32_t rindex = br->vbr->rindex; in vmbus_br_availwrite()
148 return br->dsize - (windex - rindex); in vmbus_br_availwrite()
150 return rindex - windex; in vmbus_br_availwrite()
153 static inline uint32_t vmbus_br_availread(const struct vmbus_br *br) in vmbus_br_availread() argument
155 return br->dsize - vmbus_br_availwrite(br, br->vbr->windex); in vmbus_br_availread()