Lines Matching refs:u8
20 u8 conn_id;
21 u8 pipe;
22 u8 cmd;
23 const u8 *data;
28 u8 src_gate;
29 u8 dest_host;
30 u8 dest_gate;
34 u8 src_host;
35 u8 src_gate;
36 u8 dest_host;
37 u8 dest_gate;
38 u8 pipe;
42 u8 pipe;
46 u8 host;
50 u8 header; /* type -cmd,evt,rsp- + instruction */
51 u8 data[];
55 u8 header; /* cbit+pipe */
96 static int nci_hci_result_to_errno(u8 result) in nci_hci_result_to_errno()
122 static void nci_hci_reset_pipes_per_host(struct nci_dev *ndev, u8 host) in nci_hci_reset_pipes_per_host()
142 static int nci_hci_send_data(struct nci_dev *ndev, u8 pipe, in nci_hci_send_data()
143 const u8 data_type, const u8 *data, in nci_hci_send_data()
149 u8 cb = pipe; in nci_hci_send_data()
162 *(u8 *)skb_push(skb, 1) = data_type; in nci_hci_send_data()
174 *(u8 *)skb_push(skb, 1) = cb; in nci_hci_send_data()
207 int nci_hci_send_event(struct nci_dev *ndev, u8 gate, u8 event, in nci_hci_send_event()
208 const u8 *param, size_t param_len) in nci_hci_send_event()
210 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_event()
221 int nci_hci_send_cmd(struct nci_dev *ndev, u8 gate, u8 cmd, in nci_hci_send_cmd()
222 const u8 *param, size_t param_len, in nci_hci_send_cmd()
229 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_cmd()
274 static void nci_hci_event_received(struct nci_dev *ndev, u8 pipe, in nci_hci_event_received()
275 u8 event, struct sk_buff *skb) in nci_hci_event_received()
281 static void nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, in nci_hci_cmd_received()
282 u8 cmd, struct sk_buff *skb) in nci_hci_cmd_received()
284 u8 gate = ndev->hci_dev->pipes[pipe].gate; in nci_hci_cmd_received()
285 u8 status = NCI_HCI_ANY_OK | ~NCI_HCI_FRAGMENT; in nci_hci_cmd_received()
286 u8 dest_gate, new_pipe; in nci_hci_cmd_received()
364 static void nci_hci_resp_received(struct nci_dev *ndev, u8 pipe, in nci_hci_resp_received()
382 static void nci_hci_hcp_message_rx(struct nci_dev *ndev, u8 pipe, in nci_hci_hcp_message_rx()
383 u8 type, u8 instruction, struct sk_buff *skb) in nci_hci_hcp_message_rx()
411 u8 pipe, type, instruction; in nci_hci_msg_rx_work()
432 u8 pipe, type; in nci_hci_data_received_cb()
498 int nci_hci_open_pipe(struct nci_dev *ndev, u8 pipe) in nci_hci_open_pipe()
519 static u8 nci_hci_create_pipe(struct nci_dev *ndev, u8 dest_host, in nci_hci_create_pipe()
520 u8 dest_gate, int *result) in nci_hci_create_pipe()
522 u8 pipe; in nci_hci_create_pipe()
535 (u8 *)¶ms, sizeof(params), &skb); in nci_hci_create_pipe()
550 static int nci_hci_delete_pipe(struct nci_dev *ndev, u8 pipe) in nci_hci_delete_pipe()
556 int nci_hci_set_param(struct nci_dev *ndev, u8 gate, u8 idx, in nci_hci_set_param()
557 const u8 *param, size_t param_len) in nci_hci_set_param()
563 u8 *tmp; in nci_hci_set_param()
564 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_set_param()
603 int nci_hci_get_param(struct nci_dev *ndev, u8 gate, u8 idx, in nci_hci_get_param()
610 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_get_param()
646 u8 dest_host, u8 dest_gate, u8 pipe) in nci_hci_connect_gate()
697 u8 gate_count, in nci_hci_dev_connect_gates()