Home
last modified time | relevance | path

Searched refs:prsp (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/media/usb/as102/
Das10x_cmd.c21 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_turn_on() local
24 prsp = adap->rsp; in as10x_cmd_turn_on()
38 (uint8_t *) prsp, in as10x_cmd_turn_on()
39 sizeof(prsp->body.turn_on.rsp) + in as10x_cmd_turn_on()
47 error = as10x_rsp_parse(prsp, CONTROL_PROC_TURNON_RSP); in as10x_cmd_turn_on()
62 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_turn_off() local
65 prsp = adap->rsp; in as10x_cmd_turn_off()
79 (uint8_t *) prsp, in as10x_cmd_turn_off()
80 sizeof(prsp->body.turn_off.rsp) + HEADER_SIZE); in as10x_cmd_turn_off()
87 error = as10x_rsp_parse(prsp, CONTROL_PROC_TURNOFF_RSP); in as10x_cmd_turn_off()
[all …]
Das10x_cmd_stream.c22 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_add_PID_filter() local
25 prsp = adap->rsp; in as10x_cmd_add_PID_filter()
46 + HEADER_SIZE, (uint8_t *) prsp, in as10x_cmd_add_PID_filter()
47 sizeof(prsp->body.add_pid_filter.rsp) in as10x_cmd_add_PID_filter()
57 error = as10x_rsp_parse(prsp, CONTROL_PROC_SETFILTER_RSP); in as10x_cmd_add_PID_filter()
61 filter->idx = prsp->body.add_pid_filter.rsp.filter_id; in as10x_cmd_add_PID_filter()
79 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_del_PID_filter() local
82 prsp = adap->rsp; in as10x_cmd_del_PID_filter()
97 + HEADER_SIZE, (uint8_t *) prsp, in as10x_cmd_del_PID_filter()
98 sizeof(prsp->body.del_pid_filter.rsp) in as10x_cmd_del_PID_filter()
[all …]
Das10x_cmd_cfg.c27 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_get_context() local
30 prsp = adap->rsp; in as10x_cmd_get_context()
47 (uint8_t *) prsp, in as10x_cmd_get_context()
48 sizeof(prsp->body.context.rsp) in as10x_cmd_get_context()
59 error = as10x_context_rsp_parse(prsp, CONTROL_PROC_CONTEXT_RSP); in as10x_cmd_get_context()
63 *pvalue = le32_to_cpu((__force __le32)prsp->body.context.rsp.reg_val.u.value32); in as10x_cmd_get_context()
83 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_set_context() local
86 prsp = adap->rsp; in as10x_cmd_set_context()
105 (uint8_t *) prsp, in as10x_cmd_set_context()
106 sizeof(prsp->body.context.rsp) in as10x_cmd_set_context()
[all …]
Das10x_cmd.h513 int as10x_context_rsp_parse(struct as10x_cmd_t *prsp, uint16_t proc_id);
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c315 struct mbox_msghdr *prsp = mdev->mbase + irsp; in otx2_mbox_get_rsp() local
318 if (pmsg->id != prsp->id) in otx2_mbox_get_rsp()
321 return prsp; in otx2_mbox_get_rsp()
325 irsp = mbox->rx_start + prsp->next_msgoff; in otx2_mbox_get_rsp()
349 struct mbox_msghdr *prsp = mdev->mbase + irsp; in otx2_mbox_check_rsp_msgs() local
351 if (preq->id != prsp->id) { in otx2_mbox_check_rsp_msgs()
353 prsp->id, prsp->rc); in otx2_mbox_check_rsp_msgs()
356 if (prsp->rc) { in otx2_mbox_check_rsp_msgs()
357 rc = prsp->rc; in otx2_mbox_check_rsp_msgs()
359 prsp->id, prsp->rc); in otx2_mbox_check_rsp_msgs()
[all …]
/linux-6.6.21/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c257 nx_cardrsp_rx_ctx_t *prsp; in nx_fw_cmd_create_rx_ctx() local
297 prsp = addr; in nx_fw_cmd_create_rx_ctx()
361 &prsp->data[le32_to_cpu(prsp->rds_ring_offset)]); in nx_fw_cmd_create_rx_ctx()
363 for (i = 0; i < le16_to_cpu(prsp->num_rds_rings); i++) { in nx_fw_cmd_create_rx_ctx()
372 &prsp->data[le32_to_cpu(prsp->sds_ring_offset)]); in nx_fw_cmd_create_rx_ctx()
374 for (i = 0; i < le16_to_cpu(prsp->num_sds_rings); i++) { in nx_fw_cmd_create_rx_ctx()
386 recv_ctx->state = le32_to_cpu(prsp->host_ctx_state); in nx_fw_cmd_create_rx_ctx()
387 recv_ctx->context_id = le16_to_cpu(prsp->context_id); in nx_fw_cmd_create_rx_ctx()
388 recv_ctx->virt_port = prsp->virt_port; in nx_fw_cmd_create_rx_ctx()
391 dma_free_coherent(&adapter->pdev->dev, rsp_size, prsp, in nx_fw_cmd_create_rx_ctx()
[all …]
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c246 struct qlcnic_cardrsp_rx_ctx *prsp; in qlcnic_82xx_fw_cmd_create_rx_ctx() local
277 prsp = addr; in qlcnic_82xx_fw_cmd_create_rx_ctx()
352 &prsp->data[le32_to_cpu(prsp->rds_ring_offset)]); in qlcnic_82xx_fw_cmd_create_rx_ctx()
354 for (i = 0; i < le16_to_cpu(prsp->num_rds_rings); i++) { in qlcnic_82xx_fw_cmd_create_rx_ctx()
361 &prsp->data[le32_to_cpu(prsp->sds_ring_offset)]); in qlcnic_82xx_fw_cmd_create_rx_ctx()
363 for (i = 0; i < le16_to_cpu(prsp->num_sds_rings); i++) { in qlcnic_82xx_fw_cmd_create_rx_ctx()
375 recv_ctx->state = le32_to_cpu(prsp->host_ctx_state); in qlcnic_82xx_fw_cmd_create_rx_ctx()
376 recv_ctx->context_id = le16_to_cpu(prsp->context_id); in qlcnic_82xx_fw_cmd_create_rx_ctx()
377 recv_ctx->virt_port = prsp->virt_port; in qlcnic_82xx_fw_cmd_create_rx_ctx()
384 dma_free_coherent(&adapter->pdev->dev, rsp_size, prsp, in qlcnic_82xx_fw_cmd_create_rx_ctx()
[all …]
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_els.c170 struct lpfc_dmabuf *pcmd, *prsp, *pbuflist, *bmp; in lpfc_prep_els_iocb() local
223 prsp = kmalloc(sizeof(*prsp), GFP_KERNEL); in lpfc_prep_els_iocb()
224 if (prsp) in lpfc_prep_els_iocb()
225 prsp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, in lpfc_prep_els_iocb()
226 &prsp->phys); in lpfc_prep_els_iocb()
227 if (!prsp || !prsp->virt) in lpfc_prep_els_iocb()
229 INIT_LIST_HEAD(&prsp->list); in lpfc_prep_els_iocb()
231 prsp = NULL; in lpfc_prep_els_iocb()
276 bpl->addr_low = cpu_to_le32(putPaddrLow(prsp->phys)); in lpfc_prep_els_iocb()
277 bpl->addr_high = cpu_to_le32(putPaddrHigh(prsp->phys)); in lpfc_prep_els_iocb()
[all …]
Dlpfc_nportdisc.c171 struct lpfc_dmabuf *pcmd, *prsp; in lpfc_check_elscmpl_iocb() local
182 prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, in lpfc_check_elscmpl_iocb()
184 if (prsp) { in lpfc_check_elscmpl_iocb()
185 lp = (uint32_t *) prsp->virt; in lpfc_check_elscmpl_iocb()
1350 struct lpfc_dmabuf *pcmd, *prsp; in lpfc_cmpl_plogi_plogi_issue() local
1375 prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, list); in lpfc_cmpl_plogi_plogi_issue()
1376 if (!prsp) in lpfc_cmpl_plogi_plogi_issue()
1379 lp = (uint32_t *) prsp->virt; in lpfc_cmpl_plogi_plogi_issue()
Dlpfc_bsg.c557 struct lpfc_dmabuf *pcmd = NULL, *prsp = NULL; in lpfc_bsg_rport_els_cmp() local
588 prsp = (struct lpfc_dmabuf *)pcmd->list.next; in lpfc_bsg_rport_els_cmp()
600 prsp->virt, in lpfc_bsg_rport_els_cmp()
/linux-6.6.21/net/bluetooth/
Dsmp.c103 u8 prsp[7]; /* SMP Pairing Response */ member
957 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm()
986 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random()
1044 struct smp_cmd_pairing *rsp = (void *) &smp->prsp[1]; in smp_notify_keys()
1257 rsp = (void *) &smp->prsp[1]; in smp_distribute_keys()
1471 memcpy(io_cap, &smp->prsp[1], 3); in sc_dhkey_check()
1812 smp->prsp[0] = SMP_CMD_PAIRING_RSP; in smp_cmd_pairing_req()
1813 memcpy(&smp->prsp[1], &rsp, sizeof(rsp)); in smp_cmd_pairing_req()
1853 smp->prsp[0] = SMP_CMD_PAIRING_RSP; in smp_cmd_pairing_req()
1854 memcpy(&smp->prsp[1], &rsp, sizeof(rsp)); in smp_cmd_pairing_req()
[all …]
/linux-6.6.21/Documentation/scsi/
DChangeLog.lpfc1166 * Changed plogi_ndlp -> plogindlp, pos_tmp->postmp, pRsp->prsp,
1170 * Changed pBufList -> pbuflist, pRsp -> prsp, pCmd -> pcmd