Lines Matching refs:sent

138 	void *sent;  in hci_cc_write_link_policy()  local
145 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LINK_POLICY); in hci_cc_write_link_policy()
146 if (!sent) in hci_cc_write_link_policy()
153 conn->link_policy = get_unaligned_le16(sent + 2); in hci_cc_write_link_policy()
175 void *sent; in hci_cc_write_def_link_policy() local
182 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_LINK_POLICY); in hci_cc_write_def_link_policy()
183 if (!sent) in hci_cc_write_def_link_policy()
186 hdev->link_policy = get_unaligned_le16(sent); in hci_cc_write_def_link_policy()
225 struct hci_cp_read_stored_link_key *sent; in hci_cc_read_stored_link_key() local
229 sent = hci_sent_cmd_data(hdev, HCI_OP_READ_STORED_LINK_KEY); in hci_cc_read_stored_link_key()
230 if (!sent) in hci_cc_read_stored_link_key()
233 if (!rp->status && sent->read_all == 0x01) { in hci_cc_read_stored_link_key()
258 void *sent; in hci_cc_write_local_name() local
262 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LOCAL_NAME); in hci_cc_write_local_name()
263 if (!sent) in hci_cc_write_local_name()
269 mgmt_set_local_name_complete(hdev, sent, status); in hci_cc_write_local_name()
271 memcpy(hdev->dev_name, sent, HCI_MAX_NAME_LENGTH); in hci_cc_write_local_name()
293 void *sent; in hci_cc_write_auth_enable() local
297 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_AUTH_ENABLE); in hci_cc_write_auth_enable()
298 if (!sent) in hci_cc_write_auth_enable()
304 __u8 param = *((__u8 *) sent); in hci_cc_write_auth_enable()
322 void *sent; in hci_cc_write_encrypt_mode() local
329 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_ENCRYPT_MODE); in hci_cc_write_encrypt_mode()
330 if (!sent) in hci_cc_write_encrypt_mode()
333 param = *((__u8 *) sent); in hci_cc_write_encrypt_mode()
345 void *sent; in hci_cc_write_scan_enable() local
349 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SCAN_ENABLE); in hci_cc_write_scan_enable()
350 if (!sent) in hci_cc_write_scan_enable()
353 param = *((__u8 *) sent); in hci_cc_write_scan_enable()
394 void *sent; in hci_cc_write_class_of_dev() local
398 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_CLASS_OF_DEV); in hci_cc_write_class_of_dev()
399 if (!sent) in hci_cc_write_class_of_dev()
405 memcpy(hdev->dev_class, sent, 3); in hci_cc_write_class_of_dev()
408 mgmt_set_class_of_dev_complete(hdev, sent, status); in hci_cc_write_class_of_dev()
441 void *sent; in hci_cc_write_voice_setting() local
448 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_VOICE_SETTING); in hci_cc_write_voice_setting()
449 if (!sent) in hci_cc_write_voice_setting()
452 setting = get_unaligned_le16(sent); in hci_cc_write_voice_setting()
483 struct hci_cp_write_ssp_mode *sent; in hci_cc_write_ssp_mode() local
487 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SSP_MODE); in hci_cc_write_ssp_mode()
488 if (!sent) in hci_cc_write_ssp_mode()
494 if (sent->mode) in hci_cc_write_ssp_mode()
501 mgmt_ssp_enable_complete(hdev, sent->mode, status); in hci_cc_write_ssp_mode()
503 if (sent->mode) in hci_cc_write_ssp_mode()
515 struct hci_cp_write_sc_support *sent; in hci_cc_write_sc_support() local
519 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SC_SUPPORT); in hci_cc_write_sc_support()
520 if (!sent) in hci_cc_write_sc_support()
526 if (sent->support) in hci_cc_write_sc_support()
533 if (sent->support) in hci_cc_write_sc_support()
718 struct hci_cp_write_page_scan_activity *sent; in hci_cc_write_page_scan_activity() local
725 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_PAGE_SCAN_ACTIVITY); in hci_cc_write_page_scan_activity()
726 if (!sent) in hci_cc_write_page_scan_activity()
729 hdev->page_scan_interval = __le16_to_cpu(sent->interval); in hci_cc_write_page_scan_activity()
730 hdev->page_scan_window = __le16_to_cpu(sent->window); in hci_cc_write_page_scan_activity()
1061 bdaddr_t *sent; in hci_cc_le_set_random_addr() local
1068 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_SET_RANDOM_ADDR); in hci_cc_le_set_random_addr()
1069 if (!sent) in hci_cc_le_set_random_addr()
1074 bacpy(&hdev->random_addr, sent); in hci_cc_le_set_random_addr()
1081 __u8 *sent, status = *((__u8 *) skb->data); in hci_cc_le_set_adv_enable() local
1088 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_SET_ADV_ENABLE); in hci_cc_le_set_adv_enable()
1089 if (!sent) in hci_cc_le_set_adv_enable()
1097 if (*sent) { in hci_cc_le_set_adv_enable()
1262 struct hci_cp_le_add_to_white_list *sent; in hci_cc_le_add_to_white_list() local
1270 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_ADD_TO_WHITE_LIST); in hci_cc_le_add_to_white_list()
1271 if (!sent) in hci_cc_le_add_to_white_list()
1274 hci_bdaddr_list_add(&hdev->le_white_list, &sent->bdaddr, in hci_cc_le_add_to_white_list()
1275 sent->bdaddr_type); in hci_cc_le_add_to_white_list()
1281 struct hci_cp_le_del_from_white_list *sent; in hci_cc_le_del_from_white_list() local
1289 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_DEL_FROM_WHITE_LIST); in hci_cc_le_del_from_white_list()
1290 if (!sent) in hci_cc_le_del_from_white_list()
1293 hci_bdaddr_list_del(&hdev->le_white_list, &sent->bdaddr, in hci_cc_le_del_from_white_list()
1294 sent->bdaddr_type); in hci_cc_le_del_from_white_list()
1327 struct hci_cp_le_write_def_data_len *sent; in hci_cc_le_write_def_data_len() local
1335 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_WRITE_DEF_DATA_LEN); in hci_cc_le_write_def_data_len()
1336 if (!sent) in hci_cc_le_write_def_data_len()
1339 hdev->le_def_tx_len = le16_to_cpu(sent->tx_len); in hci_cc_le_write_def_data_len()
1340 hdev->le_def_tx_time = le16_to_cpu(sent->tx_time); in hci_cc_le_write_def_data_len()
1362 struct hci_cp_write_le_host_supported *sent; in hci_cc_write_le_host_supported() local
1370 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LE_HOST_SUPPORTED); in hci_cc_write_le_host_supported()
1371 if (!sent) in hci_cc_write_le_host_supported()
1376 if (sent->le) { in hci_cc_write_le_host_supported()
1385 if (sent->simul) in hci_cc_write_le_host_supported()
1447 struct hci_cp_read_tx_power *sent; in hci_cc_read_tx_power() local
1456 sent = hci_sent_cmd_data(hdev, HCI_OP_READ_TX_POWER); in hci_cc_read_tx_power()
1457 if (!sent) in hci_cc_read_tx_power()
1466 switch (sent->type) { in hci_cc_read_tx_power()
3229 conn->sent -= count; in hci_num_comp_pkts_evt()
3317 conn->sent -= block_count; in hci_num_comp_blocks_evt()