/linux/net/caif/ |
H A D | chnl_net.c | 47 struct caif_connect_request conn_req; member 97 if (priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP) in chnl_recv_cb() 219 if (priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP) in chnl_net_start_xmit() 256 result = caif_connect_client(dev_net(dev), &priv->conn_req, in chnl_net_open() 390 priv->conn_req.protocol = CAIFPROTO_DATAGRAM; in ipcaif_net_setup() 391 priv->conn_req.link_selector = CAIF_LINK_HIGH_BANDW; in ipcaif_net_setup() 392 priv->conn_req.priority = CAIF_PRIO_LOW; in ipcaif_net_setup() 394 priv->conn_req.sockaddr.u.dgm.connection_id = UNDEF_CONNID; in ipcaif_net_setup() 407 priv->conn_req.sockaddr.u.dgm.connection_id) || in ipcaif_fill_info() 409 priv->conn_req.sockaddr.u.dgm.connection_id)) in ipcaif_fill_info() [all …]
|
H A D | caif_socket.c | 52 struct caif_connect_request conn_req; member 684 cf_sk->conn_req.link_selector = linksel; in setsockopt() 694 if (ol > sizeof(cf_sk->conn_req.param.data) || in setsockopt() 695 copy_from_sockptr(&cf_sk->conn_req.param.data, ov, ol)) { in setsockopt() 699 cf_sk->conn_req.param.size = ol; in setsockopt() 804 memcpy(&cf_sk->conn_req.sockaddr, uaddr, in caif_connect() 814 cf_sk->conn_req.priority = CAIF_PRIO_MAX; in caif_connect() 816 cf_sk->conn_req.priority = CAIF_PRIO_MIN; in caif_connect() 818 cf_sk->conn_req.priority = cf_sk->sk.sk_priority; in caif_connect() 821 cf_sk->conn_req.ifindex = cf_sk->sk.sk_bound_dev_if; in caif_connect() [all …]
|
H A D | cfcnfg.c | 300 int caif_connect_client(struct net *net, struct caif_connect_request *conn_req, in caif_connect_client() argument 311 err = caif_connect_req_to_link_param(cfg, conn_req, ¶m); in caif_connect_client()
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | htc.c | 597 struct ath11k_htc_svc_conn_req *conn_req, in ath11k_htc_connect_service() argument 615 if (conn_req->service_id == ATH11K_HTC_SVC_ID_RSVD_CTRL) { in ath11k_htc_connect_service() 624 conn_req->service_id); in ath11k_htc_connect_service() 628 htc_service_name(conn_req->service_id)); in ath11k_htc_connect_service() 647 if (!(conn_req->service_id == ATH11K_HTC_SVC_ID_WMI_CONTROL || in ath11k_htc_connect_service() 648 conn_req->service_id == ATH11K_HTC_SVC_ID_WMI_CONTROL_MAC1 || in ath11k_htc_connect_service() 649 conn_req->service_id == ATH11K_HTC_SVC_ID_WMI_CONTROL_MAC2)) { in ath11k_htc_connect_service() 661 conn_req->service_id); in ath11k_htc_connect_service() 735 ep->service_id = conn_req->service_id; in ath11k_htc_connect_service() 736 ep->max_tx_queue_depth = conn_req->max_send_queue_depth; in ath11k_htc_connect_service() [all …]
|
H A D | dp.c | 958 struct ath11k_htc_svc_conn_req conn_req; in ath11k_dp_htt_connect() local 962 memset(&conn_req, 0, sizeof(conn_req)); in ath11k_dp_htt_connect() 965 conn_req.ep_ops.ep_tx_complete = ath11k_dp_htt_htc_tx_complete; in ath11k_dp_htt_connect() 966 conn_req.ep_ops.ep_rx_complete = ath11k_dp_htt_htc_t2h_msg_handler; in ath11k_dp_htt_connect() 969 conn_req.service_id = ATH11K_HTC_SVC_ID_HTT_DATA_MSG; in ath11k_dp_htt_connect() 971 status = ath11k_htc_connect_service(&dp->ab->htc, &conn_req, in ath11k_dp_htt_connect()
|
H A D | htc.h | 289 struct ath11k_htc_svc_conn_req *conn_req,
|
H A D | wmi.c | 8855 struct ath11k_htc_svc_conn_req conn_req; in ath11k_connect_pdev_htc_service() local 8858 memset(&conn_req, 0, sizeof(conn_req)); in ath11k_connect_pdev_htc_service() 8862 conn_req.ep_ops.ep_tx_complete = ath11k_wmi_htc_tx_complete; in ath11k_connect_pdev_htc_service() 8863 conn_req.ep_ops.ep_rx_complete = ath11k_wmi_tlv_op_rx; in ath11k_connect_pdev_htc_service() 8864 conn_req.ep_ops.ep_tx_credits = ath11k_wmi_op_ep_tx_credits; in ath11k_connect_pdev_htc_service() 8867 conn_req.service_id = svc_id[pdev_idx]; in ath11k_connect_pdev_htc_service() 8869 status = ath11k_htc_connect_service(&ab->htc, &conn_req, &conn_resp); in ath11k_connect_pdev_htc_service()
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | htc.c | 558 struct ath12k_htc_svc_conn_req *conn_req, in ath12k_htc_connect_service() argument 576 if (conn_req->service_id == ATH12K_HTC_SVC_ID_RSVD_CTRL) { in ath12k_htc_connect_service() 585 conn_req->service_id); in ath12k_htc_connect_service() 589 htc_service_name(conn_req->service_id)); in ath12k_htc_connect_service() 608 if (!(conn_req->service_id == ATH12K_HTC_SVC_ID_WMI_CONTROL || in ath12k_htc_connect_service() 609 conn_req->service_id == ATH12K_HTC_SVC_ID_WMI_CONTROL_MAC1 || in ath12k_htc_connect_service() 610 conn_req->service_id == ATH12K_HTC_SVC_ID_WMI_CONTROL_MAC2)) { in ath12k_htc_connect_service() 616 req_msg->msg_svc_id |= le32_encode_bits(conn_req->service_id, in ath12k_htc_connect_service() 690 ep->service_id = conn_req->service_id; in ath12k_htc_connect_service() 691 ep->max_tx_queue_depth = conn_req->max_send_queue_depth; in ath12k_htc_connect_service() [all …]
|
H A D | htc.h | 308 struct ath12k_htc_svc_conn_req *conn_req,
|
H A D | dp.c | 1081 struct ath12k_htc_svc_conn_req conn_req = {0}; in ath12k_dp_htt_connect() local 1085 conn_req.ep_ops.ep_tx_complete = ath12k_dp_htt_htc_tx_complete; in ath12k_dp_htt_connect() 1086 conn_req.ep_ops.ep_rx_complete = ath12k_dp_htt_htc_t2h_msg_handler; in ath12k_dp_htt_connect() 1089 conn_req.service_id = ATH12K_HTC_SVC_ID_HTT_DATA_MSG; in ath12k_dp_htt_connect() 1091 status = ath12k_htc_connect_service(&dp->ab->htc, &conn_req, in ath12k_dp_htt_connect()
|
H A D | wmi.c | 7290 struct ath12k_htc_svc_conn_req conn_req = {}; in ath12k_connect_pdev_htc_service() local 7294 conn_req.ep_ops.ep_tx_complete = ath12k_wmi_htc_tx_complete; in ath12k_connect_pdev_htc_service() 7295 conn_req.ep_ops.ep_rx_complete = ath12k_wmi_op_rx; in ath12k_connect_pdev_htc_service() 7296 conn_req.ep_ops.ep_tx_credits = ath12k_wmi_op_ep_tx_credits; in ath12k_connect_pdev_htc_service() 7299 conn_req.service_id = svc_id[pdev_idx]; in ath12k_connect_pdev_htc_service() 7301 status = ath12k_htc_connect_service(&ab->htc, &conn_req, &conn_resp); in ath12k_connect_pdev_htc_service()
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | htc.c | 1013 struct ath10k_htc_svc_conn_req *conn_req, in ath10k_htc_connect_service() argument 1032 if (conn_req->service_id == ATH10K_HTC_SVC_ID_RSVD_CTRL) { in ath10k_htc_connect_service() 1041 conn_req->service_id); in ath10k_htc_connect_service() 1045 htc_service_name(conn_req->service_id)); in ath10k_htc_connect_service() 1064 if (conn_req->service_id != ATH10K_HTC_SVC_ID_WMI_CONTROL) { in ath10k_htc_connect_service() 1071 req_msg->service_id = __cpu_to_le16(conn_req->service_id); in ath10k_htc_connect_service() 1139 ep->service_id = conn_req->service_id; in ath10k_htc_connect_service() 1140 ep->max_tx_queue_depth = conn_req->max_send_queue_depth; in ath10k_htc_connect_service() 1145 if (conn_req->service_id == ATH10K_HTC_SVC_ID_HTT_DATA_MSG && in ath10k_htc_connect_service() 1150 ep->ep_ops = conn_req->ep_ops; in ath10k_htc_connect_service() [all …]
|
H A D | htt.c | 290 struct ath10k_htc_svc_conn_req conn_req; in ath10k_htt_connect() local 296 memset(&conn_req, 0, sizeof(conn_req)); in ath10k_htt_connect() 299 conn_req.ep_ops.ep_tx_complete = ath10k_htt_htc_tx_complete; in ath10k_htt_connect() 300 conn_req.ep_ops.ep_rx_complete = ath10k_htt_htc_t2h_msg_handler; in ath10k_htt_connect() 301 conn_req.ep_ops.ep_tx_credits = ath10k_htt_op_ep_tx_credits; in ath10k_htt_connect() 304 conn_req.service_id = ATH10K_HTC_SVC_ID_HTT_DATA_MSG; in ath10k_htt_connect() 306 status = ath10k_htc_connect_service(&htt->ar->htc, &conn_req, in ath10k_htt_connect()
|
H A D | htc.h | 398 struct ath10k_htc_svc_conn_req *conn_req,
|
H A D | wmi.c | 6409 struct ath10k_htc_svc_conn_req conn_req; in ath10k_wmi_connect() local 6414 memset(&conn_req, 0, sizeof(conn_req)); in ath10k_wmi_connect() 6418 conn_req.ep_ops.ep_tx_complete = ath10k_wmi_htc_tx_complete; in ath10k_wmi_connect() 6419 conn_req.ep_ops.ep_rx_complete = ath10k_wmi_process_rx; in ath10k_wmi_connect() 6420 conn_req.ep_ops.ep_tx_credits = ath10k_wmi_op_ep_tx_credits; in ath10k_wmi_connect() 6423 conn_req.service_id = ATH10K_HTC_SVC_ID_WMI_CONTROL; in ath10k_wmi_connect() 6425 status = ath10k_htc_connect_service(&ar->htc, &conn_req, &conn_resp); in ath10k_wmi_connect()
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_pipe.c | 1218 struct htc_service_connect_req *conn_req, in ath6kl_htc_pipe_conn_service() argument 1234 if (conn_req->svc_id == 0) { in ath6kl_htc_pipe_conn_service() 1240 if (conn_req->svc_id == HTC_CTRL_RSVD_SVC) { in ath6kl_htc_pipe_conn_service() 1247 tx_alloc = htc_get_credit_alloc(target, conn_req->svc_id); in ath6kl_htc_pipe_conn_service() 1276 conn_msg->svc_id = cpu_to_le16(conn_req->svc_id); in ath6kl_htc_pipe_conn_service() 1277 conn_msg->conn_flags = cpu_to_le16(conn_req->conn_flags & in ath6kl_htc_pipe_conn_service() 1284 if (conn_req->conn_flags & in ath6kl_htc_pipe_conn_service() 1364 ep->svc_id = conn_req->svc_id; /* this marks ep in use */ in ath6kl_htc_pipe_conn_service() 1365 ep->max_txq_depth = conn_req->max_txq_depth; in ath6kl_htc_pipe_conn_service() 1374 ep->ep_cb = conn_req->ep_cb; in ath6kl_htc_pipe_conn_service()
|
H A D | htc_mbox.c | 2421 struct htc_service_connect_req *conn_req, in ath6kl_htc_mbox_conn_service() argument 2436 target, conn_req->svc_id); in ath6kl_htc_mbox_conn_service() 2438 if (conn_req->svc_id == HTC_CTRL_RSVD_SVC) { in ath6kl_htc_mbox_conn_service() 2452 conn_msg->svc_id = cpu_to_le16(conn_req->svc_id); in ath6kl_htc_mbox_conn_service() 2453 conn_msg->conn_flags = cpu_to_le16(conn_req->conn_flags); in ath6kl_htc_mbox_conn_service() 2517 endpoint->svc_id = conn_req->svc_id; in ath6kl_htc_mbox_conn_service() 2519 endpoint->max_txq_depth = conn_req->max_txq_depth; in ath6kl_htc_mbox_conn_service() 2521 endpoint->ep_cb = conn_req->ep_cb; in ath6kl_htc_mbox_conn_service() 2522 endpoint->cred_dist.svc_id = conn_req->svc_id; in ath6kl_htc_mbox_conn_service() 2536 if (conn_req->max_rxmsg_sz) { in ath6kl_htc_mbox_conn_service() [all …]
|
/linux/include/net/caif/ |
H A D | caif_dev.h | 68 struct caif_connect_request *conn_req,
|
/linux/drivers/hid/intel-ish-hid/ishtp/ |
H A D | hbm.c | 362 struct hbm_client_connect_request conn_req; in ishtp_hbm_cl_connect_req() local 363 const size_t len = sizeof(conn_req); in ishtp_hbm_cl_connect_req() 366 ishtp_hbm_cl_hdr(cl, CLIENT_CONNECT_REQ_CMD, &conn_req, len); in ishtp_hbm_cl_connect_req() 368 return ishtp_write_message(dev, &hdr, &conn_req); in ishtp_hbm_cl_connect_req()
|
/linux/drivers/rapidio/ |
H A D | rio_cm.c | 207 struct conn_req { struct 381 struct conn_req *req; in riocm_req_handler() 1078 struct conn_req *req; in riocm_ch_accept() 1142 req = list_first_entry(&ch->accept_queue, struct conn_req, node); in riocm_ch_accept()
|