/drivers/infiniband/core/ |
H A D | uverbs_marshall.c | 36 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/infiniband/hw/qib/ |
H A D | qib_pio_copy.c | 48 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/cx18/ |
H A D | cx18-io.c | 29 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 D | cx18-av-vbi.c | 82 static int decode_vps(u8 *dst, u8 *p) argument 126 dst[i / 2] = c;
|
H A D | cx18-vbi.c | 60 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/scsi/aic7xxx/ |
H A D | aic79xx_inline.h | 58 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/rtl8192u/ieee80211/ |
H A D | compress.c | 24 u8 *dst, unsigned int *dlen) 27 src, slen, dst, 33 u8 *dst, unsigned int *dlen) 36 src, slen, dst, 22 crypto_compress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument 31 crypto_decompress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument
|
H A D | crypto_compat.h | 15 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
|
/drivers/video/console/ |
H A D | fbcon_rotate.c | 27 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...] |
H A D | softcursor.c | 29 u8 *src, *dst; local 56 dst = fb_get_buffer_offset(info, &info->pixmap, size); 73 fb_pad_aligned_buffer(dst, d_pitch, src, s_pitch, image->height); 74 image->data = dst;
|
/drivers/video/ |
H A D | fb_sys_fops.c | 60 void *dst; local 87 dst = (void __force *) (info->screen_base + p); 92 if (copy_from_user(dst, buf, count))
|
H A D | c2p_iplan2.c | 48 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 D | c2p_planar.c | 48 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...] |
H A D | cfbfillrect.c | 35 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 D | syscopyarea.c | 28 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 D | sysfillrect.c | 25 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...] |
/drivers/media/dvb/bt8xx/ |
H A D | dst_ca.h | 53 struct dst_state *dst; member in struct:dst_ca_private
|
/drivers/media/video/cx25840/ |
H A D | cx25840-vbi.c | 35 static int decode_vps(u8 * dst, u8 * p) argument 79 dst[i / 2] = c;
|
/drivers/staging/tidspbridge/gen/ |
H A D | gh.c | 141 char *src, *dst; local 147 dst = (char *)elem->data; 150 *dst++ = *src++;
|
/drivers/staging/wlan-ng/ |
H A D | p80211wep.c | 232 int wep_encrypt(wlandevice_t *wlandev, u8 *buf, u8 *dst, u32 len, int keynum, argument 289 dst[k] = buf[k] ^ s[(s[i] + s[j]) & 0xff];
|
/drivers/video/aty/ |
H A D | mach64_cursor.c | 145 u8 __iomem *dst = (u8 __iomem *)info->sprite.addr; local 154 fb_memset(dst, 0xaa, 1024); 165 fb_writeb(cursor_bits_lookup[(b ^ m) >> 4], dst++); 168 dst++); 172 fb_writeb(cursor_bits_lookup[(b & m) >> 4], dst++); 175 dst++); 179 dst += offset;
|
/drivers/xen/xenbus/ |
H A D | xenbus_comms.c | 99 void *dst; local 117 dst = get_output_chunk(cons, prod, intf->req, &avail); 126 memcpy(dst, data, avail);
|
/drivers/isdn/hardware/eicon/ |
H A D | dadapter.c | 176 int src, dst; local 182 for (src = 0, dst = 0; 183 (Adapters && (src < NEW_MAX_DESCRIPTORS) && (dst < length)); 186 memcpy (&buffer[dst], &HandleTable[src], sizeof(DESCRIPTOR)); 187 dst++; 191 if (dst < length) { 192 memcpy (&buffer[dst], &MAdapter, sizeof(DESCRIPTOR)); 193 dst++; 197 if (dst < length) { 198 memcpy (&buffer[dst], [all...] |
/drivers/isdn/hysdn/ |
H A D | boardergo.c | 217 unsigned char *dst; local 224 dst = card->dpram; /* pointer to start of DPRAM */ 225 dst += (offs + ERG_DPRAM_FILL_SIZE); /* offset in the DPRAM */ 227 *dst++ = *(buf + 1); /* high byte */ 228 *dst++ = *buf; /* low byte */ 229 dst += 2; /* point to next longword */ 264 unsigned char *dst; local 274 dst = sp->Data; /* point to data in spool structure */ 306 *(dst + wr_mirror) = *buf++; /* output one byte */
|
/drivers/isdn/i4l/ |
H A D | isdnhdlc.c | 126 dst _ destination buffer 132 int *count, u8 *dst, int dsize) 302 dst[hdlc->dstpos++] = hdlc->shift_reg; 350 dst _ destination buffer 355 int *count, u8 *dst, int dsize) 399 *dst++ = 0xff; 406 *dst++ = bitrev8(hdlc->ffvalue); 408 *dst++ = hdlc->ffvalue; 596 *dst++ = bitrev8(hdlc->cbin); 598 *dst 131 isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const u8 *src, int slen, int *count, u8 *dst, int dsize) argument 354 isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const u8 *src, u16 slen, int *count, u8 *dst, int dsize) argument [all...] |