Home
last modified time | relevance | path

Searched refs:dst_idx (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/video/fbdev/core/
H A Dsysfillrect.c25 bitfill_aligned(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_aligned() argument
33 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_aligned()
34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_aligned()
36 if (dst_idx+n <= bits) { in bitfill_aligned()
48 n -= bits - dst_idx; in bitfill_aligned()
81 bitfill_unaligned(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_unaligned() argument
89 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned()
90 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
92 if (dst_idx+n <= bits) { in bitfill_unaligned()
104 n -= bits - dst_idx; in bitfill_unaligned()
[all …]
H A Dcfbfillrect.c35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, in bitfill_aligned() argument
43 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitfill_aligned()
44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitfill_aligned()
46 if (dst_idx+n <= bits) { in bitfill_aligned()
58 n -= bits - dst_idx; in bitfill_aligned()
92 bitfill_unaligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, in bitfill_unaligned() argument
100 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned()
101 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
103 if (dst_idx+n <= bits) { in bitfill_unaligned()
115 n -= bits - dst_idx; in bitfill_unaligned()
[all …]
H A Dsyscopyarea.c28 bitcpy(struct fb_info *p, unsigned long *dst, unsigned dst_idx, in bitcpy() argument
32 int const shift = dst_idx-src_idx; in bitcpy()
35 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitcpy()
36 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitcpy()
40 if (dst_idx+n <= bits) { in bitcpy()
52 n -= bits - dst_idx; in bitcpy()
83 if (dst_idx+n <= bits) { in bitcpy()
114 n -= bits - dst_idx; in bitcpy()
122 n -= bits - dst_idx; in bitcpy()
170 bitcpy_rev(struct fb_info *p, unsigned long *dst, unsigned dst_idx, in bitcpy_rev() argument
[all …]
H A Dcfbcopyarea.c46 bitcpy(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, in bitcpy() argument
51 int const shift = dst_idx-src_idx; in bitcpy()
58 memmove((char *)dst + ((dst_idx & (bits - 1))) / 8, in bitcpy()
63 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitcpy()
64 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitcpy()
69 if (dst_idx+n <= bits) { in bitcpy()
82 n -= bits - dst_idx; in bitcpy()
113 if (dst_idx+n <= bits) { in bitcpy()
147 n -= bits - dst_idx; in bitcpy()
154 n -= bits - dst_idx; in bitcpy()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Dc2p_iplan2.c92 u32 dst_idx, first, last, w; in c2p_iplan2() local
97 dst_idx = dx % 16; in c2p_iplan2()
98 first = 0xffffU >> dst_idx; in c2p_iplan2()
100 last = 0xffffU ^ (0xffffU >> ((dst_idx+width) % 16)); in c2p_iplan2()
106 if (dst_idx+width <= 16) { in c2p_iplan2()
110 memcpy(d.pixels+dst_idx, c, width); in c2p_iplan2()
119 if (dst_idx) { in c2p_iplan2()
120 w = 16 - dst_idx; in c2p_iplan2()
121 memset(d.pixels, 0, dst_idx); in c2p_iplan2()
122 memcpy(d.pixels+dst_idx, c, w); in c2p_iplan2()
H A Dc2p_planar.c94 u32 dst_idx, first, last, w; in c2p_planar() local
99 dst_idx = dx % 32; in c2p_planar()
100 first = 0xffffffffU >> dst_idx; in c2p_planar()
101 last = ~(0xffffffffU >> ((dst_idx+width) % 32)); in c2p_planar()
106 if (dst_idx+width <= 32) { in c2p_planar()
110 memcpy(d.pixels+dst_idx, c, width); in c2p_planar()
120 if (dst_idx) { in c2p_planar()
121 w = 32 - dst_idx; in c2p_planar()
122 memset(d.pixels, 0, dst_idx); in c2p_planar()
123 memcpy(d.pixels+dst_idx, c, w); in c2p_planar()
H A Damifb.c2602 static void bitcpy(unsigned long *dst, int dst_idx, const unsigned long *src, in bitcpy() argument
2606 int shift = dst_idx - src_idx, left, right; in bitcpy()
2613 shift = dst_idx - src_idx; in bitcpy()
2614 first = ~0UL >> dst_idx; in bitcpy()
2615 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); in bitcpy()
2620 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy()
2632 n -= BITS_PER_LONG - dst_idx; in bitcpy()
2661 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy()
2686 n -= BITS_PER_LONG - dst_idx; in bitcpy()
2694 n -= BITS_PER_LONG - dst_idx; in bitcpy()
[all …]
H A Datafb.c2578 int dst_idx; in atafb_imageblit() local
2607 dst_idx = ((unsigned long)info->screen_base & (BYTES_PER_LONG - 1)) * 8; in atafb_imageblit()
2608 dst_idx += dy * par->next_line * 8 + dx; in atafb_imageblit()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/aiq_core/
H A DRkAiqResourceTranslatorV3x.cpp2176 int32_t i, j, k, dst_idx, l_idx, r_idx, l_lht, r_lht, lht0, lht1; in translateMultiAfStats() local
2346 dst_idx = i * ISP2X_RAWAF_SUMDATA_ROW + j; in translateMultiAfStats()
2349 … statsInt->af_stats_v3x.wnda_fv_v1[dst_idx] = left_stats->params.rawaf.ramdata[l_idx].v1; in translateMultiAfStats()
2350 … statsInt->af_stats_v3x.wnda_fv_v2[dst_idx] = left_stats->params.rawaf.ramdata[l_idx].v2; in translateMultiAfStats()
2351 … statsInt->af_stats_v3x.wnda_fv_h1[dst_idx] = left_stats->params.rawaf.ramdata[l_idx].h1; in translateMultiAfStats()
2352 … statsInt->af_stats_v3x.wnda_fv_h2[dst_idx] = left_stats->params.rawaf.ramdata[l_idx].h2; in translateMultiAfStats()
2353 … statsInt->af_stats_v3x.wnda_luma[dst_idx] = left_stats->params.rawae3.data[l_idx].channelg_xy; in translateMultiAfStats()
2354 statsInt->af_stats_v3x.wina_highlit_cnt[dst_idx] = in translateMultiAfStats()
2358 statsInt->af_stats_v3x.wnda_fv_v1[dst_idx] = in translateMultiAfStats()
2360 statsInt->af_stats_v3x.wnda_fv_v2[dst_idx] = in translateMultiAfStats()
[all …]
/OK3568_Linux_fs/kernel/net/can/
H A Dgw.c123 int dst_idx; member
674 if (nla_put_u32(skb, CGW_DST_IF, gwj->ccgw.dst_idx) < 0) in cgw_put_job()
972 ccgw->dst_idx = nla_get_u32(tb[CGW_DST_IF]); in cgw_parse_attr()
975 if (!ccgw->src_idx && !ccgw->dst_idx) in cgw_parse_attr()
979 if (!ccgw->src_idx || !ccgw->dst_idx) in cgw_parse_attr()
1038 if (!ccgw.src_idx || !ccgw.dst_idx) in cgw_create_job()
1066 gwj->dst.dev = __dev_get_by_index(net, gwj->ccgw.dst_idx); in cgw_create_job()
1132 if (!ccgw.src_idx && !ccgw.dst_idx) { in cgw_remove_job()
/OK3568_Linux_fs/kernel/fs/incfs/
H A Ddata_mgmt.c1835 int dst_idx; in incfs_collect_logged_reads() local
1861 for (dst_idx = 0; dst_idx < reads_size; dst_idx++) { in incfs_collect_logged_reads()
1868 reads[dst_idx] = (struct incfs_pending_read_info) { in incfs_collect_logged_reads()
1877 reads2[dst_idx] = (struct incfs_pending_read_info2) { in incfs_collect_logged_reads()
1888 return dst_idx; in incfs_collect_logged_reads()
/OK3568_Linux_fs/kernel/mm/
H A Dlist_lru.c535 int dst_idx = dst_memcg->kmemcg_id; in memcg_drain_list_lru_node() local
545 dst = list_lru_from_memcg_idx(nlru, dst_idx); in memcg_drain_list_lru_node()
/OK3568_Linux_fs/kernel/drivers/gpu/ipu-v3/
H A Dipu-image-convert.c1645 unsigned int dst_idx; in do_tile_complete() local
1684 dst_idx = ctx->out_tile_map[ctx->next_tile]; in do_tile_complete()
1685 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete()
1708 dst_idx = ctx->out_tile_map[ctx->next_tile + 1]; in do_tile_complete()
1709 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete()
/OK3568_Linux_fs/kernel/sound/usb/
H A Dpcm.c1674 unsigned int dst_idx = 0; in fill_playback_urb_dsd_dop() local
1700 dst[dst_idx++] = marker[subs->dsd_dop.marker]; in fill_playback_urb_dsd_dop()
1715 dst[dst_idx++] = bitrev8(src[idx]); in fill_playback_urb_dsd_dop()
1717 dst[dst_idx++] = src[idx]; in fill_playback_urb_dsd_dop()
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_trace.h1987 TP_PROTO(struct xfs_da_args *args, int src_idx, int dst_idx, int count),
1988 TP_ARGS(args, src_idx, dst_idx, count),
1994 __field(int, dst_idx)
2002 __entry->dst_idx = dst_idx;
2011 __entry->dst_idx,
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c4493 unsigned int dst_idx; in nfp_bpf_jit_prepare() local
4509 dst_idx = meta->n + 1 + meta->insn.imm; in nfp_bpf_jit_prepare()
4511 dst_idx = meta->n + 1 + meta->insn.off; in nfp_bpf_jit_prepare()
4513 dst_meta = nfp_bpf_goto_meta(nfp_prog, meta, dst_idx); in nfp_bpf_jit_prepare()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c3248 u32 dst_idx, cookie; in ath11k_dp_rx_h_defrag_reo_reinject() local
3259 dst_idx = FIELD_GET(RX_MSDU_DESC_INFO0_REO_DEST_IND, msdu0->rx_msdu_info.info0); in ath11k_dp_rx_h_defrag_reo_reinject()
3267 FIELD_PREP(RX_MSDU_DESC_INFO0_REO_DEST_IND, dst_idx) | in ath11k_dp_rx_h_defrag_reo_reinject()
3332 FIELD_PREP(HAL_REO_ENTR_RING_INFO0_DEST_IND, dst_idx); in ath11k_dp_rx_h_defrag_reo_reinject()
/OK3568_Linux_fs/kernel/drivers/dma/ppc4xx/
H A Dadma.c606 u32 dst_idx) in ppc440spe_desc_set_dest_addr() argument
626 psgu = dst_idx ? &dma_hw_desc->sg3u : &dma_hw_desc->sg2u; in ppc440spe_desc_set_dest_addr()
627 psgl = dst_idx ? &dma_hw_desc->sg3l : &dma_hw_desc->sg2l; in ppc440spe_desc_set_dest_addr()