Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/bluetooth/
H A Dbtmtkuart.c139 u16 stp_dlen; member
435 if (!bdev->stp_dlen && bdev->stp_cursor >= 6) in mtk_stp_split()
447 if (!bdev->stp_dlen && bdev->stp_cursor >= 6) { in mtk_stp_split()
449 bdev->stp_dlen = be16_to_cpu(shdr->dlen) & 0x0fff; in mtk_stp_split()
452 if (shdr->prefix != 0x80 || bdev->stp_dlen > 2048) { in mtk_stp_split()
454 shdr->prefix, bdev->stp_dlen); in mtk_stp_split()
456 bdev->stp_dlen = 0; in mtk_stp_split()
465 *sz_h4 = min_t(int, count, bdev->stp_dlen); in mtk_stp_split()
468 bdev->stp_dlen -= *sz_h4; in mtk_stp_split()
576 bdev->stp_dlen in btmtkuart_open()
[all...]
/kernel/linux/linux-6.6/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 in btmtkuart_open()
[all...]

Completed in 3 milliseconds