Searched refs:tx_circ_buf (Results 1 – 1 of 1) sorted by relevance
52 * @tx_circ_buf: hdlc transmit circular buffer.78 struct circ_buf tx_circ_buf; member 231 int head = smp_load_acquire(&bg->tx_circ_buf.head); in hdlc_write() 232 int tail = bg->tx_circ_buf.tail; in hdlc_write() 234 const unsigned char *buf = &bg->tx_circ_buf.buf[tail]; in hdlc_write() 240 smp_store_release(&bg->tx_circ_buf.tail, (tail + written) & (TX_CIRC_BUF_SIZE - 1)); in hdlc_write() 253 int tail, head = bg->tx_circ_buf.head; in hdlc_append() 256 tail = READ_ONCE(bg->tx_circ_buf.tail); in hdlc_append() 259 bg->tx_circ_buf.buf[head] = value; in hdlc_append() 262 smp_store_release(&bg->tx_circ_buf in hdlc_append() [all...]