Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Dbtrtl.c36 .lmp_subver = (lmps), \
41 __u16 lmp_subver; member
76 .lmp_subver = RTL_ROM_LMP_8723B,
102 .lmp_subver = RTL_ROM_LMP_8723B,
149 .lmp_subver = RTL_ROM_LMP_8822B,
173 static const struct id_table *btrtl_match_ic(u16 lmp_subver, u16 hci_rev, in btrtl_match_ic() argument
180 (ic_id_table[i].lmp_subver != lmp_subver)) in btrtl_match_ic()
266 __u16 lmp_subver; in rtlbt_parse_firmware() member
335 if (btrtl_dev->ic_info->lmp_subver != in rtlbt_parse_firmware()
336 project_id_to_lmp_subver[i].lmp_subver) { in rtlbt_parse_firmware()
[all …]
H A Dbtusb.c1838 le16_to_cpu(rp->lmp_ver), le16_to_cpu(rp->lmp_subver), in btusb_setup_csr()
1854 le16_to_cpu(rp->hci_rev) != le16_to_cpu(rp->lmp_subver)) in btusb_setup_csr()
1868 else if (le16_to_cpu(rp->lmp_subver) <= 0x034e && in btusb_setup_csr()
1872 else if (le16_to_cpu(rp->lmp_subver) <= 0x0529 && in btusb_setup_csr()
1876 else if (le16_to_cpu(rp->lmp_subver) <= 0x0c5c && in btusb_setup_csr()
1880 else if (le16_to_cpu(rp->lmp_subver) <= 0x1899 && in btusb_setup_csr()
1884 else if (le16_to_cpu(rp->lmp_subver) <= 0x22bb && in btusb_setup_csr()
1890 le16_to_cpu(rp->lmp_subver) == 0x0c5c && in btusb_setup_csr()
H A Dbtbcm.c453 subver = le16_to_cpu(ver->lmp_subver); in btbcm_initialize()
H A Drtk_btusb.h369 __le16 lmp_subver; member
H A Dhci_ll.c477 version = le16_to_cpu(ver->lmp_subver); in read_local_version()
H A Drtk_btusb.c1549 __func__, read_ver_rsp->lmp_subver, patch_entry->lmp_sub, patch_entry->lmp_sub_default); in check_fw_version()
1551 if (read_ver_rsp->lmp_subver == patch_entry->lmp_sub_default) { in check_fw_version()
1556 } else if (read_ver_rsp->lmp_subver != patch_entry->lmp_sub) { in check_fw_version()
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-devtools/rtl-tools/files/
H A Dhciattach_rtk.c315 uint16_t lmp_subver; member
430 RT_U16 lmp_subver; member
632 for (; n->lmp_subver; n++) { in get_patch_entry()
642 if (n->lmp_subver != btrtl->lmp_subver) in get_patch_entry()
1195 rtk_hw_cfg.lmp_subver = in hci_event_cmd_complete()
1199 RS_DBG("LMP Subversion 0x%04x", rtk_hw_cfg.lmp_subver); in hci_event_cmd_complete()
3064 rtk_hw_cfg.lmp_subver = (uint32_t)result[14] << 8 | result[13]; in rtk_hci_local_ver()
3227 ((proto == HCI_UART_3WIRE) && (rtl->lmp_subver == ROM_LMP_8723a))) { in rtk_get_final_patch()
3284 if (rtl->hci_ver == 0x4 && rtl->lmp_subver == ROM_LMP_8723b) { in rtk_get_final_patch()
3288 rtl->lmp_subver, rtl->hci_ver, project_id[proj_id]); in rtk_get_final_patch()
[all …]
/OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/
H A Drtb_fwc.c494 for (; n->lmp_subver; n++) { in get_patch_entry()
504 if (n->lmp_subver != btrtl->lmp_subver) in get_patch_entry()
1390 if (proto == HCI_UART_3WIRE && rtl->lmp_subver == ROM_LMP_8723a) { in rtb_get_final_patch()
1440 if (rtl->hci_ver == 0x4 && rtl->lmp_subver == ROM_LMP_8723b) { in rtb_get_final_patch()
1444 rtl->lmp_subver, rtl->hci_ver, project_id[proj_id]); in rtb_get_final_patch()
1448 if (rtl->lmp_subver != ROM_LMP_8703b) { in rtb_get_final_patch()
1449 if (rtl->lmp_subver != project_id[proj_id]) { in rtb_get_final_patch()
1451 rtl->lmp_subver, project_id[proj_id]); in rtb_get_final_patch()
H A Dhciattach_h4.c267 rtb_cfg.lmp_subver = (uint32_t)resp[14] << 8 | resp[13]; in h4_read_local_ver()
269 rtb_cfg.hci_ver, rtb_cfg.hci_rev, rtb_cfg.lmp_subver); in h4_read_local_ver()
H A Dhciattach_rtk.c603 rtb_cfg.lmp_subver = (skb->data[7] | (skb->data[8] << 8)); in h5_init_hci_cc()
606 RS_INFO("LMP Subversion 0x%04x", rtb_cfg.lmp_subver); in h5_init_hci_cc()
1762 if (rtb_cfg.lmp_subver == ROM_LMP_8761btc) { in rtb_config()
1769 } else if (rtb_cfg.lmp_subver == ROM_LMP_8761a) { in rtb_config()
1786 } else if (rtb_cfg.lmp_subver == ROM_LMP_8723b) { in rtb_config()
1801 RS_INFO("LMP Subversion 0x%04x", rtb_cfg.lmp_subver); in rtb_config()
1804 switch (rtb_cfg.lmp_subver) { in rtb_config()
H A Drtb_fwc.h72 uint16_t lmp_subver; member
H A Dhciattach.h148 uint16_t lmp_subver; member
/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_uart_driver/
H A Dhci_ldisc.c74 __le16 lmp_subver; member
588 u16 *hci_rev, u16 *lmp_subver) in rtl_read_local_version() argument
608 *lmp_subver = le16_to_cpu(ver->lmp_subver); in rtl_read_local_version()
809 u16 lmp_subver = 0; in hci_uart_pm_notifier() local
851 &lmp_subver); in hci_uart_pm_notifier()
855 hci_ver, hci_rev, lmp_subver); in hci_uart_pm_notifier()
/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_usb_driver/
H A Drtk_misc.c1649 read_ver_rsp->lmp_subver = le16_to_cpu(read_ver_rsp->lmp_subver); in check_fw_version()
1653 RTKBT_DBG("read_ver_rsp->lmp_subver = 0x%x", read_ver_rsp->lmp_subver); in check_fw_version()
1656 if (patch_entry->lmp_sub != read_ver_rsp->lmp_subver) { in check_fw_version()
/OK3568_Linux_fs/kernel/include/net/bluetooth/
H A Dhci.h1258 __le16 lmp_subver; member
1963 __le16 lmp_subver; member
H A Dhci_core.h321 __u16 lmp_subver; member
/OK3568_Linux_fs/kernel/net/bluetooth/
H A Dhci_event.c579 hdev->lmp_subver = __le16_to_cpu(rp->lmp_subver); in hci_cc_read_local_version()