/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 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() 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 250 int dst_idx, left; sys_fillrect() local [all...] |
H A D | syscopyarea.c | 28 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 322 unsigned dst_idx = 0, src_idx = 0, rev_copy = 0; sys_copyarea() local [all...] |
H A D | cfbfillrect.c | 35 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() 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 285 int dst_idx, left; cfb_fillrect() local [all...] |
H A D | cfbcopyarea.c | 46 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() 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) bitcpy_rev() argument 388 unsigned dst_idx = 0, src_idx = 0, rev_copy = 0; cfb_copyarea() local [all...] |
/kernel/linux/linux-6.6/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 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() 71 bitfill_unaligned(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_unaligned() argument 79 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned() 80 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned() 82 if (dst_idx+n <= bits) { in bitfill_unaligned() 94 n -= bits - dst_idx; in bitfill_unaligned() 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 240 int dst_idx, left; sys_fillrect() local [all...] |
H A D | syscopyarea.c | 28 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 322 unsigned dst_idx = 0, src_idx = 0, rev_copy = 0; sys_copyarea() local [all...] |
H A D | cfbfillrect.c | 35 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() 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 285 int dst_idx, left; cfb_fillrect() local [all...] |
H A D | cfbcopyarea.c | 46 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() 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) bitcpy_rev() argument 388 unsigned dst_idx = 0, src_idx = 0, rev_copy = 0; cfb_copyarea() local [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | c2p_planar.c | 94 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, in c2p_planar() [all...] |
H A D | c2p_iplan2.c | 92 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, in c2p_iplan2() [all...] |
H A D | amifb.c | 2602 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() 2742 bitcpy_rev(unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, u32 n) bitcpy_rev() argument 2894 bitcpy_not(unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, u32 n) bitcpy_not() argument 3034 bitfill32(unsigned long *dst, int dst_idx, u32 pat, u32 n) bitfill32() argument 3090 bitxor32(unsigned long *dst, int dst_idx, u32 pat, u32 n) bitxor32() argument 3137 fill_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, u32 color) fill_one_line() argument 3152 xor_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, u32 color) xor_one_line() argument 3172 int dst_idx, x2, y2; amifb_fillrect() local 3211 copy_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, unsigned long *src, int src_idx, u32 n) copy_one_line() argument 3228 copy_one_line_rev(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, unsigned long *src, int src_idx, u32 n) copy_one_line_rev() argument 3253 int dst_idx, src_idx; amifb_copyarea() local 3310 expand_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, const u8 *data, u32 bgcolor, u32 fgcolor) expand_one_line() argument 3345 int dst_idx; amifb_imageblit() local [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | c2p_planar.c | 94 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, in c2p_planar() [all...] |
H A D | c2p_iplan2.c | 92 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, in c2p_iplan2() [all...] |
H A D | amifb.c | 2591 static void bitcpy(unsigned long *dst, int dst_idx, const unsigned long *src, in bitcpy() argument 2595 int shift = dst_idx - src_idx, left, right; in bitcpy() 2602 shift = dst_idx - src_idx; in bitcpy() 2603 first = ~0UL >> dst_idx; in bitcpy() 2604 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); in bitcpy() 2609 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy() 2621 n -= BITS_PER_LONG - dst_idx; in bitcpy() 2650 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy() 2675 n -= BITS_PER_LONG - dst_idx; in bitcpy() 2683 n -= BITS_PER_LONG - dst_idx; in bitcpy() 2731 bitcpy_rev(unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, u32 n) bitcpy_rev() argument 2883 bitcpy_not(unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, u32 n) bitcpy_not() argument 3023 bitfill32(unsigned long *dst, int dst_idx, u32 pat, u32 n) bitfill32() argument 3079 bitxor32(unsigned long *dst, int dst_idx, u32 pat, u32 n) bitxor32() argument 3126 fill_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, u32 color) fill_one_line() argument 3141 xor_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, u32 color) xor_one_line() argument 3161 int dst_idx, x2, y2; amifb_fillrect() local 3200 copy_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, unsigned long *src, int src_idx, u32 n) copy_one_line() argument 3217 copy_one_line_rev(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, unsigned long *src, int src_idx, u32 n) copy_one_line_rev() argument 3242 int dst_idx, src_idx; amifb_copyarea() local 3299 expand_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, const u8 *data, u32 bgcolor, u32 fgcolor) expand_one_line() argument 3334 int dst_idx; amifb_imageblit() local [all...] |
/kernel/linux/linux-5.10/net/can/ |
H A D | gw.c | 123 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()
|
/kernel/linux/linux-6.6/net/can/ |
H A D | gw.c | 123 int dst_idx; member 742 if (nla_put_u32(skb, CGW_DST_IF, gwj->ccgw.dst_idx) < 0) in cgw_put_job() 1040 ccgw->dst_idx = nla_get_u32(tb[CGW_DST_IF]); in cgw_parse_attr() 1043 if (!ccgw->src_idx && !ccgw->dst_idx) in cgw_parse_attr() 1047 if (!ccgw->src_idx || !ccgw->dst_idx) in cgw_parse_attr() 1106 if (!ccgw.src_idx || !ccgw.dst_idx) in cgw_create_job() 1134 gwj->dst.dev = __dev_get_by_index(net, gwj->ccgw.dst_idx); in cgw_create_job() 1206 if (!ccgw.src_idx && !ccgw.dst_idx) { in cgw_remove_job()
|
/kernel/linux/linux-5.10/mm/ |
H A D | list_lru.c | 535 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()
|
/kernel/linux/linux-6.6/mm/ |
H A D | list_lru.c | 394 int dst_idx = dst_memcg->kmemcg_id; in memcg_reparent_list_lru_node() local 406 dst = list_lru_from_memcg_idx(lru, nid, dst_idx); in memcg_reparent_list_lru_node()
|
/kernel/linux/linux-5.10/sound/usb/ |
H A D | pcm.c | 1486 unsigned int dst_idx = 0; in fill_playback_urb_dsd_dop() local 1512 dst[dst_idx++] = marker[subs->dsd_dop.marker]; in fill_playback_urb_dsd_dop() 1527 dst[dst_idx++] = bitrev8(src[idx]); in fill_playback_urb_dsd_dop() 1529 dst[dst_idx++] = src[idx]; in fill_playback_urb_dsd_dop()
|
/kernel/linux/linux-6.6/sound/usb/ |
H A D | pcm.c | 1353 unsigned int dst_idx = 0; in fill_playback_urb_dsd_dop() local 1380 dst[dst_idx++] = marker[subs->dsd_dop.marker]; in fill_playback_urb_dsd_dop() 1395 dst[dst_idx++] = bitrev8(src[idx]); in fill_playback_urb_dsd_dop() 1397 dst[dst_idx++] = src[idx]; in fill_playback_urb_dsd_dop()
|
H A D | mixer_scarlett_gen2.c | 1575 int dst_idx, src_idx; in scarlett2_usb_populate_mux() local 1577 dst_idx = scarlett2_mux_id_to_num(port_count, SCARLETT2_PORT_OUT, in scarlett2_usb_populate_mux() 1579 if (dst_idx < 0) in scarlett2_usb_populate_mux() 1582 if (dst_idx >= private->num_mux_dsts) { in scarlett2_usb_populate_mux() 1585 mux_entry, dst_idx, private->num_mux_dsts); in scarlett2_usb_populate_mux() 1601 private->mux[dst_idx] = src_idx; in scarlett2_usb_populate_mux()
|
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 1645 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()
|
/kernel/linux/linux-6.6/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 1641 unsigned int dst_idx; in do_tile_complete() local 1680 dst_idx = ctx->out_tile_map[ctx->next_tile]; in do_tile_complete() 1681 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete() 1704 dst_idx = ctx->out_tile_map[ctx->next_tile + 1]; in do_tile_complete() 1705 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 139 int ocelot_mact_lookup(struct ocelot *ocelot, int *dst_idx, in ocelot_mact_lookup() argument 167 *dst_idx = ANA_TABLES_MACACCESS_DEST_IDX_X(val); in ocelot_mact_lookup() 174 int ocelot_mact_learn_streamdata(struct ocelot *ocelot, int dst_idx, in ocelot_mact_learn_streamdata() argument 191 ret = __ocelot_mact_learn(ocelot, dst_idx, mac, vid, type); in ocelot_mact_learn_streamdata()
|
/kernel/linux/linux-6.6/include/soc/mscc/ |
H A D | ocelot.h | 1144 int ocelot_mact_lookup(struct ocelot *ocelot, int *dst_idx, 1147 int ocelot_mact_learn_streamdata(struct ocelot *ocelot, int dst_idx,
|