Lines Matching defs:id
62 if (p->id >= HCI_UART_MAX_PROTO)
65 if (hup[p->id])
68 hup[p->id] = p;
75 if (p->id >= HCI_UART_MAX_PROTO)
78 if (!hup[p->id])
81 hup[p->id] = NULL;
86 static struct hci_uart_proto *hci_uart_get_proto(unsigned int id)
88 if (id >= HCI_UART_MAX_PROTO)
91 return hup[id];
416 static int hci_uart_set_proto(struct hci_uart *hu, int id)
421 p = hci_uart_get_proto(id);
480 return hu->proto->id;
485 return hu->hdev->id;