Searched refs:src (Results 1 - 25 of 686) sorted by relevance

1234567891011>>

/drivers/infiniband/core/
H A Duverbs_marshall.c37 struct ib_ah_attr *src)
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;
45 dst->dlid = src->dlid;
46 dst->sl = src->sl;
47 dst->src_path_bits = src
36 ib_copy_ah_attr_to_user(struct ib_uverbs_ah_attr *dst, struct ib_ah_attr *src) argument
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.c49 const u64 *src = from; local
50 const u64 *end = src + (count >> 1);
52 while (src < end)
53 __raw_writeq(*src++, dst++);
55 __raw_writel(*(const u32 *)src, dst);
58 const u32 *src = from;
59 const u32 *end = src + count;
61 while (src < end)
62 __raw_writel(*src++, dst++);
/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_sgmac.h24 #define PHY_ADDR(src) (((src)<<8) & GENMASK(12, 8))
25 #define REG_ADDR(src) ((src) & GENMASK(4, 0))
26 #define PHY_CONTROL(src) ((src) & GENMASK(15, 0))
/drivers/misc/vmw_vmci/
H A Dvmci_route.c28 int vmci_route(struct vmci_handle *src, argument
72 if (VMCI_HOST_CONTEXT_ID == src->context)
83 if (VMCI_INVALID_ID == src->context &&
84 VMCI_INVALID_ID != src->resource)
85 src->context = vmci_get_context_id();
102 if (src->context == VMCI_HYPERVISOR_CONTEXT_ID) {
121 if (VMCI_INVALID_ID == src->context)
122 src->context = vmci_get_context_id();
138 if (VMCI_INVALID_ID == src->context) {
147 src
[all...]
H A Dvmci_route.h27 int vmci_route(struct vmci_handle *src, const struct vmci_handle *dst,
/drivers/scsi/lpfc/
H A Dlpfc_compat.h38 lpfc_memcpy_to_slim(void __iomem *dest, void *src, unsigned int bytes) argument
46 src32 = (uint32_t *) src;
60 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) argument
68 src32 = (uint32_t __iomem *) src;
83 lpfc_memcpy_to_slim( void __iomem *dest, void *src, unsigned int bytes) argument
86 __iowrite32_copy(dest, src, bytes / sizeof(uint32_t));
90 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) argument
93 memcpy_fromio( dest, src, bytes);
/drivers/video/fbdev/core/
H A Dsyscopyarea.c29 const unsigned long *src, int src_idx, int bits, unsigned n)
44 *dst = comp(*src, *dst, first);
49 *dst = comp(*src, *dst, first);
51 src++;
58 *dst++ = *src++;
59 *dst++ = *src++;
60 *dst++ = *src++;
61 *dst++ = *src++;
62 *dst++ = *src++;
63 *dst++ = *src
28 bitcpy(struct fb_info *p, unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, int bits, unsigned n) argument
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 Dcfbcopyarea.c47 const unsigned long __iomem *src, unsigned src_idx, int bits,
59 (char *)src + ((src_idx & (bits - 1))) / 8, n / 8);
73 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst);
79 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst);
81 src++;
88 FB_WRITEL(FB_READL(src++), dst++);
89 FB_WRITEL(FB_READL(src++), dst++);
90 FB_WRITEL(FB_READL(src++), dst++);
91 FB_WRITEL(FB_READL(src++), dst++);
92 FB_WRITEL(FB_READL(src
46 bitcpy(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, const unsigned long __iomem *src, unsigned src_idx, int bits, unsigned n, u32 bswapmask) argument
212 bitcpy_rev(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, const unsigned long __iomem *src, unsigned src_idx, int bits, unsigned n, u32 bswapmask) argument
[all...]
/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);
33 static int zcomp_lz4_decompress(const unsigned char *src, size_t src_len, argument
38 return lz4_decompress_unknownoutputsize(src, src_len, dst, &dst_len);
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);
33 static int lzo_decompress(const unsigned char *src, size_t src_len, argument
37 int ret = lzo1x_decompress_safe(src, src_len, dst, &dst_len);
/drivers/isdn/hardware/eicon/
H A Ddiva.h13 const void *src, int length);
16 const void __user *src, int length);
21 int diva_xdi_write(void *adapter, void *os_handle, const void __user *src,
24 void *diva_xdi_open_adapter(void *os_handle, const void __user *src,
H A Dum_idi.h17 const void *src,
21 const void *src,
31 const void *src,
/drivers/media/platform/s5p-tv/
H A Dmixer_vp_layer.c107 &layer->fmt->plane[0], layer->geo.src.full_width,
108 layer->geo.src.full_height);
114 luma_addr[1] = luma_addr[0] + layer->geo.src.full_width;
146 struct mxr_crop *src = &geo->src; local
159 dst->width = clamp(dst->width, 8U, 16 * src->full_width);
160 dst->height = clamp(dst->height, 1U, 16 * src->full_height);
171 x_center = src->x_offset + src->width / 2;
172 y_center = src
[all...]
H A Dmixer_grp_layer.c152 struct mxr_crop *src = &geo->src; local
179 dst->width = min(dst->width, 2 * src->full_width);
180 dst->height = min(dst->height, 2 * src->full_height);
192 x_center = src->x_offset + src->width / 2;
193 y_center = src->y_offset + src->height / 2;
195 if (src->full_width < dst->width)
196 src
[all...]
/drivers/staging/lustre/lustre/obdclass/linux/
H A Dlinux-obdo.c148 void obdo_refresh_inode(struct inode *dst, struct obdo *src, u32 valid) argument
150 valid &= src->o_valid;
155 src->o_valid, LTIME_S(dst->i_mtime),
156 LTIME_S(dst->i_ctime), src->o_mtime, src->o_ctime);
158 if (valid & OBD_MD_FLATIME && src->o_atime > LTIME_S(dst->i_atime))
159 LTIME_S(dst->i_atime) = src->o_atime;
160 if (valid & OBD_MD_FLMTIME && src->o_mtime > LTIME_S(dst->i_mtime))
161 LTIME_S(dst->i_mtime) = src->o_mtime;
162 if (valid & OBD_MD_FLCTIME && src
183 obdo_to_inode(struct inode *dst, struct obdo *src, u32 valid) argument
[all...]
/drivers/staging/comedi/drivers/
H A Dcomedi_fc.h71 * @src: pointer to the trigger source to validate
75 * to vaildate the comedi_cmd triggers. The mask of the @src against the
79 static inline int cfc_check_trigger_src(unsigned int *src, unsigned int flags) argument
81 unsigned int orig_src = *src;
83 *src = orig_src & flags;
84 if (*src == TRIG_INVALID || *src != orig_src)
91 * @src: the trigger source to check
93 static inline int cfc_check_trigger_is_unique(unsigned int src) argument
96 if ((src
[all...]
/drivers/staging/lustre/lustre/obdclass/
H A Dobdo.c59 void obdo_from_inode(struct obdo *dst, struct inode *src, u32 valid) argument
65 valid, LTIME_S(src->i_mtime),
66 LTIME_S(src->i_ctime));
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->o_size = i_size_read(src);
85 dst->o_blocks = src->i_blocks;
89 dst->o_blksize = 1 << src->i_blkbits;
94 (src
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/phy/
H A Dphy-xgene.c97 #define SATA_MEM_RESET_RD(src) (((src) & 0x00000020) >> 5)
106 #define REGSPEC_CFG_I_TX_WORDMODE0_SET(dst, src) \
107 (((dst) & ~0x00070000) | (((u32) (src) << 16) & 0x00070000))
108 #define REGSPEC_CFG_I_RX_WORDMODE0_SET(dst, src) \
109 (((dst) & ~0x00e00000) | (((u32) (src) << 21) & 0x00e00000))
111 #define REGSPEC_CFG_I_CUSTOMER_PIN_MODE0_SET(dst, src) \
112 (((dst) & ~0x00007fff) | (((u32) (src)) & 0x00007fff))
114 #define CFG_I_SPD_SEL_CDR_OVR1_SET(dst, src) \
115 (((dst) & ~0x0000000f) | (((u32) (src))
[all...]
/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_dec.h19 struct s5p_mfc_fmt *get_dec_def_fmt(bool src);
H A Ds5p_mfc_enc.h19 struct s5p_mfc_fmt *get_enc_def_fmt(bool src);
/drivers/video/fbdev/
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,
/drivers/media/usb/pwc/
H A Dpwc-uncompress.c40 u16 *src; local
72 src = (u16 *)yuv;
80 *dsty++ = *src++;
81 *dsty++ = *src++;
83 *dstv++ = *src++;
85 *dstu++ = *src++;
/drivers/scsi/aic7xxx/
H A Daic79xx_inline.h58 ahd_mode src, ahd_mode dst);
60 ahd_mode src,
64 ahd_mode *src, ahd_mode *dst);
66 void ahd_set_modes(struct ahd_softc *ahd, ahd_mode src,
76 ahd_known_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) argument
78 ahd->src_mode = src;
80 ahd->saved_src_mode = src;
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_mod
91 ahd_extract_mode_state(struct ahd_softc *ahd, ahd_mode_state state, ahd_mode *src, ahd_mode *dst) argument
[all...]
/drivers/block/xen-blkback/
H A Dcommon.h391 struct blkif_x86_32_request *src)
394 dst->operation = src->operation;
395 switch (src->operation) {
400 dst->u.rw.nr_segments = src->u.rw.nr_segments;
401 dst->u.rw.handle = src->u.rw.handle;
402 dst->u.rw.id = src->u.rw.id;
403 dst->u.rw.sector_number = src->u.rw.sector_number;
408 dst->u.rw.seg[i] = src->u.rw.seg[i];
411 dst->u.discard.flag = src->u.discard.flag;
412 dst->u.discard.id = src
390 blkif_get_x86_32_req(struct blkif_request *dst, struct blkif_x86_32_request *src) argument
438 blkif_get_x86_64_req(struct blkif_request *dst, struct blkif_x86_64_request *src) argument
[all...]
/drivers/staging/lustre/lustre/libcfs/
H A Dlibcfs_string.c246 * \a src should only have a single token which can be \<number\> or \*
250 `* src parses to
258 cfs_range_expr_parse(struct cfs_lstr *src, unsigned min, unsigned max, argument
268 if (src->ls_len == 1 && src->ls_str[0] == '*') {
275 if (cfs_str2num_check(src->ls_str, src->ls_len,
283 if (!bracketed || !cfs_gettok(src, '-', &tok))
291 if (cfs_str2num_check(src->ls_str, src
422 struct cfs_lstr src; local
497 struct cfs_lstr src; local
[all...]

Completed in 666 milliseconds

1234567891011>>