Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/net/nfc/nci/
Drsp.c131 struct nci_conn_info *conn_info; in nci_rf_disc_rsp_packet() local
139 conn_info = ndev->rf_conn_info; in nci_rf_disc_rsp_packet()
140 if (!conn_info) { in nci_rf_disc_rsp_packet()
141 conn_info = devm_kzalloc(&ndev->nfc_dev->dev, in nci_rf_disc_rsp_packet()
144 if (!conn_info) { in nci_rf_disc_rsp_packet()
148 conn_info->conn_id = NCI_STATIC_RF_CONN_ID; in nci_rf_disc_rsp_packet()
149 INIT_LIST_HEAD(&conn_info->list); in nci_rf_disc_rsp_packet()
150 list_add(&conn_info->list, &ndev->conn_info_list); in nci_rf_disc_rsp_packet()
151 ndev->rf_conn_info = conn_info; in nci_rf_disc_rsp_packet()
217 struct nci_conn_info *conn_info = NULL; in nci_core_conn_create_rsp_packet() local
[all …]
Dhci.c145 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()
164 len = conn_info->max_pkt_payload_len; in nci_hci_send_data()
167 if (i + conn_info->max_pkt_payload_len - in nci_hci_send_data()
172 len = conn_info->max_pkt_payload_len - skb->len - 1; in nci_hci_send_data()
180 r = nci_send_data(ndev, conn_info->conn_id, skb); in nci_hci_send_data()
188 conn_info->max_pkt_payload_len + in nci_hci_send_data()
227 struct nci_conn_info *conn_info; in nci_hci_send_cmd() local
[all …]
Ddata.c29 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
[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 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.c34 struct nci_conn_info *conn_info; in nci_core_conn_credits_ntf_packet() local
51 conn_info = nci_get_conn_info_by_conn_id(ndev, in nci_core_conn_credits_ntf_packet()
53 if (!conn_info) in nci_core_conn_credits_ntf_packet()
57 &conn_info->credits_cnt); in nci_core_conn_credits_ntf_packet()
507 struct nci_conn_info *conn_info; in nci_rf_intf_activated_ntf_packet() local
616 conn_info = ndev->rf_conn_info; in nci_rf_intf_activated_ntf_packet()
617 if (!conn_info) in nci_rf_intf_activated_ntf_packet()
620 conn_info->max_pkt_payload_len = ntf.max_data_pkt_payload_size; in nci_rf_intf_activated_ntf_packet()
621 conn_info->initial_num_credits = ntf.initial_num_credits; in nci_rf_intf_activated_ntf_packet()
624 atomic_set(&conn_info->credits_cnt, in nci_rf_intf_activated_ntf_packet()
[all …]
/kernel/linux/linux-5.10/drivers/media/cec/core/
Dcec-notifier.c25 struct cec_connector_info conn_info; member
105 const struct cec_connector_info *conn_info) in cec_notifier_conn_register() argument
114 if (conn_info) in cec_notifier_conn_register()
115 n->conn_info = *conn_info; in cec_notifier_conn_register()
117 memset(&n->conn_info, 0, sizeof(n->conn_info)); in cec_notifier_conn_register()
121 cec_s_conn_info(n->cec_adap, conn_info); in cec_notifier_conn_register()
134 memset(&n->conn_info, 0, sizeof(n->conn_info)); in cec_notifier_conn_unregister()
161 adap->conn_info = n->conn_info; in cec_notifier_cec_adap_register()
Dcec-adap.c81 void cec_fill_conn_info_from_drm(struct cec_connector_info *conn_info, in cec_fill_conn_info_from_drm() argument
84 memset(conn_info, 0, sizeof(*conn_info)); in cec_fill_conn_info_from_drm()
85 conn_info->type = CEC_CONNECTOR_TYPE_DRM; in cec_fill_conn_info_from_drm()
86 conn_info->drm.card_no = connector->dev->primary->index; in cec_fill_conn_info_from_drm()
87 conn_info->drm.connector_id = connector->base.id; in cec_fill_conn_info_from_drm()
323 adap->conn_info.type != CEC_CONNECTOR_TYPE_NO_CONNECTOR; in cec_post_state_event()
1636 const struct cec_connector_info *conn_info) in cec_s_conn_info() argument
1645 if (conn_info) in cec_s_conn_info()
1646 adap->conn_info = *conn_info; in cec_s_conn_info()
1648 memset(&adap->conn_info, 0, sizeof(adap->conn_info)); in cec_s_conn_info()
Dcec-api.c205 if (copy_to_user(parg, &adap->conn_info, sizeof(adap->conn_info))) in cec_adap_g_connector_info()
606 adap->conn_info.type != CEC_CONNECTOR_TYPE_NO_CONNECTOR; in cec_open()
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_iscsi.c423 struct qed_iscsi_params_update *conn_info; in qedi_iscsi_update_conn() local
431 conn_info = kzalloc(sizeof(*conn_info), GFP_KERNEL); in qedi_iscsi_update_conn()
432 if (!conn_info) { in qedi_iscsi_update_conn()
437 conn_info->update_flag = 0; in qedi_iscsi_update_conn()
440 SET_FIELD(conn_info->update_flag, in qedi_iscsi_update_conn()
443 SET_FIELD(conn_info->update_flag, in qedi_iscsi_update_conn()
446 SET_FIELD(conn_info->update_flag, in qedi_iscsi_update_conn()
450 SET_FIELD(conn_info->update_flag, in qedi_iscsi_update_conn()
454 conn_info->max_seq_size = conn->session->max_burst; in qedi_iscsi_update_conn()
455 conn_info->max_recv_pdu_length = conn->max_recv_dlength; in qedi_iscsi_update_conn()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_iscsi.c1207 struct qed_iscsi_params_offload *conn_info) in qed_iscsi_offload_conn() argument
1222 ether_addr_copy(con->local_mac, conn_info->src.mac); in qed_iscsi_offload_conn()
1223 ether_addr_copy(con->remote_mac, conn_info->dst.mac); in qed_iscsi_offload_conn()
1224 memcpy(con->local_ip, conn_info->src.ip, sizeof(con->local_ip)); in qed_iscsi_offload_conn()
1225 memcpy(con->remote_ip, conn_info->dst.ip, sizeof(con->remote_ip)); in qed_iscsi_offload_conn()
1226 con->local_port = conn_info->src.port; in qed_iscsi_offload_conn()
1227 con->remote_port = conn_info->dst.port; in qed_iscsi_offload_conn()
1229 con->layer_code = conn_info->layer_code; in qed_iscsi_offload_conn()
1230 con->sq_pbl_addr = conn_info->sq_pbl_addr; in qed_iscsi_offload_conn()
1231 con->initial_ack = conn_info->initial_ack; in qed_iscsi_offload_conn()
[all …]
Dqed_fcoe.c905 struct qed_fcoe_params_offload *conn_info) in qed_fcoe_offload_conn() argument
920 con->sq_pbl_addr = conn_info->sq_pbl_addr; in qed_fcoe_offload_conn()
921 con->sq_curr_page_addr = conn_info->sq_curr_page_addr; in qed_fcoe_offload_conn()
922 con->sq_next_page_addr = conn_info->sq_next_page_addr; in qed_fcoe_offload_conn()
923 con->tx_max_fc_pay_len = conn_info->tx_max_fc_pay_len; in qed_fcoe_offload_conn()
924 con->e_d_tov_timer_val = conn_info->e_d_tov_timer_val; in qed_fcoe_offload_conn()
925 con->rec_tov_timer_val = conn_info->rec_tov_timer_val; in qed_fcoe_offload_conn()
926 con->rx_max_fc_pay_len = conn_info->rx_max_fc_pay_len; in qed_fcoe_offload_conn()
927 con->vlan_tag = conn_info->vlan_tag; in qed_fcoe_offload_conn()
928 con->max_conc_seqs_c3 = conn_info->max_conc_seqs_c3; in qed_fcoe_offload_conn()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dhif.c272 struct wilc_conn_info *conn_attr = &hif_drv->conn_info; in wilc_send_connect_wid()
333 if (hif_drv->conn_info.conn_result) { in handle_connect_timeout()
334 hif_drv->conn_info.conn_result(CONN_DISCONN_EVENT_CONN_RESP, in handle_connect_timeout()
336 hif_drv->conn_info.arg); in handle_connect_timeout()
351 hif_drv->conn_info.req_ies_len = 0; in handle_connect_timeout()
352 kfree(hif_drv->conn_info.req_ies); in handle_connect_timeout()
353 hif_drv->conn_info.req_ies = NULL; in handle_connect_timeout()
589 struct wilc_conn_info *conn_info = &hif_drv->conn_info; in host_int_parse_assoc_resp_info() local
605 conn_info); in host_int_parse_assoc_resp_info()
614 conn_info->conn_result(CONN_DISCONN_EVENT_CONN_RESP, mac_status, in host_int_parse_assoc_resp_info()
[all …]
Dcfg80211.c170 struct wilc_conn_info *conn_info = &wfi_drv->conn_info; in cfg_connect_result() local
176 u16 connect_status = conn_info->status; in cfg_connect_result()
190 memcpy(priv->associated_bss, conn_info->bssid, in cfg_connect_result()
194 cfg80211_connect_bss(dev, conn_info->bssid, vif->bss, in cfg_connect_result()
195 conn_info->req_ies, in cfg_connect_result()
196 conn_info->req_ies_len, in cfg_connect_result()
197 conn_info->resp_ies, in cfg_connect_result()
198 conn_info->resp_ies_len, in cfg_connect_result()
423 wfi_drv->conn_info.security = security; in connect()
424 wfi_drv->conn_info.auth_type = auth_type; in connect()
[all …]
/kernel/linux/linux-5.10/include/media/
Dcec.h239 struct cec_connector_info conn_info; member
304 const struct cec_connector_info *conn_info);
389 void cec_fill_conn_info_from_drm(struct cec_connector_info *conn_info,
427 const struct cec_connector_info *conn_info) in cec_s_conn_info() argument
432 cec_fill_conn_info_from_drm(struct cec_connector_info *conn_info, in cec_fill_conn_info_from_drm() argument
435 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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/net/bluetooth/
Dhci_sock.h153 struct hci_conn_info conn_info[]; member
159 struct hci_conn_info conn_info[]; member
/kernel/linux/linux-5.10/drivers/nfc/st-nci/
Dse.c532 struct nci_conn_info *conn_info; in st_nci_hci_network_init() local
556 conn_info = ndev->hci_dev->conn_info; in st_nci_hci_network_init()
557 if (!conn_info) in st_nci_hci_network_init()
589 ndev->hci_dev->conn_info->dest_params->id, in st_nci_hci_network_init()
593 ndev->hci_dev->conn_info->dest_params->id, in st_nci_hci_network_init()
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_iscsi_if.h216 struct qed_iscsi_params_offload *conn_info);
220 struct qed_iscsi_params_update *conn_info);
Dqed_fcoe_if.h144 struct qed_fcoe_params_offload *conn_info);
/kernel/linux/linux-5.10/drivers/gpu/drm/
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()
/kernel/linux/linux-5.10/drivers/scsi/qedf/
Dqedf_main.c1310 struct qed_fcoe_params_offload conn_info; in qedf_offload_connection() local
1330 memset(&conn_info, 0, sizeof(struct qed_fcoe_params_offload)); in qedf_offload_connection()
1333 conn_info.sq_pbl_addr = fcport->sq_pbl_dma; in qedf_offload_connection()
1335 conn_info.sq_curr_page_addr = (dma_addr_t)(*(u64 *)fcport->sq_pbl); in qedf_offload_connection()
1336 conn_info.sq_next_page_addr = in qedf_offload_connection()
1340 ether_addr_copy(conn_info.src_mac, qedf->data_src_addr); in qedf_offload_connection()
1342 ether_addr_copy(conn_info.dst_mac, qedf->ctlr.dest_addr); in qedf_offload_connection()
1344 conn_info.tx_max_fc_pay_len = fcport->rdata->maxframe_size; in qedf_offload_connection()
1345 conn_info.e_d_tov_timer_val = qedf->lport->e_d_tov; in qedf_offload_connection()
1346 conn_info.rec_tov_timer_val = 3; /* I think this is what E3 was */ in qedf_offload_connection()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.h344 struct brcmf_cfg80211_connect_info conn_info; member
430 return &cfg->conn_info; in cfg_to_conn()
Dcfg80211.c5663 struct brcmf_cfg80211_connect_info *conn_info = cfg_to_conn(cfg); in brcmf_clear_assoc_ies() local
5665 kfree(conn_info->req_ie); in brcmf_clear_assoc_ies()
5666 conn_info->req_ie = NULL; in brcmf_clear_assoc_ies()
5667 conn_info->req_ie_len = 0; in brcmf_clear_assoc_ies()
5668 kfree(conn_info->resp_ie); in brcmf_clear_assoc_ies()
5669 conn_info->resp_ie = NULL; in brcmf_clear_assoc_ies()
5670 conn_info->resp_ie_len = 0; in brcmf_clear_assoc_ies()
5816 struct brcmf_cfg80211_connect_info *conn_info = cfg_to_conn(cfg); in brcmf_get_assoc_ies() local
5842 conn_info->req_ie_len = req_len; in brcmf_get_assoc_ies()
5843 conn_info->req_ie = in brcmf_get_assoc_ies()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_hdmi_enc.c489 struct cec_connector_info conn_info; in sun4i_hdmi_bind() local
645 cec_fill_conn_info_from_drm(&conn_info, &hdmi->connector); in sun4i_hdmi_bind()
646 cec_s_conn_info(hdmi->cec_adap, &conn_info); in sun4i_hdmi_bind()

12