Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/greybus/
Dgb-beagleplay.c26 #define TX_CIRC_BUF_SIZE 1024 macro
233 int count = CIRC_CNT_TO_END(head, tail, TX_CIRC_BUF_SIZE); in hdlc_write()
240 smp_store_release(&bg->tx_circ_buf.tail, (tail + written) & (TX_CIRC_BUF_SIZE - 1)); in hdlc_write()
258 if (CIRC_SPACE(head, tail, TX_CIRC_BUF_SIZE) >= 1) { in hdlc_append()
263 (head + 1) & (TX_CIRC_BUF_SIZE - 1)); in hdlc_append()
420 bg->tx_circ_buf.buf = devm_kmalloc(&bg->sd->dev, TX_CIRC_BUF_SIZE, GFP_KERNEL); in hdlc_init()
840 bg->gb_hd = gb_hd_create(&gb_hdlc_driver, &bg->sd->dev, TX_CIRC_BUF_SIZE, GB_MAX_CPORTS); in gb_greybus_init()