Home
last modified time | relevance | path

Searched refs:conn_req (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/net/caif/
H A Dchnl_net.c46 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()
391 priv->conn_req.protocol = CAIFPROTO_DATAGRAM; in ipcaif_net_setup()
392 priv->conn_req.link_selector = CAIF_LINK_HIGH_BANDW; in ipcaif_net_setup()
393 priv->conn_req.priority = CAIF_PRIO_LOW; in ipcaif_net_setup()
395 priv->conn_req.sockaddr.u.dgm.connection_id = UNDEF_CONNID; in ipcaif_net_setup()
408 priv->conn_req.sockaddr.u.dgm.connection_id) || in ipcaif_fill_info()
410 priv->conn_req.sockaddr.u.dgm.connection_id)) in ipcaif_fill_info()
[all …]
H A Dcaif_socket.c51 struct caif_connect_request conn_req; member
683 cf_sk->conn_req.link_selector = linksel; in setsockopt()
693 if (ol > sizeof(cf_sk->conn_req.param.data) || in setsockopt()
694 copy_from_sockptr(&cf_sk->conn_req.param.data, ov, ol)) { in setsockopt()
698 cf_sk->conn_req.param.size = ol; in setsockopt()
803 memcpy(&cf_sk->conn_req.sockaddr, uaddr, in caif_connect()
813 cf_sk->conn_req.priority = CAIF_PRIO_MAX; in caif_connect()
815 cf_sk->conn_req.priority = CAIF_PRIO_MIN; in caif_connect()
817 cf_sk->conn_req.priority = cf_sk->sk.sk_priority; in caif_connect()
820 cf_sk->conn_req.ifindex = cf_sk->sk.sk_bound_dev_if; in caif_connect()
[all …]
H A Dcfcnfg.c300 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, &param); in caif_connect_client()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dhtc.c597 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 Ddp.c944 struct ath11k_htc_svc_conn_req conn_req; in ath11k_dp_htt_connect() local
948 memset(&conn_req, 0, sizeof(conn_req)); in ath11k_dp_htt_connect()
951 conn_req.ep_ops.ep_tx_complete = ath11k_dp_htt_htc_tx_complete; in ath11k_dp_htt_connect()
952 conn_req.ep_ops.ep_rx_complete = ath11k_dp_htt_htc_t2h_msg_handler; in ath11k_dp_htt_connect()
955 conn_req.service_id = ATH11K_HTC_SVC_ID_HTT_DATA_MSG; in ath11k_dp_htt_connect()
957 status = ath11k_htc_connect_service(&dp->ab->htc, &conn_req, in ath11k_dp_htt_connect()
H A Dhtc.h304 struct ath11k_htc_svc_conn_req *conn_req,
H A Dwmi.c8795 struct ath11k_htc_svc_conn_req conn_req; in ath11k_connect_pdev_htc_service() local
8798 memset(&conn_req, 0, sizeof(conn_req)); in ath11k_connect_pdev_htc_service()
8802 conn_req.ep_ops.ep_tx_complete = ath11k_wmi_htc_tx_complete; in ath11k_connect_pdev_htc_service()
8803 conn_req.ep_ops.ep_rx_complete = ath11k_wmi_tlv_op_rx; in ath11k_connect_pdev_htc_service()
8804 conn_req.ep_ops.ep_tx_credits = ath11k_wmi_op_ep_tx_credits; in ath11k_connect_pdev_htc_service()
8807 conn_req.service_id = svc_id[pdev_idx]; in ath11k_connect_pdev_htc_service()
8809 status = ath11k_htc_connect_service(&ab->htc, &conn_req, &conn_resp); in ath11k_connect_pdev_htc_service()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dhtc.c552 struct ath12k_htc_svc_conn_req *conn_req, in ath12k_htc_connect_service() argument
570 if (conn_req->service_id == ATH12K_HTC_SVC_ID_RSVD_CTRL) { in ath12k_htc_connect_service()
579 conn_req->service_id); in ath12k_htc_connect_service()
583 htc_service_name(conn_req->service_id)); in ath12k_htc_connect_service()
602 if (!(conn_req->service_id == ATH12K_HTC_SVC_ID_WMI_CONTROL || in ath12k_htc_connect_service()
603 conn_req->service_id == ATH12K_HTC_SVC_ID_WMI_CONTROL_MAC1 || in ath12k_htc_connect_service()
604 conn_req->service_id == ATH12K_HTC_SVC_ID_WMI_CONTROL_MAC2)) { in ath12k_htc_connect_service()
610 req_msg->msg_svc_id |= le32_encode_bits(conn_req->service_id, in ath12k_htc_connect_service()
684 ep->service_id = conn_req->service_id; in ath12k_htc_connect_service()
685 ep->max_tx_queue_depth = conn_req->max_send_queue_depth; in ath12k_htc_connect_service()
[all …]
H A Ddp.c1068 struct ath12k_htc_svc_conn_req conn_req = {0}; in ath12k_dp_htt_connect() local
1072 conn_req.ep_ops.ep_tx_complete = ath12k_dp_htt_htc_tx_complete; in ath12k_dp_htt_connect()
1073 conn_req.ep_ops.ep_rx_complete = ath12k_dp_htt_htc_t2h_msg_handler; in ath12k_dp_htt_connect()
1076 conn_req.service_id = ATH12K_HTC_SVC_ID_HTT_DATA_MSG; in ath12k_dp_htt_connect()
1078 status = ath12k_htc_connect_service(&dp->ab->htc, &conn_req, in ath12k_dp_htt_connect()
H A Dhtc.h308 struct ath12k_htc_svc_conn_req *conn_req,
H A Dwmi.c6756 struct ath12k_htc_svc_conn_req conn_req = {}; in ath12k_connect_pdev_htc_service() local
6760 conn_req.ep_ops.ep_tx_complete = ath12k_wmi_htc_tx_complete; in ath12k_connect_pdev_htc_service()
6761 conn_req.ep_ops.ep_rx_complete = ath12k_wmi_op_rx; in ath12k_connect_pdev_htc_service()
6762 conn_req.ep_ops.ep_tx_credits = ath12k_wmi_op_ep_tx_credits; in ath12k_connect_pdev_htc_service()
6765 conn_req.service_id = svc_id[pdev_idx]; in ath12k_connect_pdev_htc_service()
6767 status = ath12k_htc_connect_service(&ab->htc, &conn_req, &conn_resp); in ath12k_connect_pdev_htc_service()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dhtc.c1013 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 Dhtt.c289 struct ath10k_htc_svc_conn_req conn_req; in ath10k_htt_connect() local
295 memset(&conn_req, 0, sizeof(conn_req)); in ath10k_htt_connect()
298 conn_req.ep_ops.ep_tx_complete = ath10k_htt_htc_tx_complete; in ath10k_htt_connect()
299 conn_req.ep_ops.ep_rx_complete = ath10k_htt_htc_t2h_msg_handler; in ath10k_htt_connect()
300 conn_req.ep_ops.ep_tx_credits = ath10k_htt_op_ep_tx_credits; in ath10k_htt_connect()
303 conn_req.service_id = ATH10K_HTC_SVC_ID_HTT_DATA_MSG; in ath10k_htt_connect()
305 status = ath10k_htc_connect_service(&htt->ar->htc, &conn_req, in ath10k_htt_connect()
H A Dhtc.h412 struct ath10k_htc_svc_conn_req *conn_req,
H A Dwmi.c6409 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()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dhtc_pipe.c1219 struct htc_service_connect_req *conn_req, in ath6kl_htc_pipe_conn_service() argument
1235 if (conn_req->svc_id == 0) { in ath6kl_htc_pipe_conn_service()
1241 if (conn_req->svc_id == HTC_CTRL_RSVD_SVC) { in ath6kl_htc_pipe_conn_service()
1248 tx_alloc = htc_get_credit_alloc(target, conn_req->svc_id); in ath6kl_htc_pipe_conn_service()
1277 conn_msg->svc_id = cpu_to_le16(conn_req->svc_id); in ath6kl_htc_pipe_conn_service()
1278 conn_msg->conn_flags = cpu_to_le16(conn_req->conn_flags & in ath6kl_htc_pipe_conn_service()
1285 if (conn_req->conn_flags & in ath6kl_htc_pipe_conn_service()
1365 ep->svc_id = conn_req->svc_id; /* this marks ep in use */ in ath6kl_htc_pipe_conn_service()
1366 ep->max_txq_depth = conn_req->max_txq_depth; in ath6kl_htc_pipe_conn_service()
1375 ep->ep_cb = conn_req->ep_cb; in ath6kl_htc_pipe_conn_service()
H A Dhtc_mbox.c2422 struct htc_service_connect_req *conn_req, in ath6kl_htc_mbox_conn_service() argument
2437 target, conn_req->svc_id); in ath6kl_htc_mbox_conn_service()
2439 if (conn_req->svc_id == HTC_CTRL_RSVD_SVC) { in ath6kl_htc_mbox_conn_service()
2453 conn_msg->svc_id = cpu_to_le16(conn_req->svc_id); in ath6kl_htc_mbox_conn_service()
2454 conn_msg->conn_flags = cpu_to_le16(conn_req->conn_flags); in ath6kl_htc_mbox_conn_service()
2518 endpoint->svc_id = conn_req->svc_id; in ath6kl_htc_mbox_conn_service()
2520 endpoint->max_txq_depth = conn_req->max_txq_depth; in ath6kl_htc_mbox_conn_service()
2522 endpoint->ep_cb = conn_req->ep_cb; in ath6kl_htc_mbox_conn_service()
2523 endpoint->cred_dist.svc_id = conn_req->svc_id; in ath6kl_htc_mbox_conn_service()
2537 if (conn_req->max_rxmsg_sz) { in ath6kl_htc_mbox_conn_service()
[all …]
/openbmc/linux/include/net/caif/
H A Dcaif_dev.h68 struct caif_connect_request *conn_req,
/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dhbm.c361 struct hbm_client_connect_request conn_req; in ishtp_hbm_cl_connect_req() local
362 const size_t len = sizeof(conn_req); in ishtp_hbm_cl_connect_req()
365 ishtp_hbm_cl_hdr(cl, CLIENT_CONNECT_REQ_CMD, &conn_req, len); in ishtp_hbm_cl_connect_req()
367 return ishtp_write_message(dev, &hdr, &conn_req); in ishtp_hbm_cl_connect_req()
/openbmc/linux/drivers/rapidio/
H A Drio_cm.c207 struct conn_req { struct
379 struct conn_req *req; in riocm_req_handler()
1076 struct conn_req *req; in riocm_ch_accept()
1140 req = list_first_entry(&ch->accept_queue, struct conn_req, node); in riocm_ch_accept()