Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/bluetooth/
Dbtmtkuart.c74 u16 stp_dlen; member
279 if (!bdev->stp_dlen && bdev->stp_cursor >= 6) in mtk_stp_split()
291 if (!bdev->stp_dlen && bdev->stp_cursor >= 6) { in mtk_stp_split()
293 bdev->stp_dlen = be16_to_cpu(shdr->dlen) & 0x0fff; in mtk_stp_split()
296 if (shdr->prefix != 0x80 || bdev->stp_dlen > 2048) { in mtk_stp_split()
298 shdr->prefix, bdev->stp_dlen); in mtk_stp_split()
300 bdev->stp_dlen = 0; in mtk_stp_split()
309 *sz_h4 = min_t(int, count, bdev->stp_dlen); in mtk_stp_split()
312 bdev->stp_dlen -= *sz_h4; in mtk_stp_split()
408 bdev->stp_dlen = 0; in btmtkuart_open()
[all …]