Searched defs:dst (Results 1 - 25 of 354) 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/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/misc/vmw_vmci/
H A Dvmci_route.c29 const struct vmci_handle *dst,
50 if (VMCI_INVALID_ID == dst->context)
54 if (VMCI_HYPERVISOR_CONTEXT_ID == dst->context) {
93 if (VMCI_HOST_CONTEXT_ID == dst->context) {
161 if (vmci_ctx_exists(dst->context)) {
175 src->context != dst->context) {
28 vmci_route(struct vmci_handle *src, const struct vmci_handle *dst, bool from_guest, enum vmci_route *route) argument
/drivers/block/zram/
H A Dzcomp_lz4.c26 static int zcomp_lz4_compress(const unsigned char *src, unsigned char *dst, argument
30 return lz4_compress(src, PAGE_SIZE, dst, dst_len, private);
34 unsigned char *dst)
38 return lz4_decompress_unknownoutputsize(src, src_len, dst, &dst_len);
33 zcomp_lz4_decompress(const unsigned char *src, size_t src_len, unsigned char *dst) argument
H A Dzcomp_lzo.c26 static int lzo_compress(const unsigned char *src, unsigned char *dst, argument
29 int ret = lzo1x_1_compress(src, PAGE_SIZE, dst, dst_len, private);
34 unsigned char *dst)
37 int ret = lzo1x_decompress_safe(src, src_len, dst, &dst_len);
33 lzo_decompress(const unsigned char *src, size_t src_len, unsigned char *dst) argument
/drivers/net/wireless/ath/wil6210/
H A Dfw.c36 void wil_memset_toio_32(volatile void __iomem *dst, u32 val, argument
39 volatile u32 __iomem *d = dst;
/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.h33 static inline void ocrdma_cpu_to_le32(void *dst, u32 len) argument
37 u32 *src_ptr = dst;
38 u32 *dst_ptr = dst;
44 static inline void ocrdma_le32_to_cpu(void *dst, u32 len) argument
48 u32 *src_ptr = dst;
49 u32 *dst_ptr = dst;
55 static inline void ocrdma_copy_cpu_to_le32(void *dst, void *src, u32 len) argument
60 u32 *dst_ptr = dst;
64 memcpy(dst, src, len);
68 static inline void ocrdma_copy_le32_to_cpu(void *dst, voi argument
[all...]
/drivers/media/pci/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...]
/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/lustre/lustre/obdclass/linux/
H A Dlinux-obdo.c53 void obdo_from_la(struct obdo *dst, struct lu_attr *la, __u64 valid) argument
58 dst->o_atime = la->la_atime;
62 dst->o_mtime = la->la_mtime;
66 dst->o_ctime = la->la_ctime;
70 dst->o_size = la->la_size;
74 dst->o_blocks = la->la_blocks;
78 dst->o_mode = (dst->o_mode & S_IALLUGO) |
83 dst->o_mode = (dst
100 la_from_obdo(struct lu_attr *dst, struct obdo *obdo, u32 valid) argument
148 obdo_refresh_inode(struct inode *dst, struct obdo *src, u32 valid) argument
183 obdo_to_inode(struct inode *dst, struct obdo *src, u32 valid) argument
[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...]
H A Dsoftcursor.c29 u8 *src, *dst; local
55 dst = fb_get_buffer_offset(info, &info->pixmap, size);
72 fb_pad_aligned_buffer(dst, d_pitch, src, s_pitch, image->height);
73 image->data = dst;
/drivers/video/fbdev/core/
H A Dfb_sys_fops.c60 void *dst; local
87 dst = (void __force *) (info->screen_base + p);
92 if (copy_from_user(dst, buf, count))
/drivers/crypto/nx/
H A Dnx-aes-cbc.c66 struct scatterlist *dst,
95 rc = nx_build_sg_lists(nx_ctx, desc, dst, src, to_process,
123 struct scatterlist *dst,
127 return cbc_aes_nx_crypt(desc, dst, src, nbytes, 1);
131 struct scatterlist *dst,
135 return cbc_aes_nx_crypt(desc, dst, src, nbytes, 0);
65 cbc_aes_nx_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, int enc) argument
122 cbc_aes_nx_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
130 cbc_aes_nx_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
H A Dnx-aes-ecb.c66 struct scatterlist *dst,
95 rc = nx_build_sg_lists(nx_ctx, desc, dst, src, to_process,
123 struct scatterlist *dst,
127 return ecb_aes_nx_crypt(desc, dst, src, nbytes, 1);
131 struct scatterlist *dst,
135 return ecb_aes_nx_crypt(desc, dst, src, nbytes, 0);
65 ecb_aes_nx_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, int enc) argument
122 ecb_aes_nx_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
130 ecb_aes_nx_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
H A Dnx-aes-ctr.c85 struct scatterlist *dst,
108 rc = nx_build_sg_lists(nx_ctx, desc, dst, src, to_process,
137 struct scatterlist *dst,
150 return ctr_aes_nx_crypt(desc, dst, src, nbytes);
84 ctr_aes_nx_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
136 ctr3686_aes_nx_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
/drivers/media/platform/s5p-g2d/
H A Dg2d-hw.c88 struct g2d_frame *dst)
93 w((src->c_width << 16) / dst->c_width, SRC_XSCALE_REG);
94 w((src->c_height << 16) / dst->c_height, SRC_YSCALE_REG);
87 g2d_set_v41_stretch(struct g2d_dev *d, struct g2d_frame *src, struct g2d_frame *dst) argument
/drivers/media/i2c/cx25840/
H A Dcx25840-vbi.c35 static int decode_vps(u8 * dst, u8 * p) argument
79 dst[i / 2] = c;
/drivers/media/pci/bt8xx/
H A Ddst_ca.h53 struct dst_state *dst; member in struct:dst_ca_private
/drivers/staging/lustre/lustre/obdclass/
H A Dobdo.c48 void obdo_set_parent_fid(struct obdo *dst, const struct lu_fid *parent) argument
50 dst->o_parent_oid = fid_oid(parent);
51 dst->o_parent_seq = fid_seq(parent);
52 dst->o_parent_ver = fid_ver(parent);
53 dst->o_valid |= OBD_MD_FLGENER | OBD_MD_FLFID;
59 void obdo_from_inode(struct obdo *dst, struct inode *src, u32 valid) argument
69 dst->o_atime = LTIME_S(src->i_atime);
73 dst->o_mtime = LTIME_S(src->i_mtime);
77 dst->o_ctime = LTIME_S(src->i_ctime);
81 dst
118 obdo_cpy_md(struct obdo *dst, struct obdo *src, u32 valid) argument
160 obdo_cmp_md(struct obdo *dst, struct obdo *src, u32 compare) argument
[all...]
/drivers/staging/rtl8188eu/hal/
H A Drtl8188e_dm.c208 void AntDivCompare8188E(struct adapter *Adapter, struct wlan_bssid_ex *dst, struct wlan_bssid_ex *src) argument
214 if (dst->Rssi >= src->Rssi) {/* keep org parameter */
215 src->Rssi = dst->Rssi;
216 src->PhyInfo.Optimum_antenna = dst->PhyInfo.Optimum_antenna;
/drivers/staging/wlan-ng/
H A Dp80211wep.c228 int wep_encrypt(wlandevice_t *wlandev, u8 *buf, u8 *dst, u32 len, int keynum, argument
283 dst[k] = buf[k] ^ s[(s[i] + s[j]) & 0xff];
/drivers/video/fbdev/aty/
H A Dmach64_cursor.c146 u8 __iomem *dst = (u8 __iomem *)info->sprite.addr; local
155 fb_memset(dst, 0xaa, 1024);
186 fb_writeb(l & 0xff, dst++);
187 fb_writeb(l >> 8, dst++);
189 dst += offset;
/drivers/video/fbdev/
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...]

Completed in 826 milliseconds

1234567891011>>