Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 1049) sorted by relevance

12345678910>>...42

/drivers/infiniband/core/
A Duverbs_marshall.c69 memset(&dst->grh, 0, sizeof(dst->grh)); in ib_copy_ah_attr_to_user()
82 if (dst->is_global) { in ib_copy_ah_attr_to_user()
92 dst->reserved = 0; in ib_copy_ah_attr_to_user()
104 dst->qkey = src->qkey; in ib_copy_qp_attr_to_user()
105 dst->rq_psn = src->rq_psn; in ib_copy_qp_attr_to_user()
106 dst->sq_psn = src->sq_psn; in ib_copy_qp_attr_to_user()
132 memset(dst->reserved, 0, sizeof(dst->reserved)); in ib_copy_qp_attr_to_user()
150 dst->pkey = src->pkey; in __ib_copy_path_rec_to_user()
151 dst->sl = src->sl; in __ib_copy_path_rec_to_user()
153 dst->mtu = src->mtu; in __ib_copy_path_rec_to_user()
[all …]
/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_vcap_debugfs.c94 out->prf(out->dst, "on"); in sparx5_vcap_is0_port_keys()
96 out->prf(out->dst, "off"); in sparx5_vcap_is0_port_keys()
116 out->prf(out->dst, "\n"); in sparx5_vcap_is0_port_keys()
136 out->prf(out->dst, "on"); in sparx5_vcap_is2_port_keys()
138 out->prf(out->dst, "off"); in sparx5_vcap_is2_port_keys()
229 out->prf(out->dst, "\n"); in sparx5_vcap_is2_port_keys()
284 out->prf(out->dst, "\n"); in sparx5_vcap_is2_port_stickies()
302 out->prf(out->dst, "on"); in sparx5_vcap_es0_port_keys()
322 out->prf(out->dst, "\n"); in sparx5_vcap_es0_port_keys()
402 out->prf(out->dst, "\n"); in sparx5_vcap_es2_port_keys()
[all …]
/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_vcap_debugfs.c21 out->prf(out->dst, "on"); in lan966x_vcap_is1_port_keys()
23 out->prf(out->dst, "off"); in lan966x_vcap_is1_port_keys()
45 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys()
67 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys()
95 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys()
117 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys()
122 out->prf(out->dst, "\n"); in lan966x_vcap_is1_port_keys()
138 out->prf(out->dst, "on"); in lan966x_vcap_is2_port_keys()
192 out->prf(out->dst, "\n"); in lan966x_vcap_is2_port_keys()
208 out->prf(out->dst, "on"); in lan966x_vcap_es0_port_keys()
[all …]
/drivers/media/platform/verisilicon/
A Dhantro_vp8.c54 u8 *dst; in hantro_vp8_prob_update() local
66 dst[7] = 0; in hantro_vp8_prob_update()
68 dst += 8; in hantro_vp8_prob_update()
79 dst += 8; in hantro_vp8_prob_update()
88 dst += 8; in hantro_vp8_prob_update()
95 dst += 4; in hantro_vp8_prob_update()
107 dst += 8; in hantro_vp8_prob_update()
112 dst += (8 * 7); in hantro_vp8_prob_update()
120 dst += 4; in hantro_vp8_prob_update()
127 dst += (8 * 55); in hantro_vp8_prob_update()
[all …]
/drivers/media/platform/allegro-dvt/
A Dallegro-mail.c57 dst[i++] = 0; in allegro_enc_init()
121 dst[i++] = val; in allegro_encode_config_blob()
127 dst[i++] = val; in allegro_encode_config_blob()
133 dst[i++] = val; in allegro_encode_config_blob()
139 dst[i++] = val; in allegro_encode_config_blob()
186 dst[i++] = 0; in allegro_encode_config_blob()
199 dst[i++] = 0; in allegro_encode_config_blob()
331 dst[i++] = 0; in allegro_enc_encode_frame()
332 dst[i++] = 0; in allegro_enc_encode_frame()
333 dst[i++] = 0; in allegro_enc_encode_frame()
[all …]
/drivers/phy/
A Dphy-xgene.c110 #define CFG_IND_ADDR_SET(dst, src) \ argument
115 #define I_RESET_B_SET(dst, src) \ argument
117 #define I_PLL_FBDIV_SET(dst, src) \ argument
119 #define I_CUSTOMEROV_SET(dst, src) \ argument
133 #define CMU_REG1_PLL_CP_SET(dst, src) \ argument
145 #define CMU_REG2_PLL_LFRES_SET(dst, src) \ argument
147 #define CMU_REG2_PLL_FBDIV_SET(dst, src) \ argument
150 #define CMU_REG3_VCOVARSEL_SET(dst, src) \ argument
299 #define RXTX_REG5_TX_CN1_SET(dst, src) \ argument
301 #define RXTX_REG5_TX_CP1_SET(dst, src) \ argument
[all …]
/drivers/video/fbdev/core/
A Dfb_copyarea.h36 const struct fb_address *dst, in fb_copy_offset_masked() argument
66 fb_copy_offset(0, dst, src); in fb_copy_aligned_fwd()
110 fb_copy_offset(0, dst, src); in fb_copy_aligned_rev()
146 fb_copy_aligned_rev(dst, src, width + dst->bits, reverse); in fb_copy_aligned()
152 fb_copy_aligned_fwd(dst, src, width + dst->bits, reverse); in fb_copy_aligned()
166 int end = dst->bits + width; in fb_copy_fwd()
172 shift = dst->bits - src->bits; in fb_copy_fwd()
305 last, end, dst); in fb_copy_rev()
359 fb_copy_rev(dst, src, width + dst->bits, reorder, reverse); in fb_copy()
386 struct fb_address src = dst; in fb_copyarea()
[all …]
A Dfb_fillrect.h31 fb_write_offset(fb_read_offset(offset, dst) ^ pat, offset, dst); in fb_invert_offset()
114 end += dst->bits; in bitfill()
122 fb_write_offset(first, 0, dst); in bitfill()
124 fb_modify_offset(first, last, 0, dst); in bitfill()
163 end += dst->bits; in bitinvert()
176 fb_invert_offset(first, 0, dst); in bitinvert()
199 fb_invert_offset(last, offset, dst); in bitinvert()
216 fb_address_forward(dst, bits_per_line); in fb_fillrect_static()
221 fb_address_forward(dst, bits_per_line); in fb_fillrect_static()
234 int bpp, struct fb_address *dst, in fb_fillrect_rotating() argument
[all …]
A Dfb_imageblit.h134 int shift = dst->bits; in fb_bitblit()
137 old = fb_read_offset(0, dst); in fb_bitblit()
153 fb_write_offset(val, offset++, dst); in fb_bitblit()
161 if (offset || !dst->bits) in fb_bitblit()
162 old = fb_read_offset(offset, dst); in fb_bitblit()
195 fb_address_forward(dst, bits_per_line); in fb_color_imageblit()
251 fb_address_forward(dst, bits_per_line); in fb_bitmap4x_imageblit()
276 fb_address_forward(dst, bits_per_line); in fb_bitmap1x_imageblit()
323 fb_address_move_long(dst, words_per_line); in fb_bitmap_1ppw()
379 fb_address_move_long(dst, words_per_line); in fb_bitmap_2ppw()
[all …]
/drivers/gpu/drm/tests/
A Ddrm_rect_test.c65 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 1 || in drm_test_rect_clip_scaled_not_clipped()
66 dst.y1 != 0 || dst.y2 != 1, "Destination badly clipped\n"); in drm_test_rect_clip_scaled_not_clipped()
79 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 1 || in drm_test_rect_clip_scaled_not_clipped()
80 dst.y1 != 0 || dst.y2 != 1, "Destination badly clipped\n"); in drm_test_rect_clip_scaled_not_clipped()
93 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 2 || in drm_test_rect_clip_scaled_not_clipped()
113 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 1 || in drm_test_rect_clip_scaled_clipped()
127 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 1 || dst.x2 != 2 || dst.y1 != 1 || in drm_test_rect_clip_scaled_clipped()
141 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 1 || dst.y1 != 0 || in drm_test_rect_clip_scaled_clipped()
155 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 1 || dst.x2 != 2 || dst.y1 != 1 || in drm_test_rect_clip_scaled_clipped()
169 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 2 || dst.y1 != 0 || in drm_test_rect_clip_scaled_clipped()
[all …]
A Ddrm_format_helper_test.c590 u16 *dst = NULL; in le16buf_to_cpu() local
593 dst = kunit_kzalloc(test, sizeof(*dst) * buf_size, GFP_KERNEL); in le16buf_to_cpu()
594 if (!dst) in le16buf_to_cpu()
600 return dst; in le16buf_to_cpu()
605 u32 *dst = NULL; in le32buf_to_cpu() local
608 dst = kunit_kzalloc(test, sizeof(*dst) * buf_size, GFP_KERNEL); in le32buf_to_cpu()
609 if (!dst) in le32buf_to_cpu()
615 return dst; in le32buf_to_cpu()
623 dst = kunit_kzalloc(test, sizeof(*dst) * buf_size, GFP_KERNEL); in cpubuf_to_le32()
624 if (!dst) in cpubuf_to_le32()
[all …]
/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_misc.c245 memcpy(dst, src, sizeof(*src)); in pvrdma_gid_to_ib()
251 memcpy(dst, src, sizeof(*src)); in ib_gid_to_pvrdma()
258 dst->flow_label = src->flow_label; in pvrdma_global_route_to_ib()
259 dst->sgid_index = src->sgid_index; in pvrdma_global_route_to_ib()
260 dst->hop_limit = src->hop_limit; in pvrdma_global_route_to_ib()
268 dst->flow_label = src->flow_label; in ib_global_route_to_pvrdma()
270 dst->hop_limit = src->hop_limit; in ib_global_route_to_pvrdma()
279 rdma_ah_set_dlid(dst, src->dlid); in pvrdma_ah_attr_to_rdma()
280 rdma_ah_set_sl(dst, src->sl); in pvrdma_ah_attr_to_rdma()
293 dst->sl = rdma_ah_get_sl(src); in rdma_ah_attr_to_pvrdma()
[all …]
/drivers/video/fbdev/
A Datafb_utils.h224 if (dst < src) in fast_memmove()
283 dst[0] = tmp; in fill8_col()
291 dst[8] = tmp; in fill8_col()
312 dst[0] = tmp; in fill8_2col()
320 dst[8] = tmp; in fill8_2col()
362 *dst++ = m[0]; in fill16_col()
364 *dst++ = m[1]; in fill16_col()
367 *dst++ = m[2]; in fill16_col()
368 *dst++ = m[3]; in fill16_col()
372 return dst; in fill16_col()
[all …]
A Damifb.c2613 *dst = comp(*src, *dst, first); in bitcpy()
2618 *dst = comp(*src, *dst, first); in bitcpy()
2642 *dst = comp(*src, *dst, last); in bitcpy()
2764 *dst = comp(*src, *dst, first); in bitcpy_rev()
2793 *dst = comp(*src, *dst, last); in bitcpy_rev()
3042 *dst = comp(val, *dst, first); in bitfill32()
3047 *dst = comp(val, *dst, first); in bitfill32()
3070 *dst = comp(val, *dst, last); in bitfill32()
3098 *dst = xor(val, *dst, first); in bitxor32()
3103 *dst = xor(val, *dst, first); in bitxor32()
[all …]
/drivers/gpu/drm/gud/
A Dgud_internal.h134 dst->clock = cpu_to_le32(src->clock); in gud_from_display_mode()
138 dst->htotal = cpu_to_le16(src->htotal); in gud_from_display_mode()
142 dst->vtotal = cpu_to_le16(src->vtotal); in gud_from_display_mode()
143 dst->flags = cpu_to_le32(flags); in gud_from_display_mode()
151 memset(dst, 0, sizeof(*dst)); in gud_to_display_mode()
152 dst->clock = le32_to_cpu(src->clock); in gud_to_display_mode()
156 dst->htotal = le16_to_cpu(src->htotal); in gud_to_display_mode()
160 dst->vtotal = le16_to_cpu(src->vtotal); in gud_to_display_mode()
162 dst->type = DRM_MODE_TYPE_DRIVER; in gud_to_display_mode()
164 dst->type |= DRM_MODE_TYPE_PREFERRED; in gud_to_display_mode()
[all …]
/drivers/net/ethernet/microchip/vcap/
A Dvcap_api_debugfs.c106 out->prf(out->dst, "0x"); in vcap_debugfs_show_rule_keyfield()
109 out->prf(out->dst, "/0x"); in vcap_debugfs_show_rule_keyfield()
113 out->prf(out->dst, "\n"); in vcap_debugfs_show_rule_keyfield()
151 out->prf(out->dst, "0x"); in vcap_debugfs_show_rule_actionfield()
155 out->prf(out->dst, "\n"); in vcap_debugfs_show_rule_actionfield()
185 out->prf(out->dst, " %s", in vcap_debugfs_show_keysets()
187 out->prf(out->dst, "\n"); in vcap_debugfs_show_keysets()
243 out->prf(out->dst, in vcap_show_admin_rule()
374 .dst = m, in vcap_port_debugfs_show()
409 .dst = m, in vcap_debugfs_show()
[all …]
/drivers/gpu/drm/
A Ddrm_rect.c59 if (dst == 0) in clip_scaled()
63 *clip = min(*clip, dst); in clip_scaled()
71 if (src < (dst << 16)) in clip_scaled()
96 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled()
102 dst->x1 += diff; in drm_rect_clip_scaled()
110 dst->y1 += diff; in drm_rect_clip_scaled()
118 dst->x2 -= diff; in drm_rect_clip_scaled()
126 dst->y2 -= diff; in drm_rect_clip_scaled()
140 if (dst == 0) in drm_calc_scale()
143 if (src > (dst << 16)) in drm_calc_scale()
[all …]
A Ddrm_cache.c216 memcpy(dst->vaddr, src->vaddr, len); in memcpy_fallback()
219 } else if (!dst->is_iomem) { in memcpy_fallback()
264 dst += 64; in __memcpy_ntdqa()
272 dst += 16; in __memcpy_ntdqa()
287 memcpy(dst, src, len); in __drm_memcpy_from_wc()
289 __memcpy_ntdqa(dst, src, len >> 4); in __drm_memcpy_from_wc()
307 memcpy_fallback(dst, src, len); in drm_memcpy_from_wc()
312 __drm_memcpy_from_wc(dst->is_iomem ? in drm_memcpy_from_wc()
314 dst->vaddr, in drm_memcpy_from_wc()
322 memcpy_fallback(dst, src, len); in drm_memcpy_from_wc()
[all …]
A Ddrm_format_helper.c172 xfrm_line(dst, sbuf, linepixels); in __drm_fb_xfrm()
174 dst += dst_pitch; in __drm_fb_xfrm()
216 memcpy_toio(dst, dbuf, dbuf_len); in __drm_fb_xfrm_toio()
218 dst += dst_pitch; in __drm_fb_xfrm_toio()
225 static int drm_fb_xfrm(struct iosys_map *dst, in drm_fb_xfrm() argument
240 if (dst[0].is_iomem) in drm_fb_xfrm()
433 struct iosys_map dst_i = dst[i]; in drm_fb_memcpy()
1201 drm_fb_memcpy(dst, dst_pitch, src, fb, clip); in drm_fb_blit()
1204 drm_fb_swab(dst, dst_pitch, src, fb, clip, false, state); in drm_fb_blit()
1207 drm_fb_swab(dst, dst_pitch, src, fb, clip, false, state); in drm_fb_blit()
[all …]
/drivers/gpu/drm/i915/
A Di915_memcpy.c55 :: "r" (src), "r" (dst) : "memory"); in __memcpy_ntdqa()
57 dst += 64; in __memcpy_ntdqa()
63 :: "r" (src), "r" (dst) : "memory"); in __memcpy_ntdqa()
65 dst += 16; in __memcpy_ntdqa()
84 :: "r" (src), "r" (dst) : "memory"); in __memcpy_ntdqu()
86 dst += 64; in __memcpy_ntdqu()
92 :: "r" (src), "r" (dst) : "memory"); in __memcpy_ntdqu()
94 dst += 16; in __memcpy_ntdqu()
124 __memcpy_ntdqa(dst, src, len >> 4); in i915_memcpy_from_wc()
152 memcpy(dst, src, x); in i915_unaligned_memcpy_from_wc()
[all …]
/drivers/firmware/efi/libstub/
A Dintrinsics.c20 if (src > dst || dst >= (src + len)) in efistub_memmove()
22 dst[i] = src[i]; in efistub_memmove()
25 dst[i] = src[i]; in efistub_memmove()
27 return dst; in efistub_memmove()
32 for (u8 *d = dst; len--; d++) in efistub_memset()
35 return dst; in efistub_memset()
41 return efistub_memmove(dst, src, len); in memcpy()
43 efi_bs_call(copy_mem, dst, src, len); in memcpy()
44 return dst; in memcpy()
52 return efistub_memset(dst, c, len); in memset()
[all …]
/drivers/infiniband/ulp/opa_vnic/
A Dopa_vnic_vema_iface.c88 __be64 *dst; in opa_vnic_get_summary_counters() local
112 dst < &cntrs->reserved[0]; dst++, src++) { in opa_vnic_get_summary_counters()
113 *dst = cpu_to_be64(*src); in opa_vnic_get_summary_counters()
206 dst->pkey = be16_to_cpu(info->pkey); in opa_vnic_set_vesw_info()
213 dst->rc = be32_to_cpu(info->rc); in opa_vnic_set_vesw_info()
285 ARRAY_SIZE(dst->base_mac_addr)); in opa_vnic_set_per_veswport_info()
286 dst->config_state = info->config_state; in opa_vnic_set_per_veswport_info()
291 ARRAY_SIZE(dst->pcp_to_sc_uc)); in opa_vnic_set_per_veswport_info()
293 ARRAY_SIZE(dst->pcp_to_vl_uc)); in opa_vnic_set_per_veswport_info()
295 ARRAY_SIZE(dst->pcp_to_sc_mc)); in opa_vnic_set_per_veswport_info()
[all …]
/drivers/net/ethernet/apm/xgene/
A Dxgene_enet_hw.h25 *dst &= ~mask; in xgene_set_bits()
139 #define PHY_CONTROL_SET(dst, val) xgene_set_bits(dst, val, 0, 16) argument
157 #define CFG_TXCLK_MUXSEL0_SET(dst, val) xgene_set_bits(dst, val, 29, 3) argument
158 #define CFG_RXCLK_MUXSEL0_SET(dst, val) xgene_set_bits(dst, val, 26, 3) argument
162 #define CFG_CLE_DSTQID0_SET(dst, val) xgene_set_bits(dst, val, 0, 12) argument
163 #define CFG_CLE_FPSEL0_SET(dst, val) xgene_set_bits(dst, val, 16, 4) argument
165 #define CFG_MACMODE_SET(dst, val) xgene_set_bits(dst, val, 18, 2) argument
166 #define CFG_WAITASYNCRD_SET(dst, val) xgene_set_bits(dst, val, 0, 16) argument
205 #define PHY_ADDR_SET(dst, val) xgene_set_bits(dst, val, 8, 5) argument
206 #define REG_ADDR_SET(dst, val) xgene_set_bits(dst, val, 0, 5) argument
[all …]
/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_blit.c45 if (*dst++ != *src++) \
117 dst += spill; \
131 dst += diff_offs; \
191 dst -= spill; \
225 dst += size; in vmw_find_last_diff()
562 if (WARN_ON(dst == src)) in vmw_bo_cpu_blit()
566 if (!(dst->pin_count)) in vmw_bo_cpu_blit()
572 ret = dst->bdev->funcs->ttm_tt_populate(dst->bdev, dst->ttm, &ctx); in vmw_bo_cpu_blit()
598 if (!dst->ttm->pages && dst->ttm->sg) { in vmw_bo_cpu_blit()
615 d.dst_pages = dst->ttm->pages ? dst->ttm->pages : dst_pages; in vmw_bo_cpu_blit()
[all …]
/drivers/net/ethernet/netronome/nfp/bpf/
A Djit.c313 swreg_type(dst) == NN_REG_NONE ? reg.dst : reg.areg, in emit_immed()
518 err = swreg_to_restricted(dst, dst, src, &reg, true); in emit_ld_field_any()
1534 swreg dst_both = reg_both(dst), dst_a = reg_a(dst), dst_b = reg_a(dst); in wrp_div_imm()
2002 emit_shf(nfp_prog, reg_both(dst + 1), reg_a(dst + 1), in __shl_imm64()
2008 wrp_reg_mov(nfp_prog, dst + 1, dst); in __shl_imm64()
2062 u8 dst, src; in shl_reg64() local
2122 wrp_reg_mov(nfp_prog, dst, dst + 1); in __shr_imm64()
2174 u8 dst, src; in shr_reg64() local
2230 wrp_reg_mov(nfp_prog, dst, dst + 1); in __ashr_imm64()
2583 u8 dst; in imm_ld8_part2() local
[all …]

Completed in 74 milliseconds

12345678910>>...42