Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 246) sorted by relevance

12345678910

/drivers/crypto/caam/
Ddesc_constr.h308 #define APPEND_MATH(op, desc, dest, src_0, src_1, len) \ argument
309 append_cmd(desc, CMD_MATH | MATH_FUN_##op | MATH_DEST_##dest | \
312 #define append_math_add(desc, dest, src0, src1, len) \ argument
313 APPEND_MATH(ADD, desc, dest, src0, src1, len)
314 #define append_math_sub(desc, dest, src0, src1, len) \ argument
315 APPEND_MATH(SUB, desc, dest, src0, src1, len)
316 #define append_math_add_c(desc, dest, src0, src1, len) \ argument
317 APPEND_MATH(ADDC, desc, dest, src0, src1, len)
318 #define append_math_sub_b(desc, dest, src0, src1, len) \ argument
319 APPEND_MATH(SUBB, desc, dest, src0, src1, len)
[all …]
/drivers/video/fbdev/
Datafb_mfb.c28 u8 *src, *dest; in atafb_mfb_copyarea() local
33 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea()
34 fb_memmove(dest, src, height * (width >> 3)); in atafb_mfb_copyarea()
37 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea()
39 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea()
41 dest += next_line; in atafb_mfb_copyarea()
45 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea()
47 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea()
49 dest -= next_line; in atafb_mfb_copyarea()
57 u8 *dest; in atafb_mfb_fillrect() local
[all …]
Ddnfb.c152 uint start_mask, end_mask, dest; in dnfb_copyarea() local
160 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea()
187 out_8(AP_CONTROL_3A, 0xc | (dest >> 16)); in dnfb_copyarea()
196 *src = dest; in dnfb_copyarea()
198 dest += incr; in dnfb_copyarea()
202 *src = dest; in dnfb_copyarea()
204 dest += incr; in dnfb_copyarea()
208 *src = dest; in dnfb_copyarea()
209 dest += incr; in dnfb_copyarea()
213 *src = dest; in dnfb_copyarea()
[all …]
Datafb_iplan2p4.c210 u32 *dest; in atafb_iplan2p4_fillrect() local
214 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p4_fillrect()
216 u8 *dest8 = (u8 *)dest + 1; in atafb_iplan2p4_fillrect()
224 dest += BPL / 2; in atafb_iplan2p4_fillrect()
231 u32 *d = dest; in atafb_iplan2p4_fillrect()
237 dest += rows * BPL / 2; in atafb_iplan2p4_fillrect()
242 u8 *dest8 = (u8 *)dest; in atafb_iplan2p4_fillrect()
257 u32 *dest; in atafb_iplan2p4_linefill() local
262 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p4_linefill()
264 fill8_2col((u8 *)dest + 1, fgcolor, bgcolor, *data++); in atafb_iplan2p4_linefill()
[all …]
Datafb_iplan2p8.c245 u32 *dest; in atafb_iplan2p8_fillrect() local
249 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p8_fillrect()
251 u8 *dest8 = (u8 *)dest + 1; in atafb_iplan2p8_fillrect()
259 dest += BPL / 2; in atafb_iplan2p8_fillrect()
266 u32 *d = dest; in atafb_iplan2p8_fillrect()
272 dest += rows * BPL / 2; in atafb_iplan2p8_fillrect()
277 u8 *dest8 = (u8 *)dest; in atafb_iplan2p8_fillrect()
292 u32 *dest; in atafb_iplan2p8_linefill() local
297 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p8_linefill()
299 fill8_2col((u8 *)dest + 1, fgcolor, bgcolor, *data++); in atafb_iplan2p8_linefill()
[all …]
Datafb_iplan2p2.c196 u32 *dest; in atafb_iplan2p2_fillrect() local
200 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p2_fillrect()
202 u8 *dest8 = (u8 *)dest + 1; in atafb_iplan2p2_fillrect()
210 dest += BPL / 2; in atafb_iplan2p2_fillrect()
217 u32 *d = dest; in atafb_iplan2p2_fillrect()
223 dest += rows * BPL / 2; in atafb_iplan2p2_fillrect()
228 u8 *dest8 = (u8 *)dest; in atafb_iplan2p2_fillrect()
243 u32 *dest; in atafb_iplan2p2_linefill() local
248 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p2_linefill()
250 fill8_2col((u8 *)dest + 1, fgcolor, bgcolor, *data++); in atafb_iplan2p2_linefill()
[all …]
Dhgafb.c460 u8 __iomem *dest; in hgafb_fillrect() local
465 dest = rowaddr(info, y) + (rect->dx >> 3); in hgafb_fillrect()
468 memset_io(dest, rect->color, (rect->width >> 3)); in hgafb_fillrect()
471 fb_writeb(~(fb_readb(dest)), dest); in hgafb_fillrect()
481 u8 __iomem *dest; in hgafb_copyarea() local
489 dest = rowaddr(info, y2) + (area->dx >> 3); in hgafb_copyarea()
490 memmove(dest, src, (area->width >> 3)); in hgafb_copyarea()
500 dest = rowaddr(info, y2) + (area->dx >> 3); in hgafb_copyarea()
501 memmove(dest, src, (area->width >> 3)); in hgafb_copyarea()
510 u8 __iomem *dest; in hgafb_imageblit() local
[all …]
/drivers/isdn/hisax/
Dq931.c24 iecpy(u_char *dest, u_char *iestart, int ieoffset) in iecpy() argument
32 *dest++ = *p++; in iecpy()
33 *dest++ = '\0'; in iecpy()
201 prbits(char *dest, u_char b, int start, int len) in prbits() argument
203 char *dp = dest; in prbits()
213 return (dp - dest); in prbits()
445 prcause(char *dest, u_char *p) in prcause() argument
448 char *dp = dest; in prcause()
484 return (dp - dest); in prcause()
522 prcause_1tr6(char *dest, u_char *p) in prcause_1tr6() argument
[all …]
/drivers/infiniband/hw/mthca/
Dmthca_doorbell.h54 static inline void mthca_write64_raw(__be64 val, void __iomem *dest) in mthca_write64_raw() argument
56 __raw_writeq((__force u64) val, dest); in mthca_write64_raw()
59 static inline void mthca_write64(u32 hi, u32 lo, void __iomem *dest, in mthca_write64() argument
62 __raw_writeq((__force u64) cpu_to_be64((u64) hi << 32 | lo), dest); in mthca_write64()
82 static inline void mthca_write64_raw(__be64 val, void __iomem *dest) in mthca_write64_raw() argument
84 __raw_writel(((__force u32 *) &val)[0], dest); in mthca_write64_raw()
85 __raw_writel(((__force u32 *) &val)[1], dest + 4); in mthca_write64_raw()
88 static inline void mthca_write64(u32 hi, u32 lo, void __iomem *dest, in mthca_write64() argument
97 __raw_writel(hi, dest); in mthca_write64()
98 __raw_writel(lo, dest + 4); in mthca_write64()
/drivers/scsi/lpfc/
Dlpfc_compat.h38 lpfc_memcpy_to_slim(void __iomem *dest, void *src, unsigned int bytes) in lpfc_memcpy_to_slim() argument
45 dest32 = (uint32_t __iomem *) dest; in lpfc_memcpy_to_slim()
60 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) in lpfc_memcpy_from_slim() argument
67 dest32 = (uint32_t *) dest; in lpfc_memcpy_from_slim()
83 lpfc_memcpy_to_slim( void __iomem *dest, void *src, unsigned int bytes) in lpfc_memcpy_to_slim() argument
86 __iowrite32_copy(dest, src, bytes / sizeof(uint32_t)); in lpfc_memcpy_to_slim()
90 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) in lpfc_memcpy_from_slim() argument
93 memcpy_fromio( dest, src, bytes); in lpfc_memcpy_from_slim()
/drivers/isdn/sc/
Dshmem.c27 void memcpy_toshmem(int card, void *dest, const void *src, size_t n) in memcpy_toshmem() argument
31 unsigned long dest_rem = ((unsigned long) dest) % 0x4000; in memcpy_toshmem()
44 ch = (unsigned long) dest / SRAM_PAGESIZE; in memcpy_toshmem()
60 sc_adapter[card]->rambase + ((unsigned long) dest % 0x4000)); in memcpy_toshmem()
66 void memcpy_fromshmem(int card, void *dest, const void *src, size_t n) in memcpy_fromshmem() argument
94 memcpy_fromio(dest, (void *)(sc_adapter[card]->rambase + in memcpy_fromshmem()
105 void memset_shmem(int card, void *dest, int c, size_t n)
122 ch = (unsigned long) dest / SRAM_PAGESIZE;
133 ((unsigned long) dest % 0x4000), c, n);
/drivers/scsi/sym53c8xx_2/
Dsym_misc.h105 struct sym_quehead *dest) in sym_que_move() argument
111 first->blink = dest; in sym_que_move()
112 dest->flink = first; in sym_que_move()
114 last->flink = dest; in sym_que_move()
115 dest->blink = last; in sym_que_move()
119 dest->flink = dest; in sym_que_move()
120 dest->blink = dest; in sym_que_move()
/drivers/video/console/
Dmdacon.c423 u16 *dest = MDA_ADDR(x, y); in mdacon_putcs() local
426 scr_writew(mda_convert_attr(scr_readw(s++)), dest++); in mdacon_putcs()
433 u16 *dest = MDA_ADDR(x, y); in mdacon_clear() local
440 scr_memsetw(dest, eattr, height*width*2); in mdacon_clear()
442 for (; height > 0; height--, dest+=mda_num_columns) in mdacon_clear()
443 scr_memsetw(dest, eattr, width*2); in mdacon_clear()
450 u16 *src, *dest; in mdacon_bmove() local
460 dest = MDA_ADDR(dx, dy); in mdacon_bmove()
463 scr_memmovew(dest, src, width*2); in mdacon_bmove()
465 dest += mda_num_columns; in mdacon_bmove()
[all …]
/drivers/misc/cxl/
Dpci.c31 #define CXL_READ_VSEC_LENGTH(dev, vsec, dest) \ argument
33 pci_read_config_word(dev, vsec + 0x6, dest); \
34 *dest >>= 4; \
36 #define CXL_READ_VSEC_NAFUS(dev, vsec, dest) \ argument
37 pci_read_config_byte(dev, vsec + 0x8, dest)
39 #define CXL_READ_VSEC_STATUS(dev, vsec, dest) \ argument
40 pci_read_config_byte(dev, vsec + 0x9, dest)
52 #define CXL_READ_VSEC_MODE_CONTROL(dev, vsec, dest) \ argument
53 pci_read_config_byte(dev, vsec + 0xa, dest)
62 #define CXL_READ_VSEC_PSL_REVISION(dev, vsec, dest) \ argument
[all …]
/drivers/acpi/acpica/
Dutstring.c609 u8 acpi_ut_safe_strcpy(char *dest, acpi_size dest_size, char *source) in acpi_ut_safe_strcpy() argument
616 ACPI_STRCPY(dest, source); in acpi_ut_safe_strcpy()
620 u8 acpi_ut_safe_strcat(char *dest, acpi_size dest_size, char *source) in acpi_ut_safe_strcat() argument
623 if ((ACPI_STRLEN(dest) + ACPI_STRLEN(source)) >= dest_size) { in acpi_ut_safe_strcat()
627 ACPI_STRCAT(dest, source); in acpi_ut_safe_strcat()
632 acpi_ut_safe_strncat(char *dest, in acpi_ut_safe_strncat() argument
641 if ((ACPI_STRLEN(dest) + actual_transfer_length) >= dest_size) { in acpi_ut_safe_strncat()
645 ACPI_STRNCAT(dest, source, max_transfer_length); in acpi_ut_safe_strncat()
/drivers/video/fbdev/i810/
Di810_accel.c162 int xdir, int src, int dest, int rop, in source_copy_blit() argument
172 PUT_RING(dest); in source_copy_blit()
195 static inline void color_blit(int width, int height, int pitch, int dest, in color_blit() argument
206 PUT_RING(dest); in color_blit()
237 int dest, const u32 *src, int bg, in mono_src_copy_imm_blit() argument
247 PUT_RING(dest); in mono_src_copy_imm_blit()
301 u32 dx, dy, width, height, dest, rop = 0, color = 0; in i810fb_fillrect() local
321 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; in i810fb_fillrect()
322 color_blit(width, height, info->fix.line_length, dest, rop, color, in i810fb_fillrect()
329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; in i810fb_copyarea() local
[all …]
/drivers/gpu/drm/
Ddrm_plane_helper.c107 struct drm_rect *dest, in drm_plane_helper_check_update() argument
123 hscale = drm_rect_calc_hscale(src, dest, min_scale, max_scale); in drm_plane_helper_check_update()
124 vscale = drm_rect_calc_vscale(src, dest, min_scale, max_scale); in drm_plane_helper_check_update()
130 *visible = drm_rect_clip_scaled(src, dest, clip, hscale, vscale); in drm_plane_helper_check_update()
141 if (!can_position && !drm_rect_equals(dest, clip)) { in drm_plane_helper_check_update()
204 struct drm_rect dest = { in drm_primary_helper_update() local
219 &src, &dest, &clip, in drm_primary_helper_update()
/drivers/usb/serial/
Dvisor.c559 #define COPY_PORT(dest, src) \ in treo_attach() argument
564 dest->read_urbs[i] = src->read_urbs[i]; \ in treo_attach()
565 dest->read_urbs[i]->context = dest; \ in treo_attach()
566 dest->bulk_in_buffers[i] = src->bulk_in_buffers[i]; \ in treo_attach()
568 dest->read_urb = src->read_urb; \ in treo_attach()
569 dest->bulk_in_endpointAddress = src->bulk_in_endpointAddress;\ in treo_attach()
570 dest->bulk_in_buffer = src->bulk_in_buffer; \ in treo_attach()
571 dest->bulk_in_size = src->bulk_in_size; \ in treo_attach()
572 dest->interrupt_in_urb = src->interrupt_in_urb; \ in treo_attach()
573 dest->interrupt_in_urb->context = dest; \ in treo_attach()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c758 u8 *from, *dest; in i40e_write_byte() local
776 dest = hmc_bits + (ce_info->lsb / 8); in i40e_write_byte()
778 memcpy(&dest_byte, dest, sizeof(dest_byte)); in i40e_write_byte()
784 memcpy(dest, &dest_byte, sizeof(dest_byte)); in i40e_write_byte()
798 u8 *from, *dest; in i40e_write_word() local
820 dest = hmc_bits + (ce_info->lsb / 8); in i40e_write_word()
822 memcpy(&dest_word, dest, sizeof(dest_word)); in i40e_write_word()
828 memcpy(dest, &dest_word, sizeof(dest_word)); in i40e_write_word()
842 u8 *from, *dest; in i40e_write_dword() local
872 dest = hmc_bits + (ce_info->lsb / 8); in i40e_write_dword()
[all …]
/drivers/mtd/maps/
Dtsunami_flash.c32 unsigned char *dest; in tsunami_flash_copy_from() local
33 dest = addr; in tsunami_flash_copy_from()
35 *dest = tsunami_tig_readb(offset); in tsunami_flash_copy_from()
37 dest++; in tsunami_flash_copy_from()
Dixp4xx.c103 u8 *dest = (u8 *) to; in ixp4xx_copy_from() local
110 *dest++ = BYTE1(flash_read16(src-1)); in ixp4xx_copy_from()
117 *dest++ = BYTE0(data); in ixp4xx_copy_from()
118 *dest++ = BYTE1(data); in ixp4xx_copy_from()
124 *dest++ = BYTE0(flash_read16(src)); in ixp4xx_copy_from()
/drivers/dma/
Dmv_xor.c515 mv_xor_prep_dma_xor(struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src, in mv_xor_prep_dma_xor() argument
528 __func__, src_cnt, len, &dest, flags); in mv_xor_prep_dma_xor()
535 mv_desc_init(sw_desc, dest, len, flags); in mv_xor_prep_dma_xor()
547 mv_xor_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src, in mv_xor_prep_dma_memcpy() argument
554 return mv_xor_prep_dma_xor(chan, dest, &src, 1, len, flags); in mv_xor_prep_dma_memcpy()
561 dma_addr_t src, dest; in mv_xor_prep_dma_interrupt() local
565 dest = mv_chan->dummy_dst_addr; in mv_xor_prep_dma_interrupt()
572 return mv_xor_prep_dma_xor(chan, dest, &src, 1, len, flags); in mv_xor_prep_dma_interrupt()
708 void *src, *dest; in mv_xor_memcpy_self_test() local
720 dest = kzalloc(sizeof(u8) * PAGE_SIZE, GFP_KERNEL); in mv_xor_memcpy_self_test()
[all …]
/drivers/isdn/hardware/mISDN/
Diohelper.h98 #define ASSIGN_FUNC(typ, name, dest) do { \ argument
99 dest.read_reg = &Read##name##_##typ; \
100 dest.write_reg = &Write##name##_##typ; \
101 dest.read_fifo = &ReadFiFo##name##_##typ; \
102 dest.write_fifo = &WriteFiFo##name##_##typ; \
/drivers/gpu/host1x/
Dintr.c70 struct list_head *dest; in remove_completed_waiters() local
77 dest = completed + waiter->action; in remove_completed_waiters()
81 !list_empty(dest)) { in remove_completed_waiters()
82 prev = list_entry(dest->prev, in remove_completed_waiters()
86 dest = NULL; in remove_completed_waiters()
91 if (atomic_inc_return(&waiter->state) == WLS_HANDLED || !dest) { in remove_completed_waiters()
95 list_move_tail(&waiter->list, dest); in remove_completed_waiters()
/drivers/usb/gadget/
Dconfig.c40 u8 *dest = buf; in usb_descriptor_fillbuf() local
51 memcpy(dest, *src, len); in usb_descriptor_fillbuf()
53 dest += len; in usb_descriptor_fillbuf()
55 return dest - (u8 *)buf; in usb_descriptor_fillbuf()

12345678910