Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/drivers/infiniband/core/
Duverbs_marshall.c36 struct ib_ah_attr *src) in ib_copy_ah_attr_to_user() argument
38 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid); in ib_copy_ah_attr_to_user()
39 dst->grh.flow_label = src->grh.flow_label; in ib_copy_ah_attr_to_user()
40 dst->grh.sgid_index = src->grh.sgid_index; in ib_copy_ah_attr_to_user()
41 dst->grh.hop_limit = src->grh.hop_limit; in ib_copy_ah_attr_to_user()
42 dst->grh.traffic_class = src->grh.traffic_class; in ib_copy_ah_attr_to_user()
43 dst->dlid = src->dlid; in ib_copy_ah_attr_to_user()
44 dst->sl = src->sl; in ib_copy_ah_attr_to_user()
45 dst->src_path_bits = src->src_path_bits; in ib_copy_ah_attr_to_user()
46 dst->static_rate = src->static_rate; in ib_copy_ah_attr_to_user()
[all …]
/drivers/video/
Dsyscopyarea.c30 const unsigned long *src, int src_idx, int bits, unsigned n) in bitcpy() argument
45 *dst = comp(*src, *dst, first); in bitcpy()
50 *dst = comp(*src, *dst, first); in bitcpy()
52 src++; in bitcpy()
59 *dst++ = *src++; in bitcpy()
60 *dst++ = *src++; in bitcpy()
61 *dst++ = *src++; in bitcpy()
62 *dst++ = *src++; in bitcpy()
63 *dst++ = *src++; in bitcpy()
64 *dst++ = *src++; in bitcpy()
[all …]
Dcfbcopyarea.c48 const unsigned long __iomem *src, int src_idx, int bits, in bitcpy() argument
65 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); in bitcpy()
71 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); in bitcpy()
73 src++; in bitcpy()
80 FB_WRITEL(FB_READL(src++), dst++); in bitcpy()
81 FB_WRITEL(FB_READL(src++), dst++); in bitcpy()
82 FB_WRITEL(FB_READL(src++), dst++); in bitcpy()
83 FB_WRITEL(FB_READL(src++), dst++); in bitcpy()
84 FB_WRITEL(FB_READL(src++), dst++); in bitcpy()
85 FB_WRITEL(FB_READL(src++), dst++); in bitcpy()
[all …]
Datafb_iplan2p2.c40 u8 *src, *dst; in atafb_iplan2p2_copyarea() local
51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
54 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p2_copyarea()
55 src += BPL * 2; in atafb_iplan2p2_copyarea()
61 s = (u32 *)src; in atafb_iplan2p2_copyarea()
73 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p2_copyarea()
76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
80 src -= BPL * 2; in atafb_iplan2p2_copyarea()
82 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p2_copyarea()
87 s = (u32 *)src; in atafb_iplan2p2_copyarea()
[all …]
Datafb_iplan2p4.c40 u8 *src, *dst; in atafb_iplan2p4_copyarea() local
51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
54 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p4_copyarea()
55 src += BPL * 2; in atafb_iplan2p4_copyarea()
61 s = (u32 *)src; in atafb_iplan2p4_copyarea()
73 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p4_copyarea()
76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
80 src -= BPL * 2; in atafb_iplan2p4_copyarea()
82 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p4_copyarea()
87 s = (u32 *)src; in atafb_iplan2p4_copyarea()
[all …]
Datafb_mfb.c28 u8 *src, *dest; in atafb_mfb_copyarea() local
32 src = (u8 *)info->screen_base + sy * (width >> 3); in atafb_mfb_copyarea()
34 fb_memmove(dest, src, height * (width >> 3)); in atafb_mfb_copyarea()
36 src = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_copyarea()
39 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea()
40 src += next_line; in atafb_mfb_copyarea()
44 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea()
47 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea()
48 src -= next_line; in atafb_mfb_copyarea()
Ddnfb.c155 ushort *src, dummy; in dnfb_copyarea() local
160 src = (ushort *)(info->screen_base + area->sy * info->fix.line_length + in dnfb_copyarea()
192 dummy = *src; in dnfb_copyarea()
193 src += incr; in dnfb_copyarea()
198 *src = dest; in dnfb_copyarea()
199 src += incr; in dnfb_copyarea()
204 *src = dest; in dnfb_copyarea()
205 src += incr; in dnfb_copyarea()
210 *src = dest; in dnfb_copyarea()
212 src += incr; in dnfb_copyarea()
[all …]
Datafb_iplan2p8.c47 u8 *src, *dst; in atafb_iplan2p8_copyarea() local
58 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
61 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p8_copyarea()
62 src += BPL * 2; in atafb_iplan2p8_copyarea()
68 s = (u32 *)src; in atafb_iplan2p8_copyarea()
80 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p8_copyarea()
83 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
87 src -= BPL * 2; in atafb_iplan2p8_copyarea()
89 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p8_copyarea()
94 s = (u32 *)src; in atafb_iplan2p8_copyarea()
[all …]
Damifb.c1386 static void bitcpy(unsigned long *dst, int dst_idx, const unsigned long *src, in bitcpy() argument
1408 *dst = comp(*src, *dst, first); in bitcpy()
1413 *dst = comp(*src, *dst, first); in bitcpy()
1415 src++; in bitcpy()
1422 *dst++ = *src++; in bitcpy()
1423 *dst++ = *src++; in bitcpy()
1424 *dst++ = *src++; in bitcpy()
1425 *dst++ = *src++; in bitcpy()
1426 *dst++ = *src++; in bitcpy()
1427 *dst++ = *src++; in bitcpy()
[all …]
/drivers/usb/gadget/
Dconfig.c45 const struct usb_descriptor_header **src) in usb_descriptor_fillbuf() argument
49 if (!src) in usb_descriptor_fillbuf()
53 for (; NULL != *src; src++) { in usb_descriptor_fillbuf()
54 unsigned len = (*src)->bLength; in usb_descriptor_fillbuf()
58 memcpy(dest, *src, len); in usb_descriptor_fillbuf()
131 usb_copy_descriptors(struct usb_descriptor_header **src) in usb_copy_descriptors() argument
140 for (bytes = 0, n_desc = 0, tmp = src; *tmp; tmp++, n_desc++) in usb_copy_descriptors()
155 while (*src) { in usb_copy_descriptors()
156 memcpy(mem, *src, (*src)->bLength); in usb_copy_descriptors()
159 mem += (*src)->bLength; in usb_copy_descriptors()
[all …]
/drivers/uwb/wlp/
Dtxrx.c44 struct uwb_dev_addr *src) in wlp_direct_assoc_frame() argument
59 frame_ctx->src = *src; in wlp_direct_assoc_frame()
101 struct uwb_dev_addr *src) in wlp_receive_assoc_frame() argument
121 if (!memcmp(&session->neighbor_addr, src, in wlp_receive_assoc_frame()
122 sizeof(*src))) { in wlp_receive_assoc_frame()
133 src->data[1], src->data[0]); in wlp_receive_assoc_frame()
142 wlp_direct_assoc_frame(wlp, skb, src); in wlp_receive_assoc_frame()
161 struct uwb_dev_addr *src) in wlp_verify_prep_rx_frame() argument
169 result = wlp_copy_eda_node(&wlp->eda, src, &eda_entry); in wlp_verify_prep_rx_frame()
173 "neighbor %02x:%02x.\n", src->data[1], in wlp_verify_prep_rx_frame()
[all …]
/drivers/md/
DMakefile42 cmd_unroll = $(PERL) $(srctree)/$(src)/unroll.pl $(UNROLL) \
55 $(obj)/raid6int1.c: $(src)/raid6int.uc $(src)/unroll.pl FORCE
60 $(obj)/raid6int2.c: $(src)/raid6int.uc $(src)/unroll.pl FORCE
65 $(obj)/raid6int4.c: $(src)/raid6int.uc $(src)/unroll.pl FORCE
70 $(obj)/raid6int8.c: $(src)/raid6int.uc $(src)/unroll.pl FORCE
75 $(obj)/raid6int16.c: $(src)/raid6int.uc $(src)/unroll.pl FORCE
80 $(obj)/raid6int32.c: $(src)/raid6int.uc $(src)/unroll.pl FORCE
86 $(obj)/raid6altivec1.c: $(src)/raid6altivec.uc $(src)/unroll.pl FORCE
92 $(obj)/raid6altivec2.c: $(src)/raid6altivec.uc $(src)/unroll.pl FORCE
98 $(obj)/raid6altivec4.c: $(src)/raid6altivec.uc $(src)/unroll.pl FORCE
[all …]
/drivers/staging/rtl8187se/ieee80211/
Drtl_crypto.h77 void (*cia_encrypt)(void *ctx, u8 *dst, const u8 *src);
78 void (*cia_decrypt)(void *ctx, u8 *dst, const u8 *src);
93 int (*coa_compress)(void *ctx, const u8 *src, unsigned int slen,
95 int (*coa_decompress)(void *ctx, const u8 *src, unsigned int slen,
145 struct scatterlist *src,
149 struct scatterlist *src,
153 struct scatterlist *src,
157 struct scatterlist *src,
159 void (*cit_xor_block)(u8 *dst, const u8 *src);
178 const u8 *src, unsigned int slen,
[all …]
Dieee80211_rx.c74 unsigned int frag, u8 tid,u8 *src, u8 *dst) in ieee80211_frag_cache_find() argument
93 memcmp(entry->src_addr, src, ETH_ALEN) == 0 && in ieee80211_frag_cache_find()
591 u8 src[ETH_ALEN]; in ieee80211_rx() local
761 memcpy(src, hdr->addr3, ETH_ALEN); in ieee80211_rx()
766 memcpy(src, hdr->addr2, ETH_ALEN); in ieee80211_rx()
773 memcpy(src, hdr->addr4, ETH_ALEN); in ieee80211_rx()
778 memcpy(src, hdr->addr2, ETH_ALEN); in ieee80211_rx()
1023 memcpy(skb_push(skb, ETH_ALEN), src, ETH_ALEN); in ieee80211_rx()
1031 memcpy(skb_push(skb, ETH_ALEN), src, ETH_ALEN); in ieee80211_rx()
1106 int ieee_ext_skb_p80211_to_ether(struct sk_buff *skb, int hdrlen, u8 *dst, u8 *src) in ieee_ext_skb_p80211_to_ether() argument
[all …]
/drivers/scsi/aic7xxx/
Daic79xx_inline.h59 ahd_mode src, ahd_mode dst);
61 ahd_mode src,
65 ahd_mode *src, ahd_mode *dst);
67 void ahd_set_modes(struct ahd_softc *ahd, ahd_mode src,
77 ahd_known_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) in ahd_known_modes() argument
79 ahd->src_mode = src; in ahd_known_modes()
81 ahd->saved_src_mode = src; in ahd_known_modes()
86 ahd_build_mode_state(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) in ahd_build_mode_state() argument
88 return ((src << SRC_MODE_SHIFT) | (dst << DST_MODE_SHIFT)); in ahd_build_mode_state()
93 ahd_mode *src, ahd_mode *dst) in ahd_extract_mode_state() argument
[all …]
DMakefile57 $(obj)/aic7xxx_seq.h: $(src)/aic7xxx.seq $(src)/aic7xxx.reg $(obj)/aicasm/aicasm
58 $(obj)/aicasm/aicasm -I$(src) -r $(obj)/aic7xxx_reg.h \
60 $(src)/aic7xxx.seq
64 $(obj)/aic7xxx_reg_print.c: $(src)/aic7xxx_reg_print.c_shipped
74 $(obj)/aic79xx_seq.h: $(src)/aic79xx.seq $(src)/aic79xx.reg $(obj)/aicasm/aicasm
75 $(obj)/aicasm/aicasm -I$(src) -r $(obj)/aic79xx_reg.h \
77 $(src)/aic79xx.seq
81 $(obj)/aic79xx_reg_print.c: $(src)/aic79xx_reg_print.c_shipped
84 $(obj)/aicasm/aicasm: $(src)/aicasm/*.[chyl]
85 $(MAKE) -C $(src)/aicasm
/drivers/crypto/
Dgeode-aes.c47 do_crypt(void *src, void *dst, int len, u32 flags) in do_crypt() argument
52 iowrite32(virt_to_phys(src), _iobase + AES_SOURCEA_REG); in do_crypt()
103 ret = do_crypt(op->src, op->dst, op->len, flags); in geode_aes_crypt()
183 struct scatterlist *dst, struct scatterlist *src, in fallback_blk_dec() argument
193 ret = crypto_blkcipher_decrypt_iv(desc, dst, src, nbytes); in fallback_blk_dec()
199 struct scatterlist *dst, struct scatterlist *src, in fallback_blk_enc() argument
209 ret = crypto_blkcipher_encrypt_iv(desc, dst, src, nbytes); in fallback_blk_enc()
225 op->src = (void *) in; in geode_encrypt()
246 op->src = (void *) in; in geode_decrypt()
306 struct scatterlist *dst, struct scatterlist *src, in geode_cbc_decrypt() argument
[all …]
/drivers/scsi/lpfc/
Dlpfc_compat.h38 lpfc_memcpy_to_slim(void __iomem *dest, void *src, unsigned int bytes) in lpfc_memcpy_to_slim() argument
46 src32 = (uint32_t *) src; in lpfc_memcpy_to_slim()
60 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) in lpfc_memcpy_from_slim() argument
68 src32 = (uint32_t __iomem *) src; 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 memcpy_toio( dest, src, bytes); 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/gigaset/
Dasyncdata.c42 static inline int cmd_loop(unsigned char c, unsigned char *src, int numbytes, in cmd_loop() argument
75 c = *src++; in cmd_loop()
94 static inline int lock_loop(unsigned char *src, int numbytes, in lock_loop() argument
100 numbytes, src); in lock_loop()
101 gigaset_if_receive(cs, src, numbytes); in lock_loop()
114 static inline int hdlc_loop(unsigned char c, unsigned char *src, int numbytes, in hdlc_loop() argument
137 c = *src++; in hdlc_loop()
256 c = *src++; in hdlc_loop()
278 static inline int iraw_loop(unsigned char c, unsigned char *src, int numbytes, in iraw_loop() argument
305 c = *src++; in iraw_loop()
[all …]
Disocdata.c158 int read, write, limit, src, dst; in gigaset_isowbuf_getbytes() local
177 src = iwb->read; in gigaset_isowbuf_getbytes()
179 (read < src && limit >= src))) { in gigaset_isowbuf_getbytes()
223 src = 0; in gigaset_isowbuf_getbytes()
225 while (dst < limit && src < write) in gigaset_isowbuf_getbytes()
226 iwb->data[dst++] = iwb->data[src++]; in gigaset_isowbuf_getbytes()
232 limit = src; in gigaset_isowbuf_getbytes()
660 static inline void hdlc_unpack(unsigned char *src, unsigned count, in hdlc_unpack() argument
686 unsigned char c = *src++; in hdlc_unpack()
853 static inline void trans_receive(unsigned char *src, unsigned count, in trans_receive() argument
[all …]
/drivers/video/console/
Dfbcon_rotate.c25 const u8 *src; in fbcon_rotate_font() local
32 src = ops->fontdata = vc->vc_font.data; in fbcon_rotate_font()
34 len = (!ops->p->userfont) ? 256 : FNTCHARCNT(src); in fbcon_rotate_font()
66 rotate_ud(src, dst, vc->vc_font.width, in fbcon_rotate_font()
69 src += s_cellsize; in fbcon_rotate_font()
75 rotate_cw(src, dst, vc->vc_font.width, in fbcon_rotate_font()
77 src += s_cellsize; in fbcon_rotate_font()
83 rotate_ccw(src, dst, vc->vc_font.width, in fbcon_rotate_font()
85 src += s_cellsize; in fbcon_rotate_font()
Dbitblit.c24 static inline void update_attr(u8 *dst, u8 *src, int attribute, in update_attr() argument
34 c = src[i]; in update_attr()
83 u8 *src; in bit_putcs_aligned() local
86 src = vc->vc_font.data + (scr_readw(s++)& in bit_putcs_aligned()
90 update_attr(buf, src, attr, vc); in bit_putcs_aligned()
91 src = buf; in bit_putcs_aligned()
95 __fb_pad_aligned_buffer(dst, d_pitch, src, idx, in bit_putcs_aligned()
98 fb_pad_aligned_buffer(dst, d_pitch, src, idx, in bit_putcs_aligned()
118 u8 *src; in bit_putcs_unaligned() local
121 src = vc->vc_font.data + (scr_readw(s++)& in bit_putcs_unaligned()
[all …]
/drivers/mtd/onenand/
Donenand_sim.c201 static int onenand_check_overwrite(void *dest, void *src, size_t count) in onenand_check_overwrite() argument
203 unsigned int *s = (unsigned int *) src; in onenand_check_overwrite()
232 void __iomem *src; in onenand_data_handle() local
246 src = ONENAND_CORE(flash) + offset; in onenand_data_handle()
248 memcpy(dest, src, mtd->writesize); in onenand_data_handle()
252 src = ONENAND_CORE_SPARE(flash, this, offset); in onenand_data_handle()
254 memcpy(dest, src, mtd->oobsize); in onenand_data_handle()
258 src = ONENAND_MAIN_AREA(this, main_offset); in onenand_data_handle()
263 if (!memcmp(src + off, ffchars, this->subpagesize)) in onenand_data_handle()
266 onenand_check_overwrite(dest + off, src + off, this->subpagesize)) in onenand_data_handle()
[all …]
/drivers/staging/otus/hal/
Dhprw.c48 u16_t zfPutCmd(zdev_t* dev, u32_t* cmd, u16_t cmdLen, u16_t src, u8_t* buf) in zfPutCmd() argument
65 hpPriv->cmdQ[hpPriv->cmdTail].src = src; in zfPutCmd()
77 u16_t zfGetCmd(zdev_t* dev, u32_t* cmd, u16_t* cmdLen, u16_t* src, u8_t** buf) in zfGetCmd() argument
90 *src = hpPriv->cmdQ[hpPriv->cmdHead].src; in zfGetCmd()
157 u16_t zfIssueCmd(zdev_t* dev, u32_t* cmd, u16_t cmdLen, u16_t src, u8_t* buf) in zfIssueCmd() argument
172 ret = zfPutCmd(dev, cmd, cmdLen, src, buf); in zfIssueCmd()
187 ret = zfPutCmd(dev, cmd, cmdLen, src, buf); in zfIssueCmd()
208 u16_t src; in zfIdlRsp() local
226 ret = zfGetCmd(dev, cmd, &cmdLen, &src, &buf); in zfIdlRsp()
264 if (src == ZM_OID_READ) in zfIdlRsp()
[all …]
/drivers/net/wireless/ipw2x00/
Dlibipw_rx.c60 u8 * src, in ieee80211_frag_cache_find() argument
79 !compare_ether_addr(entry->src_addr, src) && in ieee80211_frag_cache_find()
350 u8 src[ETH_ALEN]; in ieee80211_rx() local
499 memcpy(src, hdr->addr3, ETH_ALEN); in ieee80211_rx()
503 memcpy(src, hdr->addr2, ETH_ALEN); in ieee80211_rx()
509 memcpy(src, hdr->addr4, ETH_ALEN); in ieee80211_rx()
513 memcpy(src, hdr->addr2, ETH_ALEN); in ieee80211_rx()
747 memcpy(skb_push(skb, ETH_ALEN), src, ETH_ALEN); in ieee80211_rx()
755 memcpy(skb_push(skb, ETH_ALEN), src, ETH_ALEN); in ieee80211_rx()
1465 static inline int is_same_network(struct ieee80211_network *src, in is_same_network() argument
[all …]

12345678910>>...12