Home
last modified time | relevance | path

Searched refs:conn_info (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.1.9/net/nfc/nci/
Drsp.c188 struct nci_conn_info *conn_info; in nci_rf_disc_rsp_packet() local
196 conn_info = ndev->rf_conn_info; in nci_rf_disc_rsp_packet()
197 if (!conn_info) { in nci_rf_disc_rsp_packet()
198 conn_info = devm_kzalloc(&ndev->nfc_dev->dev, in nci_rf_disc_rsp_packet()
201 if (!conn_info) { in nci_rf_disc_rsp_packet()
205 conn_info->conn_id = NCI_STATIC_RF_CONN_ID; in nci_rf_disc_rsp_packet()
206 INIT_LIST_HEAD(&conn_info->list); in nci_rf_disc_rsp_packet()
207 list_add(&conn_info->list, &ndev->conn_info_list); in nci_rf_disc_rsp_packet()
208 ndev->rf_conn_info = conn_info; in nci_rf_disc_rsp_packet()
274 struct nci_conn_info *conn_info = NULL; in nci_core_conn_create_rsp_packet() local
[all …]
Ddata.c29 const 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 const 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 const struct nci_conn_info *conn_info; in nci_queue_tx_data_frags() local
[all …]
Dhci.c145 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()
[all …]
Dcore.c45 struct nci_conn_info *conn_info; in nci_get_conn_info_by_conn_id() local
47 list_for_each_entry(conn_info, &ndev->conn_info_list, list) { in nci_get_conn_info_by_conn_id()
48 if (conn_info->conn_id == conn_id) in nci_get_conn_info_by_conn_id()
49 return conn_info; in nci_get_conn_info_by_conn_id()
58 const struct nci_conn_info *conn_info; in nci_get_conn_info_by_dest_type_params() local
60 list_for_each_entry(conn_info, &ndev->conn_info_list, list) { in nci_get_conn_info_by_dest_type_params()
61 if (conn_info->dest_type == dest_type) { in nci_get_conn_info_by_dest_type_params()
63 return conn_info->conn_id; in nci_get_conn_info_by_dest_type_params()
65 if (params->id == conn_info->dest_params->id && in nci_get_conn_info_by_dest_type_params()
66 params->protocol == conn_info->dest_params->protocol) in nci_get_conn_info_by_dest_type_params()
[all …]
Dntf.c51 struct nci_conn_info *conn_info; in nci_core_conn_credits_ntf_packet() local
68 conn_info = nci_get_conn_info_by_conn_id(ndev, in nci_core_conn_credits_ntf_packet()
70 if (!conn_info) in nci_core_conn_credits_ntf_packet()
74 &conn_info->credits_cnt); in nci_core_conn_credits_ntf_packet()
537 struct nci_conn_info *conn_info; in nci_rf_intf_activated_ntf_packet() local
646 conn_info = ndev->rf_conn_info; in nci_rf_intf_activated_ntf_packet()
647 if (!conn_info) in nci_rf_intf_activated_ntf_packet()
650 conn_info->max_pkt_payload_len = ntf.max_data_pkt_payload_size; in nci_rf_intf_activated_ntf_packet()
651 conn_info->initial_num_credits = ntf.initial_num_credits; in nci_rf_intf_activated_ntf_packet()
654 atomic_set(&conn_info->credits_cnt, in nci_rf_intf_activated_ntf_packet()
[all …]
/linux-6.1.9/drivers/media/cec/core/
Dcec-notifier.c26 struct cec_connector_info conn_info; member
106 const struct cec_connector_info *conn_info) in cec_notifier_conn_register() argument
115 if (conn_info) in cec_notifier_conn_register()
116 n->conn_info = *conn_info; in cec_notifier_conn_register()
118 memset(&n->conn_info, 0, sizeof(n->conn_info)); in cec_notifier_conn_register()
122 cec_s_conn_info(n->cec_adap, conn_info); in cec_notifier_conn_register()
135 memset(&n->conn_info, 0, sizeof(n->conn_info)); in cec_notifier_conn_unregister()
162 adap->conn_info = n->conn_info; in cec_notifier_cec_adap_register()
Dcec-adap.c60 void cec_fill_conn_info_from_drm(struct cec_connector_info *conn_info, in cec_fill_conn_info_from_drm() argument
63 memset(conn_info, 0, sizeof(*conn_info)); in cec_fill_conn_info_from_drm()
64 conn_info->type = CEC_CONNECTOR_TYPE_DRM; in cec_fill_conn_info_from_drm()
65 conn_info->drm.card_no = connector->dev->primary->index; in cec_fill_conn_info_from_drm()
66 conn_info->drm.connector_id = connector->base.id; in cec_fill_conn_info_from_drm()
303 adap->conn_info.type != CEC_CONNECTOR_TYPE_NO_CONNECTOR; in cec_post_state_event()
1697 const struct cec_connector_info *conn_info) in cec_s_conn_info() argument
1706 if (conn_info) in cec_s_conn_info()
1707 adap->conn_info = *conn_info; in cec_s_conn_info()
1709 memset(&adap->conn_info, 0, sizeof(adap->conn_info)); in cec_s_conn_info()
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_iscsi.c435 struct qed_iscsi_params_update *conn_info; in qedi_iscsi_update_conn() local
443 conn_info = kzalloc(sizeof(*conn_info), GFP_KERNEL); in qedi_iscsi_update_conn()
444 if (!conn_info) { in qedi_iscsi_update_conn()
449 conn_info->update_flag = 0; in qedi_iscsi_update_conn()
452 SET_FIELD(conn_info->update_flag, in qedi_iscsi_update_conn()
455 SET_FIELD(conn_info->update_flag, in qedi_iscsi_update_conn()
458 SET_FIELD(conn_info->update_flag, in qedi_iscsi_update_conn()
462 SET_FIELD(conn_info->update_flag, in qedi_iscsi_update_conn()
466 conn_info->max_seq_size = conn->session->max_burst; in qedi_iscsi_update_conn()
467 conn_info->max_recv_pdu_length = conn->max_recv_dlength; in qedi_iscsi_update_conn()
[all …]
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_iscsi.c1206 struct qed_iscsi_params_offload *conn_info) in qed_iscsi_offload_conn() argument
1221 ether_addr_copy(con->local_mac, conn_info->src.mac); in qed_iscsi_offload_conn()
1222 ether_addr_copy(con->remote_mac, conn_info->dst.mac); in qed_iscsi_offload_conn()
1223 memcpy(con->local_ip, conn_info->src.ip, sizeof(con->local_ip)); in qed_iscsi_offload_conn()
1224 memcpy(con->remote_ip, conn_info->dst.ip, sizeof(con->remote_ip)); in qed_iscsi_offload_conn()
1225 con->local_port = conn_info->src.port; in qed_iscsi_offload_conn()
1226 con->remote_port = conn_info->dst.port; in qed_iscsi_offload_conn()
1228 con->layer_code = conn_info->layer_code; in qed_iscsi_offload_conn()
1229 con->sq_pbl_addr = conn_info->sq_pbl_addr; in qed_iscsi_offload_conn()
1230 con->initial_ack = conn_info->initial_ack; in qed_iscsi_offload_conn()
[all …]
Dqed_nvmetcp.c659 struct qed_nvmetcp_params_offload *conn_info) in qed_nvmetcp_offload_conn() argument
677 con->sq_pbl_addr = conn_info->sq_pbl_addr; in qed_nvmetcp_offload_conn()
678 con->nvmetcp_cccid_max_range = conn_info->nvmetcp_cccid_max_range; in qed_nvmetcp_offload_conn()
679 con->nvmetcp_cccid_itid_table_addr = conn_info->nvmetcp_cccid_itid_table_addr; in qed_nvmetcp_offload_conn()
680 con->default_cq = conn_info->default_cq; in qed_nvmetcp_offload_conn()
686 ether_addr_copy(con->local_mac, conn_info->src.mac); in qed_nvmetcp_offload_conn()
687 ether_addr_copy(con->remote_mac, conn_info->dst.mac); in qed_nvmetcp_offload_conn()
688 memcpy(con->local_ip, conn_info->src.ip, sizeof(con->local_ip)); in qed_nvmetcp_offload_conn()
689 memcpy(con->remote_ip, conn_info->dst.ip, sizeof(con->remote_ip)); in qed_nvmetcp_offload_conn()
690 con->local_port = conn_info->src.port; in qed_nvmetcp_offload_conn()
[all …]
Dqed_fcoe.c904 struct qed_fcoe_params_offload *conn_info) in qed_fcoe_offload_conn() argument
919 con->sq_pbl_addr = conn_info->sq_pbl_addr; in qed_fcoe_offload_conn()
920 con->sq_curr_page_addr = conn_info->sq_curr_page_addr; in qed_fcoe_offload_conn()
921 con->sq_next_page_addr = conn_info->sq_next_page_addr; in qed_fcoe_offload_conn()
922 con->tx_max_fc_pay_len = conn_info->tx_max_fc_pay_len; in qed_fcoe_offload_conn()
923 con->e_d_tov_timer_val = conn_info->e_d_tov_timer_val; in qed_fcoe_offload_conn()
924 con->rec_tov_timer_val = conn_info->rec_tov_timer_val; in qed_fcoe_offload_conn()
925 con->rx_max_fc_pay_len = conn_info->rx_max_fc_pay_len; in qed_fcoe_offload_conn()
926 con->vlan_tag = conn_info->vlan_tag; in qed_fcoe_offload_conn()
927 con->max_conc_seqs_c3 = conn_info->max_conc_seqs_c3; in qed_fcoe_offload_conn()
[all …]
/linux-6.1.9/drivers/usb/typec/
Drt1719.c108 u32 conn_info; member
219 rt1719_set_data_role(data, rt1719_get_data_role(data->conn_info), true); in rt1719_update_data_role()
229 rev = FIELD_GET(RT1719_PDSPECREV_MASK, data->conn_info); in rt1719_register_partner()
251 if (data->conn_info & RT1719_ATTACH_DBG) in rt1719_register_partner()
265 if (!(data->conn_info & RT1719_ATTACHDEV_MASK)) in rt1719_attach()
268 pwr_opmode = rt1719_get_pwr_opmode(data->conn_info, data->conn_stat); in rt1719_attach()
269 data_role = rt1719_get_data_role(data->conn_info); in rt1719_attach()
274 if (data->conn_info & RT1719_ATTACH_SNK) in rt1719_attach()
291 if (!data->attached || (data->conn_info & RT1719_ATTACHDEV_MASK)) in rt1719_detach()
326 data->spdo_sel = FIELD_GET(RT1719_SPDOSEL_MASK, data->conn_info); in rt1719_update_operating_status()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dvendor-cmd.c46 csme_conn_info->conn_info.auth_mode) || in iwl_mvm_vendor_get_csme_conn_info()
48 csme_conn_info->conn_info.ssid_len, in iwl_mvm_vendor_get_csme_conn_info()
49 csme_conn_info->conn_info.ssid) || in iwl_mvm_vendor_get_csme_conn_info()
51 csme_conn_info->conn_info.pairwise_cipher) || in iwl_mvm_vendor_get_csme_conn_info()
53 csme_conn_info->conn_info.channel) || in iwl_mvm_vendor_get_csme_conn_info()
55 csme_conn_info->conn_info.bssid)) { in iwl_mvm_vendor_get_csme_conn_info()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mei/
Dmain.c205 const struct iwl_sap_notif_connection_info *conn_info; member
683 struct iwl_mei_conn_info conn_info = { in iwl_mei_handle_conn_status() local
685 .ssid_len = le32_to_cpu(status->conn_info.ssid_len), in iwl_mei_handle_conn_status()
686 .channel = status->conn_info.channel, in iwl_mei_handle_conn_status()
687 .band = status->conn_info.band, in iwl_mei_handle_conn_status()
688 .auth_mode = le32_to_cpu(status->conn_info.auth_mode), in iwl_mei_handle_conn_status()
689 .pairwise_cipher = le32_to_cpu(status->conn_info.pairwise_cipher), in iwl_mei_handle_conn_status()
693 conn_info.ssid_len > ARRAY_SIZE(conn_info.ssid)) in iwl_mei_handle_conn_status()
696 memcpy(conn_info.ssid, status->conn_info.ssid, conn_info.ssid_len); in iwl_mei_handle_conn_status()
697 ether_addr_copy(conn_info.bssid, status->conn_info.bssid); in iwl_mei_handle_conn_status()
[all …]
Diwl-mei.h301 const struct iwl_mei_conn_info *conn_info);
440 void iwl_mei_host_associated(const struct iwl_mei_conn_info *conn_info,
494 static inline void iwl_mei_host_associated(const struct iwl_mei_conn_info *conn_info, in iwl_mei_host_associated() argument
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dhif.c277 struct wilc_conn_info *conn_attr = &hif_drv->conn_info; in wilc_send_connect_wid()
348 if (hif_drv->conn_info.conn_result) { in handle_connect_timeout()
349 hif_drv->conn_info.conn_result(CONN_DISCONN_EVENT_CONN_RESP, in handle_connect_timeout()
351 hif_drv->conn_info.arg); in handle_connect_timeout()
366 hif_drv->conn_info.req_ies_len = 0; in handle_connect_timeout()
367 kfree(hif_drv->conn_info.req_ies); in handle_connect_timeout()
368 hif_drv->conn_info.req_ies = NULL; in handle_connect_timeout()
604 struct wilc_conn_info *conn_info = &hif_drv->conn_info; in host_int_parse_assoc_resp_info() local
620 conn_info); in host_int_parse_assoc_resp_info()
629 conn_info->conn_result(CONN_DISCONN_EVENT_CONN_RESP, mac_status, in host_int_parse_assoc_resp_info()
[all …]
Dcfg80211.c172 struct wilc_conn_info *conn_info = &wfi_drv->conn_info; in cfg_connect_result() local
178 u16 connect_status = conn_info->status; in cfg_connect_result()
192 memcpy(priv->associated_bss, conn_info->bssid, in cfg_connect_result()
196 cfg80211_connect_bss(dev, conn_info->bssid, vif->bss, in cfg_connect_result()
197 conn_info->req_ies, in cfg_connect_result()
198 conn_info->req_ies_len, in cfg_connect_result()
199 conn_info->resp_ies, in cfg_connect_result()
200 conn_info->resp_ies_len, in cfg_connect_result()
413 wfi_drv->conn_info.security = security; in connect()
414 wfi_drv->conn_info.auth_type = auth_type; in connect()
[all …]
/linux-6.1.9/include/media/
Dcec.h260 struct cec_connector_info conn_info; member
325 const struct cec_connector_info *conn_info);
410 void cec_fill_conn_info_from_drm(struct cec_connector_info *conn_info,
448 const struct cec_connector_info *conn_info) in cec_s_conn_info() argument
453 cec_fill_conn_info_from_drm(struct cec_connector_info *conn_info, in cec_fill_conn_info_from_drm() argument
456 memset(conn_info, 0, sizeof(*conn_info)); in cec_fill_conn_info_from_drm()
Dcec-notifier.h40 const struct cec_connector_info *conn_info);
114 const struct cec_connector_info *conn_info) in cec_notifier_conn_register() argument
/linux-6.1.9/drivers/gpu/drm/tegra/
Doutput.c207 struct cec_connector_info conn_info; in tegra_output_init() local
209 cec_fill_conn_info_from_drm(&conn_info, &output->connector); in tegra_output_init()
211 &conn_info); in tegra_output_init()
/linux-6.1.9/include/net/bluetooth/
Dhci_sock.h153 struct hci_conn_info conn_info[]; member
159 struct hci_conn_info conn_info[]; member
/linux-6.1.9/drivers/nfc/st-nci/
Dse.c550 struct nci_conn_info *conn_info; in st_nci_hci_network_init() local
572 conn_info = ndev->hci_dev->conn_info; in st_nci_hci_network_init()
573 if (!conn_info) in st_nci_hci_network_init()
605 ndev->hci_dev->conn_info->dest_params->id, in st_nci_hci_network_init()
609 ndev->hci_dev->conn_info->dest_params->id, in st_nci_hci_network_init()
/linux-6.1.9/include/linux/qed/
Dqed_nvmetcp_if.h217 struct qed_nvmetcp_params_offload *conn_info);
221 struct qed_nvmetcp_params_update *conn_info);
Dqed_iscsi_if.h216 struct qed_iscsi_params_offload *conn_info);
220 struct qed_iscsi_params_update *conn_info);
/linux-6.1.9/drivers/gpu/drm/display/
Ddrm_dp_cec.c305 struct cec_connector_info conn_info; in drm_dp_cec_set_edid() local
361 cec_fill_conn_info_from_drm(&conn_info, connector); in drm_dp_cec_set_edid()
362 cec_s_conn_info(aux->cec.adap, &conn_info); in drm_dp_cec_set_edid()

12