Home
last modified time | relevance | path

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

/openbmc/linux/drivers/bluetooth/
H A Dbtmtkuart.c78 u16 stp_dlen; member
300 if (!bdev->stp_dlen && bdev->stp_cursor >= 6) in mtk_stp_split()
312 if (!bdev->stp_dlen && bdev->stp_cursor >= 6) { in mtk_stp_split()
314 bdev->stp_dlen = be16_to_cpu(shdr->dlen) & 0x0fff; in mtk_stp_split()
317 if (shdr->prefix != 0x80 || bdev->stp_dlen > 2048) { in mtk_stp_split()
319 shdr->prefix, bdev->stp_dlen); in mtk_stp_split()
321 bdev->stp_dlen = 0; in mtk_stp_split()
330 *sz_h4 = min_t(int, count, bdev->stp_dlen); in mtk_stp_split()
333 bdev->stp_dlen -= *sz_h4; in mtk_stp_split()
441 bdev->stp_dlen = 0; in btmtkuart_open()
[all …]