Home
last modified time | relevance | path

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

/linux-6.15/drivers/video/fbdev/
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 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 Damifb.c2603 first = ~0UL >> dst_idx; in bitcpy()
2772 n -= dst_idx + 1; in bitcpy_rev()
2826 n -= dst_idx + 1; in bitcpy_rev()
2834 n -= dst_idx + 1; in bitcpy_rev()
2895 first = ~0UL >> dst_idx; in bitcpy_not()
3035 first = ~0UL >> dst_idx; in bitfill32()
3091 first = ~0UL >> dst_idx; in bitxor32()
3161 int dst_idx, x2, y2; in amifb_fillrect() local
3242 int dst_idx, src_idx; in amifb_copyarea() local
3276 src_idx = dst_idx; in amifb_copyarea()
[all …]
/linux-6.15/drivers/net/dsa/microchip/
H A Dksz9477_acl.c412 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()
548 u16 src_idx, u16 dst_idx) in ksz9477_acl_move_entries() argument
556 if (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()
581 if (dst_idx > src_idx) { in ksz9477_acl_move_entries()
583 src_count, dst_idx); in ksz9477_acl_move_entries()
586 src_count, dst_idx); in ksz9477_acl_move_entries()
[all …]
/linux-6.15/net/can/
H A Dgw.c123 int dst_idx; member
757 if (nla_put_u32(skb, CGW_DST_IF, gwj->ccgw.dst_idx) < 0) in cgw_put_job()
1055 ccgw->dst_idx = nla_get_u32(tb[CGW_DST_IF]); in cgw_parse_attr()
1058 if (!ccgw->src_idx && !ccgw->dst_idx) in cgw_parse_attr()
1062 if (!ccgw->src_idx || !ccgw->dst_idx) in cgw_parse_attr()
1128 if (!ccgw.src_idx || !ccgw.dst_idx) { in cgw_create_job()
1160 gwj->dst.dev = __dev_get_by_index(net, gwj->ccgw.dst_idx); in cgw_create_job()
1234 if (!ccgw.src_idx && !ccgw.dst_idx) { in cgw_remove_job()
/linux-6.15/mm/
H A Dlist_lru.c443 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-6.15/sound/usb/
H A Dpcm.c1353 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 Dmixer_scarlett2.c2930 int dst_idx, src_idx; in scarlett2_usb_populate_mux() local
2932 dst_idx = scarlett2_mux_id_to_num(port_count, SCARLETT2_PORT_OUT, in scarlett2_usb_populate_mux()
2934 if (dst_idx < 0) in scarlett2_usb_populate_mux()
2937 if (dst_idx >= private->num_mux_dsts) { in scarlett2_usb_populate_mux()
2940 mux_entry, dst_idx, private->num_mux_dsts); in scarlett2_usb_populate_mux()
2956 private->mux[dst_idx] = src_idx; in scarlett2_usb_populate_mux()
5570 int err, i, j, k, src_idx, dst_idx; in scarlett2_update_filter_values() local
5615 for (i = 0, dst_idx = 0; i < info->dsp_input_count; i++) { in scarlett2_update_filter_values()
5622 k++, src_idx++, dst_idx++) in scarlett2_update_filter_values()
5623 private->peq_flt_values[dst_idx] = in scarlett2_update_filter_values()
/linux-6.15/drivers/gpu/ipu-v3/
H A Dipu-image-convert.c1627 unsigned int dst_idx; in do_tile_complete() local
1666 dst_idx = ctx->out_tile_map[ctx->next_tile]; in do_tile_complete()
1667 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete()
1690 dst_idx = ctx->out_tile_map[ctx->next_tile + 1]; in do_tile_complete()
1691 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete()
/linux-6.15/include/soc/mscc/
H A Docelot.h1163 int ocelot_mact_lookup(struct ocelot *ocelot, int *dst_idx,
1166 int ocelot_mact_learn_streamdata(struct ocelot *ocelot, int dst_idx,
/linux-6.15/drivers/net/ethernet/mscc/
H A Docelot.c139 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-6.15/drivers/tty/vt/
H A Dvt.c413 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-6.15/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c1810 u32 vid, dst_idx; in vsc9959_mact_stream_set() local
1819 ret = ocelot_mact_lookup(ocelot, &dst_idx, mac, vid, &type); in vsc9959_mact_stream_set()
1833 ret = ocelot_mact_learn_streamdata(ocelot, dst_idx, mac, vid, type, in vsc9959_mact_stream_set()
/linux-6.15/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c4499 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-6.15/fs/xfs/
H A Dxfs_trace.h2418 TP_PROTO(struct xfs_da_args *args, int src_idx, int dst_idx, int count),
2419 TP_ARGS(args, src_idx, dst_idx, count),
2425 __field(int, dst_idx)
2433 __entry->dst_idx = dst_idx;
2442 __entry->dst_idx,
/linux-6.15/drivers/dma/ppc4xx/
H A Dadma.c604 u32 dst_idx) in ppc440spe_desc_set_dest_addr() argument
624 psgu = dst_idx ? &dma_hw_desc->sg3u : &dma_hw_desc->sg2u; in ppc440spe_desc_set_dest_addr()
625 psgl = dst_idx ? &dma_hw_desc->sg3l : &dma_hw_desc->sg2l; in ppc440spe_desc_set_dest_addr()
/linux-6.15/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c3433 u32 dst_idx, cookie, hal_rx_desc_sz; in ath11k_dp_rx_h_defrag_reo_reinject() local
3444 dst_idx = FIELD_GET(RX_MSDU_DESC_INFO0_REO_DEST_IND, msdu0->rx_msdu_info.info0); in ath11k_dp_rx_h_defrag_reo_reinject()
3452 FIELD_PREP(RX_MSDU_DESC_INFO0_REO_DEST_IND, dst_idx) | in ath11k_dp_rx_h_defrag_reo_reinject()
3516 FIELD_PREP(HAL_REO_ENTR_RING_INFO0_DEST_IND, dst_idx); in ath11k_dp_rx_h_defrag_reo_reinject()