Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/pci/tw68/
Dtw68-risc.c43 unsigned int bpl, unsigned int padding, in tw68_risc_field() argument
69 if (bpl <= sg_dma_len(sg) - offset) { in tw68_risc_field()
72 /* (offset<<12) |*/ bpl); in tw68_risc_field()
74 offset += bpl; in tw68_risc_field()
82 todo = bpl; /* one full line to be done */ in tw68_risc_field()
141 unsigned int bpl, in tw68_risc_buffer() argument
159 instructions = fields * (1 + (((bpl + padding) * lines) / in tw68_risc_buffer()
170 bpl, padding, lines, true); in tw68_risc_buffer()
173 bpl, padding, lines, top_offset == UNSET); in tw68_risc_buffer()
Dtw68-video.c464 unsigned size, bpl; in tw68_buf_prepare() local
471 bpl = (dev->width * dev->fmt->depth) >> 3; in tw68_buf_prepare()
475 0, UNSET, bpl, 0, dev->height); in tw68_buf_prepare()
479 UNSET, 0, bpl, 0, dev->height); in tw68_buf_prepare()
483 0, bpl * (dev->height >> 1), in tw68_buf_prepare()
484 bpl, 0, dev->height >> 1); in tw68_buf_prepare()
488 bpl * (dev->height >> 1), 0, in tw68_buf_prepare()
489 bpl, 0, dev->height >> 1); in tw68_buf_prepare()
494 0, bpl, bpl, bpl, dev->height >> 1); in tw68_buf_prepare()
Dtw68.h230 unsigned int bottom_offset, unsigned int bpl,
/linux-4.1.27/drivers/media/pci/cx25821/
Dcx25821-video-upstream.c43 unsigned int bpl, u32 risc) in cx25821_sram_channel_setup_upstream() argument
56 bpl = (bpl + 7) & ~7; /* alignment */ in cx25821_sram_channel_setup_upstream()
58 lines = ch->fifo_size / bpl; in cx25821_sram_channel_setup_upstream()
67 cx_write(cdt + 16 * i, ch->fifo_start + bpl * i); in cx25821_sram_channel_setup_upstream()
90 cx_write(ch->cnt1_reg, (bpl >> 3) - 1); in cx25821_sram_channel_setup_upstream()
97 unsigned int bpl, u32 sync_line, in cx25821_update_riscprogram() argument
103 int dist_betwn_starts = bpl * 2; in cx25821_update_riscprogram()
114 *(rp++) = cpu_to_le32(RISC_READ | RISC_SOL | RISC_EOL | bpl); in cx25821_update_riscprogram()
130 unsigned int bpl, unsigned int lines, in cx25821_risc_field_upstream() argument
136 int dist_betwn_starts = bpl * 2; in cx25821_risc_field_upstream()
[all …]
Dcx25821-core.c440 unsigned int bpl, u32 risc) in cx25821_sram_channel_setup() argument
453 bpl = (bpl + 7) & ~7; /* alignment */ in cx25821_sram_channel_setup()
455 lines = ch->fifo_size / bpl; in cx25821_sram_channel_setup()
468 cx_write(cdt + 16 * i, ch->fifo_start + bpl * i); in cx25821_sram_channel_setup()
501 cx_write(ch->cnt1_reg, (bpl >> 3) - 1); in cx25821_sram_channel_setup()
508 unsigned int bpl, u32 risc) in cx25821_sram_channel_setup_audio() argument
521 bpl = (bpl + 7) & ~7; /* alignment */ in cx25821_sram_channel_setup_audio()
523 lines = ch->fifo_size / bpl; in cx25821_sram_channel_setup_audio()
536 cx_write(cdt + 16 * i, ch->fifo_start + bpl * i); in cx25821_sram_channel_setup_audio()
567 cx_write(ch->cnt1_reg, (bpl >> 3) - 1); in cx25821_sram_channel_setup_audio()
[all …]
Dcx25821-audio-upstream.c49 unsigned int bpl, u32 risc) in cx25821_sram_channel_setup_upstream_audio() argument
62 bpl = (bpl + 7) & ~7; /* alignment */ in cx25821_sram_channel_setup_upstream_audio()
64 lines = ch->fifo_size / bpl; in cx25821_sram_channel_setup_upstream_audio()
73 cx_write(cdt + 16 * i, ch->fifo_start + bpl * i); in cx25821_sram_channel_setup_upstream_audio()
105 unsigned int bpl, in cx25821_risc_field_upstream_audio() argument
115 *(rp++) = cpu_to_le32(RISC_READ | RISC_SOL | RISC_EOL | bpl); in cx25821_risc_field_upstream_audio()
138 unsigned int bpl, unsigned int lines) in cx25821_risc_buffer_upstream_audio() argument
179 bpl, fifo_enable); in cx25821_risc_buffer_upstream_audio()
364 int bpl) in cx25821_audio_upstream_buffer_prepare() argument
406 ret = cx25821_risc_buffer_upstream_audio(dev, dev->pci, bpl, in cx25821_audio_upstream_buffer_prepare()
Dcx25821-alsa.c65 unsigned int bpl; member
243 cx25821_sram_channel_setup_audio(chip->dev, audio_ch, buf->bpl, in _cx25821_start_audio_dma()
247 cx_write(AUD_A_LNGTH, buf->bpl); in _cx25821_start_audio_dma()
463 unsigned int bpl = 0; in snd_cx25821_pcm_open() local
482 bpl = cx25821_sram_channels[AUDIO_SRAM_CHANNEL].fifo_size / 3; in snd_cx25821_pcm_open()
483 bpl &= ~7; /* must be multiple of 8 */ in snd_cx25821_pcm_open()
485 if (bpl > AUDIO_LINE_SIZE) in snd_cx25821_pcm_open()
486 bpl = AUDIO_LINE_SIZE; in snd_cx25821_pcm_open()
488 runtime->hw.period_bytes_min = bpl; in snd_cx25821_pcm_open()
489 runtime->hw.period_bytes_max = bpl; in snd_cx25821_pcm_open()
[all …]
Dcx25821.h134 unsigned int bpl; member
410 const struct sram_channel *ch, unsigned int bpl,
420 unsigned int bpl,
425 unsigned int bpl,
440 unsigned int bpl, u32 risc);
453 unsigned int bpl, u32 risc);
Dcx25821-video.c83 cx25821_sram_channel_setup(dev, channel, buf->bpl, buf->risc.dma); in cx25821_start_video_dma()
172 buf->bpl = (chan->fmt->depth * chan->width) >> 3; in cx25821_buffer_prepare()
174 buf->bpl = (chan->fmt->depth >> 3) * chan->width; in cx25821_buffer_prepare()
176 if (vb2_plane_size(vb, 0) < chan->height * buf->bpl) in cx25821_buffer_prepare()
178 vb2_set_plane_payload(vb, 0, chan->height * buf->bpl); in cx25821_buffer_prepare()
182 bpl_local = buf->bpl; in cx25821_buffer_prepare()
184 bpl_local = buf->bpl; /* Default */ in cx25821_buffer_prepare()
198 buf->bpl, 0, chan->height); in cx25821_buffer_prepare()
203 buf->bpl, 0, chan->height); in cx25821_buffer_prepare()
218 0, buf->bpl * (chan->height >> 1), in cx25821_buffer_prepare()
[all …]
/linux-4.1.27/drivers/block/
Dswim_asm.S86 bpl header_exit
97 bpl signal_nonyb
105 bpl signal_nonyb
113 bpl signal_nonyb
121 bpl signal_nonyb
129 bpl signal_nonyb
137 bpl signal_nonyb
186 bpl data_exit
220 bpl data_exit
230 bpl data_exit
/linux-4.1.27/drivers/media/pci/cx88/
Dcx88-core.c78 unsigned int bpl, unsigned int padding, in cx88_risc_field() argument
104 if (bpl <= sg_dma_len(sg)-offset) { in cx88_risc_field()
106 *(rp++)=cpu_to_le32(RISC_WRITE|sol|RISC_EOL|bpl); in cx88_risc_field()
108 offset+=bpl; in cx88_risc_field()
111 todo = bpl; in cx88_risc_field()
138 unsigned int bpl, unsigned int padding, unsigned int lines) in cx88_risc_buffer() argument
153 instructions = fields * (1 + ((bpl + padding) * lines) / PAGE_SIZE + lines); in cx88_risc_buffer()
165 bpl, padding, lines, 0, true); in cx88_risc_buffer()
168 bpl, padding, lines, 0, top_offset == UNSET); in cx88_risc_buffer()
177 struct scatterlist *sglist, unsigned int bpl, in cx88_risc_databuffer() argument
[all …]
Dcx88-alsa.c63 unsigned int bpl; member
148 cx88_sram_channel_setup(chip->core, audio_ch, buf->bpl, buf->risc.dma); in _cx88_start_audio_dma()
151 cx_write(MO_AUDD_LNGTH, buf->bpl); in _cx88_start_audio_dma()
158 "byte buffer\n", buf->bpl, cx_read(audio_ch->cmds_start + 8)>>1, in _cx88_start_audio_dma()
159 chip->num_periods, buf->bpl * chip->num_periods); in _cx88_start_audio_dma()
442 unsigned int bpl = cx88_sram_channels[SRAM_CH25].fifo_size / 4; in snd_cx88_pcm_open() local
443 bpl &= ~7; /* must be multiple of 8 */ in snd_cx88_pcm_open()
444 runtime->hw.period_bytes_min = bpl; in snd_cx88_pcm_open()
445 runtime->hw.period_bytes_max = bpl; in snd_cx88_pcm_open()
490 buf->bpl = chip->period_size; in snd_cx88_hw_params()
Dcx88-dsp.c237 unsigned int bpl = srch->fifo_size/AUD_RDS_LINES; in read_rds_samples() local
238 unsigned int spl = bpl/4; in read_rds_samples()
242 u32 offset = (current_address - srch->fifo_start + bpl); in read_rds_samples()
256 offset = offset % (AUD_RDS_LINES*bpl); in read_rds_samples()
Dcx88-video.c367 buf->bpl, buf->risc.dma); in start_video_dma()
454 buf->bpl = core->width * dev->fmt->depth >> 3; in buffer_prepare()
456 if (vb2_plane_size(vb, 0) < core->height * buf->bpl) in buffer_prepare()
458 vb2_set_plane_payload(vb, 0, core->height * buf->bpl); in buffer_prepare()
464 buf->bpl, 0, core->height); in buffer_prepare()
469 buf->bpl, 0, core->height); in buffer_prepare()
474 0, buf->bpl * (core->height >> 1), in buffer_prepare()
475 buf->bpl, 0, in buffer_prepare()
481 buf->bpl * (core->height >> 1), 0, in buffer_prepare()
482 buf->bpl, 0, in buffer_prepare()
[all …]
Dcx88.h328 unsigned int bpl; member
632 unsigned int bpl, unsigned int padding, unsigned int lines);
635 struct scatterlist *sglist, unsigned int bpl,
642 unsigned int bpl, u32 risc);
/linux-4.1.27/drivers/media/pci/cx23885/
Dcx23885-alsa.c176 cx23885_sram_channel_setup(chip->dev, audio_ch, buf->bpl, in cx23885_start_audio_dma()
180 cx_write(AUD_INT_A_LNGTH, buf->bpl); in cx23885_start_audio_dma()
190 "byte buffer\n", buf->bpl, cx_read(audio_ch->cmds_start+12)>>1, in cx23885_start_audio_dma()
191 chip->num_periods, buf->bpl * chip->num_periods); in cx23885_start_audio_dma()
346 unsigned int bpl = chip->dev-> in snd_cx23885_pcm_open() local
348 bpl &= ~7; /* must be multiple of 8 */ in snd_cx23885_pcm_open()
349 runtime->hw.period_bytes_min = bpl; in snd_cx23885_pcm_open()
350 runtime->hw.period_bytes_max = bpl; in snd_cx23885_pcm_open()
394 buf->bpl = chip->period_size; in snd_cx23885_hw_params()
Dcx23885-core.c440 unsigned int bpl, u32 risc) in cx23885_sram_channel_setup() argument
458 bpl = (bpl + 7) & ~7; /* alignment */ in cx23885_sram_channel_setup()
460 lines = ch->fifo_size / bpl; in cx23885_sram_channel_setup()
472 ch->fifo_start + bpl*i); in cx23885_sram_channel_setup()
473 cx_write(cdt + 16*i, ch->fifo_start + bpl*i); in cx23885_sram_channel_setup()
499 cx_write(ch->cnt1_reg, (bpl >> 3) - 1); in cx23885_sram_channel_setup()
504 bpl, in cx23885_sram_channel_setup()
1060 unsigned int bpl, unsigned int padding, in cx23885_risc_field() argument
1090 if (bpl <= sg_dma_len(sg)-offset) { in cx23885_risc_field()
1092 *(rp++) = cpu_to_le32(RISC_WRITE|sol|RISC_EOL|bpl); in cx23885_risc_field()
[all …]
Dcx23885-video.c301 buf->bpl, buf->risc.dma); in cx23885_start_video_dma()
339 buf->bpl = (dev->width * dev->fmt->depth) >> 3; in buffer_prepare()
341 if (vb2_plane_size(vb, 0) < dev->height * buf->bpl) in buffer_prepare()
343 vb2_set_plane_payload(vb, 0, dev->height * buf->bpl); in buffer_prepare()
349 buf->bpl, 0, dev->height); in buffer_prepare()
354 buf->bpl, 0, dev->height); in buffer_prepare()
371 line0_offset = buf->bpl; in buffer_prepare()
378 line1_offset = buf->bpl; in buffer_prepare()
383 buf->bpl, buf->bpl, in buffer_prepare()
389 0, buf->bpl * (dev->height >> 1), in buffer_prepare()
[all …]
Dcx23885.h177 unsigned int bpl; member
323 unsigned int bpl; member
509 unsigned int bpl, u32 risc);
517 unsigned int bpl, unsigned int padding, unsigned int lines);
522 unsigned int bpl, unsigned int padding, unsigned int lines);
622 unsigned int bpl,
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-risc.c49 unsigned int offset, unsigned int bpl, in bttv_risc_packed() argument
63 instructions += (1 + ((bpl + padding) * store_lines) in bttv_risc_packed()
76 BT848_RISC_EOL | bpl); in bttv_risc_packed()
89 if (bpl <= sg_dma_len(sg)-offset) { in bttv_risc_packed()
92 BT848_RISC_EOL|bpl); in bttv_risc_packed()
94 offset+=bpl; in bttv_risc_packed()
97 todo = bpl; in bttv_risc_packed()
718 int bpl = (buf->fmt->depth >> 3) * buf->vb.width; in bttv_buffer_risc() local
719 int bpf = bpl * (buf->vb.height >> 1); in bttv_buffer_risc()
728 /* offset */ 0,bpl, in bttv_buffer_risc()
[all …]
Dbttv-vbi.c158 unsigned int bpl, padding, offset; in vbi_buffer_prepare() local
161 bpl = 2044; /* max. vbipack */ in vbi_buffer_prepare()
162 padding = VBI_BPL - bpl; in vbi_buffer_prepare()
167 /* offset */ 0, bpl, in vbi_buffer_prepare()
179 offset, bpl, in vbi_buffer_prepare()
Dbttvp.h252 unsigned int offset, unsigned int bpl,
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_ct.c203 lpfc_alloc_ct_rsp(struct lpfc_hba *phba, int cmdcode, struct ulp_bde64 *bpl, in lpfc_alloc_ct_rsp() argument
243 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_alloc_ct_rsp()
245 bpl->addrLow = le32_to_cpu(putPaddrLow(mp->phys) ); in lpfc_alloc_ct_rsp()
246 bpl->addrHigh = le32_to_cpu(putPaddrHigh(mp->phys) ); in lpfc_alloc_ct_rsp()
247 bpl->tus.f.bdeSize = (uint16_t) cnt; in lpfc_alloc_ct_rsp()
248 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_alloc_ct_rsp()
249 bpl++; in lpfc_alloc_ct_rsp()
380 struct ulp_bde64 *bpl = (struct ulp_bde64 *) bmp->virt; in lpfc_ct_cmd() local
386 bpl++; /* Skip past ct request */ in lpfc_ct_cmd()
389 outmp = lpfc_alloc_ct_rsp(phba, cmdcode, bpl, rsp_size, &cnt); in lpfc_ct_cmd()
[all …]
Dlpfc_scsi.c388 struct ulp_bde64 *bpl; in lpfc_new_scsi_buf_s3() local
442 bpl = psb->fcp_bpl; in lpfc_new_scsi_buf_s3()
453 bpl[0].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
454 bpl[0].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
455 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
456 bpl[0].tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_new_scsi_buf_s3()
457 bpl[0].tus.w = le32_to_cpu(bpl[0].tus.w); in lpfc_new_scsi_buf_s3()
460 bpl[1].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_rsp)); in lpfc_new_scsi_buf_s3()
461 bpl[1].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_rsp)); in lpfc_new_scsi_buf_s3()
462 bpl[1].tus.f.bdeSize = sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3()
[all …]
Dlpfc_bsg.c154 int outbound_buffers, struct ulp_bde64 *bpl, in lpfc_alloc_bsg_buffers() argument
197 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_alloc_bsg_buffers()
199 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_alloc_bsg_buffers()
200 bpl->addrLow = le32_to_cpu(putPaddrLow(mp->phys)); in lpfc_alloc_bsg_buffers()
201 bpl->addrHigh = le32_to_cpu(putPaddrHigh(mp->phys)); in lpfc_alloc_bsg_buffers()
202 bpl->tus.f.bdeSize = (uint16_t) in lpfc_alloc_bsg_buffers()
205 bytes_left -= bpl->tus.f.bdeSize; in lpfc_alloc_bsg_buffers()
206 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_alloc_bsg_buffers()
207 bpl++; in lpfc_alloc_bsg_buffers()
387 struct ulp_bde64 *bpl = NULL; in lpfc_bsg_send_mgmt_cmd() local
[all …]
Dlpfc_els.c158 struct ulp_bde64 *bpl; in lpfc_prep_els_iocb() local
282 bpl = (struct ulp_bde64 *) pbuflist->virt; in lpfc_prep_els_iocb()
283 bpl->addrLow = le32_to_cpu(putPaddrLow(pcmd->phys)); in lpfc_prep_els_iocb()
284 bpl->addrHigh = le32_to_cpu(putPaddrHigh(pcmd->phys)); in lpfc_prep_els_iocb()
285 bpl->tus.f.bdeSize = cmdSize; in lpfc_prep_els_iocb()
286 bpl->tus.f.bdeFlags = 0; in lpfc_prep_els_iocb()
287 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_prep_els_iocb()
290 bpl++; 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 …]
Dlpfc_sli.c8054 struct ulp_bde64 *bpl = NULL; in lpfc_sli4_bpl2sgl() local
8083 bpl = (struct ulp_bde64 *)dmabuf->virt; in lpfc_sli4_bpl2sgl()
8084 if (!bpl) in lpfc_sli4_bpl2sgl()
8089 sgl->addr_hi = bpl->addrHigh; in lpfc_sli4_bpl2sgl()
8090 sgl->addr_lo = bpl->addrLow; in lpfc_sli4_bpl2sgl()
8100 bde.tus.w = le32_to_cpu(bpl->tus.w); in lpfc_sli4_bpl2sgl()
8108 if (bpl->tus.f.bdeFlags == BUFF_TYPE_BDE_64I) in lpfc_sli4_bpl2sgl()
8119 bpl++; in lpfc_sli4_bpl2sgl()
8197 struct ulp_bde64 *bpl = NULL; in lpfc_sli4_iocb2wqe() local
8224 bpl = (struct ulp_bde64 *) in lpfc_sli4_iocb2wqe()
[all …]
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-tpg.h387 static inline void tpg_s_bytesperline(struct tpg_data *tpg, unsigned plane, unsigned bpl) in tpg_s_bytesperline() argument
392 tpg->bytesperline[plane] = bpl; in tpg_s_bytesperline()
397 unsigned plane_w = bpl * tpg->twopixelsize[p] / tpg->twopixelsize[0]; in tpg_s_bytesperline()
420 unsigned plane, unsigned bpl) in tpg_calc_line_width() argument
426 return bpl; in tpg_calc_line_width()
428 unsigned plane_w = bpl * tpg->twopixelsize[p] / tpg->twopixelsize[0]; in tpg_calc_line_width()
Dvivid-kthread-cap.c233 unsigned p, unsigned bpl[TPG_MAX_PLANES], unsigned h) in plane_vaddr()
242 vbuf += bpl[i] * h / tpg->vdownsampling[i]; in plane_vaddr()
/linux-4.1.27/drivers/usb/dwc3/
Dtrace.h218 __field(u32, bpl)
226 __entry->bpl = trb->bpl;
232 __get_str(name), __entry->trb, __entry->bph, __entry->bpl,
Dcore.h557 u32 bpl; member
Dep0.c75 trb->bpl = lower_32_bits(buf_dma); in dwc3_ep0_start_trans()
Dgadget.c582 trb_link->bpl = lower_32_bits(dwc3_trb_dma_offset(dep, trb_st_hw)); in __dwc3_gadget_ep_enable()
804 trb->bpl = lower_32_bits(dma); in dwc3_prepare_one_trb()
/linux-4.1.27/drivers/usb/gadget/function/
Duvc_v4l2.c112 unsigned int bpl; in uvc_v4l2_set_format() local
127 bpl = format->bpp * fmt->fmt.pix.width / 8; in uvc_v4l2_set_format()
128 imagesize = bpl ? bpl * fmt->fmt.pix.height : fmt->fmt.pix.sizeimage; in uvc_v4l2_set_format()
137 fmt->fmt.pix.bytesperline = bpl; in uvc_v4l2_set_format()
/linux-4.1.27/arch/arm/lib/
Dio-writesw-armv4.S49 bpl .Loutsw_8_lp
94 bpl 1b
Dio-readsw-armv4.S56 bpl .Linsw_8_lp
118 bpl 2b
Dclear_user.S37 bpl 1b
Dio-writesl.S28 bpl 1b
Dio-readsl.S28 bpl 1b
Dio-writesb.S64 bpl .Loutsb_16_lp
Dio-readsw-armv3.S68 bpl .Linsw_8_lp
Dio-writesw-armv3.S79 bpl .Loutsw_8_lp
Dio-readsb.S72 bpl .Linsb_16_lp
Dbacktrace.S139 bpl 1b
/linux-4.1.27/arch/cris/boot/rescue/
Dhead_v10.S213 bpl ploop ; rw partition, skip validation
216 bpl 1f
270 bpl 1f
293 bpl wait_ser
337 bpl 1f
Dkimagerescue.S107 bpl 1f
127 bpl wait_ser
/linux-4.1.27/drivers/video/fbdev/core/
Dsysimgblt.c243 u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; in sys_imageblit() local
253 pitch_index = (p->fix.line_length & (bpl - 1)) * 8; in sys_imageblit()
256 bitstart &= ~(bpl - 1); in sys_imageblit()
Dcfbimgblt.c268 u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; in cfb_imageblit() local
278 pitch_index = (p->fix.line_length & (bpl - 1)) * 8; in cfb_imageblit()
281 bitstart &= ~(bpl - 1); in cfb_imageblit()
/linux-4.1.27/drivers/staging/media/omap4iss/
Diss_video.c122 unsigned int bpl = pix->bytesperline; in iss_video_mbus_to_pix() local
145 bpl = clamp(bpl, min_bpl, video->bpl_max); in iss_video_mbus_to_pix()
147 bpl = min_bpl; in iss_video_mbus_to_pix()
149 if (!video->bpl_zero_padding || bpl != min_bpl) in iss_video_mbus_to_pix()
150 bpl = ALIGN(bpl, video->bpl_alignment); in iss_video_mbus_to_pix()
153 pix->bytesperline = bpl; in iss_video_mbus_to_pix()
162 return bpl - min_bpl; in iss_video_mbus_to_pix()
/linux-4.1.27/arch/arm64/crypto/
Daes-ce-ccm-core.S55 bpl 3b
118 bpl 1b
164 bpl 2b
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispvideo.c145 unsigned int bpl = pix->bytesperline; in isp_video_mbus_to_pix() local
168 bpl = clamp(bpl, min_bpl, video->bpl_max); in isp_video_mbus_to_pix()
170 bpl = min_bpl; in isp_video_mbus_to_pix()
172 if (!video->bpl_zero_padding || bpl != min_bpl) in isp_video_mbus_to_pix()
173 bpl = ALIGN(bpl, video->bpl_alignment); in isp_video_mbus_to_pix()
176 pix->bytesperline = bpl; in isp_video_mbus_to_pix()
181 return bpl - min_bpl; in isp_video_mbus_to_pix()
Dispccdc.c887 unsigned int bpl, in ccdc_config_outlineoffset() argument
893 isp_reg_writel(isp, bpl & 0xffff, OMAP3_ISP_IOMEM_CCDC, in ccdc_config_outlineoffset()
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dfimc-core.c738 u32 bpl = plane_fmt->bytesperline; in fimc_adjust_mplane_format() local
740 if (fmt->colplanes > 1 && (bpl == 0 || bpl < pix->width)) in fimc_adjust_mplane_format()
741 bpl = pix->width; /* Planar */ in fimc_adjust_mplane_format()
744 (bpl == 0 || ((bpl * 8) / fmt->depth[i]) < pix->width)) in fimc_adjust_mplane_format()
745 bpl = (pix->width * fmt->depth[0]) / 8; in fimc_adjust_mplane_format()
753 bytesperline = bpl; in fimc_adjust_mplane_format()
Dfimc-lite.c717 u32 bpl = pixm->plane_fmt[0].bytesperline; in fimc_lite_try_fmt() local
743 if ((bpl == 0 || ((bpl * 8) / fmt->depth[0]) < pixm->width)) in fimc_lite_try_fmt()
/linux-4.1.27/drivers/media/pci/ttpci/
Dav7110_hw.c1010 uint w, h, bpp, bpl, size, lpb, bnum, brest; in OSDSetBlock() local
1021 bpl = ((w * bpp + 7) & ~7) / 8; in OSDSetBlock()
1022 size = h * bpl; in OSDSetBlock()
1023 lpb = (32 * 1024) / bpl; in OSDSetBlock()
1024 bnum = size / (lpb * bpl); in OSDSetBlock()
1025 brest = size - bnum * lpb * bpl; in OSDSetBlock()
1049 rc = LoadBitmap(av7110, w, brest / bpl, inc, data); in OSDSetBlock()
/linux-4.1.27/drivers/media/pci/saa7134/
Dsaa7134-video.c725 unsigned long base,control,bpl; in start_preview() local
753 bpl = dev->ovbuf.fmt.bytesperline; in start_preview()
761 saa_writel(SAA7134_RS_BA2(1),base+bpl); in start_preview()
762 saa_writel(SAA7134_RS_PITCH(1),bpl*2); in start_preview()
767 saa_writel(SAA7134_RS_PITCH(1),bpl); in start_preview()
792 unsigned long base,control,bpl; in buffer_activate() local
809 bpl = dev->width; in buffer_activate()
811 bpl = (dev->width * dev->fmt->depth) / 8; in buffer_activate()
822 saa_writel(SAA7134_RS_BA2(0),base+bpl); in buffer_activate()
823 saa_writel(SAA7134_RS_PITCH(0),bpl*2); in buffer_activate()
[all …]
/linux-4.1.27/arch/x86/crypto/
Dblowfish-x86_64-asm_64.S330 test %bpl, %bpl;
Dtwofish-x86_64-asm_64-3way.S250 testb %bpl, %bpl;
/linux-4.1.27/arch/cris/arch-v32/kernel/
Dentry.S60 bpl _Rexit
111 bpl _resume_kernel
398 bpl 1f
403 bpl 1f
/linux-4.1.27/arch/cris/arch-v32/lib/
Dchecksum.S45 bpl _mloop
Dchecksumcopy.S49 bpl _mloop
/linux-4.1.27/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1096 u32 bpl = q_data->w; in s5p_jpeg_g_fmt() local
1098 bpl = (bpl * q_data->fmt->depth) >> 3; in s5p_jpeg_g_fmt()
1099 pix->bytesperline = bpl; in s5p_jpeg_g_fmt()
1196 u32 bpl = pix->bytesperline; in vidioc_try_fmt() local
1198 if (fmt->colplanes > 1 && bpl < pix->width) in vidioc_try_fmt()
1199 bpl = pix->width; /* planar */ in vidioc_try_fmt()
1202 (bpl << 3) / fmt->depth < pix->width) in vidioc_try_fmt()
1203 bpl = (pix->width * fmt->depth) >> 3; in vidioc_try_fmt()
1205 pix->bytesperline = bpl; in vidioc_try_fmt()
/linux-4.1.27/drivers/media/platform/xilinx/
Dxilinx-dma.c549 unsigned int bpl; in __xvip_dma_try_format() local
580 bpl = rounddown(pix->bytesperline, dma->align); in __xvip_dma_try_format()
582 pix->bytesperline = clamp(bpl, min_bpl, max_bpl); in __xvip_dma_try_format()
/linux-4.1.27/arch/m68k/ifpsp060/src/
Dpfpsp.S3183 bpl.b foperr_out_not_qnan2
4326 bpl.b fmovm_out_ctrl_fp1 # no
4334 bpl.b fmovm_out_ctrl_fp2 # no
4342 bpl.b fmovm_out_ctrl_fp3 # no
4349 bpl.b fmovm_out_ctrl_fp4 # no
4356 bpl.b fmovm_out_ctrl_fp5 # no
4363 bpl.b fmovm_out_ctrl_fp6 # no
4370 bpl.b fmovm_out_ctrl_fp7 # no
4377 bpl.b fmovm_out_ctrl_done # no
4421 bpl.b fmovm_data_in_fp1 # no
[all …]
Dfpsp.S3184 bpl.b foperr_out_not_qnan2
6767 bpl.b ACOSP1
10185 bpl.b xdnrm_exit # no
11997 bpl.b fmul_inf_dst_p # result INF is pos.
12014 bpl.b fmul_inf_dst_p # result INF is pos.
15036 bpl.b fadd_inf_done # yes; we're done
15417 bpl.b fsub_zero_2_chk_rm
15477 bpl.l res_operr # weed out (-INF)+(+INF)
15492 bpl.b fsub_inf_done # no
18277 bpl.b fmovm_out_ctrl_fp1 # no
[all …]
Dilsp.S157 bpl.b ldspecialcases
583 bpl.b mulu64_ddone
Dfplsp.S6454 bpl.b pos_big
6467 bpl.b pos_huge
9328 bpl.b ssmall_done # yes
10069 bpl.b ovfl_p
/linux-4.1.27/drivers/media/platform/exynos-gsc/
Dgsc-core.c456 int bpl = (pix_mp->width * fmt->depth[i]) >> 3; in gsc_try_fmt_mplane() local
457 pix_mp->plane_fmt[i].bytesperline = bpl; in gsc_try_fmt_mplane()
458 pix_mp->plane_fmt[i].sizeimage = bpl * pix_mp->height; in gsc_try_fmt_mplane()
461 i, bpl, pix_mp->plane_fmt[i].sizeimage); in gsc_try_fmt_mplane()
/linux-4.1.27/arch/score/include/asm/
Dasmmacro.h14 bpl 1f
/linux-4.1.27/arch/cris/arch-v10/kernel/
Dentry.S65 bpl _Rexit
361 bpl 1f
367 bpl 2f
/linux-4.1.27/arch/x86/boot/
Dboot.h262 u8 bpl, bph, ebp2, ebp3; member
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_video.c252 unsigned int bpl; in __vsp1_video_try_format() local
254 bpl = clamp_t(unsigned int, pix->plane_fmt[i].bytesperline, in __vsp1_video_try_format()
258 pix->plane_fmt[i].bytesperline = round_up(bpl, align); in __vsp1_video_try_format()
/linux-4.1.27/arch/arm/mm/
Dproc-xsc3.S75 bpl 1b
/linux-4.1.27/arch/arm/crypto/
Daesbs-core.S_shipped1708 bpl .Lxts_enc_loop
2209 bpl .Lxts_dec_loop
/linux-4.1.27/Documentation/scsi/
DChangeLog.lpfc1574 * Added code for safety pools for following objects: mbuf/bpl,
1805 * Removed memory pool for buf/bpl buffers and use kmalloc/kfree