Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/dev/usb/serial/
Dusb_serial.c90 #define UCOM_CONS_BUFSIZE 1024 macro
234 ucom_cons_rx_buf = (uint8_t *)memalign(USB_CACHE_ALIGN_SIZE, SKB_DATA_ALIGN(UCOM_CONS_BUFSIZE)); in ucom_attach()
235 ucom_cons_tx_buf = (uint8_t *)memalign(USB_CACHE_ALIGN_SIZE, SKB_DATA_ALIGN(UCOM_CONS_BUFSIZE)); in ucom_attach()
911 temp %= UCOM_CONS_BUFSIZE; in ucom_get_data()
917 if (temp > (UCOM_CONS_BUFSIZE - ucom_cons_tx_low)){ in ucom_get_data()
918 unsigned int fisrt_len = (UCOM_CONS_BUFSIZE - ucom_cons_tx_low); in ucom_get_data()
927 ucom_cons_tx_low %= UCOM_CONS_BUFSIZE; in ucom_get_data()
945 temp = (UCOM_CONS_BUFSIZE - 1) - ucom_cons_rx_high + ucom_cons_rx_low; in ucom_put_data()
946 temp %= UCOM_CONS_BUFSIZE; in ucom_put_data()
952 if (temp > (UCOM_CONS_BUFSIZE - ucom_cons_rx_high)){ in ucom_put_data()
[all …]