Lines Matching refs:wmt_params

2472 				  struct btmtk_hci_wmt_params *wmt_params)  in btusb_mtk_hci_wmt_sync()  argument
2483 hlen = sizeof(*hdr) + wmt_params->dlen; in btusb_mtk_hci_wmt_sync()
2493 hdr->op = wmt_params->op; in btusb_mtk_hci_wmt_sync()
2494 hdr->dlen = cpu_to_le16(wmt_params->dlen + 1); in btusb_mtk_hci_wmt_sync()
2495 hdr->flag = wmt_params->flag; in btusb_mtk_hci_wmt_sync()
2496 memcpy(wc->data, wmt_params->data, wmt_params->dlen); in btusb_mtk_hci_wmt_sync()
2585 if (wmt_params->status) in btusb_mtk_hci_wmt_sync()
2586 *wmt_params->status = status; in btusb_mtk_hci_wmt_sync()
2598 struct btmtk_hci_wmt_params wmt_params; in btusb_mtk_func_query() local
2603 wmt_params.op = BTMTK_WMT_FUNC_CTRL; in btusb_mtk_func_query()
2604 wmt_params.flag = 4; in btusb_mtk_func_query()
2605 wmt_params.dlen = sizeof(param); in btusb_mtk_func_query()
2606 wmt_params.data = &param; in btusb_mtk_func_query()
2607 wmt_params.status = &status; in btusb_mtk_func_query()
2609 err = btusb_mtk_hci_wmt_sync(hdev, &wmt_params); in btusb_mtk_func_query()
2708 struct btmtk_hci_wmt_params wmt_params; in btusb_mtk_setup() local
2765 wmt_params.op = BTMTK_WMT_FUNC_CTRL; in btusb_mtk_setup()
2766 wmt_params.flag = 0; in btusb_mtk_setup()
2767 wmt_params.dlen = sizeof(param); in btusb_mtk_setup()
2768 wmt_params.data = &param; in btusb_mtk_setup()
2769 wmt_params.status = NULL; in btusb_mtk_setup()
2771 err = btusb_mtk_hci_wmt_sync(hdev, &wmt_params); in btusb_mtk_setup()
2787 wmt_params.op = BTMTK_WMT_SEMAPHORE; in btusb_mtk_setup()
2788 wmt_params.flag = 1; in btusb_mtk_setup()
2789 wmt_params.dlen = 0; in btusb_mtk_setup()
2790 wmt_params.data = NULL; in btusb_mtk_setup()
2791 wmt_params.status = &status; in btusb_mtk_setup()
2793 err = btusb_mtk_hci_wmt_sync(hdev, &wmt_params); in btusb_mtk_setup()
2829 wmt_params.op = BTMTK_WMT_FUNC_CTRL; in btusb_mtk_setup()
2830 wmt_params.flag = 0; in btusb_mtk_setup()
2831 wmt_params.dlen = sizeof(param); in btusb_mtk_setup()
2832 wmt_params.data = &param; in btusb_mtk_setup()
2833 wmt_params.status = NULL; in btusb_mtk_setup()
2835 err = btusb_mtk_hci_wmt_sync(hdev, &wmt_params); in btusb_mtk_setup()
2870 struct btmtk_hci_wmt_params wmt_params; in btusb_mtk_shutdown() local
2875 wmt_params.op = BTMTK_WMT_FUNC_CTRL; in btusb_mtk_shutdown()
2876 wmt_params.flag = 0; in btusb_mtk_shutdown()
2877 wmt_params.dlen = sizeof(param); in btusb_mtk_shutdown()
2878 wmt_params.data = &param; in btusb_mtk_shutdown()
2879 wmt_params.status = NULL; in btusb_mtk_shutdown()
2881 err = btusb_mtk_hci_wmt_sync(hdev, &wmt_params); in btusb_mtk_shutdown()