Searched refs:dst (Results 1 - 25 of 330) sorted by relevance

1234567891011>>

/drivers/infiniband/core/
H A Duverbs_marshall.c36 void ib_copy_ah_attr_to_user(struct ib_uverbs_ah_attr *dst, argument
39 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid);
40 dst->grh.flow_label = src->grh.flow_label;
41 dst->grh.sgid_index = src->grh.sgid_index;
42 dst->grh.hop_limit = src->grh.hop_limit;
43 dst->grh.traffic_class = src->grh.traffic_class;
44 memset(&dst->grh.reserved, 0, sizeof(dst->grh.reserved));
45 dst->dlid = src->dlid;
46 dst
55 ib_copy_qp_attr_to_user(struct ib_uverbs_qp_attr *dst, struct ib_qp_attr *src) argument
94 ib_copy_path_rec_to_user(struct ib_user_path_rec *dst, struct ib_sa_path_rec *src) argument
120 ib_copy_path_rec_from_user(struct ib_sa_path_rec *dst, struct ib_user_path_rec *src) argument
[all...]
/drivers/video/
H A Dsyscopyarea.c28 bitcpy(struct fb_info *p, unsigned long *dst, int dst_idx, argument
44 *dst = comp(*src, *dst, first);
49 *dst = comp(*src, *dst, first);
50 dst++;
58 *dst++ = *src++;
59 *dst++ = *src++;
60 *dst++ = *src++;
61 *dst
169 bitcpy_rev(struct fb_info *p, unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, int bits, unsigned n) argument
320 unsigned long *dst = NULL, *src = NULL; local
[all...]
H A Dsysfillrect.c25 bitfill_aligned(struct fb_info *p, unsigned long *dst, int dst_idx, argument
40 *dst = comp(pat, *dst, first);
46 *dst = comp(pat, *dst, first);
47 dst++;
54 *dst++ = pat;
55 *dst++ = pat;
56 *dst++ = pat;
57 *dst
81 bitfill_unaligned(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument
135 bitfill_aligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, unsigned n, int bits) argument
191 bitfill_unaligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument
249 unsigned long *dst; local
[all...]
H A Dcfbfillrect.c35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, argument
50 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); local
56 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); local
57 dst++;
64 FB_WRITEL(pat, dst++);
65 FB_WRITEL(pat, dst++);
66 FB_WRITEL(pat, dst++);
67 FB_WRITEL(pat, dst
79 FB_WRITEL(comp(pat, FB_READL(dst), last), dst); local
92 bitfill_unaligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument
107 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); local
112 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); local
138 FB_WRITEL(comp(pat, FB_READL(dst), last), dst); local
146 bitfill_aligned_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, unsigned n, int bits, u32 bswapmask) argument
217 bitfill_unaligned_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument
284 unsigned long __iomem *dst; local
[all...]
H A Dcfbcopyarea.c46 bitcpy(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, argument
64 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); local
70 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); local
71 dst++;
79 FB_WRITEL(FB_READL(src++), dst++);
80 FB_WRITEL(FB_READL(src++), dst++);
81 FB_WRITEL(FB_READL(src++), dst++);
82 FB_WRITEL(FB_READL(src++), dst
94 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), last), dst); local
124 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); local
151 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); local
194 FB_WRITEL(comp(d0, FB_READL(dst), last), dst); local
205 bitcpy_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, const unsigned long __iomem *src, int src_idx, int bits, unsigned n, u32 bswapmask) argument
236 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); local
242 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); local
266 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), last), dst); local
295 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); local
318 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); local
363 FB_WRITEL(comp(d0, FB_READL(dst), last), dst); local
374 unsigned long __iomem *dst = NULL, *src = NULL; local
[all...]
H A Datafb_utils.h219 static inline void fast_memmove(char *dst, const char *src, size_t size) argument
223 if (dst < src)
231 : "=a" (src), "=a" (dst), "=d" (size)
232 : "0" (src), "1" (dst), "2" (size / 16 - 1)
242 : "=a" (src), "=a" (dst), "=d" (size)
243 : "0" (src + size), "1" (dst + size), "2" (size / 16 - 1)
279 static inline void fill8_col(u8 *dst, u32 m[]) argument
282 dst[0] = tmp;
283 dst[2] = (tmp >>= 8);
285 dst[
300 fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask) argument
358 fill16_col(u32 *dst, int rows, u32 m[]) argument
374 memmove32_col(void *dst, void *src, u32 mask, u32 h, u32 bytes) argument
[all...]
H A Dc2p.h13 extern void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width,
17 extern void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width,
H A Dc2p_iplan2.c48 static inline void store_iplan2(void *dst, u32 bpp, u32 d[4]) argument
52 for (i = 0; i < bpp/2; i++, dst += 4)
53 put_unaligned_be32(d[perm_c2p_16x8[i]], dst);
61 static inline void store_iplan2_masked(void *dst, u32 bpp, u32 d[4], u32 mask) argument
65 for (i = 0; i < bpp/2; i++, dst += 4)
67 get_unaligned_be32(dst), mask),
68 dst); local
75 * @dst: Starting address of the planar frame buffer
85 void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, argument
96 dst
[all...]
H A Dc2p_planar.c48 static inline void store_planar(void *dst, u32 dst_inc, u32 bpp, u32 d[8]) argument
52 for (i = 0; i < bpp; i++, dst += dst_inc)
53 put_unaligned_be32(d[perm_c2p_32x8[i]], dst);
61 static inline void store_planar_masked(void *dst, u32 dst_inc, u32 bpp, argument
66 for (i = 0; i < bpp; i++, dst += dst_inc)
68 get_unaligned_be32(dst), mask),
69 dst); local
75 * @dst: Starting address of the planar frame buffer
86 void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, argument
98 dst
[all...]
/drivers/infiniband/hw/qib/
H A Dqib_pio_copy.c48 u64 __iomem *dst = to; local
53 __raw_writeq(*src++, dst++);
55 __raw_writel(*(const u32 *)src, dst);
57 u32 __iomem *dst = to;
62 __raw_writel(*src++, dst++);
/drivers/media/video/s5p-tv/
H A Dmixer_grp_layer.c153 struct mxr_crop *dst = &geo->dst; local
164 x_center = dst->x_offset + dst->width / 2;
165 y_center = dst->y_offset + dst->height / 2;
168 dst->width = round_down(dst->width, 2);
169 dst->height = round_down(dst
[all...]
H A Dmixer_vp_layer.c147 struct mxr_crop *dst = &geo->dst; local
155 x_center = dst->x_offset + dst->width / 2;
156 y_center = dst->y_offset + dst->height / 2;
159 dst->width = clamp(dst->width, 8U, 16 * src->full_width);
160 dst->height = clamp(dst
[all...]
/drivers/isdn/hardware/eicon/
H A Ddiva.h12 typedef int (*divas_xdi_copy_to_user_fn_t) (void *os_handle, void __user *dst,
15 typedef int (*divas_xdi_copy_from_user_fn_t) (void *os_handle, void *dst,
18 int diva_xdi_read(void *adapter, void *os_handle, void __user *dst,
H A Dum_idi.h16 void *dst,
20 void *dst,
26 void *dst,
/drivers/media/video/cx18/
H A Dcx18-io.c29 u8 __iomem *dst = addr; local
34 if ((count > 0) && ((unsigned long)dst & 1)) {
35 cx18_writeb(cx, (u8) val, dst);
37 dst++;
39 if ((count > 1) && ((unsigned long)dst & 2)) {
40 cx18_writew(cx, val2, dst);
42 dst += 2;
45 cx18_writel(cx, val4, dst);
47 dst += 4;
50 cx18_writew(cx, val2, dst);
[all...]
H A Dcx18-vbi.c60 u8 *dst = &cx->vbi.sliced_mpeg_data[idx][0]; local
77 dst[sd + 12 + line * 43] = cx18_service2vbi(sdata->id);
78 memcpy(dst + sd + 12 + line * 43 + 1, sdata->data, 42);
81 memcpy(dst, mpeg_hdr_data, sizeof(mpeg_hdr_data));
86 memcpy(dst + sd, "ITV0", 4);
87 memcpy(dst + sd + 4, dst + sd + 12, line * 43);
90 memcpy(dst + sd, "itv0", 4);
93 memcpy(dst + sd + 4, &linemask[0], 8);
96 dst[
[all...]
/drivers/video/console/
H A Dfbcon_rotate.c27 u8 *dst; local
49 dst = kmalloc(d_cellsize * len, GFP_KERNEL);
51 if (dst == NULL) {
58 ops->fontbuffer = dst;
61 dst = ops->fontbuffer;
62 memset(dst, 0, ops->fd_size);
67 rotate_ud(src, dst, vc->vc_font.width,
71 dst += d_cellsize;
76 rotate_cw(src, dst, vc->vc_font.width,
79 dst
[all...]
/drivers/block/xen-blkback/
H A Dcommon.h238 static inline void blkif_get_x86_32_req(struct blkif_request *dst, argument
242 dst->operation = src->operation;
248 dst->u.rw.nr_segments = src->u.rw.nr_segments;
249 dst->u.rw.handle = src->u.rw.handle;
250 dst->u.rw.id = src->u.rw.id;
251 dst->u.rw.sector_number = src->u.rw.sector_number;
253 if (n > dst->u.rw.nr_segments)
254 n = dst->u.rw.nr_segments;
256 dst->u.rw.seg[i] = src->u.rw.seg[i];
259 dst
269 blkif_get_x86_64_req(struct blkif_request *dst, struct blkif_x86_64_request *src) argument
[all...]
/drivers/staging/rtl8192u/ieee80211/
H A Dcrypto_compat.h15 struct scatterlist *dst,
20 return tfm->crt_cipher.cit_encrypt(tfm, dst, src, nbytes);
25 struct scatterlist *dst,
30 return tfm->crt_cipher.cit_decrypt(tfm, dst, src, nbytes);
14 crypto_cipher_encrypt(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
24 crypto_cipher_decrypt(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
H A Dcipher.c49 struct scatterlist *dst,
68 scatterwalk_start(&walk_out, dst);
99 static void cbc_process(struct crypto_tfm *tfm, u8 *dst, u8 *src, argument
110 fn(crypto_tfm_ctx(tfm), dst, iv); local
111 memcpy(iv, dst, crypto_tfm_alg_blocksize(tfm));
114 u8 *buf = in_place ? stack : dst;
119 if (buf != dst)
120 memcpy(dst, buf, crypto_tfm_alg_blocksize(tfm));
124 static void ecb_process(struct crypto_tfm *tfm, u8 *dst, u8 *src, argument
127 fn(crypto_tfm_ctx(tfm), dst, sr local
48 crypt(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, cryptfn_t crfn, procfn_t prfn, int enc, void *info) argument
142 ecb_encrypt(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
151 ecb_decrypt(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
161 cbc_encrypt(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
171 cbc_encrypt_iv(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, u8 *iv) argument
181 cbc_decrypt(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
191 cbc_decrypt_iv(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, u8 *iv) argument
201 nocrypt(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
209 nocrypt_iv(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, u8 *iv) argument
[all...]
/drivers/scsi/aic7xxx/
H A Daic79xx_inline.h58 ahd_mode src, ahd_mode dst);
61 ahd_mode dst);
64 ahd_mode *src, ahd_mode *dst);
67 ahd_mode dst);
76 ahd_known_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) argument
79 ahd->dst_mode = dst;
81 ahd->saved_dst_mode = dst;
85 ahd_build_mode_state(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) argument
87 return ((src << SRC_MODE_SHIFT) | (dst << DST_MODE_SHIFT));
92 ahd_mode *src, ahd_mode *dst)
91 ahd_extract_mode_state(struct ahd_softc *ahd, ahd_mode_state state, ahd_mode *src, ahd_mode *dst) argument
[all...]
/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_crypto.h77 void (*cia_encrypt)(void *ctx, u8 *dst, const u8 *src);
78 void (*cia_decrypt)(void *ctx, u8 *dst, const u8 *src);
94 u8 *dst, unsigned int *dlen);
96 u8 *dst, unsigned int *dlen);
144 struct scatterlist *dst,
148 struct scatterlist *dst,
152 struct scatterlist *dst,
156 struct scatterlist *dst,
159 void (*cit_xor_block)(u8 *dst, const u8 *src);
176 u8 *dst, unsigne
314 crypto_cipher_encrypt(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
323 crypto_cipher_encrypt_iv(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, u8 *iv) argument
333 crypto_cipher_decrypt(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
342 crypto_cipher_decrypt_iv(struct crypto_tfm *tfm, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, u8 *iv) argument
359 crypto_cipher_get_iv(struct crypto_tfm *tfm, u8 *dst, unsigned int len) argument
366 crypto_comp_compress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument
374 crypto_comp_decompress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument
[all...]
/drivers/staging/media/as102/
H A Das102_fw.c34 static unsigned char atohx(unsigned char *dst, char *src) argument
46 *dst = value = ((msb & 0xF) << 4) | (lsb & 0xF);
58 unsigned char *src, dst; local
67 atohx(&dst, src);
71 *dataLength = dst;
74 addr[2] = dst;
77 addr[3] = dst;
81 if (dst == 0x04)
89 addr[(count - 4)] = dst;
91 data[(count - 4)] = dst;
[all...]
/drivers/base/regmap/
H A Dregcache-lzo.c23 void *dst; member in struct:regcache_lzo_ctx
52 lzo_ctx->dst, &compress_size, lzo_ctx->wmem);
66 lzo_ctx->dst, &dst_len);
78 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL);
79 if (!lzo_ctx->dst) {
96 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL);
97 if (!lzo_ctx->dst) {
223 kfree(lzo_blocks[i]->dst);
251 tmp_dst = lzo_block->dst;
255 lzo_block->src = lzo_block->dst;
[all...]
/drivers/dma/
H A Dcoh901318_lli.c150 dma_addr_t dst = destination; local
153 lli->dst_addr = dst;
158 lli->dst_addr = dst;
164 dst += MAX_DMA_PACKET_SIZE;
169 lli->dst_addr = dst;
183 dma_addr_t dst; local
188 dst = dev_addr;
193 dst = buf;
213 lli->dst_addr = dst;
220 dst
242 dma_addr_t dst = 0; local
[all...]

Completed in 332 milliseconds

1234567891011>>