Lines Matching defs:index
411 hdr->index = cpu_to_le16(hdev->id);
424 __le16 index;
427 index = cpu_to_le16(hdev->id);
429 index = cpu_to_le16(MGMT_INDEX_NONE);
462 hdr->index = index;
546 hdr->index = cpu_to_le16(hdev->id);
604 hdr->index = cpu_to_le16(hci_pi(sk)->hdev->id);
606 hdr->index = cpu_to_le16(HCI_DEV_NONE);
644 hdr->index = cpu_to_le16(hci_pi(sk)->hdev->id);
646 hdr->index = cpu_to_le16(HCI_DEV_NONE);
652 static struct sk_buff *create_monitor_ctrl_command(struct sock *sk, u16 index,
675 hdr->index = cpu_to_le16(index);
708 hdr->index = cpu_to_le16(HCI_DEV_NONE);
1429 /* At the moment the index and unconfigured index events
1618 u16 opcode, index, len;
1631 index = __le16_to_cpu(hdr->index);
1643 cmd = create_monitor_ctrl_command(sk, index, opcode, len,
1655 err = mgmt_cmd_status(sk, index, opcode,
1664 err = mgmt_cmd_status(sk, index, opcode,
1669 if (index != MGMT_INDEX_NONE) {
1670 hdev = hci_dev_get(index);
1672 err = mgmt_cmd_status(sk, index, opcode,
1680 err = mgmt_cmd_status(sk, index, opcode,
1687 err = mgmt_cmd_status(sk, index, opcode,
1696 err = mgmt_cmd_status(sk, index, opcode,
1705 err = mgmt_cmd_status(sk, index, opcode,
1733 u16 index;
1773 index = __le16_to_cpu(hdr->index);
1775 if (index != MGMT_INDEX_NONE) {
1776 hdev = hci_dev_get(index);