Searched refs:wmt_params (Results 1 – 4 of 4) sorted by relevance
59 struct btmtk_hci_wmt_params wmt_params; in btmtk_setup_firmware_79xx() local101 wmt_params.op = BTMTK_WMT_PATCH_DWNLD; in btmtk_setup_firmware_79xx()102 wmt_params.status = &status; in btmtk_setup_firmware_79xx()103 wmt_params.flag = 0; in btmtk_setup_firmware_79xx()104 wmt_params.dlen = MTK_SEC_MAP_NEED_SEND_SIZE + 1; in btmtk_setup_firmware_79xx()105 wmt_params.data = &cmd; in btmtk_setup_firmware_79xx()107 err = wmt_cmd_sync(hdev, &wmt_params); in btmtk_setup_firmware_79xx()130 wmt_params.op = BTMTK_WMT_PATCH_DWNLD; in btmtk_setup_firmware_79xx()131 wmt_params.status = NULL; in btmtk_setup_firmware_79xx()144 wmt_params.flag = flag; in btmtk_setup_firmware_79xx()[all …]
90 struct btmtk_hci_wmt_params *wmt_params) in mtk_hci_wmt_sync() argument101 hlen = sizeof(*hdr) + wmt_params->dlen; in mtk_hci_wmt_sync()115 hdr->op = wmt_params->op; in mtk_hci_wmt_sync()116 hdr->dlen = cpu_to_le16(wmt_params->dlen + 1); in mtk_hci_wmt_sync()117 hdr->flag = wmt_params->flag; in mtk_hci_wmt_sync()118 memcpy(wc->data, wmt_params->data, wmt_params->dlen); in mtk_hci_wmt_sync()179 if (wmt_params->status) in mtk_hci_wmt_sync()180 *wmt_params->status = status; in mtk_hci_wmt_sync()509 struct btmtk_hci_wmt_params wmt_params; in btmtkuart_func_query() local514 wmt_params.op = BTMTK_WMT_FUNC_CTRL; in btmtkuart_func_query()[all …]
145 struct btmtk_hci_wmt_params *wmt_params) in mtk_hci_wmt_sync() argument157 hlen = sizeof(*hdr) + wmt_params->dlen; in mtk_hci_wmt_sync()167 hdr->op = wmt_params->op; in mtk_hci_wmt_sync()168 hdr->dlen = cpu_to_le16(wmt_params->dlen + 1); in mtk_hci_wmt_sync()169 hdr->flag = wmt_params->flag; in mtk_hci_wmt_sync()170 memcpy(wc->data, wmt_params->data, wmt_params->dlen); in mtk_hci_wmt_sync()244 if (wmt_params->status) in mtk_hci_wmt_sync()245 *wmt_params->status = status; in mtk_hci_wmt_sync()749 struct btmtk_hci_wmt_params wmt_params; in btmtksdio_func_query() local754 wmt_params.op = BTMTK_WMT_FUNC_CTRL; in btmtksdio_func_query()[all …]
2472 struct btmtk_hci_wmt_params *wmt_params) in btusb_mtk_hci_wmt_sync() argument2483 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() local2603 wmt_params.op = BTMTK_WMT_FUNC_CTRL; in btusb_mtk_func_query()[all …]