/drivers/media/usb/as102/ |
D | as10x_cmd.c | 30 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_turn_on() local 33 prsp = adap->rsp; in as10x_cmd_turn_on() 47 (uint8_t *) prsp, in as10x_cmd_turn_on() 48 sizeof(prsp->body.turn_on.rsp) + in as10x_cmd_turn_on() 56 error = as10x_rsp_parse(prsp, CONTROL_PROC_TURNON_RSP); in as10x_cmd_turn_on() 71 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_turn_off() local 74 prsp = adap->rsp; in as10x_cmd_turn_off() 88 (uint8_t *) prsp, in as10x_cmd_turn_off() 89 sizeof(prsp->body.turn_off.rsp) + HEADER_SIZE); in as10x_cmd_turn_off() 96 error = as10x_rsp_parse(prsp, CONTROL_PROC_TURNOFF_RSP); in as10x_cmd_turn_off() [all …]
|
D | as10x_cmd_stream.c | 31 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_add_PID_filter() local 34 prsp = adap->rsp; in as10x_cmd_add_PID_filter() 55 + HEADER_SIZE, (uint8_t *) prsp, in as10x_cmd_add_PID_filter() 56 sizeof(prsp->body.add_pid_filter.rsp) in as10x_cmd_add_PID_filter() 66 error = as10x_rsp_parse(prsp, CONTROL_PROC_SETFILTER_RSP); in as10x_cmd_add_PID_filter() 70 filter->idx = prsp->body.add_pid_filter.rsp.filter_id; in as10x_cmd_add_PID_filter() 88 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_del_PID_filter() local 91 prsp = adap->rsp; in as10x_cmd_del_PID_filter() 106 + HEADER_SIZE, (uint8_t *) prsp, in as10x_cmd_del_PID_filter() 107 sizeof(prsp->body.del_pid_filter.rsp) in as10x_cmd_del_PID_filter() [all …]
|
D | as10x_cmd_cfg.c | 36 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_get_context() local 39 prsp = adap->rsp; in as10x_cmd_get_context() 56 (uint8_t *) prsp, in as10x_cmd_get_context() 57 sizeof(prsp->body.context.rsp) in as10x_cmd_get_context() 68 error = as10x_context_rsp_parse(prsp, CONTROL_PROC_CONTEXT_RSP); in as10x_cmd_get_context() 72 *pvalue = le32_to_cpu((__force __le32)prsp->body.context.rsp.reg_val.u.value32); in as10x_cmd_get_context() 92 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_set_context() local 95 prsp = adap->rsp; in as10x_cmd_set_context() 114 (uint8_t *) prsp, in as10x_cmd_set_context() 115 sizeof(prsp->body.context.rsp) in as10x_cmd_set_context() [all …]
|
D | as10x_cmd.h | 522 int as10x_context_rsp_parse(struct as10x_cmd_t *prsp, uint16_t proc_id);
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ctx.c | 277 nx_cardrsp_rx_ctx_t *prsp; in nx_fw_cmd_create_rx_ctx() local 317 prsp = addr; in nx_fw_cmd_create_rx_ctx() 381 &prsp->data[le32_to_cpu(prsp->rds_ring_offset)]); in nx_fw_cmd_create_rx_ctx() 383 for (i = 0; i < le16_to_cpu(prsp->num_rds_rings); i++) { in nx_fw_cmd_create_rx_ctx() 392 &prsp->data[le32_to_cpu(prsp->sds_ring_offset)]); in nx_fw_cmd_create_rx_ctx() 394 for (i = 0; i < le16_to_cpu(prsp->num_sds_rings); i++) { in nx_fw_cmd_create_rx_ctx() 406 recv_ctx->state = le32_to_cpu(prsp->host_ctx_state); in nx_fw_cmd_create_rx_ctx() 407 recv_ctx->context_id = le16_to_cpu(prsp->context_id); in nx_fw_cmd_create_rx_ctx() 408 recv_ctx->virt_port = prsp->virt_port; in nx_fw_cmd_create_rx_ctx() 411 pci_free_consistent(adapter->pdev, rsp_size, prsp, cardrsp_phys_addr); in nx_fw_cmd_create_rx_ctx() [all …]
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 249 struct qlcnic_cardrsp_rx_ctx *prsp; in qlcnic_82xx_fw_cmd_create_rx_ctx() local 280 prsp = addr; in qlcnic_82xx_fw_cmd_create_rx_ctx() 355 &prsp->data[le32_to_cpu(prsp->rds_ring_offset)]); in qlcnic_82xx_fw_cmd_create_rx_ctx() 357 for (i = 0; i < le16_to_cpu(prsp->num_rds_rings); i++) { in qlcnic_82xx_fw_cmd_create_rx_ctx() 364 &prsp->data[le32_to_cpu(prsp->sds_ring_offset)]); in qlcnic_82xx_fw_cmd_create_rx_ctx() 366 for (i = 0; i < le16_to_cpu(prsp->num_sds_rings); i++) { in qlcnic_82xx_fw_cmd_create_rx_ctx() 378 recv_ctx->state = le32_to_cpu(prsp->host_ctx_state); in qlcnic_82xx_fw_cmd_create_rx_ctx() 379 recv_ctx->context_id = le16_to_cpu(prsp->context_id); in qlcnic_82xx_fw_cmd_create_rx_ctx() 380 recv_ctx->virt_port = prsp->virt_port; in qlcnic_82xx_fw_cmd_create_rx_ctx() 387 dma_free_coherent(&adapter->pdev->dev, rsp_size, prsp, in qlcnic_82xx_fw_cmd_create_rx_ctx() [all …]
|
/drivers/scsi/lpfc/ |
D | lpfc_els.c | 157 struct lpfc_dmabuf *pcmd, *prsp, *pbuflist; in lpfc_prep_els_iocb() local 214 prsp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_prep_els_iocb() 215 if (prsp) in lpfc_prep_els_iocb() 216 prsp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, in lpfc_prep_els_iocb() 217 &prsp->phys); in lpfc_prep_els_iocb() 218 if (!prsp || !prsp->virt) in lpfc_prep_els_iocb() 220 INIT_LIST_HEAD(&prsp->list); in lpfc_prep_els_iocb() 222 prsp = NULL; in lpfc_prep_els_iocb() 291 bpl->addrLow = le32_to_cpu(putPaddrLow(prsp->phys)); in lpfc_prep_els_iocb() 292 bpl->addrHigh = le32_to_cpu(putPaddrHigh(prsp->phys)); in lpfc_prep_els_iocb() [all …]
|
D | lpfc_nportdisc.c | 167 struct lpfc_dmabuf *pcmd, *prsp; in lpfc_check_elscmpl_iocb() local 179 prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, in lpfc_check_elscmpl_iocb() 181 if (prsp) { in lpfc_check_elscmpl_iocb() 182 lp = (uint32_t *) prsp->virt; in lpfc_check_elscmpl_iocb() 1012 struct lpfc_dmabuf *pcmd, *prsp, *mp; in lpfc_cmpl_plogi_plogi_issue() local 1033 prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, list); in lpfc_cmpl_plogi_plogi_issue() 1034 if (!prsp) in lpfc_cmpl_plogi_plogi_issue() 1037 lp = (uint32_t *) prsp->virt; in lpfc_cmpl_plogi_plogi_issue()
|
D | lpfc_bsg.c | 576 struct lpfc_dmabuf *pcmd = NULL, *prsp = NULL; in lpfc_bsg_rport_els_cmp() local 603 prsp = (struct lpfc_dmabuf *)pcmd->list.next; in lpfc_bsg_rport_els_cmp() 615 prsp->virt, in lpfc_bsg_rport_els_cmp()
|