Home
last modified time | relevance | path

Searched refs:rsp (Results 1 – 13 of 13) sorted by relevance

/net/ncsi/
Dncsi-rsp.c34 h = (struct ncsi_rsp_pkt_hdr *)skb_network_header(nr->rsp); in ncsi_validate_rsp_pkt()
63 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_cis() local
69 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_cis()
70 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc); in ncsi_rsp_handler_cis()
75 id = NCSI_CHANNEL_INDEX(rsp->rsp.common.channel); in ncsi_rsp_handler_cis()
84 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_sp() local
92 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_sp()
93 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_sp()
99 id = NCSI_PACKAGE_INDEX(rsp->rsp.common.channel); in ncsi_rsp_handler_sp()
110 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_dp() local
[all …]
Dncsi-pkt.h48 struct ncsi_rsp_pkt_hdr rsp; /* Response header */ member
156 struct ncsi_rsp_pkt_hdr rsp; /* Response header */ member
166 struct ncsi_rsp_pkt_hdr rsp; /* Response header */ member
179 struct ncsi_rsp_pkt_hdr rsp; /* Response header */ member
197 struct ncsi_rsp_pkt_hdr rsp; /* Response header */ member
218 struct ncsi_rsp_pkt_hdr rsp; /* Response header */ member
265 struct ncsi_rsp_pkt_hdr rsp; /* Response header */ member
278 struct ncsi_rsp_pkt_hdr rsp; /* Response header */ member
293 struct ncsi_rsp_pkt_hdr rsp; /* Response header */ member
300 struct ncsi_rsp_pkt_hdr rsp; /* Response header */ member
DMakefile4 obj-$(CONFIG_NET_NCSI) += ncsi-cmd.o ncsi-rsp.o ncsi-aen.o ncsi-manage.o
Dncsi-manage.c468 struct sk_buff *cmd, *rsp; in ncsi_free_request() local
479 rsp = nr->rsp; in ncsi_free_request()
481 nr->rsp = NULL; in ncsi_free_request()
491 consume_skb(rsp); in ncsi_free_request()
517 if (nr->rsp || !nr->cmd) { in ncsi_request_timeout()
Dinternal.h220 struct sk_buff *rsp; /* Associated NCSI response packet */ member
/net/bluetooth/
Da2mp.c142 struct a2mp_discov_rsp *rsp; in a2mp_discover_req() local
177 len = num_ctrl * sizeof(struct a2mp_cl) + sizeof(*rsp); in a2mp_discover_req()
178 rsp = kmalloc(len, GFP_ATOMIC); in a2mp_discover_req()
179 if (!rsp) { in a2mp_discover_req()
184 rsp->mtu = cpu_to_le16(L2CAP_A2MP_DEFAULT_MTU); in a2mp_discover_req()
185 rsp->ext_feat = 0; in a2mp_discover_req()
187 __a2mp_add_cl(mgr, rsp->cl); in a2mp_discover_req()
191 a2mp_send(mgr, A2MP_DISCOVER_RSP, hdr->ident, len, rsp); in a2mp_discover_req()
193 kfree(rsp); in a2mp_discover_req()
200 struct a2mp_discov_rsp *rsp = (void *) skb->data; in a2mp_discover_rsp() local
[all …]
Dl2cap_core.c680 struct l2cap_le_conn_rsp rsp; in l2cap_chan_le_connect_reject() local
690 rsp.dcid = cpu_to_le16(chan->scid); in l2cap_chan_le_connect_reject()
691 rsp.mtu = cpu_to_le16(chan->imtu); in l2cap_chan_le_connect_reject()
692 rsp.mps = cpu_to_le16(chan->mps); in l2cap_chan_le_connect_reject()
693 rsp.credits = cpu_to_le16(chan->rx_credits); in l2cap_chan_le_connect_reject()
694 rsp.result = cpu_to_le16(result); in l2cap_chan_le_connect_reject()
696 l2cap_send_cmd(conn, chan->ident, L2CAP_LE_CONN_RSP, sizeof(rsp), in l2cap_chan_le_connect_reject()
697 &rsp); in l2cap_chan_le_connect_reject()
703 struct l2cap_conn_rsp rsp; in l2cap_chan_connect_reject() local
713 rsp.scid = cpu_to_le16(chan->dcid); in l2cap_chan_connect_reject()
[all …]
Dsmp.c645 struct smp_cmd_pairing *rsp, __u8 authreq) in build_pairing_cmd() argument
697 if (rsp == NULL) { in build_pairing_cmd()
709 rsp->io_capability = conn->hcon->io_capability; in build_pairing_cmd()
710 rsp->oob_flag = oob_flag; in build_pairing_cmd()
711 rsp->max_key_size = SMP_DEV(hdev)->max_key_size; in build_pairing_cmd()
712 rsp->init_key_dist = req->init_key_dist & remote_dist; in build_pairing_cmd()
713 rsp->resp_key_dist = req->resp_key_dist & local_dist; in build_pairing_cmd()
714 rsp->auth_req = (authreq & AUTH_REQ_MASK(hdev)); in build_pairing_cmd()
716 smp->remote_key_dist = rsp->init_key_dist; in build_pairing_cmd()
1028 struct smp_cmd_pairing *rsp = (void *) &smp->prsp[1]; in smp_notify_keys() local
[all …]
/net/nfc/nci/
Drsp.c42 struct nci_core_reset_rsp *rsp = (void *) skb->data; in nci_core_reset_rsp_packet() local
44 pr_debug("status 0x%x\n", rsp->status); in nci_core_reset_rsp_packet()
46 if (rsp->status == NCI_STATUS_OK) { in nci_core_reset_rsp_packet()
47 ndev->nci_ver = rsp->nci_ver; in nci_core_reset_rsp_packet()
49 rsp->nci_ver, rsp->config_status); in nci_core_reset_rsp_packet()
52 nci_req_complete(ndev, rsp->status); in nci_core_reset_rsp_packet()
124 struct nci_core_set_config_rsp *rsp = (void *) skb->data; in nci_core_set_config_rsp_packet() local
126 pr_debug("status 0x%x\n", rsp->status); in nci_core_set_config_rsp_packet()
128 nci_req_complete(ndev, rsp->status); in nci_core_set_config_rsp_packet()
230 struct nci_core_conn_create_rsp *rsp; in nci_core_conn_create_rsp_packet() local
[all …]
DMakefile7 nci-objs := core.o data.o lib.o ntf.o rsp.o hci.o
Dcore.c1388 if (!op || !op->rsp) in nci_op_rsp_packet()
1391 return op->rsp(ndev, skb); in nci_op_rsp_packet()
/net/bluetooth/bnep/
Dcore.c81 struct bnep_control_rsp rsp; in bnep_send_rsp() local
82 rsp.type = BNEP_CONTROL; in bnep_send_rsp()
83 rsp.ctrl = ctrl; in bnep_send_rsp()
84 rsp.resp = htons(resp); in bnep_send_rsp()
85 return bnep_send(s, &rsp, sizeof(rsp)); in bnep_send_rsp()
/net/caif/
Dcfctrl.c360 struct cfctrl_request_info rsp, *req; in cfctrl_recv() local
498 rsp.cmd = cmd; in cfctrl_recv()
499 rsp.param = linkparam; in cfctrl_recv()
501 req = cfctrl_remove_req(cfctrl, &rsp); in cfctrl_recv()