Lines Matching refs:conn_info

145 	const struct nci_conn_info *conn_info;  in nci_hci_send_data()  local
150 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_data()
151 if (!conn_info) in nci_hci_send_data()
155 skb = nci_skb_alloc(ndev, conn_info->max_pkt_payload_len + in nci_hci_send_data()
165 if (i + conn_info->max_pkt_payload_len - in nci_hci_send_data()
170 len = conn_info->max_pkt_payload_len - skb->len - 1; in nci_hci_send_data()
178 r = nci_send_data(ndev, conn_info->conn_id, skb); in nci_hci_send_data()
186 conn_info->max_pkt_payload_len + in nci_hci_send_data()
225 const struct nci_conn_info *conn_info; in nci_hci_send_cmd() local
233 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_cmd()
234 if (!conn_info) in nci_hci_send_cmd()
237 data.conn_id = conn_info->conn_id; in nci_hci_send_cmd()
246 message = (struct nci_hcp_message *)conn_info->rx_skb->data; in nci_hci_send_cmd()
249 skb_pull(conn_info->rx_skb, NCI_HCI_HCP_MESSAGE_HEADER_LEN); in nci_hci_send_cmd()
252 *skb = conn_info->rx_skb; in nci_hci_send_cmd()
366 struct nci_conn_info *conn_info; in nci_hci_resp_received() local
368 conn_info = ndev->hci_dev->conn_info; in nci_hci_resp_received()
369 if (!conn_info) in nci_hci_resp_received()
372 conn_info->rx_skb = skb; in nci_hci_resp_received()
499 const struct nci_conn_info *conn_info; in nci_hci_open_pipe() local
501 conn_info = ndev->hci_dev->conn_info; in nci_hci_open_pipe()
502 if (!conn_info) in nci_hci_open_pipe()
505 data.conn_id = conn_info->conn_id; in nci_hci_open_pipe()
556 const struct nci_conn_info *conn_info; in nci_hci_set_param() local
567 conn_info = ndev->hci_dev->conn_info; in nci_hci_set_param()
568 if (!conn_info) in nci_hci_set_param()
578 data.conn_id = conn_info->conn_id; in nci_hci_set_param()
588 message = (struct nci_hcp_message *)conn_info->rx_skb->data; in nci_hci_set_param()
591 skb_pull(conn_info->rx_skb, NCI_HCI_HCP_MESSAGE_HEADER_LEN); in nci_hci_set_param()
603 const struct nci_conn_info *conn_info; in nci_hci_get_param() local
613 conn_info = ndev->hci_dev->conn_info; in nci_hci_get_param()
614 if (!conn_info) in nci_hci_get_param()
617 data.conn_id = conn_info->conn_id; in nci_hci_get_param()
628 message = (struct nci_hcp_message *)conn_info->rx_skb->data; in nci_hci_get_param()
631 skb_pull(conn_info->rx_skb, NCI_HCI_HCP_MESSAGE_HEADER_LEN); in nci_hci_get_param()
634 *skb = conn_info->rx_skb; in nci_hci_get_param()
711 struct nci_conn_info *conn_info; in nci_hci_dev_session_init() local
718 conn_info = ndev->hci_dev->conn_info; in nci_hci_dev_session_init()
719 if (!conn_info) in nci_hci_dev_session_init()
722 conn_info->data_exchange_cb = nci_hci_data_received_cb; in nci_hci_dev_session_init()
723 conn_info->data_exchange_cb_context = ndev; in nci_hci_dev_session_init()