/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | uverbs_marshall.c | 63 struct ib_uverbs_ah_attr *dst, in ib_copy_ah_attr_to_user() 69 memset(&dst->grh, 0, sizeof(dst->grh)); in ib_copy_ah_attr_to_user() 76 dst->dlid = rdma_ah_get_dlid(src); in ib_copy_ah_attr_to_user() 77 dst->sl = rdma_ah_get_sl(src); in ib_copy_ah_attr_to_user() 78 dst->src_path_bits = rdma_ah_get_path_bits(src); in ib_copy_ah_attr_to_user() 79 dst->static_rate = rdma_ah_get_static_rate(src); in ib_copy_ah_attr_to_user() 80 dst->is_global = rdma_ah_get_ah_flags(src) & in ib_copy_ah_attr_to_user() 82 if (dst->is_global) { in ib_copy_ah_attr_to_user() 85 memcpy(dst in ib_copy_ah_attr_to_user() 62 ib_copy_ah_attr_to_user(struct ib_device *device, struct ib_uverbs_ah_attr *dst, struct rdma_ah_attr *ah_attr) ib_copy_ah_attr_to_user() argument 96 ib_copy_qp_attr_to_user(struct ib_device *device, struct ib_uverbs_qp_attr *dst, struct ib_qp_attr *src) ib_copy_qp_attr_to_user() argument 136 __ib_copy_path_rec_to_user(struct ib_user_path_rec *dst, struct sa_path_rec *src) __ib_copy_path_rec_to_user() argument 161 ib_copy_path_rec_to_user(struct ib_user_path_rec *dst, struct sa_path_rec *src) ib_copy_path_rec_to_user() argument 175 ib_copy_path_rec_from_user(struct sa_path_rec *dst, struct ib_user_path_rec *src) ib_copy_path_rec_from_user() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | uverbs_marshall.c | 63 struct ib_uverbs_ah_attr *dst, in ib_copy_ah_attr_to_user() 69 memset(&dst->grh, 0, sizeof(dst->grh)); in ib_copy_ah_attr_to_user() 76 dst->dlid = rdma_ah_get_dlid(src); in ib_copy_ah_attr_to_user() 77 dst->sl = rdma_ah_get_sl(src); in ib_copy_ah_attr_to_user() 78 dst->src_path_bits = rdma_ah_get_path_bits(src); in ib_copy_ah_attr_to_user() 79 dst->static_rate = rdma_ah_get_static_rate(src); in ib_copy_ah_attr_to_user() 80 dst->is_global = rdma_ah_get_ah_flags(src) & in ib_copy_ah_attr_to_user() 82 if (dst->is_global) { in ib_copy_ah_attr_to_user() 85 memcpy(dst in ib_copy_ah_attr_to_user() 62 ib_copy_ah_attr_to_user(struct ib_device *device, struct ib_uverbs_ah_attr *dst, struct rdma_ah_attr *ah_attr) ib_copy_ah_attr_to_user() argument 96 ib_copy_qp_attr_to_user(struct ib_device *device, struct ib_uverbs_qp_attr *dst, struct ib_qp_attr *src) ib_copy_qp_attr_to_user() argument 136 __ib_copy_path_rec_to_user(struct ib_user_path_rec *dst, struct sa_path_rec *src) __ib_copy_path_rec_to_user() argument 161 ib_copy_path_rec_to_user(struct ib_user_path_rec *dst, struct sa_path_rec *src) ib_copy_path_rec_to_user() argument 175 ib_copy_path_rec_from_user(struct sa_path_rec *dst, struct ib_user_path_rec *src) ib_copy_path_rec_from_user() argument [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | dst.c | 3 * net/core/dst.c Protocol independent destination cache. 27 #include <net/dst.h> 47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init() argument 51 dst->dev = dev; in dst_init() 54 dst->ops = ops; in dst_init() 55 dst_init_metrics(dst, dst_default_metrics.metrics, true); in dst_init() 56 dst->expires = 0UL; in dst_init() 58 dst->xfrm = NULL; in dst_init() 60 dst->input = dst_discard; in dst_init() 61 dst in dst_init() 82 struct dst_entry *dst; dst_alloc() local 99 dst_destroy(struct dst_entry * dst) dst_destroy() argument 136 struct dst_entry *dst = container_of(head, struct dst_entry, rcu_head); dst_destroy_rcu() local 150 dst_dev_put(struct dst_entry *dst) dst_dev_put() argument 165 dst_release(struct dst_entry *dst) dst_release() argument 180 dst_release_immediate(struct dst_entry *dst) dst_release_immediate() argument 195 dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old) dst_cow_metrics_generic() argument 225 __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old) __dst_destroy_metrics_generic() argument 236 dst_blackhole_check(struct dst_entry *dst, u32 cookie) dst_blackhole_check() argument 241 dst_blackhole_cow_metrics(struct dst_entry *dst, unsigned long old) dst_blackhole_cow_metrics() argument 246 dst_blackhole_neigh_lookup(const struct dst_entry *dst, struct sk_buff *skb, const void *daddr) dst_blackhole_neigh_lookup() argument 253 dst_blackhole_update_pmtu(struct dst_entry *dst, struct sock *sk, struct sk_buff *skb, u32 mtu, bool confirm_neigh) dst_blackhole_update_pmtu() argument 260 dst_blackhole_redirect(struct dst_entry *dst, struct sock *sk, struct sk_buff *skb) dst_blackhole_redirect() argument 266 dst_blackhole_mtu(const struct dst_entry *dst) dst_blackhole_mtu() argument 287 struct dst_entry *dst; __metadata_dst_init() local [all...] |
H A D | dst_cache.c | 3 * net/core/dst_cache.c - dst entry cache 19 struct dst_entry *dst; member 28 struct dst_entry *dst, u32 cookie) in dst_cache_per_cpu_dst_set() 30 dst_release(dst_cache->dst); in dst_cache_per_cpu_dst_set() 31 if (dst) in dst_cache_per_cpu_dst_set() 32 dst_hold(dst); in dst_cache_per_cpu_dst_set() 35 dst_cache->dst = dst; in dst_cache_per_cpu_dst_set() 41 struct dst_entry *dst; in dst_cache_per_cpu_get() local 43 dst in dst_cache_per_cpu_get() 27 dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache, struct dst_entry *dst, u32 cookie) dst_cache_per_cpu_dst_set() argument 75 struct dst_entry *dst; dst_cache_get_ip4() local 90 dst_cache_set_ip4(struct dst_cache *dst_cache, struct dst_entry *dst, __be32 saddr) dst_cache_set_ip4() argument 105 dst_cache_set_ip6(struct dst_cache *dst_cache, struct dst_entry *dst, const struct in6_addr *saddr) dst_cache_set_ip6() argument 124 struct dst_entry *dst; dst_cache_get_ip6() local 176 struct dst_entry *dst = idst->dst; dst_cache_reset_now() local [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | dst.c | 3 * net/core/dst.c Protocol independent destination cache. 27 #include <net/dst.h> 47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init() argument 51 dst->dev = dev; in dst_init() 52 netdev_hold(dev, &dst->dev_tracker, GFP_ATOMIC); in dst_init() 53 dst->ops = ops; in dst_init() 54 dst_init_metrics(dst, dst_default_metrics.metrics, true); in dst_init() 55 dst->expires = 0UL; in dst_init() 57 dst->xfrm = NULL; in dst_init() 59 dst in dst_init() 82 struct dst_entry *dst; dst_alloc() local 99 dst_destroy(struct dst_entry * dst) dst_destroy() argument 135 struct dst_entry *dst = container_of(head, struct dst_entry, rcu_head); dst_destroy_rcu() local 149 dst_dev_put(struct dst_entry *dst) dst_dev_put() argument 164 dst_release(struct dst_entry *dst) dst_release() argument 171 dst_release_immediate(struct dst_entry *dst) dst_release_immediate() argument 178 dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old) dst_cow_metrics_generic() argument 208 __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old) __dst_destroy_metrics_generic() argument 219 dst_blackhole_check(struct dst_entry *dst, u32 cookie) dst_blackhole_check() argument 224 dst_blackhole_cow_metrics(struct dst_entry *dst, unsigned long old) dst_blackhole_cow_metrics() argument 229 dst_blackhole_neigh_lookup(const struct dst_entry *dst, struct sk_buff *skb, const void *daddr) dst_blackhole_neigh_lookup() argument 236 dst_blackhole_update_pmtu(struct dst_entry *dst, struct sock *sk, struct sk_buff *skb, u32 mtu, bool confirm_neigh) dst_blackhole_update_pmtu() argument 243 dst_blackhole_redirect(struct dst_entry *dst, struct sock *sk, struct sk_buff *skb) dst_blackhole_redirect() argument 249 dst_blackhole_mtu(const struct dst_entry *dst) dst_blackhole_mtu() argument 270 struct dst_entry *dst; __metadata_dst_init() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_debugfs.c | 84 out->prf(out->dst, " port[%02d] (%s): ", port->portno, in sparx5_vcap_is0_port_keys() 87 out->prf(out->dst, "\n Lookup %d: ", lookup); in sparx5_vcap_is0_port_keys() 92 out->prf(out->dst, "\n state: "); in sparx5_vcap_is0_port_keys() 94 out->prf(out->dst, "on"); in sparx5_vcap_is0_port_keys() 96 out->prf(out->dst, "off"); in sparx5_vcap_is0_port_keys() 98 out->prf(out->dst, "\n etype: %s", in sparx5_vcap_is0_port_keys() 101 out->prf(out->dst, "\n ipv4: %s", in sparx5_vcap_is0_port_keys() 104 out->prf(out->dst, "\n ipv6: %s", in sparx5_vcap_is0_port_keys() 107 out->prf(out->dst, "\n mpls_uc: %s", in sparx5_vcap_is0_port_keys() 110 out->prf(out->dst, "\ in sparx5_vcap_is0_port_keys() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
H A D | test-drm_rect.c | 16 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_div_by_zero() local 20 * Make sure we don't divide by zero when dst in igt_drm_rect_clip_scaled_div_by_zero() 21 * width/height is zero and dst and clip do not intersect. in igt_drm_rect_clip_scaled_div_by_zero() 24 drm_rect_init(&dst, 0, 0, 0, 0); in igt_drm_rect_clip_scaled_div_by_zero() 26 visible = drm_rect_clip_scaled(&src, &dst, &clip); in igt_drm_rect_clip_scaled_div_by_zero() 31 drm_rect_init(&dst, 3, 3, 0, 0); in igt_drm_rect_clip_scaled_div_by_zero() 33 visible = drm_rect_clip_scaled(&src, &dst, &clip); in igt_drm_rect_clip_scaled_div_by_zero() 42 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_not_clipped() local 47 drm_rect_init(&dst, 0, 0, 1, 1); in igt_drm_rect_clip_scaled_not_clipped() 50 visible = drm_rect_clip_scaled(&src, &dst, in igt_drm_rect_clip_scaled_not_clipped() 98 struct drm_rect src, dst, clip; igt_drm_rect_clip_scaled_clipped() local 202 struct drm_rect src, dst, clip; igt_drm_rect_clip_scaled_signed_vs_unsigned() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
H A D | hantro_vp8.c | 54 u8 *dst; in hantro_vp8_prob_update() local 57 dst = ctx->vp8_dec.prob_tbl.cpu; in hantro_vp8_prob_update() 59 dst[0] = hdr->prob_skip_false; in hantro_vp8_prob_update() 60 dst[1] = hdr->prob_intra; in hantro_vp8_prob_update() 61 dst[2] = hdr->prob_last; in hantro_vp8_prob_update() 62 dst[3] = hdr->prob_gf; in hantro_vp8_prob_update() 63 dst[4] = hdr->segment_header.segment_probs[0]; in hantro_vp8_prob_update() 64 dst[5] = hdr->segment_header.segment_probs[1]; in hantro_vp8_prob_update() 65 dst[6] = hdr->segment_header.segment_probs[2]; in hantro_vp8_prob_update() 66 dst[ in hantro_vp8_prob_update() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/ |
H A D | hantro_vp8.c | 54 u8 *dst; in hantro_vp8_prob_update() local 57 dst = ctx->vp8_dec.prob_tbl.cpu; in hantro_vp8_prob_update() 59 dst[0] = hdr->prob_skip_false; in hantro_vp8_prob_update() 60 dst[1] = hdr->prob_intra; in hantro_vp8_prob_update() 61 dst[2] = hdr->prob_last; in hantro_vp8_prob_update() 62 dst[3] = hdr->prob_gf; in hantro_vp8_prob_update() 63 dst[4] = hdr->segment.segment_probs[0]; in hantro_vp8_prob_update() 64 dst[5] = hdr->segment.segment_probs[1]; in hantro_vp8_prob_update() 65 dst[6] = hdr->segment.segment_probs[2]; in hantro_vp8_prob_update() 66 dst[ in hantro_vp8_prob_update() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | dst.h | 3 * net/dst.h Protocol independent destination cache definitions. 48 /* A non-zero value of dst->obsolete forces by-hand validation 50 * dst layer to indicate that the entry has been forcefully 103 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old); 112 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only() argument 114 return dst->_metrics & DST_METRICS_READ_ONLY; in dst_metrics_read_only() 117 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old); 119 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic() argument 121 unsigned long val = dst->_metrics; in dst_destroy_metrics_generic() 123 __dst_destroy_metrics_generic(dst, va in dst_destroy_metrics_generic() 126 dst_metrics_write_ptr(struct dst_entry *dst) dst_metrics_write_ptr() argument 140 dst_init_metrics(struct dst_entry *dst, const u32 *src_metrics, bool read_only) dst_init_metrics() argument 159 dst_metrics_ptr(struct dst_entry *dst) dst_metrics_ptr() argument 165 dst_metric_raw(const struct dst_entry *dst, const int metric) dst_metric_raw() argument 173 dst_metric(const struct dst_entry *dst, const int metric) dst_metric() argument 182 dst_metric_advmss(const struct dst_entry *dst) dst_metric_advmss() argument 192 dst_metric_set(struct dst_entry *dst, int metric, u32 val) dst_metric_set() argument 207 dst_feature(const struct dst_entry *dst, u32 feature) dst_feature() argument 214 dst_mtu(const struct dst_entry *dst) dst_mtu() argument 220 dst_metric_rtt(const struct dst_entry *dst, int metric) dst_metric_rtt() argument 226 dst_allfrag(const struct dst_entry *dst) dst_allfrag() argument 233 dst_metric_locked(const struct dst_entry *dst, int metric) dst_metric_locked() argument 238 dst_hold(struct dst_entry *dst) dst_hold() argument 248 dst_use_noref(struct dst_entry *dst, unsigned long time) dst_use_noref() argument 256 dst_clone(struct dst_entry *dst) dst_clone() argument 307 dst_hold_safe(struct dst_entry *dst) dst_hold_safe() argument 322 struct dst_entry *dst = skb_dst(skb); skb_dst_force() local 381 const struct dst_entry *dst; dst_tclassid() local 403 dst_confirm(struct dst_entry *dst) dst_confirm() argument 407 dst_neigh_lookup(const struct dst_entry *dst, const void *daddr) dst_neigh_lookup() argument 413 dst_neigh_lookup_skb(const struct dst_entry *dst, struct sk_buff *skb) dst_neigh_lookup_skb() argument 426 dst_confirm_neigh(const struct dst_entry *dst, const void *daddr) dst_confirm_neigh() argument 435 struct dst_entry *dst = skb_dst(skb); dst_link_failure() local 440 dst_set_expires(struct dst_entry *dst, int timeout) dst_set_expires() argument 476 dst_check(struct dst_entry *dst, u32 cookie) dst_check() argument 519 dst_xfrm(const struct dst_entry *dst) dst_xfrm() argument 540 dst_xfrm(const struct dst_entry *dst) dst_xfrm() argument 548 struct dst_entry *dst = skb_dst(skb); skb_dst_update_pmtu() local 557 struct dst_entry *dst = skb_dst(skb); skb_dst_update_pmtu_no_confirm() local [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | dst.h | 3 * net/dst.h Protocol independent destination cache definitions. 46 /* A non-zero value of dst->obsolete forces by-hand validation 48 * dst layer to indicate that the entry has been forcefully 87 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old); 96 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only() argument 98 return dst->_metrics & DST_METRICS_READ_ONLY; in dst_metrics_read_only() 101 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old); 103 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic() argument 105 unsigned long val = dst->_metrics; in dst_destroy_metrics_generic() 107 __dst_destroy_metrics_generic(dst, va in dst_destroy_metrics_generic() 110 dst_metrics_write_ptr(struct dst_entry *dst) dst_metrics_write_ptr() argument 124 dst_init_metrics(struct dst_entry *dst, const u32 *src_metrics, bool read_only) dst_init_metrics() argument 143 dst_metrics_ptr(struct dst_entry *dst) dst_metrics_ptr() argument 149 dst_metric_raw(const struct dst_entry *dst, const int metric) dst_metric_raw() argument 157 dst_metric(const struct dst_entry *dst, const int metric) dst_metric() argument 166 dst_metric_advmss(const struct dst_entry *dst) dst_metric_advmss() argument 176 dst_metric_set(struct dst_entry *dst, int metric, u32 val) dst_metric_set() argument 191 dst_feature(const struct dst_entry *dst, u32 feature) dst_feature() argument 196 dst_mtu(const struct dst_entry *dst) dst_mtu() argument 202 dst_metric_rtt(const struct dst_entry *dst, int metric) dst_metric_rtt() argument 208 dst_allfrag(const struct dst_entry *dst) dst_allfrag() argument 215 dst_metric_locked(const struct dst_entry *dst, int metric) dst_metric_locked() argument 220 dst_hold(struct dst_entry *dst) dst_hold() argument 230 dst_use_noref(struct dst_entry *dst, unsigned long time) dst_use_noref() argument 238 dst_clone(struct dst_entry *dst) dst_clone() argument 288 dst_hold_safe(struct dst_entry *dst) dst_hold_safe() argument 303 struct dst_entry *dst = skb_dst(skb); skb_dst_force() local 361 const struct dst_entry *dst; dst_tclassid() local 383 dst_confirm(struct dst_entry *dst) dst_confirm() argument 387 dst_neigh_lookup(const struct dst_entry *dst, const void *daddr) dst_neigh_lookup() argument 393 dst_neigh_lookup_skb(const struct dst_entry *dst, struct sk_buff *skb) dst_neigh_lookup_skb() argument 408 dst_confirm_neigh(const struct dst_entry *dst, const void *daddr) dst_confirm_neigh() argument 417 struct dst_entry *dst = skb_dst(skb); dst_link_failure() local 422 dst_set_expires(struct dst_entry *dst, int timeout) dst_set_expires() argument 445 dst_check(struct dst_entry *dst, u32 cookie) dst_check() argument 487 dst_xfrm(const struct dst_entry *dst) dst_xfrm() argument 508 dst_xfrm(const struct dst_entry *dst) dst_xfrm() argument 516 struct dst_entry *dst = skb_dst(skb); skb_dst_update_pmtu() local 525 struct dst_entry *dst = skb_dst(skb); skb_dst_update_pmtu_no_confirm() local [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
H A D | sysfillrect.c | 25 bitfill_aligned(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_aligned() argument 40 *dst = comp(pat, *dst, first); in bitfill_aligned() 46 *dst = comp(pat, *dst, first); in bitfill_aligned() 47 dst++; in bitfill_aligned() 54 *dst++ = pat; in bitfill_aligned() 55 *dst++ = pat; in bitfill_aligned() 56 *dst++ = pat; in bitfill_aligned() 57 *dst in bitfill_aligned() 81 bitfill_unaligned(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) bitfill_unaligned() argument 135 bitfill_aligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, unsigned n, int bits) bitfill_aligned_rev() 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) bitfill_unaligned_rev() argument 249 unsigned long *dst; sys_fillrect() local [all...] |
H A D | syscopyarea.c | 28 bitcpy(struct fb_info *p, unsigned long *dst, unsigned dst_idx, in bitcpy() argument 44 *dst = comp(*src, *dst, first); in bitcpy() 49 *dst = comp(*src, *dst, first); in bitcpy() 50 dst++; in bitcpy() 58 *dst++ = *src++; in bitcpy() 59 *dst++ = *src++; in bitcpy() 60 *dst++ = *src++; in bitcpy() 61 *dst in bitcpy() 170 bitcpy_rev(struct fb_info *p, unsigned long *dst, unsigned dst_idx, const unsigned long *src, unsigned src_idx, unsigned bits, unsigned n) bitcpy_rev() argument [all...] |
H A D | cfbfillrect.c | 35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, in bitfill_aligned() argument 50 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() local 56 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() local 57 dst++; in bitfill_aligned() 64 FB_WRITEL(pat, dst++); in bitfill_aligned() 65 FB_WRITEL(pat, dst++); in bitfill_aligned() 66 FB_WRITEL(pat, dst++); in bitfill_aligned() 67 FB_WRITEL(pat, dst in bitfill_aligned() 79 FB_WRITEL(comp(pat, FB_READL(dst), last), dst); bitfill_aligned() 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) bitfill_unaligned() argument 107 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); bitfill_unaligned() local 112 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); bitfill_unaligned() local 138 FB_WRITEL(comp(pat, FB_READL(dst), last), dst); bitfill_unaligned() 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) bitfill_aligned_rev() 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) bitfill_unaligned_rev() argument 284 unsigned long __iomem *dst; cfb_fillrect() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/ |
H A D | allegro-mail.c | 44 allegro_enc_init(u32 *dst, struct mcu_msg_init_request *msg) in allegro_enc_init() argument 49 dst[i++] = msg->reserved0; in allegro_enc_init() 50 dst[i++] = msg->suballoc_dma; in allegro_enc_init() 51 dst[i++] = msg->suballoc_size; in allegro_enc_init() 52 dst[i++] = msg->l2_cache[0]; in allegro_enc_init() 53 dst[i++] = msg->l2_cache[1]; in allegro_enc_init() 54 dst[i++] = msg->l2_cache[2]; in allegro_enc_init() 56 dst[i++] = -1; in allegro_enc_init() 57 dst[i++] = 0; in allegro_enc_init() 60 return i * sizeof(*dst); in allegro_enc_init() 84 allegro_encode_config_blob(u32 *dst, struct create_channel_param *param) allegro_encode_config_blob() argument 227 allegro_enc_create_channel(u32 *dst, struct mcu_msg_create_channel *msg) allegro_enc_create_channel() argument 265 allegro_enc_destroy_channel(u32 *dst, struct mcu_msg_destroy_channel *msg) allegro_enc_destroy_channel() argument 275 allegro_enc_push_buffers(u32 *dst, struct mcu_msg_push_buffers_internal *msg) allegro_enc_push_buffers() argument 295 allegro_enc_put_stream_buffer(u32 *dst, struct mcu_msg_put_stream_buffer *msg) allegro_enc_put_stream_buffer() argument 312 allegro_enc_encode_frame(u32 *dst, struct mcu_msg_encode_frame *msg) allegro_enc_encode_frame() argument 462 allegro_encode_mail(u32 *dst, void *msg) allegro_encode_mail() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/allegro-dvt/ |
H A D | allegro-mail.c | 44 allegro_enc_init(u32 *dst, struct mcu_msg_init_request *msg) in allegro_enc_init() argument 49 dst[i++] = msg->reserved0; in allegro_enc_init() 50 dst[i++] = msg->suballoc_dma; in allegro_enc_init() 51 dst[i++] = msg->suballoc_size; in allegro_enc_init() 52 dst[i++] = msg->encoder_buffer_size; in allegro_enc_init() 53 dst[i++] = msg->encoder_buffer_color_depth; in allegro_enc_init() 54 dst[i++] = msg->num_cores; in allegro_enc_init() 56 dst[i++] = msg->clk_rate; in allegro_enc_init() 57 dst[i++] = 0; in allegro_enc_init() 60 return i * sizeof(*dst); in allegro_enc_init() 88 allegro_encode_config_blob(u32 *dst, struct create_channel_param *param) allegro_encode_config_blob() argument 233 allegro_enc_create_channel(u32 *dst, struct mcu_msg_create_channel *msg) allegro_enc_create_channel() argument 271 allegro_enc_destroy_channel(u32 *dst, struct mcu_msg_destroy_channel *msg) allegro_enc_destroy_channel() argument 281 allegro_enc_push_buffers(u32 *dst, struct mcu_msg_push_buffers_internal *msg) allegro_enc_push_buffers() argument 301 allegro_enc_put_stream_buffer(u32 *dst, struct mcu_msg_put_stream_buffer *msg) allegro_enc_put_stream_buffer() argument 318 allegro_enc_encode_frame(u32 *dst, struct mcu_msg_encode_frame *msg) allegro_enc_encode_frame() argument 468 allegro_encode_mail(u32 *dst, void *msg) allegro_encode_mail() argument [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
H A D | syscopyarea.c | 28 bitcpy(struct fb_info *p, unsigned long *dst, unsigned dst_idx, in bitcpy() argument 44 *dst = comp(*src, *dst, first); in bitcpy() 49 *dst = comp(*src, *dst, first); in bitcpy() 50 dst++; in bitcpy() 58 *dst++ = *src++; in bitcpy() 59 *dst++ = *src++; in bitcpy() 60 *dst++ = *src++; in bitcpy() 61 *dst in bitcpy() 170 bitcpy_rev(struct fb_info *p, unsigned long *dst, unsigned dst_idx, const unsigned long *src, unsigned src_idx, unsigned bits, unsigned n) bitcpy_rev() argument [all...] |
H A D | cfbfillrect.c | 35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, in bitfill_aligned() argument 50 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() local 56 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() local 57 dst++; in bitfill_aligned() 64 FB_WRITEL(pat, dst++); in bitfill_aligned() 65 FB_WRITEL(pat, dst++); in bitfill_aligned() 66 FB_WRITEL(pat, dst++); in bitfill_aligned() 67 FB_WRITEL(pat, dst in bitfill_aligned() 79 FB_WRITEL(comp(pat, FB_READL(dst), last), dst); bitfill_aligned() 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) bitfill_unaligned() argument 107 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); bitfill_unaligned() local 112 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); bitfill_unaligned() local 138 FB_WRITEL(comp(pat, FB_READL(dst), last), dst); bitfill_unaligned() 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) bitfill_aligned_rev() 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) bitfill_unaligned_rev() argument 284 unsigned long __iomem *dst; cfb_fillrect() local [all...] |
H A D | sysfillrect.c | 25 bitfill_aligned(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_aligned() argument 40 *dst = comp(pat, *dst, first); in bitfill_aligned() 46 *dst = comp(pat, *dst, first); in bitfill_aligned() 47 dst++; in bitfill_aligned() 53 memset_l(dst, pat, n); in bitfill_aligned() 54 dst += n; in bitfill_aligned() 58 *dst = comp(pat, *dst, las in bitfill_aligned() 71 bitfill_unaligned(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) bitfill_unaligned() argument 125 bitfill_aligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, unsigned n, int bits) bitfill_aligned_rev() argument 181 bitfill_unaligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) bitfill_unaligned_rev() argument 239 unsigned long *dst; sys_fillrect() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_vcap_debugfs.c | 15 out->prf(out->dst, " port[%d] (%s): ", port->chip_port, in lan966x_vcap_is1_port_keys() 19 out->prf(out->dst, "\n state: "); in lan966x_vcap_is1_port_keys() 21 out->prf(out->dst, "on"); in lan966x_vcap_is1_port_keys() 23 out->prf(out->dst, "off"); in lan966x_vcap_is1_port_keys() 26 out->prf(out->dst, "\n Lookup %d: ", l); in lan966x_vcap_is1_port_keys() 28 out->prf(out->dst, "\n other: "); in lan966x_vcap_is1_port_keys() 31 out->prf(out->dst, "normal"); in lan966x_vcap_is1_port_keys() 34 out->prf(out->dst, "7tuple"); in lan966x_vcap_is1_port_keys() 37 out->prf(out->dst, "dbl_vid"); in lan966x_vcap_is1_port_keys() 40 out->prf(out->dst, "dmac_vi in lan966x_vcap_is1_port_keys() [all...] |
/kernel/linux/linux-6.6/arch/mips/net/ |
H A D | bpf_jit_comp32.c | 173 /* dst = imm (sign-extended) */ 174 static void emit_mov_se_i64(struct jit_context *ctx, const u8 dst[], s32 imm) in emit_mov_se_i64() argument 176 emit_mov_i(ctx, lo(dst), imm); in emit_mov_se_i64() 178 emit(ctx, addiu, hi(dst), MIPS_R_ZERO, -1); in emit_mov_se_i64() 180 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_mov_se_i64() 181 clobber_reg64(ctx, dst); in emit_mov_se_i64() 185 static void emit_zext_ver(struct jit_context *ctx, const u8 dst[]) in emit_zext_ver() argument 188 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_zext_ver() 189 clobber_reg(ctx, hi(dst)); in emit_zext_ver() 202 const u8 dst[], s3 in emit_alu_i64() 201 emit_alu_i64(struct jit_context *ctx, const u8 dst[], s32 imm, u8 op) emit_alu_i64() argument 267 emit_alu_r64(struct jit_context *ctx, const u8 dst[], const u8 src[], u8 op) emit_alu_r64() argument 310 emit_neg_i64(struct jit_context *ctx, const u8 dst[]) emit_neg_i64() argument 321 emit_shift_i64(struct jit_context *ctx, const u8 dst[], u32 imm, u8 op) emit_shift_i64() argument 366 emit_shift_r64(struct jit_context *ctx, const u8 dst[], u8 src, u8 op) emit_shift_r64() argument 423 emit_mul_i64(struct jit_context *ctx, const u8 dst[], s32 imm) emit_mul_i64() argument 474 emit_mul_r64(struct jit_context *ctx, const u8 dst[], const u8 src[]) emit_mul_r64() argument 525 emit_divmod_r64(struct jit_context *ctx, const u8 dst[], const u8 src[], u8 op) emit_divmod_r64() argument 577 emit_swap8_r(struct jit_context *ctx, u8 dst, u8 src, u8 mask) emit_swap8_r() argument 589 emit_swap16_r(struct jit_context *ctx, u8 dst, u8 src) emit_swap16_r() argument 599 emit_bswap_r64(struct jit_context *ctx, const u8 dst[], u32 width) emit_bswap_r64() argument 634 emit_trunc_r64(struct jit_context *ctx, const u8 dst[], u32 width) emit_trunc_r64() argument 654 emit_ldx(struct jit_context *ctx, const u8 dst[], u8 src, s16 off, u8 size) emit_ldx() argument 689 emit_stx(struct jit_context *ctx, const u8 dst, const u8 src[], s16 off, u8 size) emit_stx() argument 714 emit_atomic_r32(struct jit_context *ctx, u8 dst, u8 src, s16 off, u8 code) emit_atomic_r32() argument 797 emit_atomic_r64(struct jit_context *ctx, u8 dst, const u8 src[], s16 off, u8 code) emit_atomic_r64() argument 873 emit_cmpxchg_r32(struct jit_context *ctx, u8 dst, u8 src, s16 off) emit_cmpxchg_r32() argument 909 emit_cmpxchg_r64(struct jit_context *ctx, u8 dst, const u8 src[], s16 off) emit_cmpxchg_r64() argument 1092 emit_jmp_i64(struct jit_context *ctx, const u8 dst[], s32 imm, s32 off, u8 op) emit_jmp_i64() argument 1185 emit_jmp_r64(struct jit_context *ctx, const u8 dst[], const u8 src[], s32 off, u8 op) emit_jmp_r64() argument 1465 const u8 *dst = bpf2mips32[insn->dst_reg]; build_insn() local [all...] |
/kernel/linux/linux-5.10/arch/nios2/lib/ |
H A D | memmove.c | 15 unsigned long dst, src; in memmove() local 21 dst = (unsigned long) d; in memmove() 24 if ((count < 8) || ((dst ^ src) & 3)) in memmove() 27 if (dst & 1) { in memmove() 28 *(char *)dst++ = *(char *)src++; in memmove() 31 if (dst & 2) { in memmove() 32 *(short *)dst = *(short *)src; in memmove() 34 dst += 2; in memmove() 38 *(long *)dst = *(long *)src; in memmove() 40 dst in memmove() [all...] |
/kernel/linux/linux-6.6/arch/nios2/lib/ |
H A D | memmove.c | 15 unsigned long dst, src; in memmove() local 21 dst = (unsigned long) d; in memmove() 24 if ((count < 8) || ((dst ^ src) & 3)) in memmove() 27 if (dst & 1) { in memmove() 28 *(char *)dst++ = *(char *)src++; in memmove() 31 if (dst & 2) { in memmove() 32 *(short *)dst = *(short *)src; in memmove() 34 dst += 2; in memmove() 38 *(long *)dst = *(long *)src; in memmove() 40 dst in memmove() [all...] |
/kernel/linux/linux-6.6/net/dsa/ |
H A D | dsa.c | 55 * @dst: Tree in which to record the mapping. 64 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_map() argument 68 for (id = 1; id <= dst->lags_len; id++) { in dsa_lag_map() 69 if (!dsa_lag_by_id(dst, id)) { in dsa_lag_map() 70 dst->lags[id - 1] = lag; in dsa_lag_map() 86 * @dst: Tree in which the mapping is recorded. 92 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_unmap() argument 96 dsa_lags_foreach_id(id, dst) { in dsa_lag_unmap() 97 if (dsa_lag_by_id(dst, id) == lag) { in dsa_lag_unmap() 98 dst in dsa_lag_unmap() 105 dsa_tree_lag_find(struct dsa_switch_tree *dst, const struct net_device *lag_dev) dsa_tree_lag_find() argument 117 dsa_tree_bridge_find(struct dsa_switch_tree *dst, const struct net_device *br) dsa_tree_bridge_find() argument 131 struct dsa_switch_tree *dst; dsa_bridge_num_find() local 182 struct dsa_switch_tree *dst; dsa_switch_find() local 203 struct dsa_switch_tree *dst; dsa_tree_find() local 214 struct dsa_switch_tree *dst; dsa_tree_alloc() local 234 dsa_tree_free(struct dsa_switch_tree *dst) dsa_tree_free() argument 242 dsa_tree_get(struct dsa_switch_tree *dst) dsa_tree_get() argument 252 struct dsa_switch_tree *dst; dsa_tree_touch() local 263 struct dsa_switch_tree *dst; dsa_tree_release() local 270 dsa_tree_put(struct dsa_switch_tree *dst) dsa_tree_put() argument 276 dsa_tree_find_port_by_node(struct dsa_switch_tree *dst, struct device_node *dn) dsa_tree_find_port_by_node() argument 292 struct dsa_switch_tree *dst; dsa_link_touch() local 317 struct dsa_switch_tree *dst = ds->dst; dsa_port_setup_routing_table() local 341 dsa_tree_setup_routing_table(struct dsa_switch_tree *dst) dsa_tree_setup_routing_table() argument 357 dsa_tree_find_first_cpu(struct dsa_switch_tree *dst) dsa_tree_find_first_cpu() argument 368 dsa_tree_find_first_master(struct dsa_switch_tree *dst) dsa_tree_find_first_master() argument 385 dsa_tree_setup_default_cpu(struct dsa_switch_tree *dst) dsa_tree_setup_default_cpu() argument 429 dsa_tree_setup_cpu_ports(struct dsa_switch_tree *dst) dsa_tree_setup_cpu_ports() argument 455 dsa_tree_teardown_cpu_ports(struct dsa_switch_tree *dst) dsa_tree_teardown_cpu_ports() argument 578 struct dsa_switch_tree *dst = ds->dst; dsa_switch_setup_tag_protocol() local 724 dsa_tree_teardown_ports(struct dsa_switch_tree *dst) dsa_tree_teardown_ports() argument 739 dsa_tree_teardown_switches(struct dsa_switch_tree *dst) dsa_tree_teardown_switches() argument 748 dsa_tree_setup_ports(struct dsa_switch_tree *dst) dsa_tree_setup_ports() argument 780 dsa_tree_setup_switches(struct dsa_switch_tree *dst) dsa_tree_setup_switches() argument 796 dsa_tree_setup_master(struct dsa_switch_tree *dst) dsa_tree_setup_master() argument 823 dsa_tree_teardown_master(struct dsa_switch_tree *dst) dsa_tree_teardown_master() argument 844 dsa_tree_setup_lags(struct dsa_switch_tree *dst) dsa_tree_setup_lags() argument 865 dsa_tree_teardown_lags(struct dsa_switch_tree *dst) dsa_tree_teardown_lags() argument 870 dsa_tree_setup(struct dsa_switch_tree *dst) dsa_tree_setup() argument 923 dsa_tree_teardown(struct dsa_switch_tree *dst) dsa_tree_teardown() argument 950 dsa_tree_bind_tag_proto(struct dsa_switch_tree *dst, const struct dsa_device_ops *tag_ops) dsa_tree_bind_tag_proto() argument 985 dsa_tree_change_tag_proto(struct dsa_switch_tree *dst, const struct dsa_device_ops *tag_ops, const struct dsa_device_ops *old_tag_ops) dsa_tree_change_tag_proto() argument 1031 dsa_tree_master_state_change(struct dsa_switch_tree *dst, struct net_device *master) dsa_tree_master_state_change() argument 1043 dsa_tree_master_admin_state_change(struct dsa_switch_tree *dst, struct net_device *master, bool up) dsa_tree_master_admin_state_change() argument 1066 dsa_tree_master_oper_state_change(struct dsa_switch_tree *dst, struct net_device *master, bool up) dsa_tree_master_oper_state_change() argument 1091 struct dsa_switch_tree *dst = ds->dst; dsa_port_touch() local 1162 struct dsa_switch_tree *dst = ds->dst; dsa_port_parse_cpu() local 1499 struct dsa_switch_tree *dst; dsa_switch_probe() local 1554 struct dsa_switch_tree *dst = ds->dst; dsa_switch_remove() local [all...] |
/kernel/linux/linux-5.10/arch/mips/net/ |
H A D | ebpf_jit.c | 426 int dst = ebpf_to_mips_reg(ctx, insn, dst_reg); in gen_imm_insn() local 428 if (dst < 0) in gen_imm_insn() 429 return dst; in gen_imm_insn() 465 emit_instr(ctx, dinsu, dst, MIPS_R_ZERO, 32, 32); in gen_imm_insn() 471 emit_instr(ctx, sll, dst, dst, 0); in gen_imm_insn() 477 emit_instr(ctx, daddiu, dst, MIPS_R_ZERO, insn->imm); in gen_imm_insn() 481 emit_instr(ctx, andi, dst, dst, insn->imm); in gen_imm_insn() 485 emit_instr(ctx, ori, dst, ds in gen_imm_insn() 567 emit_const_to_reg(struct jit_ctx *ctx, int dst, u64 value) emit_const_to_reg() argument 662 int src, dst, r, td, ts, mem_off, b_off; build_one_insn() local [all...] |