Home
last modified time | relevance | path

Searched refs:bpl (Results 1 - 25 of 146) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/media/pci/tw68/
H A Dtw68-risc.c28 * @bpl: number of bytes per scan line
35 unsigned int bpl, unsigned int padding, in tw68_risc_field()
61 if (bpl <= sg_dma_len(sg) - offset) { in tw68_risc_field()
64 /* (offset<<12) |*/ bpl); in tw68_risc_field()
66 offset += bpl; in tw68_risc_field()
74 todo = bpl; /* one full line to be done */ in tw68_risc_field()
124 * @bpl: number of data bytes per scan line
133 unsigned int bpl, in tw68_risc_buffer()
148 * Padding can cause next bpl to start close to a page border. in tw68_risc_buffer()
151 instructions = fields * (1 + (((bpl in tw68_risc_buffer()
33 tw68_risc_field(__le32 *rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, bool jump) tw68_risc_field() argument
128 tw68_risc_buffer(struct pci_dev *pci, struct tw68_buf *buf, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) tw68_risc_buffer() argument
[all...]
H A Dtw68-video.c445 unsigned size, bpl; in tw68_buf_prepare() local
452 bpl = (dev->width * dev->fmt->depth) >> 3; in tw68_buf_prepare()
456 0, UNSET, bpl, 0, dev->height); in tw68_buf_prepare()
460 UNSET, 0, bpl, 0, dev->height); in tw68_buf_prepare()
464 0, bpl * (dev->height >> 1), in tw68_buf_prepare()
465 bpl, 0, dev->height >> 1); in tw68_buf_prepare()
469 bpl * (dev->height >> 1), 0, in tw68_buf_prepare()
470 bpl, 0, dev->height >> 1); in tw68_buf_prepare()
475 0, bpl, bpl, bp in tw68_buf_prepare()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/tw68/
H A Dtw68-risc.c28 * @bpl: number of bytes per scan line
35 unsigned int bpl, unsigned int padding, in tw68_risc_field()
61 if (bpl <= sg_dma_len(sg) - offset) { in tw68_risc_field()
64 /* (offset<<12) |*/ bpl); in tw68_risc_field()
66 offset += bpl; in tw68_risc_field()
74 todo = bpl; /* one full line to be done */ in tw68_risc_field()
124 * @bpl: number of data bytes per scan line
133 unsigned int bpl, in tw68_risc_buffer()
148 * Padding can cause next bpl to start close to a page border. in tw68_risc_buffer()
151 instructions = fields * (1 + (((bpl in tw68_risc_buffer()
33 tw68_risc_field(__le32 *rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, bool jump) tw68_risc_field() argument
128 tw68_risc_buffer(struct pci_dev *pci, struct tw68_buf *buf, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) tw68_risc_buffer() argument
[all...]
H A Dtw68-video.c446 unsigned size, bpl; in tw68_buf_prepare() local
453 bpl = (dev->width * dev->fmt->depth) >> 3; in tw68_buf_prepare()
457 0, UNSET, bpl, 0, dev->height); in tw68_buf_prepare()
461 UNSET, 0, bpl, 0, dev->height); in tw68_buf_prepare()
465 0, bpl * (dev->height >> 1), in tw68_buf_prepare()
466 bpl, 0, dev->height >> 1); in tw68_buf_prepare()
470 bpl * (dev->height >> 1), 0, in tw68_buf_prepare()
471 bpl, 0, dev->height >> 1); in tw68_buf_prepare()
476 0, bpl, bpl, bp in tw68_buf_prepare()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
H A Dcx88-core.c72 unsigned int bpl, unsigned int padding, in cx88_risc_field()
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()
147 * can cause next bpl to start close to a page border. First DMA in cx88_risc_buffer()
150 instructions = fields * (1 + ((bpl + padding) * lines) / in cx88_risc_buffer()
163 bpl, padding, lines, 0, true); in cx88_risc_buffer()
166 bpl, paddin in cx88_risc_buffer()
70 cx88_risc_field(__le32 *rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, unsigned int lpi, bool jump) cx88_risc_field() argument
130 cx88_risc_buffer(struct pci_dev *pci, struct cx88_riscmem *risc, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) cx88_risc_buffer() argument
176 cx88_risc_databuffer(struct pci_dev *pci, struct cx88_riscmem *risc, struct scatterlist *sglist, unsigned int bpl, unsigned int lines, unsigned int lpi) cx88_risc_databuffer() argument
340 cx88_sram_channel_setup(struct cx88_core *core, const struct sram_channel *ch, unsigned int bpl, u32 risc) cx88_sram_channel_setup() argument
780 int bpl = cx88_sram_channels[SRAM_CH25].fifo_size / 4; cx88_start_audio_dma() local
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/cx88/
H A Dcx88-core.c72 unsigned int bpl, unsigned int padding, in cx88_risc_field()
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()
147 * can cause next bpl to start close to a page border. First DMA in cx88_risc_buffer()
150 instructions = fields * (1 + ((bpl + padding) * lines) / in cx88_risc_buffer()
164 bpl, padding, lines, 0, true); in cx88_risc_buffer()
167 bpl, paddin in cx88_risc_buffer()
70 cx88_risc_field(__le32 *rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, unsigned int lpi, bool jump) cx88_risc_field() argument
130 cx88_risc_buffer(struct pci_dev *pci, struct cx88_riscmem *risc, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) cx88_risc_buffer() argument
177 cx88_risc_databuffer(struct pci_dev *pci, struct cx88_riscmem *risc, struct scatterlist *sglist, unsigned int bpl, unsigned int lines, unsigned int lpi) cx88_risc_databuffer() argument
342 cx88_sram_channel_setup(struct cx88_core *core, const struct sram_channel *ch, unsigned int bpl, u32 risc) cx88_sram_channel_setup() argument
794 int bpl = cx88_sram_channels[SRAM_CH25].fifo_size / 4; cx88_start_audio_dma() local
[all...]
/kernel/linux/linux-5.10/drivers/block/
H A Dswim_asm.S82 bpl header_exit
93 bpl signal_nonyb
101 bpl signal_nonyb
109 bpl signal_nonyb
117 bpl signal_nonyb
125 bpl signal_nonyb
133 bpl signal_nonyb
182 bpl data_exit
216 bpl data_exit
226 bpl data_exi
[all...]
/kernel/linux/linux-6.6/drivers/block/
H A Dswim_asm.S82 bpl header_exit
93 bpl signal_nonyb
101 bpl signal_nonyb
109 bpl signal_nonyb
117 bpl signal_nonyb
125 bpl signal_nonyb
133 bpl signal_nonyb
182 bpl data_exit
216 bpl data_exit
226 bpl data_exi
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/cx25821/
H A Dcx25821-core.c426 unsigned int bpl, u32 risc) in cx25821_sram_channel_setup()
439 bpl = (bpl + 7) & ~7; /* alignment */ in cx25821_sram_channel_setup()
441 lines = ch->fifo_size / bpl; in cx25821_sram_channel_setup()
454 cx_write(cdt + 16 * i, ch->fifo_start + bpl * i); in cx25821_sram_channel_setup()
487 cx_write(ch->cnt1_reg, (bpl >> 3) - 1); in cx25821_sram_channel_setup()
494 unsigned int bpl, u32 risc) in cx25821_sram_channel_setup_audio()
507 bpl = (bpl + 7) & ~7; /* alignment */ in cx25821_sram_channel_setup_audio()
509 lines = ch->fifo_size / bpl; in cx25821_sram_channel_setup_audio()
424 cx25821_sram_channel_setup(struct cx25821_dev *dev, const struct sram_channel *ch, unsigned int bpl, u32 risc) cx25821_sram_channel_setup() argument
492 cx25821_sram_channel_setup_audio(struct cx25821_dev *dev, const struct sram_channel *ch, unsigned int bpl, u32 risc) cx25821_sram_channel_setup_audio() argument
995 cx25821_risc_field(__le32 * rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, bool jump) cx25821_risc_field() argument
1057 cx25821_risc_buffer(struct pci_dev *pci, struct cx25821_riscmem *risc, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) cx25821_risc_buffer() argument
1106 cx25821_risc_field_audio(__le32 * rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, unsigned int lpi) cx25821_risc_field_audio() argument
1167 cx25821_risc_databuffer_audio(struct pci_dev *pci, struct cx25821_riscmem *risc, struct scatterlist *sglist, unsigned int bpl, unsigned int lines, unsigned int lpi) cx25821_risc_databuffer_audio() argument
[all...]
H A Dcx25821-alsa.c52 unsigned int bpl; member
231 cx25821_sram_channel_setup_audio(chip->dev, audio_ch, buf->bpl, in _cx25821_start_audio_dma()
234 /* sets bpl size */ in _cx25821_start_audio_dma()
235 cx_write(AUD_A_LNGTH, buf->bpl); in _cx25821_start_audio_dma()
249 buf->bpl, audio_ch->cmds_start, in _cx25821_start_audio_dma()
251 chip->num_periods, buf->bpl * chip->num_periods); in _cx25821_start_audio_dma()
451 unsigned int bpl = 0; in snd_cx25821_pcm_open() local
470 bpl = cx25821_sram_channels[AUDIO_SRAM_CHANNEL].fifo_size / 3; in snd_cx25821_pcm_open()
471 bpl &= ~7; /* must be multiple of 8 */ in snd_cx25821_pcm_open()
473 if (bpl > AUDIO_LINE_SIZ in snd_cx25821_pcm_open()
[all...]
H A Dcx25821-video.c66 cx25821_sram_channel_setup(dev, channel, buf->bpl, buf->risc.dma); in cx25821_start_video_dma()
155 buf->bpl = (chan->fmt->depth * chan->width) >> 3; in cx25821_buffer_prepare()
157 buf->bpl = (chan->fmt->depth >> 3) * chan->width; in cx25821_buffer_prepare()
159 if (vb2_plane_size(vb, 0) < chan->height * buf->bpl) in cx25821_buffer_prepare()
161 vb2_set_plane_payload(vb, 0, chan->height * buf->bpl); in cx25821_buffer_prepare()
165 bpl_local = buf->bpl; in cx25821_buffer_prepare()
167 bpl_local = buf->bpl; /* Default */ in cx25821_buffer_prepare()
181 buf->bpl, 0, chan->height); in cx25821_buffer_prepare()
186 buf->bpl, 0, chan->height); in cx25821_buffer_prepare()
201 0, buf->bpl * (cha in cx25821_buffer_prepare()
[all...]
H A Dcx25821.h118 unsigned int bpl; member
392 const struct sram_channel *ch, unsigned int bpl,
402 unsigned int bpl,
407 unsigned int bpl,
422 unsigned int bpl, u32 risc);
/kernel/linux/linux-6.6/drivers/media/pci/cx25821/
H A Dcx25821-core.c419 unsigned int bpl, u32 risc) in cx25821_sram_channel_setup()
432 bpl = (bpl + 7) & ~7; /* alignment */ in cx25821_sram_channel_setup()
434 lines = ch->fifo_size / bpl; in cx25821_sram_channel_setup()
447 cx_write(cdt + 16 * i, ch->fifo_start + bpl * i); in cx25821_sram_channel_setup()
480 cx_write(ch->cnt1_reg, (bpl >> 3) - 1); in cx25821_sram_channel_setup()
487 unsigned int bpl, u32 risc) in cx25821_sram_channel_setup_audio()
500 bpl = (bpl + 7) & ~7; /* alignment */ in cx25821_sram_channel_setup_audio()
502 lines = ch->fifo_size / bpl; in cx25821_sram_channel_setup_audio()
417 cx25821_sram_channel_setup(struct cx25821_dev *dev, const struct sram_channel *ch, unsigned int bpl, u32 risc) cx25821_sram_channel_setup() argument
485 cx25821_sram_channel_setup_audio(struct cx25821_dev *dev, const struct sram_channel *ch, unsigned int bpl, u32 risc) cx25821_sram_channel_setup_audio() argument
988 cx25821_risc_field(__le32 * rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, bool jump) cx25821_risc_field() argument
1050 cx25821_risc_buffer(struct pci_dev *pci, struct cx25821_riscmem *risc, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) cx25821_risc_buffer() argument
1099 cx25821_risc_field_audio(__le32 * rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, unsigned int lpi) cx25821_risc_field_audio() argument
1160 cx25821_risc_databuffer_audio(struct pci_dev *pci, struct cx25821_riscmem *risc, struct scatterlist *sglist, unsigned int bpl, unsigned int lines, unsigned int lpi) cx25821_risc_databuffer_audio() argument
[all...]
H A Dcx25821-alsa.c52 unsigned int bpl; member
230 cx25821_sram_channel_setup_audio(chip->dev, audio_ch, buf->bpl, in _cx25821_start_audio_dma()
233 /* sets bpl size */ in _cx25821_start_audio_dma()
234 cx_write(AUD_A_LNGTH, buf->bpl); in _cx25821_start_audio_dma()
248 buf->bpl, audio_ch->cmds_start, in _cx25821_start_audio_dma()
250 chip->num_periods, buf->bpl * chip->num_periods); in _cx25821_start_audio_dma()
450 unsigned int bpl = 0; in snd_cx25821_pcm_open() local
469 bpl = cx25821_sram_channels[AUDIO_SRAM_CHANNEL].fifo_size / 3; in snd_cx25821_pcm_open()
470 bpl &= ~7; /* must be multiple of 8 */ in snd_cx25821_pcm_open()
472 if (bpl > AUDIO_LINE_SIZ in snd_cx25821_pcm_open()
[all...]
H A Dcx25821-video.c66 cx25821_sram_channel_setup(dev, channel, buf->bpl, buf->risc.dma); in cx25821_start_video_dma()
155 buf->bpl = (chan->fmt->depth * chan->width) >> 3; in cx25821_buffer_prepare()
157 buf->bpl = (chan->fmt->depth >> 3) * chan->width; in cx25821_buffer_prepare()
159 if (vb2_plane_size(vb, 0) < chan->height * buf->bpl) in cx25821_buffer_prepare()
161 vb2_set_plane_payload(vb, 0, chan->height * buf->bpl); in cx25821_buffer_prepare()
165 bpl_local = buf->bpl; in cx25821_buffer_prepare()
167 bpl_local = buf->bpl; /* Default */ in cx25821_buffer_prepare()
181 buf->bpl, 0, chan->height); in cx25821_buffer_prepare()
186 buf->bpl, 0, chan->height); in cx25821_buffer_prepare()
201 0, buf->bpl * (cha in cx25821_buffer_prepare()
[all...]
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);
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/
H A Dbttv-risc.c37 unsigned int offset, unsigned int bpl, in bttv_risc_packed()
48 can cause next bpl to start close to a page border. First DMA in bttv_risc_packed()
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()
35 bttv_risc_packed(struct bttv *btv, struct btcx_riscmem *risc, struct scatterlist *sglist, unsigned int offset, unsigned int bpl, unsigned int padding, unsigned int skip_lines, unsigned int store_lines) bttv_risc_packed() argument
670 int bpl = (btv->fmt->depth >> 3) * btv->width; bttv_buffer_risc() local
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
H A Dcx23885-alsa.c164 cx23885_sram_channel_setup(chip->dev, audio_ch, buf->bpl, in cx23885_start_audio_dma()
167 /* sets bpl size */ 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 in snd_cx23885_hw_params()
[all...]
H A Dcx23885-core.c456 unsigned int bpl, u32 risc) in cx23885_sram_channel_setup()
474 bpl = (bpl + 7) & ~7; /* alignment */ in cx23885_sram_channel_setup()
476 lines = ch->fifo_size / bpl; in cx23885_sram_channel_setup()
488 ch->fifo_start + bpl*i); in cx23885_sram_channel_setup()
489 cx_write(cdt + 16*i, ch->fifo_start + bpl*i); in cx23885_sram_channel_setup()
515 cx_write(ch->cnt1_reg, (bpl >> 3) - 1); in cx23885_sram_channel_setup()
517 dprintk(2, "[bridge %d] sram setup %s: bpl=%d lines=%d\n", in cx23885_sram_channel_setup()
520 bpl, in cx23885_sram_channel_setup()
1133 unsigned int bpl, unsigne in cx23885_risc_field()
454 cx23885_sram_channel_setup(struct cx23885_dev *dev, struct sram_channel *ch, unsigned int bpl, u32 risc) cx23885_sram_channel_setup() argument
1131 cx23885_risc_field(__le32 *rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, unsigned int lpi, bool jump) cx23885_risc_field() argument
1198 cx23885_risc_buffer(struct pci_dev *pci, struct cx23885_riscmem *risc, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) cx23885_risc_buffer() argument
1240 cx23885_risc_databuffer(struct pci_dev *pci, struct cx23885_riscmem *risc, struct scatterlist *sglist, unsigned int bpl, unsigned int lines, unsigned int lpi) cx23885_risc_databuffer() argument
1273 cx23885_risc_vbibuffer(struct pci_dev *pci, struct cx23885_riscmem *risc, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) cx23885_risc_vbibuffer() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/cx23885/
H A Dcx23885-alsa.c164 cx23885_sram_channel_setup(chip->dev, audio_ch, buf->bpl, in cx23885_start_audio_dma()
167 /* sets bpl size */ 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 in snd_cx23885_hw_params()
[all...]
H A Dcx23885-core.c456 unsigned int bpl, u32 risc) in cx23885_sram_channel_setup()
474 bpl = (bpl + 7) & ~7; /* alignment */ in cx23885_sram_channel_setup()
476 lines = ch->fifo_size / bpl; in cx23885_sram_channel_setup()
488 ch->fifo_start + bpl*i); in cx23885_sram_channel_setup()
489 cx_write(cdt + 16*i, ch->fifo_start + bpl*i); in cx23885_sram_channel_setup()
515 cx_write(ch->cnt1_reg, (bpl >> 3) - 1); in cx23885_sram_channel_setup()
517 dprintk(2, "[bridge %d] sram setup %s: bpl=%d lines=%d\n", in cx23885_sram_channel_setup()
520 bpl, in cx23885_sram_channel_setup()
1133 unsigned int bpl, unsigne in cx23885_risc_field()
454 cx23885_sram_channel_setup(struct cx23885_dev *dev, struct sram_channel *ch, unsigned int bpl, u32 risc) cx23885_sram_channel_setup() argument
1131 cx23885_risc_field(__le32 *rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, unsigned int lpi, bool jump) cx23885_risc_field() argument
1198 cx23885_risc_buffer(struct pci_dev *pci, struct cx23885_riscmem *risc, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) cx23885_risc_buffer() argument
1241 cx23885_risc_databuffer(struct pci_dev *pci, struct cx23885_riscmem *risc, struct scatterlist *sglist, unsigned int bpl, unsigned int lines, unsigned int lpi) cx23885_risc_databuffer() argument
1275 cx23885_risc_vbibuffer(struct pci_dev *pci, struct cx23885_riscmem *risc, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) cx23885_risc_vbibuffer() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
H A Dbttv-risc.c37 unsigned int offset, unsigned int bpl, in bttv_risc_packed()
48 can cause next bpl to start close to a page border. First DMA in bttv_risc_packed()
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()
708 int bpl = (buf->fmt->depth >> 3) * buf->vb.width; in bttv_buffer_risc() local
709 int bpf = bpl * (bu in bttv_buffer_risc()
35 bttv_risc_packed(struct bttv *btv, struct btcx_riscmem *risc, struct scatterlist *sglist, unsigned int offset, unsigned int bpl, unsigned int padding, unsigned int skip_lines, unsigned int store_lines) bttv_risc_packed() argument
[all...]
/kernel/linux/linux-6.6/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
1908 struct ulp_bde64 *bpl; lpfc_ns_cmd() local
3691 struct ulp_bde64 *bpl; lpfc_vmid_cmd() local
[all...]
H A Dlpfc_scsi.c255 struct ulp_bde64 *bpl; in lpfc_new_scsi_buf_s3() local
307 bpl = (struct ulp_bde64 *)psb->dma_sgl; in lpfc_new_scsi_buf_s3()
318 bpl[0].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
319 bpl[0].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
320 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
321 bpl[0].tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_new_scsi_buf_s3()
322 bpl[0].tus.w = le32_to_cpu(bpl[0].tus.w); in lpfc_new_scsi_buf_s3()
325 bpl[1].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_rsp)); in lpfc_new_scsi_buf_s3()
326 bpl[ in lpfc_new_scsi_buf_s3()
814 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl; lpfc_scsi_prep_dma_buf_s3() local
1537 lpfc_bg_setup_bpl(struct lpfc_hba *phba, struct scsi_cmnd *sc, struct ulp_bde64 *bpl, int datasegcnt) lpfc_bg_setup_bpl() argument
1677 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
2498 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl; lpfc_bg_scsi_prep_dma_buf_s3() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_scsi.c334 struct ulp_bde64 *bpl; in lpfc_new_scsi_buf_s3() local
386 bpl = (struct ulp_bde64 *)psb->dma_sgl; in lpfc_new_scsi_buf_s3()
397 bpl[0].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
398 bpl[0].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
399 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
400 bpl[0].tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_new_scsi_buf_s3()
401 bpl[0].tus.w = le32_to_cpu(bpl[0].tus.w); in lpfc_new_scsi_buf_s3()
404 bpl[1].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_rsp)); in lpfc_new_scsi_buf_s3()
405 bpl[ in lpfc_new_scsi_buf_s3()
840 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl; lpfc_scsi_prep_dma_buf_s3() local
1563 lpfc_bg_setup_bpl(struct lpfc_hba *phba, struct scsi_cmnd *sc, struct ulp_bde64 *bpl, int datasegcnt) lpfc_bg_setup_bpl() argument
1703 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
2525 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl; lpfc_bg_scsi_prep_dma_buf_s3() local
[all...]

Completed in 25 milliseconds

123456