Lines Matching defs:sent

133 	void *sent;
140 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LINK_POLICY);
141 if (!sent)
148 conn->link_policy = get_unaligned_le16(sent + 2);
170 void *sent;
177 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_LINK_POLICY);
178 if (!sent)
181 hdev->link_policy = get_unaligned_le16(sent);
213 void *sent;
217 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LOCAL_NAME);
218 if (!sent)
224 mgmt_set_local_name_complete(hdev, sent, status);
226 memcpy(hdev->dev_name, sent, HCI_MAX_NAME_LENGTH);
247 void *sent;
251 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_AUTH_ENABLE);
252 if (!sent)
256 __u8 param = *((__u8 *) sent);
272 void *sent;
279 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_ENCRYPT_MODE);
280 if (!sent)
283 param = *((__u8 *) sent);
295 void *sent;
299 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SCAN_ENABLE);
300 if (!sent)
303 param = *((__u8 *) sent);
344 void *sent;
348 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_CLASS_OF_DEV);
349 if (!sent)
355 memcpy(hdev->dev_class, sent, 3);
358 mgmt_set_class_of_dev_complete(hdev, sent, status);
391 void *sent;
398 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_VOICE_SETTING);
399 if (!sent)
402 setting = get_unaligned_le16(sent);
433 struct hci_cp_write_ssp_mode *sent;
437 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SSP_MODE);
438 if (!sent)
442 if (sent->mode)
449 mgmt_ssp_enable_complete(hdev, sent->mode, status);
451 if (sent->mode)
461 struct hci_cp_write_sc_support *sent;
465 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SC_SUPPORT);
466 if (!sent)
470 if (sent->support)
477 mgmt_sc_enable_complete(hdev, sent->support, status);
479 if (sent->support)
660 struct hci_cp_write_page_scan_activity *sent;
667 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_PAGE_SCAN_ACTIVITY);
668 if (!sent)
671 hdev->page_scan_interval = __le16_to_cpu(sent->interval);
672 hdev->page_scan_window = __le16_to_cpu(sent->window);
1015 bdaddr_t *sent;
1022 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_SET_RANDOM_ADDR);
1023 if (!sent)
1028 bacpy(&hdev->random_addr, sent);
1035 __u8 *sent, status = *((__u8 *) skb->data);
1042 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_SET_ADV_ENABLE);
1043 if (!sent)
1051 if (*sent) {
1213 struct hci_cp_le_add_to_white_list *sent;
1221 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_ADD_TO_WHITE_LIST);
1222 if (!sent)
1225 hci_bdaddr_list_add(&hdev->le_white_list, &sent->bdaddr,
1226 sent->bdaddr_type);
1232 struct hci_cp_le_del_from_white_list *sent;
1240 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_DEL_FROM_WHITE_LIST);
1241 if (!sent)
1244 hci_bdaddr_list_del(&hdev->le_white_list, &sent->bdaddr,
1245 sent->bdaddr_type);
1264 struct hci_cp_write_le_host_supported *sent;
1272 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LE_HOST_SUPPORTED);
1273 if (!sent)
1276 if (sent->le) {
1285 if (sent->simul)
1345 struct hci_cp_read_tx_power *sent;
1354 sent = hci_sent_cmd_data(hdev, HCI_OP_READ_TX_POWER);
1355 if (!sent)
1364 switch (sent->type) {
2978 conn->sent -= count;
3066 conn->sent -= block_count;