/linux/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() [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() [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 [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() [all …]
|
/linux/drivers/video/fbdev/ |
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, c, w); in c2p_iplan2()
|
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, c, w); in c2p_planar()
|
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() [all …]
|
/linux/drivers/net/dsa/microchip/ |
H A D | ksz9477_acl.c | 412 int src_idx, int dst_idx, in ksz9477_validate_and_get_src_count() argument 418 dst_idx >= KSZ9477_ACL_MAX_ENTRIES) { in ksz9477_validate_and_get_src_count() 434 if (dst_idx + *src_count >= KSZ9477_ACL_MAX_ENTRIES) { in ksz9477_validate_and_get_src_count() 442 ret = ksz9477_acl_get_cont_entr(dev, port, dst_idx); in ksz9477_validate_and_get_src_count() 548 u16 src_idx, u16 dst_idx) in ksz9477_acl_move_entries() argument 556 if (src_idx == dst_idx) in ksz9477_acl_move_entries() 559 ret = ksz9477_validate_and_get_src_count(dev, port, src_idx, dst_idx, in ksz9477_acl_move_entries() 568 if (dst_idx > src_idx) in ksz9477_acl_move_entries() 569 dst_idx = dst_idx + dst_count - src_count; in ksz9477_acl_move_entries() 575 src_idx + i, dst_idx + i); in ksz9477_acl_move_entries() [all …]
|
/linux/mm/ |
H A D | list_lru.c | 443 int dst_idx = dst_memcg->kmemcg_id; in memcg_reparent_list_lru_one() local 447 dst = list_lru_from_memcg_idx(lru, nid, dst_idx); in memcg_reparent_list_lru_one()
|
/linux/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_scarlett2.c | 2926 int dst_idx, src_idx; in scarlett2_usb_populate_mux() local 2928 dst_idx = scarlett2_mux_id_to_num(port_count, SCARLETT2_PORT_OUT, in scarlett2_usb_populate_mux() 2930 if (dst_idx < 0) in scarlett2_usb_populate_mux() 2933 if (dst_idx >= private->num_mux_dsts) { in scarlett2_usb_populate_mux() 2936 mux_entry, dst_idx, private->num_mux_dsts); in scarlett2_usb_populate_mux() 2952 private->mux[dst_idx] = src_idx; in scarlett2_usb_populate_mux() 5566 int err, i, j, k, src_idx, dst_idx; in scarlett2_update_filter_values() local 5611 for (i = 0, dst_idx = 0; i < info->dsp_input_count; i++) { in scarlett2_update_filter_values() 5618 k++, src_idx++, dst_idx++) in scarlett2_update_filter_values() 5619 private->peq_flt_values[dst_idx] = in scarlett2_update_filter_values()
|
/linux/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()
|
/linux/include/soc/mscc/ |
H A D | ocelot.h | 1152 int ocelot_mact_lookup(struct ocelot *ocelot, int *dst_idx, 1155 int ocelot_mact_learn_streamdata(struct ocelot *ocelot, int dst_idx,
|
/linux/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()
|
/linux/drivers/tty/vt/ |
H A D | vt.c | 413 unsigned int dst_idx = gcd_idx; in juggle_array() local 416 unsigned int src_idx = (dst_idx + nr) % size; in juggle_array() 420 array[dst_idx] = array[src_idx]; in juggle_array() 421 dst_idx = src_idx; in juggle_array() 424 array[dst_idx] = gcd_idx_val; in juggle_array()
|
/linux/drivers/net/dsa/ocelot/ |
H A D | felix_vsc9959.c | 1807 u32 vid, dst_idx; in vsc9959_mact_stream_set() local 1816 ret = ocelot_mact_lookup(ocelot, &dst_idx, mac, vid, &type); in vsc9959_mact_stream_set() 1830 ret = ocelot_mact_learn_streamdata(ocelot, dst_idx, mac, vid, type, in vsc9959_mact_stream_set()
|
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | jit.c | 4499 unsigned int dst_idx; in nfp_bpf_jit_prepare() local 4515 dst_idx = meta->n + 1 + meta->insn.imm; in nfp_bpf_jit_prepare() 4517 dst_idx = meta->n + 1 + meta->insn.off; in nfp_bpf_jit_prepare() 4519 dst_meta = nfp_bpf_goto_meta(nfp_prog, meta, dst_idx); in nfp_bpf_jit_prepare()
|
/linux/fs/xfs/ |
H A D | xfs_trace.h | 2261 TP_PROTO(struct xfs_da_args *args, int src_idx, int dst_idx, int count), 2262 TP_ARGS(args, src_idx, dst_idx, count), 2268 __field(int, dst_idx) 2276 __entry->dst_idx = dst_idx; 2285 __entry->dst_idx,
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.c | 3444 u32 dst_idx, cookie, hal_rx_desc_sz; in ath11k_dp_rx_h_defrag_reo_reinject() local 3455 dst_idx = FIELD_GET(RX_MSDU_DESC_INFO0_REO_DEST_IND, msdu0->rx_msdu_info.info0); in ath11k_dp_rx_h_defrag_reo_reinject() 3463 FIELD_PREP(RX_MSDU_DESC_INFO0_REO_DEST_IND, dst_idx) | in ath11k_dp_rx_h_defrag_reo_reinject() 3527 FIELD_PREP(HAL_REO_ENTR_RING_INFO0_DEST_IND, dst_idx); in ath11k_dp_rx_h_defrag_reo_reinject()
|