Home
last modified time | relevance | path

Searched refs:conn_req (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/net/caif/
H A Dchnl_net.c46 struct caif_connect_request conn_req; member
99 if (priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP) in chnl_recv_cb()
224 if (priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP) in chnl_net_start_xmit()
261 result = caif_connect_client(dev_net(dev), &priv->conn_req, in chnl_net_open()
396 priv->conn_req.protocol = CAIFPROTO_DATAGRAM; in ipcaif_net_setup()
397 priv->conn_req.link_selector = CAIF_LINK_HIGH_BANDW; in ipcaif_net_setup()
398 priv->conn_req.priority = CAIF_PRIO_LOW; in ipcaif_net_setup()
400 priv->conn_req.sockaddr.u.dgm.connection_id = UNDEF_CONNID; in ipcaif_net_setup()
413 priv->conn_req.sockaddr.u.dgm.connection_id) || in ipcaif_fill_info()
415 priv->conn_req in ipcaif_fill_info()
426 caif_netlink_parms(struct nlattr *data[], struct caif_connect_request *conn_req) caif_netlink_parms() argument
[all...]
H A Dcaif_socket.c50 struct caif_connect_request conn_req; member
692 cf_sk->conn_req.link_selector = linksel; in setsockopt()
702 if (ol > sizeof(cf_sk->conn_req.param.data) || in setsockopt()
703 copy_from_sockptr(&cf_sk->conn_req.param.data, ov, ol)) { in setsockopt()
707 cf_sk->conn_req.param.size = ol; in setsockopt()
812 memcpy(&cf_sk->conn_req.sockaddr, uaddr, in caif_connect()
822 cf_sk->conn_req.priority = CAIF_PRIO_MAX; in caif_connect()
824 cf_sk->conn_req.priority = CAIF_PRIO_MIN; in caif_connect()
826 cf_sk->conn_req.priority = cf_sk->sk.sk_priority; in caif_connect()
829 cf_sk->conn_req 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()
/kernel/linux/linux-6.6/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 in ipcaif_fill_info()
421 caif_netlink_parms(struct nlattr *data[], struct caif_connect_request *conn_req) caif_netlink_parms() argument
[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 in caif_connect()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Dhtc.c530 struct ath11k_htc_svc_conn_req *conn_req, in ath11k_htc_connect_service()
548 if (conn_req->service_id == ATH11K_HTC_SVC_ID_RSVD_CTRL) { in ath11k_htc_connect_service()
557 conn_req->service_id); in ath11k_htc_connect_service()
561 htc_service_name(conn_req->service_id)); in ath11k_htc_connect_service()
580 if (!(conn_req->service_id == ATH11K_HTC_SVC_ID_WMI_CONTROL || in ath11k_htc_connect_service()
581 conn_req->service_id == ATH11K_HTC_SVC_ID_WMI_CONTROL_MAC1 || in ath11k_htc_connect_service()
582 conn_req->service_id == ATH11K_HTC_SVC_ID_WMI_CONTROL_MAC2)) { in ath11k_htc_connect_service()
589 conn_req->service_id); in ath11k_htc_connect_service()
663 ep->service_id = conn_req->service_id; in ath11k_htc_connect_service()
664 ep->max_tx_queue_depth = conn_req in ath11k_htc_connect_service()
529 ath11k_htc_connect_service(struct ath11k_htc *htc, struct ath11k_htc_svc_conn_req *conn_req, struct ath11k_htc_svc_conn_resp *conn_resp) ath11k_htc_connect_service() argument
726 struct ath11k_htc_svc_conn_req conn_req; ath11k_htc_init() local
[all...]
H A Ddp.c920 struct ath11k_htc_svc_conn_req conn_req; in ath11k_dp_htt_connect() local
924 memset(&conn_req, 0, sizeof(conn_req)); in ath11k_dp_htt_connect()
927 conn_req.ep_ops.ep_tx_complete = ath11k_dp_htt_htc_tx_complete; in ath11k_dp_htt_connect()
928 conn_req.ep_ops.ep_rx_complete = ath11k_dp_htt_htc_t2h_msg_handler; in ath11k_dp_htt_connect()
931 conn_req.service_id = ATH11K_HTC_SVC_ID_HTT_DATA_MSG; in ath11k_dp_htt_connect()
933 status = ath11k_htc_connect_service(&dp->ab->htc, &conn_req, in ath11k_dp_htt_connect()
H A Dhtc.h305 struct ath11k_htc_svc_conn_req *conn_req,
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dhtt.c136 struct ath10k_htc_svc_conn_req conn_req; in ath10k_htt_connect() local
142 memset(&conn_req, 0, sizeof(conn_req)); in ath10k_htt_connect()
145 conn_req.ep_ops.ep_tx_complete = ath10k_htt_htc_tx_complete; in ath10k_htt_connect()
146 conn_req.ep_ops.ep_rx_complete = ath10k_htt_htc_t2h_msg_handler; in ath10k_htt_connect()
147 conn_req.ep_ops.ep_tx_credits = ath10k_htt_op_ep_tx_credits; in ath10k_htt_connect()
150 conn_req.service_id = ATH10K_HTC_SVC_ID_HTT_DATA_MSG; in ath10k_htt_connect()
152 status = ath10k_htc_connect_service(&htt->ar->htc, &conn_req, in ath10k_htt_connect()
H A Dhtc.c994 struct ath10k_htc_svc_conn_req *conn_req, in ath10k_htc_connect_service()
1013 if (conn_req->service_id == ATH10K_HTC_SVC_ID_RSVD_CTRL) { in ath10k_htc_connect_service()
1022 conn_req->service_id); in ath10k_htc_connect_service()
1026 htc_service_name(conn_req->service_id)); in ath10k_htc_connect_service()
1045 if (conn_req->service_id != ATH10K_HTC_SVC_ID_WMI_CONTROL) { in ath10k_htc_connect_service()
1052 req_msg->service_id = __cpu_to_le16(conn_req->service_id); in ath10k_htc_connect_service()
1120 ep->service_id = conn_req->service_id; in ath10k_htc_connect_service()
1121 ep->max_tx_queue_depth = conn_req->max_send_queue_depth; in ath10k_htc_connect_service()
1126 if (conn_req->service_id == ATH10K_HTC_SVC_ID_HTT_DATA_MSG && in ath10k_htc_connect_service()
1131 ep->ep_ops = conn_req in ath10k_htc_connect_service()
993 ath10k_htc_connect_service(struct ath10k_htc *htc, struct ath10k_htc_svc_conn_req *conn_req, struct ath10k_htc_svc_conn_resp *conn_resp) ath10k_htc_connect_service() argument
1184 struct ath10k_htc_svc_conn_req conn_req; ath10k_htc_pktlog_connect() local
1274 struct ath10k_htc_svc_conn_req conn_req; ath10k_htc_init() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Dhtc.c552 struct ath12k_htc_svc_conn_req *conn_req, in ath12k_htc_connect_service()
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 in ath12k_htc_connect_service()
551 ath12k_htc_connect_service(struct ath12k_htc *htc, struct ath12k_htc_svc_conn_req *conn_req, struct ath12k_htc_svc_conn_resp *conn_resp) ath12k_htc_connect_service() argument
747 struct ath12k_htc_svc_conn_req conn_req = { }; ath12k_htc_init() local
[all...]
H A Dhtc.h308 struct ath12k_htc_svc_conn_req *conn_req,
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dhtc.c596 struct ath11k_htc_svc_conn_req *conn_req, in ath11k_htc_connect_service()
614 if (conn_req->service_id == ATH11K_HTC_SVC_ID_RSVD_CTRL) { in ath11k_htc_connect_service()
623 conn_req->service_id); in ath11k_htc_connect_service()
627 htc_service_name(conn_req->service_id)); in ath11k_htc_connect_service()
646 if (!(conn_req->service_id == ATH11K_HTC_SVC_ID_WMI_CONTROL || in ath11k_htc_connect_service()
647 conn_req->service_id == ATH11K_HTC_SVC_ID_WMI_CONTROL_MAC1 || in ath11k_htc_connect_service()
648 conn_req->service_id == ATH11K_HTC_SVC_ID_WMI_CONTROL_MAC2)) { in ath11k_htc_connect_service()
660 conn_req->service_id); in ath11k_htc_connect_service()
734 ep->service_id = conn_req->service_id; in ath11k_htc_connect_service()
735 ep->max_tx_queue_depth = conn_req in ath11k_htc_connect_service()
595 ath11k_htc_connect_service(struct ath11k_htc *htc, struct ath11k_htc_svc_conn_req *conn_req, struct ath11k_htc_svc_conn_resp *conn_resp) ath11k_htc_connect_service() argument
800 struct ath11k_htc_svc_conn_req conn_req; ath11k_htc_init() local
[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.h303 struct ath11k_htc_svc_conn_req *conn_req,
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dhtc.c1012 struct ath10k_htc_svc_conn_req *conn_req, in ath10k_htc_connect_service()
1031 if (conn_req->service_id == ATH10K_HTC_SVC_ID_RSVD_CTRL) { in ath10k_htc_connect_service()
1040 conn_req->service_id); in ath10k_htc_connect_service()
1044 htc_service_name(conn_req->service_id)); in ath10k_htc_connect_service()
1063 if (conn_req->service_id != ATH10K_HTC_SVC_ID_WMI_CONTROL) { in ath10k_htc_connect_service()
1070 req_msg->service_id = __cpu_to_le16(conn_req->service_id); in ath10k_htc_connect_service()
1138 ep->service_id = conn_req->service_id; in ath10k_htc_connect_service()
1139 ep->max_tx_queue_depth = conn_req->max_send_queue_depth; in ath10k_htc_connect_service()
1144 if (conn_req->service_id == ATH10K_HTC_SVC_ID_HTT_DATA_MSG && in ath10k_htc_connect_service()
1149 ep->ep_ops = conn_req in ath10k_htc_connect_service()
1011 ath10k_htc_connect_service(struct ath10k_htc *htc, struct ath10k_htc_svc_conn_req *conn_req, struct ath10k_htc_svc_conn_resp *conn_resp) ath10k_htc_connect_service() argument
1202 struct ath10k_htc_svc_conn_req conn_req; ath10k_htc_pktlog_connect() local
1292 struct ath10k_htc_svc_conn_req conn_req; ath10k_htc_init() local
[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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Dhtc_pipe.c1219 struct htc_service_connect_req *conn_req, in ath6kl_htc_pipe_conn_service()
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 in ath6kl_htc_pipe_conn_service()
1218 ath6kl_htc_pipe_conn_service(struct htc_target *target, struct htc_service_connect_req *conn_req, struct htc_service_connect_resp *conn_resp) ath6kl_htc_pipe_conn_service() argument
[all...]
H A Dhtc_mbox.c2422 struct htc_service_connect_req *conn_req, in ath6kl_htc_mbox_conn_service()
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 in ath6kl_htc_mbox_conn_service()
2421 ath6kl_htc_mbox_conn_service(struct htc_target *target, struct htc_service_connect_req *conn_req, struct htc_service_connect_resp *conn_resp) ath6kl_htc_mbox_conn_service() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/
H A Dhtc_pipe.c1219 struct htc_service_connect_req *conn_req, in ath6kl_htc_pipe_conn_service()
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 in ath6kl_htc_pipe_conn_service()
1218 ath6kl_htc_pipe_conn_service(struct htc_target *target, struct htc_service_connect_req *conn_req, struct htc_service_connect_resp *conn_resp) ath6kl_htc_pipe_conn_service() argument
[all...]
H A Dhtc_mbox.c2422 struct htc_service_connect_req *conn_req, in ath6kl_htc_mbox_conn_service()
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 in ath6kl_htc_mbox_conn_service()
2421 ath6kl_htc_mbox_conn_service(struct htc_target *target, struct htc_service_connect_req *conn_req, struct htc_service_connect_resp *conn_resp) ath6kl_htc_mbox_conn_service() argument
[all...]
/kernel/linux/linux-5.10/include/net/caif/
H A Dcaif_dev.h68 struct caif_connect_request *conn_req,
/kernel/linux/linux-6.6/include/net/caif/
H A Dcaif_dev.h68 struct caif_connect_request *conn_req,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()

Completed in 28 milliseconds

12