Lines Matching refs:conn_info
29 struct nci_conn_info *conn_info; in nci_data_exchange_complete() local
33 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_data_exchange_complete()
34 if (!conn_info) { in nci_data_exchange_complete()
39 cb = conn_info->data_exchange_cb; in nci_data_exchange_complete()
40 cb_context = conn_info->data_exchange_cb_context; in nci_data_exchange_complete()
83 struct nci_conn_info *conn_info; in nci_conn_max_data_pkt_payload_size() local
85 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_conn_max_data_pkt_payload_size()
86 if (!conn_info) in nci_conn_max_data_pkt_payload_size()
89 return conn_info->max_pkt_payload_len; in nci_conn_max_data_pkt_payload_size()
96 struct nci_conn_info *conn_info; in nci_queue_tx_data_frags() local
107 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_queue_tx_data_frags()
108 if (!conn_info) { in nci_queue_tx_data_frags()
117 min_t(int, total_len, conn_info->max_pkt_payload_len); in nci_queue_tx_data_frags()
169 struct nci_conn_info *conn_info; in nci_send_data() local
174 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_send_data()
175 if (!conn_info) { in nci_send_data()
181 if (skb->len <= conn_info->max_pkt_payload_len) { in nci_send_data()
272 struct nci_conn_info *conn_info; in nci_rx_data_packet() local
281 conn_info = nci_get_conn_info_by_conn_id(ndev, nci_conn_id(skb->data)); in nci_rx_data_packet()
282 if (!conn_info) in nci_rx_data_packet()