Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/bluetooth/
Dbtmtkuart.c79 u16 stp_dlen; member
301 if (!bdev->stp_dlen && bdev->stp_cursor >= 6) in mtk_stp_split()
313 if (!bdev->stp_dlen && bdev->stp_cursor >= 6) { in mtk_stp_split()
315 bdev->stp_dlen = be16_to_cpu(shdr->dlen) & 0x0fff; in mtk_stp_split()
318 if (shdr->prefix != 0x80 || bdev->stp_dlen > 2048) { in mtk_stp_split()
320 shdr->prefix, bdev->stp_dlen); in mtk_stp_split()
322 bdev->stp_dlen = 0; in mtk_stp_split()
331 *sz_h4 = min_t(int, count, bdev->stp_dlen); in mtk_stp_split()
334 bdev->stp_dlen -= *sz_h4; in mtk_stp_split()
442 bdev->stp_dlen = 0; in btmtkuart_open()
[all …]