/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 in ipcaif_fill_info() 421 caif_netlink_parms(struct nlattr * data[],struct caif_connect_request * conn_req) caif_netlink_parms() argument [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 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 in ath11k_htc_connect_service() 801 struct ath11k_htc_svc_conn_req conn_req; ath11k_htc_init() local [all...] |
H A D | dp.c | 947 struct ath11k_htc_svc_conn_req conn_req; in ath11k_dp_htt_connect() local 951 memset(&conn_req, 0, sizeof(conn_req)); in ath11k_dp_htt_connect() 954 conn_req.ep_ops.ep_tx_complete = ath11k_dp_htt_htc_tx_complete; in ath11k_dp_htt_connect() 955 conn_req.ep_ops.ep_rx_complete = ath11k_dp_htt_htc_t2h_msg_handler; in ath11k_dp_htt_connect() 958 conn_req.service_id = ATH11K_HTC_SVC_ID_HTT_DATA_MSG; in ath11k_dp_htt_connect() 960 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 | 8893 struct ath11k_htc_svc_conn_req conn_req; in ath11k_connect_pdev_htc_service() local 8896 memset(&conn_req, 0, sizeof(conn_req)); in ath11k_connect_pdev_htc_service() 8900 conn_req.ep_ops.ep_tx_complete = ath11k_wmi_htc_tx_complete; in ath11k_connect_pdev_htc_service() 8901 conn_req.ep_ops.ep_rx_complete = ath11k_wmi_tlv_op_rx; in ath11k_connect_pdev_htc_service() 8902 conn_req.ep_ops.ep_tx_credits = ath11k_wmi_op_ep_tx_credits; in ath11k_connect_pdev_htc_service() 8905 conn_req.service_id = svc_id[pdev_idx]; in ath11k_connect_pdev_htc_service() 8907 status = ath11k_htc_connect_service(&ab->htc, &conn_req, &conn_resp); in ath11k_connect_pdev_htc_service()
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | htc.c | 1016 struct ath10k_htc_svc_conn_req *conn_req, in ath10k_htc_connect_service() argument 1035 if (conn_req->service_id == ATH10K_HTC_SVC_ID_RSVD_CTRL) { in ath10k_htc_connect_service() 1044 conn_req->service_id); in ath10k_htc_connect_service() 1048 htc_service_name(conn_req->service_id)); in ath10k_htc_connect_service() 1067 if (conn_req->service_id != ATH10K_HTC_SVC_ID_WMI_CONTROL) { in ath10k_htc_connect_service() 1074 req_msg->service_id = __cpu_to_le16(conn_req->service_id); in ath10k_htc_connect_service() 1142 ep->service_id = conn_req->service_id; in ath10k_htc_connect_service() 1143 ep->max_tx_queue_depth = conn_req->max_send_queue_depth; in ath10k_htc_connect_service() 1148 if (conn_req->service_id == ATH10K_HTC_SVC_ID_HTT_DATA_MSG && in ath10k_htc_connect_service() 1153 ep->ep_ops = conn_req in ath10k_htc_connect_service() 1206 struct ath10k_htc_svc_conn_req conn_req; ath10k_htc_pktlog_connect() local 1296 struct ath10k_htc_svc_conn_req conn_req; ath10k_htc_init() local [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,
|
/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 in ath6kl_htc_pipe_conn_service() [all...] |
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 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/net/wireless/ath/ath12k/ |
H A D | htc.h | 308 struct ath12k_htc_svc_conn_req *conn_req,
|
H A D | wmi.c | 9787 struct ath12k_htc_svc_conn_req conn_req = {}; in ath12k_connect_pdev_htc_service() local 9791 conn_req.ep_ops.ep_tx_complete = ath12k_wmi_htc_tx_complete; in ath12k_connect_pdev_htc_service() 9792 conn_req.ep_ops.ep_rx_complete = ath12k_wmi_op_rx; in ath12k_connect_pdev_htc_service() 9793 conn_req.ep_ops.ep_tx_credits = ath12k_wmi_op_ep_tx_credits; in ath12k_connect_pdev_htc_service() 9796 conn_req.service_id = svc_id[pdev_idx]; in ath12k_connect_pdev_htc_service() 9798 status = ath12k_htc_connect_service(&ab->htc, &conn_req, &conn_resp); in ath12k_connect_pdev_htc_service()
|
/linux/drivers/rapidio/ |
H A D | rio_cm.c | 201 struct conn_req { struct 375 struct conn_req *req; in riocm_req_handler() 1075 struct conn_req *req; in riocm_ch_accept() 1139 req = list_first_entry(&ch->accept_queue, struct conn_req, node); in riocm_ch_accept() 202 nodeconn_req global() argument 203 destidconn_req global() argument 204 chanconn_req global() argument 205 cmdevconn_req global() argument
|