Home
last modified time | relevance | path

Searched refs:bpl (Results 1 – 25 of 47) sorted by relevance

12

/linux/drivers/block/
H A Dswim_asm.S70 bpl 6f
120 bpl .Lsignal_nonyb
128 bpl .Lsignal_nonyb
136 bpl .Lsignal_nonyb
144 bpl .Lsignal_nonyb
152 bpl .Lsignal_nonyb
160 bpl .Lsignal_nonyb
229 bpl .Ldata_exit
237 bpl .Ldata_exit
/linux/drivers/media/pci/cx88/
H A Dcx88-core.c72 unsigned int bpl, unsigned int padding, in cx88_risc_field() argument
98 if (bpl <= sg_dma_len(sg) - offset) { in cx88_risc_field()
101 RISC_EOL | bpl); in cx88_risc_field()
103 offset += bpl; in cx88_risc_field()
106 todo = bpl; in cx88_risc_field()
133 unsigned int bpl, unsigned int padding, unsigned int lines) in cx88_risc_buffer() argument
150 instructions = fields * (1 + ((bpl + padding) * lines) / in cx88_risc_buffer()
164 bpl, padding, lines, 0, true); in cx88_risc_buffer()
167 bpl, padding, lines, 0, in cx88_risc_buffer()
178 struct scatterlist *sglist, unsigned int bpl, in cx88_risc_databuffer() argument
[all …]
H A Dcx88-dsp.c243 unsigned int bpl = srch->fifo_size / AUD_RDS_LINES; in read_rds_samples() local
244 unsigned int spl = bpl / 4; in read_rds_samples()
248 u32 offset = (current_address - srch->fifo_start + bpl); in read_rds_samples()
262 offset = offset % (AUD_RDS_LINES * bpl); in read_rds_samples()
H A Dcx88.h320 unsigned int bpl; member
625 unsigned int bpl, unsigned int padding, unsigned int lines);
628 struct scatterlist *sglist, unsigned int bpl,
635 unsigned int bpl, u32 risc);
/linux/drivers/media/pci/bt8xx/
H A Dbttv-risc.c37 unsigned int offset, unsigned int bpl, in bttv_risc_packed() argument
51 instructions += (1 + ((bpl + padding) * store_lines) in bttv_risc_packed()
64 BT848_RISC_EOL | bpl); in bttv_risc_packed()
77 if (bpl <= sg_dma_len(sg)-offset) { in bttv_risc_packed()
80 BT848_RISC_EOL|bpl); in bttv_risc_packed()
82 offset+=bpl; in bttv_risc_packed()
85 todo = bpl; in bttv_risc_packed()
511 unsigned int bpl = 2044; /* max. vbipack */ in bttv_buffer_risc_vbi() local
512 unsigned int padding = VBI_BPL - bpl; in bttv_buffer_risc_vbi()
529 r = bttv_risc_packed(btv, &buf->top, list, 0, bpl, padding, in bttv_buffer_risc_vbi()
[all …]
/linux/drivers/media/pci/cx23885/
H A Dcx23885-alsa.c164 cx23885_sram_channel_setup(chip->dev, audio_ch, buf->bpl, in cx23885_start_audio_dma()
168 cx_write(AUD_INT_A_LNGTH, buf->bpl); in cx23885_start_audio_dma()
178 buf->bpl, cx_read(audio_ch->cmds_start+12)>>1, in cx23885_start_audio_dma()
179 chip->num_periods, buf->bpl * chip->num_periods); in cx23885_start_audio_dma()
333 unsigned int bpl = chip->dev-> in snd_cx23885_pcm_open() local
335 bpl &= ~7; /* must be multiple of 8 */ in snd_cx23885_pcm_open()
336 runtime->hw.period_bytes_min = bpl; in snd_cx23885_pcm_open()
337 runtime->hw.period_bytes_max = bpl; in snd_cx23885_pcm_open()
381 buf->bpl = chip->period_size; in snd_cx23885_hw_params()
/linux/drivers/scsi/lpfc/
H A Dlpfc_ct.c163 struct ulp_bde64 *bpl; in lpfc_ct_reject_event() local
196 bpl = (struct ulp_bde64 *)bmp->virt; in lpfc_ct_reject_event()
197 memset(bpl, 0, sizeof(struct ulp_bde64)); in lpfc_ct_reject_event()
198 bpl->addrHigh = le32_to_cpu(putPaddrHigh(mp->phys)); in lpfc_ct_reject_event()
199 bpl->addrLow = le32_to_cpu(putPaddrLow(mp->phys)); in lpfc_ct_reject_event()
200 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_ct_reject_event()
201 bpl->tus.f.bdeSize = (LPFC_CT_PREAMBLE - 4); in lpfc_ct_reject_event()
202 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_ct_reject_event()
489 lpfc_alloc_ct_rsp(struct lpfc_hba *phba, __be16 cmdcode, struct ulp_bde64 *bpl, in lpfc_alloc_ct_rsp() argument
671 struct ulp_bde64 *bpl = (struct ulp_bde64 *) bmp->virt; lpfc_ct_cmd() local
1892 struct ulp_bde64 *bpl; lpfc_ns_cmd() local
3681 struct ulp_bde64 *bpl; lpfc_vmid_cmd() local
[all...]
H A Dlpfc_scsi.c251 struct ulp_bde64 *bpl; in lpfc_new_scsi_buf_s3() local
303 bpl = (struct ulp_bde64 *)psb->dma_sgl; in lpfc_new_scsi_buf_s3()
314 bpl[0].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
315 bpl[0].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
316 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
317 bpl[0].tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_new_scsi_buf_s3()
318 bpl[0].tus.w = le32_to_cpu(bpl[0].tus.w); in lpfc_new_scsi_buf_s3()
321 bpl[1].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_rsp)); in lpfc_new_scsi_buf_s3()
322 bpl[ in lpfc_new_scsi_buf_s3()
817 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl; lpfc_scsi_prep_dma_buf_s3() local
1541 lpfc_bg_setup_bpl(struct lpfc_hba * phba,struct scsi_cmnd * sc,struct ulp_bde64 * bpl,int datasegcnt) lpfc_bg_setup_bpl() argument
1681 lpfc_bg_setup_bpl_prot(struct lpfc_hba * phba,struct scsi_cmnd * sc,struct ulp_bde64 * bpl,int datacnt,int protcnt) lpfc_bg_setup_bpl_prot() argument
2527 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl; lpfc_bg_scsi_prep_dma_buf_s3() local
[all...]
H A Dlpfc_bsg.c159 int outbound_buffers, struct ulp_bde64 *bpl, in lpfc_alloc_bsg_buffers() argument
202 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_alloc_bsg_buffers()
204 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_alloc_bsg_buffers()
205 bpl->addrLow = le32_to_cpu(putPaddrLow(mp->phys)); in lpfc_alloc_bsg_buffers()
206 bpl->addrHigh = le32_to_cpu(putPaddrHigh(mp->phys)); in lpfc_alloc_bsg_buffers()
207 bpl->tus.f.bdeSize = (uint16_t) in lpfc_alloc_bsg_buffers()
210 bytes_left -= bpl->tus.f.bdeSize; in lpfc_alloc_bsg_buffers()
211 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_alloc_bsg_buffers()
212 bpl++; in lpfc_alloc_bsg_buffers()
396 struct ulp_bde64 *bpl = NULL; in lpfc_bsg_send_mgmt_cmd() local
[all …]
/linux/drivers/media/pci/cx25821/
H A Dcx25821.h117 unsigned int bpl; member
391 const struct sram_channel *ch, unsigned int bpl,
401 unsigned int bpl,
406 unsigned int bpl,
421 unsigned int bpl, u32 risc);
/linux/drivers/media/platform/renesas/
H A Drenesas-ceu.c560 unsigned int bpl, unsigned int szimage) in ceu_update_plane_sizes() argument
565 if (plane->bytesperline < bpl || plane->bytesperline > CEU_MAX_BPL) in ceu_update_plane_sizes()
566 plane->bytesperline = bpl; in ceu_update_plane_sizes()
581 unsigned int bpl, szimage; in ceu_calc_plane_sizes() local
589 bpl = pix->width * ceu_fmt->bpp / 8; in ceu_calc_plane_sizes()
590 szimage = pix->height * bpl; in ceu_calc_plane_sizes()
591 ceu_update_plane_sizes(&pix->plane_fmt[0], bpl, szimage); in ceu_calc_plane_sizes()
597 bpl = pix->width; in ceu_calc_plane_sizes()
599 ceu_update_plane_sizes(&pix->plane_fmt[0], bpl, szimage); in ceu_calc_plane_sizes()
600 ceu_update_plane_sizes(&pix->plane_fmt[1], bpl, szimag in ceu_calc_plane_sizes()
[all...]
H A Drcar_jpu.c804 unsigned int i, bpl = 0; in __jpu_try_fmt() local
807 bpl = max(bpl, pix->plane_fmt[i].bytesperline); in __jpu_try_fmt()
809 bpl = clamp_t(unsigned int, bpl, w, JPU_WIDTH_MAX); in __jpu_try_fmt()
810 bpl = round_up(bpl, JPU_MEMALIGN); in __jpu_try_fmt()
813 pix->plane_fmt[i].bytesperline = bpl; in __jpu_try_fmt()
814 pix->plane_fmt[i].sizeimage = bpl * h * fmt->bpp[i] / 8; in __jpu_try_fmt()
1335 unsigned int w, h, bpl; in jpu_device_run() local
[all...]
/linux/include/media/tpg/
H A Dv4l2-tpg.h462 static inline void tpg_s_bytesperline(struct tpg_data *tpg, unsigned plane, unsigned bpl) in tpg_s_bytesperline() argument
467 tpg->bytesperline[plane] = bpl; in tpg_s_bytesperline()
472 unsigned plane_w = bpl * tpg->twopixelsize[p] / tpg->twopixelsize[0]; in tpg_s_bytesperline()
497 unsigned plane, unsigned bpl) in tpg_calc_line_width() argument
503 return bpl; in tpg_calc_line_width()
505 unsigned plane_w = bpl * tpg->twopixelsize[p] / tpg->twopixelsize[0]; in tpg_calc_line_width()
/linux/drivers/media/platform/raspberrypi/pisp_be/
H A Dpisp_be.c689 unsigned int bpl, size; in pisp_be_validate_config() local
707 bpl = config->config.tdn_output_format.stride; in pisp_be_validate_config()
708 size = bpl * config->config.tdn_output_format.height; in pisp_be_validate_config()
710 if (fmt->fmt.pix_mp.plane_fmt[0].bytesperline < bpl) { in pisp_be_validate_config()
711 dev_dbg(dev, "%s: bpl mismatch on tdn_output\n", in pisp_be_validate_config()
725 bpl = config->config.stitch_output_format.stride; in pisp_be_validate_config()
726 size = bpl * config->config.stitch_output_format.height; in pisp_be_validate_config()
728 if (fmt->fmt.pix_mp.plane_fmt[0].bytesperline < bpl) { in pisp_be_validate_config()
729 dev_dbg(dev, "%s: bpl mismatch on stitch_output\n", in pisp_be_validate_config()
751 bpl in pisp_be_validate_config()
1073 unsigned int bpl, plane_size; pispbe_set_plane_params() local
[all...]
/linux/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_v4l2.c123 unsigned int bpl; in _sun4i_csi_try_fmt() local
125 bpl = pix->width / hsub * _fmt->bpp[i] / 8; in _sun4i_csi_try_fmt()
126 pix->plane_fmt[i].bytesperline = bpl; in _sun4i_csi_try_fmt()
127 pix->plane_fmt[i].sizeimage = bpl * pix->height / vsub; in _sun4i_csi_try_fmt()
/linux/arch/arm/lib/
H A Dio-writesw-armv4.S46 bpl .Loutsw_8_lp
91 bpl 1b
H A Dio-readsw-armv4.S53 bpl .Linsw_8_lp
115 bpl 2b
H A Dclear_user.S37 bpl 1b
H A Dio-writesl.S25 bpl 1b
H A Dio-readsl.S25 bpl 1b
H A Dio-writesb.S61 bpl .Loutsb_16_lp
/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.c453 u32 bpl = plane_fmt->bytesperline; in gsc_try_fmt_mplane() local
456 (bpl == 0 || (bpl * 8 / fmt->depth[i]) < pix_mp->width)) in gsc_try_fmt_mplane()
457 bpl = pix_mp->width * fmt->depth[i] / 8; in gsc_try_fmt_mplane()
460 (bpl == 0 || bpl < pix_mp->width)) in gsc_try_fmt_mplane()
461 bpl = pix_mp->width; in gsc_try_fmt_mplane()
464 bpl /= 2; in gsc_try_fmt_mplane()
466 plane_fmt->bytesperline = bpl; in gsc_try_fmt_mplane()
470 pr_debug("[%d]: bpl in gsc_try_fmt_mplane()
[all...]
/linux/lib/crc/arm/
H A Dcrc32-core.S258 bpl .Laligned8\c
294 bpl .Laligned8\c
/linux/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c177 unsigned int height, width, alignment, sizeimage, size, bpl; in rotate_prepare_format() local
192 bpl = ALIGN(width * fmt->bpp[0], alignment); in rotate_prepare_format()
196 size = bpl * height; in rotate_prepare_format()
207 pix_fmt->bytesperline = bpl; in rotate_prepare_format()
/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c1351 u32 bpl = q_data->w; in s5p_jpeg_g_fmt() local
1354 bpl = (bpl * q_data->fmt->depth) >> 3; in s5p_jpeg_g_fmt()
1355 pix->bytesperline = bpl; in s5p_jpeg_g_fmt()
1454 u32 bpl = pix->bytesperline; in vidioc_try_fmt() local
1456 if (fmt->colplanes > 1 && bpl < pix->width) in vidioc_try_fmt()
1457 bpl = pix->width; /* planar */ in vidioc_try_fmt()
1460 (bpl << 3) / fmt->depth < pix->width) in vidioc_try_fmt()
1461 bpl = (pix->width * fmt->depth) >> 3; in vidioc_try_fmt()
1463 pix->bytesperline = bpl; in vidioc_try_fmt()
[all...]

12