/linux-master/drivers/video/fbdev/core/ |
H A D | sysfillrect.c | 25 bitfill_aligned(struct fb_info *p, unsigned long *dst, int dst_idx, argument 33 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); 34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 36 if (dst_idx+n <= bits) { 48 n -= bits - dst_idx; 71 bitfill_unaligned(struct fb_info *p, unsigned long *dst, int dst_idx, argument 79 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); 80 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 82 if (dst_idx+n <= bits) { 94 n -= bits - dst_idx; 125 bitfill_aligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, unsigned n, int bits) 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) argument 240 int dst_idx, left; local [all...] |
H A D | syscopyarea.c | 28 bitcpy(struct fb_info *p, unsigned long *dst, unsigned dst_idx, argument 32 int const shift = dst_idx-src_idx; 35 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); 36 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 40 if (dst_idx+n <= bits) { 52 n -= bits - dst_idx; 83 if (dst_idx+n <= bits) { 114 n -= bits - dst_idx; 122 n -= bits - dst_idx; 170 bitcpy_rev(struct fb_info *p, unsigned long *dst, unsigned dst_idx, argument 322 unsigned dst_idx = 0, src_idx = 0, rev_copy = 0; local [all...] |
H A D | cfbfillrect.c | 35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, argument 43 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); 44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); 46 if (dst_idx+n <= bits) { 58 n -= bits - dst_idx; 92 bitfill_unaligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, argument 100 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); 101 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 103 if (dst_idx+n <= bits) { 115 n -= bits - dst_idx; 146 bitfill_aligned_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, unsigned n, int bits, u32 bswapmask) 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) argument 285 int dst_idx, left; local [all...] |
H A D | cfbcopyarea.c | 46 bitcpy(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, argument 51 int const shift = dst_idx-src_idx; 58 memmove((char *)dst + ((dst_idx & (bits - 1))) / 8, 63 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); 64 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); 69 if (dst_idx+n <= bits) { 82 n -= bits - dst_idx; 113 if (dst_idx+n <= bits) { 147 n -= bits - dst_idx; 154 n -= bits - dst_idx; 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) argument 388 unsigned dst_idx = 0, src_idx = 0, rev_copy = 0; local [all...] |
/linux-master/drivers/video/fbdev/ |
H A D | c2p_iplan2.c | 92 u32 dst_idx, first, last, w; local 97 dst_idx = dx % 16; 98 first = 0xffffU >> dst_idx; 100 last = 0xffffU ^ (0xffffU >> ((dst_idx+width) % 16)); 106 if (dst_idx+width <= 16) { 110 memcpy(d.pixels+dst_idx, c, width); 119 if (dst_idx) { 120 w = 16 - dst_idx; 121 memset(d.pixels, 0, dst_idx); 122 memcpy(d.pixels+dst_idx, [all...] |
H A D | c2p_planar.c | 94 u32 dst_idx, first, last, w; local 99 dst_idx = dx % 32; 100 first = 0xffffffffU >> dst_idx; 101 last = ~(0xffffffffU >> ((dst_idx+width) % 32)); 106 if (dst_idx+width <= 32) { 110 memcpy(d.pixels+dst_idx, c, width); 120 if (dst_idx) { 121 w = 32 - dst_idx; 122 memset(d.pixels, 0, dst_idx); 123 memcpy(d.pixels+dst_idx, [all...] |
H A D | amifb.c | 2591 static void bitcpy(unsigned long *dst, int dst_idx, const unsigned long *src, argument 2595 int shift = dst_idx - src_idx, left, right; 2602 shift = dst_idx - src_idx; 2603 first = ~0UL >> dst_idx; 2604 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); 2609 if (dst_idx + n <= BITS_PER_LONG) { 2621 n -= BITS_PER_LONG - dst_idx; 2650 if (dst_idx + n <= BITS_PER_LONG) { 2675 n -= BITS_PER_LONG - dst_idx; 2683 n -= BITS_PER_LONG - dst_idx; 2731 bitcpy_rev(unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, u32 n) argument 2883 bitcpy_not(unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, u32 n) argument 3023 bitfill32(unsigned long *dst, int dst_idx, u32 pat, u32 n) argument 3079 bitxor32(unsigned long *dst, int dst_idx, u32 pat, u32 n) argument 3126 fill_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, u32 color) argument 3141 xor_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, u32 color) argument 3161 int dst_idx, x2, y2; 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) 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) argument 3242 int dst_idx, src_idx; 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) argument 3334 int dst_idx; local [all...] |
/linux-master/drivers/net/dsa/microchip/ |
H A D | ksz9477_acl.c | 393 * @dst_idx: Index of the destination where the source entries are intended to 412 int src_idx, int dst_idx, 418 dst_idx >= KSZ9477_ACL_MAX_ENTRIES) { 434 if (dst_idx + *src_count >= KSZ9477_ACL_MAX_ENTRIES) { 442 ret = ksz9477_acl_get_cont_entr(dev, port, dst_idx); 535 * @dst_idx: Index of the starting destination ACL entry. 548 u16 src_idx, u16 dst_idx) 556 if (src_idx == dst_idx) 559 ret = ksz9477_validate_and_get_src_count(dev, port, src_idx, dst_idx, 566 * downwards and the size of the entry located at dst_idx 411 ksz9477_validate_and_get_src_count(struct ksz_device *dev, int port, int src_idx, int dst_idx, int *src_count, int *dst_count) argument 547 ksz9477_acl_move_entries(struct ksz_device *dev, int port, u16 src_idx, u16 dst_idx) argument [all...] |
/linux-master/net/can/ |
H A D | gw.c | 123 int dst_idx; member in struct:can_can_gw 742 if (nla_put_u32(skb, CGW_DST_IF, gwj->ccgw.dst_idx) < 0) 1040 ccgw->dst_idx = nla_get_u32(tb[CGW_DST_IF]); 1043 if (!ccgw->src_idx && !ccgw->dst_idx) 1047 if (!ccgw->src_idx || !ccgw->dst_idx) 1106 if (!ccgw.src_idx || !ccgw.dst_idx) 1134 gwj->dst.dev = __dev_get_by_index(net, gwj->ccgw.dst_idx); 1206 if (!ccgw.src_idx && !ccgw.dst_idx) {
|
/linux-master/fs/bcachefs/ |
H A D | replicas.c | 281 int src_idx, dst_idx; local 289 dst_idx = __replicas_entry_idx(dst_r, 291 BUG_ON(dst_idx < 0); 293 dst->replicas[dst_idx] = src->replicas[src_idx];
|
/linux-master/mm/ |
H A D | list_lru.c | 384 int dst_idx = dst_memcg->kmemcg_id; local 396 dst = list_lru_from_memcg_idx(lru, nid, dst_idx);
|
/linux-master/sound/usb/ |
H A D | pcm.c | 1353 unsigned int dst_idx = 0; local 1380 dst[dst_idx++] = marker[subs->dsd_dop.marker]; 1395 dst[dst_idx++] = bitrev8(src[idx]); 1397 dst[dst_idx++] = src[idx];
|
H A D | mixer_scarlett2.c | 2401 int dst_idx, src_idx; local 2403 dst_idx = scarlett2_mux_id_to_num(port_count, SCARLETT2_PORT_OUT, 2405 if (dst_idx < 0) 2408 if (dst_idx >= private->num_mux_dsts) { 2411 mux_entry, dst_idx, private->num_mux_dsts); 2427 private->mux[dst_idx] = src_idx;
|
/linux-master/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,
|
/linux-master/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 1641 unsigned int dst_idx; local 1680 dst_idx = ctx->out_tile_map[ctx->next_tile]; 1681 dst_tile = &d_image->tile[dst_idx]; 1704 dst_idx = ctx->out_tile_map[ctx->next_tile + 1]; 1705 dst_tile = &d_image->tile[dst_idx];
|
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 139 int ocelot_mact_lookup(struct ocelot *ocelot, int *dst_idx, argument 167 *dst_idx = ANA_TABLES_MACACCESS_DEST_IDX_X(val); 174 int ocelot_mact_learn_streamdata(struct ocelot *ocelot, int dst_idx, argument 191 ret = __ocelot_mact_learn(ocelot, dst_idx, mac, vid, type);
|
/linux-master/drivers/tty/vt/ |
H A D | vt.c | 413 unsigned int dst_idx = gcd_idx; local 416 unsigned int src_idx = (dst_idx + nr) % size; 420 array[dst_idx] = array[src_idx]; 421 dst_idx = src_idx; 424 array[dst_idx] = gcd_idx_val;
|
/linux-master/drivers/net/dsa/ocelot/ |
H A D | felix_vsc9959.c | 1796 u32 vid, dst_idx; local 1805 ret = ocelot_mact_lookup(ocelot, &dst_idx, mac, vid, &type); 1819 ret = ocelot_mact_learn_streamdata(ocelot, dst_idx, mac, vid, type,
|
/linux-master/fs/xfs/ |
H A D | xfs_trace.h | 2129 TP_PROTO(struct xfs_da_args *args, int src_idx, int dst_idx, int count), 2130 TP_ARGS(args, src_idx, dst_idx, count), 2136 __field(int, dst_idx) 2144 __entry->dst_idx = dst_idx; 2148 "src_idx %d dst_idx %d count %d", 2153 __entry->dst_idx,
|
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | jit.c | 4499 unsigned int dst_idx; local 4515 dst_idx = meta->n + 1 + meta->insn.imm; 4517 dst_idx = meta->n + 1 + meta->insn.off; 4519 dst_meta = nfp_bpf_goto_meta(nfp_prog, meta, dst_idx);
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.c | 3381 u32 dst_idx, cookie, hal_rx_desc_sz; local 3392 dst_idx = FIELD_GET(RX_MSDU_DESC_INFO0_REO_DEST_IND, msdu0->rx_msdu_info.info0); 3400 FIELD_PREP(RX_MSDU_DESC_INFO0_REO_DEST_IND, dst_idx) | 3464 FIELD_PREP(HAL_REO_ENTR_RING_INFO0_DEST_IND, dst_idx);
|
/linux-master/drivers/dma/ppc4xx/ |
H A D | adma.c | 604 u32 dst_idx) 624 psgu = dst_idx ? &dma_hw_desc->sg3u : &dma_hw_desc->sg2u; 625 psgl = dst_idx ? &dma_hw_desc->sg3l : &dma_hw_desc->sg2l; 601 ppc440spe_desc_set_dest_addr(struct ppc440spe_adma_desc_slot *desc, struct ppc440spe_adma_chan *chan, dma_addr_t addrh, dma_addr_t addrl, u32 dst_idx) argument
|