Home
last modified time | relevance | path

Searched refs:bdl (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/sound/hda/
Dhdac_stream.c217 snd_hdac_stream_writel(azx_dev, SD_BDLPL, (u32)azx_dev->bdl.addr); in snd_hdac_stream_setup()
220 upper_32_bits(azx_dev->bdl.addr)); in snd_hdac_stream_setup()
361 __le32 *bdl = *bdlp; in setup_bdle() local
372 bdl[0] = cpu_to_le32((u32)addr); in setup_bdle()
373 bdl[1] = cpu_to_le32(upper_32_bits(addr)); in setup_bdle()
383 bdl[2] = cpu_to_le32(chunk); in setup_bdle()
388 bdl[3] = (size || !with_ioc) ? 0 : cpu_to_le32(0x01); in setup_bdle()
389 bdl += 4; in setup_bdle()
393 *bdlp = bdl; in setup_bdle()
409 __le32 *bdl; in snd_hdac_stream_setup_periods() local
[all …]
Dhdac_controller.c584 BDL_SIZE, &s->bdl); in snd_hdac_bus_alloc_stream_pages()
614 if (s->bdl.area) in snd_hdac_bus_free_stream_pages()
615 snd_dma_free_pages(&s->bdl); in snd_hdac_bus_free_stream_pages()
/Linux-v5.4/sound/pci/lola/
Dlola_pcm.c309 __le32 *bdl = *bdlp; in setup_bdle() local
320 bdl[0] = cpu_to_le32((u32)addr); in setup_bdle()
321 bdl[1] = cpu_to_le32(upper_32_bits(addr)); in setup_bdle()
324 bdl[2] = cpu_to_le32(chunk); in setup_bdle()
329 bdl[3] = size ? 0 : cpu_to_le32(0x01); in setup_bdle()
330 bdl += 4; in setup_bdle()
334 *bdlp = bdl; in setup_bdle()
345 __le32 *bdl; in lola_setup_periods() local
352 bdl = (__le32 *)(pcm->bdl.area + LOLA_BDL_ENTRY_SIZE * str->index); in lola_setup_periods()
356 ofs = setup_bdle(substream, str, &bdl, ofs, period_bytes); in lola_setup_periods()
[all …]
Dlola.h306 struct snd_dma_buffer bdl; /* BDL buffer */ member
/Linux-v5.4/sound/soc/sof/intel/
Dhda-stream.c35 struct sof_intel_dsp_bdl *bdl = *bdlp; in hda_setup_bdle() local
48 bdl->addr_l = cpu_to_le32(lower_32_bits(addr)); in hda_setup_bdle()
49 bdl->addr_h = cpu_to_le32(upper_32_bits(addr)); in hda_setup_bdle()
59 bdl->size = cpu_to_le32(chunk); in hda_setup_bdle()
62 bdl->ioc = (size || !ioc) ? 0 : cpu_to_le32(0x01); in hda_setup_bdle()
63 bdl++; in hda_setup_bdle()
71 *bdlp = bdl; in hda_setup_bdle()
84 struct sof_intel_dsp_bdl *bdl; in hda_dsp_stream_setup_bdl() local
102 bdl = (struct sof_intel_dsp_bdl *)stream->bdl.area; in hda_dsp_stream_setup_bdl()
117 stream, &bdl, offset, in hda_dsp_stream_setup_bdl()
[all …]
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-sst-cldma.c80 __le32 *bdl = *bdlp; in skl_cldma_setup_bdle() local
87 bdl[0] = cpu_to_le32(lower_32_bits(addr)); in skl_cldma_setup_bdle()
88 bdl[1] = cpu_to_le32(upper_32_bits(addr)); in skl_cldma_setup_bdle()
90 bdl[2] = cpu_to_le32(ctx->cl_dev.bufsize); in skl_cldma_setup_bdle()
93 bdl[3] = (size || !with_ioc) ? 0 : cpu_to_le32(0x01); in skl_cldma_setup_bdle()
95 bdl += 4; in skl_cldma_setup_bdle()
325 __le32 *bdl; in skl_cldma_prepare() local
354 bdl = (__le32 *)ctx->cl_dev.dmab_bdl.area; in skl_cldma_prepare()
358 &bdl, ctx->cl_dev.bufsize, 1); in skl_cldma_prepare()
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_bsg.c358 rsp_size = rsp->un.genreq64.bdl.bdeSize; in lpfc_bsg_send_mgmt_cmd_cmp()
471 cmd->un.genreq64.bdl.ulpIoTag32 = 0; in lpfc_bsg_send_mgmt_cmd()
472 cmd->un.genreq64.bdl.addrHigh = putPaddrHigh(bmp->phys); in lpfc_bsg_send_mgmt_cmd()
473 cmd->un.genreq64.bdl.addrLow = putPaddrLow(bmp->phys); in lpfc_bsg_send_mgmt_cmd()
474 cmd->un.genreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_bsg_send_mgmt_cmd()
475 cmd->un.genreq64.bdl.bdeSize = in lpfc_bsg_send_mgmt_cmd()
621 rsp_size = rsp->un.elsreq64.bdl.bdeSize; in lpfc_bsg_rport_els_cmp()
1510 icmd->un.xseq64.bdl.ulpIoTag32 = 0; in lpfc_issue_ct_rsp()
1511 icmd->un.xseq64.bdl.addrHigh = putPaddrHigh(bmp->phys); in lpfc_issue_ct_rsp()
1512 icmd->un.xseq64.bdl.addrLow = putPaddrLow(bmp->phys); in lpfc_issue_ct_rsp()
[all …]
Dlpfc_scsi.c415 iocb->un.fcpi64.bdl.ulpIoTag32 = 0; in lpfc_new_scsi_buf_s3()
419 iocb->un.fcpi64.bdl.bdeFlags = BUFF_TYPE_BDE_IMMED; in lpfc_new_scsi_buf_s3()
420 iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
421 iocb->un.fcpi64.bdl.addrLow = offsetof(IOCB_t, in lpfc_new_scsi_buf_s3()
423 iocb->un.fcpi64.bdl.addrHigh = 0; in lpfc_new_scsi_buf_s3()
436 iocb->un.fcpi64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_new_scsi_buf_s3()
437 iocb->un.fcpi64.bdl.bdeSize = in lpfc_new_scsi_buf_s3()
439 iocb->un.fcpi64.bdl.addrLow = in lpfc_new_scsi_buf_s3()
441 iocb->un.fcpi64.bdl.addrHigh = in lpfc_new_scsi_buf_s3()
709 iocb->un.fcpi64.bdl.ulpIoTag32 = 0; in lpfc_get_scsi_buf_s4()
[all …]
Dlpfc_ct.c335 icmd->un.genreq64.bdl.ulpIoTag32 = 0; in lpfc_gen_req()
336 icmd->un.genreq64.bdl.addrHigh = putPaddrHigh(bmp->phys); in lpfc_gen_req()
337 icmd->un.genreq64.bdl.addrLow = putPaddrLow(bmp->phys); in lpfc_gen_req()
338 icmd->un.genreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_gen_req()
339 icmd->un.genreq64.bdl.bdeSize = (num_entry * sizeof(struct ulp_bde64)); in lpfc_gen_req()
769 irsp->un.genreq64.bdl.bdeSize); in lpfc_cmpl_ct_cmd_gid_ft()
774 (uint32_t) (irsp->un.genreq64.bdl.bdeSize)); in lpfc_cmpl_ct_cmd_gid_ft()
971 (uint32_t)(irsp->un.genreq64.bdl.bdeSize)); in lpfc_cmpl_ct_cmd_gid_pt()
Dlpfc_hw.h3831 ULP_BDL bdl; member
3849 ULP_BDL bdl; member
3867 ULP_BDL bdl; member
3917 ULP_BDL bdl; member
3924 ULP_BDL bdl; member
Dlpfc_sli.c9187 if (icmd->un.genreq64.bdl.bdeFlags == BUFF_TYPE_BLP_64) { in lpfc_sli4_bpl2sgl()
9188 numBdes = icmd->un.genreq64.bdl.bdeSize / in lpfc_sli4_bpl2sgl()
9238 } else if (icmd->un.genreq64.bdl.bdeFlags == BUFF_TYPE_BDE_64) { in lpfc_sli4_bpl2sgl()
9244 cpu_to_le32(icmd->un.genreq64.bdl.addrHigh); in lpfc_sli4_bpl2sgl()
9246 cpu_to_le32(icmd->un.genreq64.bdl.addrLow); in lpfc_sli4_bpl2sgl()
9251 cpu_to_le32(icmd->un.genreq64.bdl.bdeSize); in lpfc_sli4_bpl2sgl()
9311 if (iocbq->iocb.un.genreq64.bdl.bdeFlags == BUFF_TYPE_BLP_64) { in lpfc_sli4_iocb2wqe()
9312 numBdes = iocbq->iocb.un.genreq64.bdl.bdeSize / in lpfc_sli4_iocb2wqe()
9333 xmit_len = iocbq->iocb.un.fcpi64.bdl.bdeSize; in lpfc_sli4_iocb2wqe()
9637 numBdes = iocbq->iocb.un.genreq64.bdl.bdeSize / in lpfc_sli4_iocb2wqe()
[all …]
Dlpfc_els.c238 icmd->un.elsreq64.bdl.addrHigh = putPaddrHigh(pbuflist->phys); in lpfc_prep_els_iocb()
239 icmd->un.elsreq64.bdl.addrLow = putPaddrLow(pbuflist->phys); in lpfc_prep_els_iocb()
240 icmd->un.elsreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_prep_els_iocb()
241 icmd->un.elsreq64.bdl.bdeSize = (2 * sizeof(struct ulp_bde64)); in lpfc_prep_els_iocb()
252 icmd->un.xseq64.bdl.addrHigh = putPaddrHigh(pbuflist->phys); in lpfc_prep_els_iocb()
253 icmd->un.xseq64.bdl.addrLow = putPaddrLow(pbuflist->phys); in lpfc_prep_els_iocb()
254 icmd->un.xseq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_prep_els_iocb()
255 icmd->un.xseq64.bdl.bdeSize = sizeof(struct ulp_bde64); in lpfc_prep_els_iocb()
/Linux-v5.4/drivers/target/
Dtarget_core_pscsi.c653 u16 bdl; in pscsi_complete_cmd() local
663 bdl = buf[3]; in pscsi_complete_cmd()
665 bdl = get_unaligned_be16(&buf[6]); in pscsi_complete_cmd()
667 if (!bdl) in pscsi_complete_cmd()
/Linux-v5.4/include/sound/
Dhdaudio.h467 struct snd_dma_buffer bdl; /* BDL buffer */ member
/Linux-v5.4/drivers/tty/serial/
Dfsl_lpuart.c2157 unsigned char cr, bdh, bdl, brfa; in lpuart_console_get_options() local
2184 bdl = readb(sport->port.membase + UARTBDL); in lpuart_console_get_options()
2187 sbr |= bdl; in lpuart_console_get_options()