Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/greybus/
Dgb-beagleplay.c78 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.head, in hdlc_append()
417 bg->tx_circ_buf.head = 0; in hdlc_init()
[all …]