| /linux/net/core/ |
| H A D | dst.c | 47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init() argument 51 dst->dev = dev; in dst_init() 52 netdev_hold(dev, &dst->dev_tracker, GFP_ATOMIC); in dst_init() 53 dst->ops = ops; in dst_init() 54 dst_init_metrics(dst, dst_default_metrics.metrics, true); in dst_init() 55 dst->expires = 0UL; in dst_init() 57 dst->xfrm = NULL; in dst_init() 59 dst->input = dst_discard; in dst_init() 60 dst->output = dst_discard_out; in dst_init() 61 dst->error = 0; in dst_init() [all …]
|
| H A D | dst_cache.c | 19 struct dst_entry *dst; member 29 struct dst_entry *dst, u32 cookie) in dst_cache_per_cpu_dst_set() argument 32 dst_release(dst_cache->dst); in dst_cache_per_cpu_dst_set() 33 if (dst) in dst_cache_per_cpu_dst_set() 34 dst_hold(dst); in dst_cache_per_cpu_dst_set() 37 dst_cache->dst = dst; in dst_cache_per_cpu_dst_set() 43 struct dst_entry *dst; in dst_cache_per_cpu_get() local 46 dst = idst->dst; in dst_cache_per_cpu_get() 47 if (!dst) in dst_cache_per_cpu_get() 51 dst_hold(dst); in dst_cache_per_cpu_get() [all …]
|
| /linux/include/net/ |
| H A D | dst.h | 106 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old); 115 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only() argument 117 return dst->_metrics & DST_METRICS_READ_ONLY; in dst_metrics_read_only() 120 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old); 122 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic() argument 124 unsigned long val = dst->_metrics; in dst_destroy_metrics_generic() 126 __dst_destroy_metrics_generic(dst, val); in dst_destroy_metrics_generic() 129 static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst) in dst_metrics_write_ptr() argument 131 unsigned long p = dst->_metrics; in dst_metrics_write_ptr() 136 return dst->ops->cow_metrics(dst, p); in dst_metrics_write_ptr() [all …]
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_vcap_debugfs.c | 84 out->prf(out->dst, " port[%02d] (%s): ", port->portno, in sparx5_vcap_is0_port_keys() 87 out->prf(out->dst, "\n Lookup %d: ", lookup); in sparx5_vcap_is0_port_keys() 92 out->prf(out->dst, "\n state: "); in sparx5_vcap_is0_port_keys() 94 out->prf(out->dst, "on"); in sparx5_vcap_is0_port_keys() 96 out->prf(out->dst, "off"); in sparx5_vcap_is0_port_keys() 98 out->prf(out->dst, "\n etype: %s", in sparx5_vcap_is0_port_keys() 101 out->prf(out->dst, "\n ipv4: %s", in sparx5_vcap_is0_port_keys() 104 out->prf(out->dst, "\n ipv6: %s", in sparx5_vcap_is0_port_keys() 107 out->prf(out->dst, "\n mpls_uc: %s", in sparx5_vcap_is0_port_keys() 110 out->prf(out->dst, "\n mpls_mc: %s", in sparx5_vcap_is0_port_keys() [all …]
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_vcap_debugfs.c | 15 out->prf(out->dst, " port[%d] (%s): ", port->chip_port, in lan966x_vcap_is1_port_keys() 19 out->prf(out->dst, "\n state: "); in lan966x_vcap_is1_port_keys() 21 out->prf(out->dst, "on"); in lan966x_vcap_is1_port_keys() 23 out->prf(out->dst, "off"); in lan966x_vcap_is1_port_keys() 26 out->prf(out->dst, "\n Lookup %d: ", l); in lan966x_vcap_is1_port_keys() 30 out->prf(out->dst, "\n other: "); in lan966x_vcap_is1_port_keys() 33 out->prf(out->dst, "normal"); in lan966x_vcap_is1_port_keys() 36 out->prf(out->dst, "7tuple"); in lan966x_vcap_is1_port_keys() 39 out->prf(out->dst, "dbl_vid"); in lan966x_vcap_is1_port_keys() 42 out->prf(out->dst, "dmac_vid"); in lan966x_vcap_is1_port_keys() [all …]
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | hantro_vp8.c | 54 u8 *dst; in hantro_vp8_prob_update() local 57 dst = ctx->vp8_dec.prob_tbl.cpu; in hantro_vp8_prob_update() 59 dst[0] = hdr->prob_skip_false; in hantro_vp8_prob_update() 60 dst[1] = hdr->prob_intra; in hantro_vp8_prob_update() 61 dst[2] = hdr->prob_last; in hantro_vp8_prob_update() 62 dst[3] = hdr->prob_gf; in hantro_vp8_prob_update() 63 dst[4] = hdr->segment.segment_probs[0]; in hantro_vp8_prob_update() 64 dst[5] = hdr->segment.segment_probs[1]; in hantro_vp8_prob_update() 65 dst[6] = hdr->segment.segment_probs[2]; in hantro_vp8_prob_update() 66 dst[7] = 0; in hantro_vp8_prob_update() [all …]
|
| /linux/drivers/media/platform/allegro-dvt/ |
| H A D | allegro-mail.c | 44 allegro_enc_init(u32 *dst, struct mcu_msg_init_request *msg) in allegro_enc_init() argument 49 dst[i++] = msg->reserved0; in allegro_enc_init() 50 dst[i++] = msg->suballoc_dma; in allegro_enc_init() 51 dst[i++] = msg->suballoc_size; in allegro_enc_init() 52 dst[i++] = msg->encoder_buffer_size; in allegro_enc_init() 53 dst[i++] = msg->encoder_buffer_color_depth; in allegro_enc_init() 54 dst[i++] = msg->num_cores; in allegro_enc_init() 56 dst[i++] = msg->clk_rate; in allegro_enc_init() 57 dst[i++] = 0; in allegro_enc_init() 60 return i * sizeof(*dst); in allegro_enc_init() [all …]
|
| /linux/arch/mips/net/ |
| H A D | bpf_jit_comp64.c | 98 static void emit_sext(struct jit_context *ctx, u8 dst, u8 src) in emit_sext() argument 100 emit(ctx, sll, dst, src, 0); in emit_sext() 101 clobber_reg(ctx, dst); in emit_sext() 105 static void emit_zext(struct jit_context *ctx, u8 dst) in emit_zext() argument 108 emit(ctx, dinsu, dst, MIPS_R_ZERO, 32, 32); in emit_zext() 110 emit(ctx, and, dst, dst, bpf2mips64[JIT_REG_ZX]); in emit_zext() 113 clobber_reg(ctx, dst); in emit_zext() 117 static void emit_zext_ver(struct jit_context *ctx, u8 dst) in emit_zext_ver() argument 120 emit_zext(ctx, dst); in emit_zext_ver() 124 emit_mov_i64(struct jit_context * ctx,u8 dst,u64 imm64) emit_mov_i64() argument 158 emit_alu_i64(struct jit_context * ctx,u8 dst,s32 imm,u8 op) emit_alu_i64() argument 201 emit_alu_r64(struct jit_context * ctx,u8 dst,u8 src,u8 op) emit_alu_r64() argument 262 emit_swap_r64(struct jit_context * ctx,u8 dst,u8 mask,u32 bits) emit_swap_r64() argument 274 emit_bswap_r64(struct jit_context * ctx,u8 dst,u32 width) emit_bswap_r64() argument 315 emit_trunc_r64(struct jit_context * ctx,u8 dst,u32 width) emit_trunc_r64() argument 333 emit_ldx(struct jit_context * ctx,u8 dst,u8 src,s16 off,u8 size) emit_ldx() argument 357 emit_stx(struct jit_context * ctx,u8 dst,u8 src,s16 off,u8 size) emit_stx() argument 381 emit_atomic_r64(struct jit_context * ctx,u8 dst,u8 src,s16 off,u8 code) emit_atomic_r64() argument 420 emit_cmpxchg_r64(struct jit_context * ctx,u8 dst,u8 src,s16 off) emit_cmpxchg_r64() argument 636 u8 dst = bpf2mips64[insn->dst_reg]; build_insn() local [all...] |
| H A D | bpf_jit_comp32.c | 173 /* dst = imm (sign-extended) */ 174 static void emit_mov_se_i64(struct jit_context *ctx, const u8 dst[], s32 imm) in emit_mov_se_i64() argument 176 emit_mov_i(ctx, lo(dst), imm); in emit_mov_se_i64() 178 emit(ctx, addiu, hi(dst), MIPS_R_ZERO, -1); in emit_mov_se_i64() 180 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_mov_se_i64() 181 clobber_reg64(ctx, dst); in emit_mov_se_i64() 185 static void emit_zext_ver(struct jit_context *ctx, const u8 dst[]) in emit_zext_ver() argument 188 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_zext_ver() 189 clobber_reg(ctx, hi(dst)); in emit_zext_ver() 194 static void emit_movsx_r(struct jit_context *ctx, u8 dst, u 202 emit_alu_i64(struct jit_context * ctx,const u8 dst[],s32 imm,u8 op) emit_alu_i64() argument 268 emit_alu_r64(struct jit_context * ctx,const u8 dst[],const u8 src[],u8 op) emit_alu_r64() argument 310 emit_neg_i64(struct jit_context * ctx,const u8 dst[]) emit_neg_i64() argument 322 emit_shift_i64(struct jit_context * ctx,const u8 dst[],u32 imm,u8 op) emit_shift_i64() argument 367 emit_shift_r64(struct jit_context * ctx,const u8 dst[],u8 src,u8 op) emit_shift_r64() argument 423 emit_mul_i64(struct jit_context * ctx,const u8 dst[],s32 imm) emit_mul_i64() argument 475 emit_mul_r64(struct jit_context * ctx,const u8 dst[],const u8 src[]) emit_mul_r64() argument 526 emit_divmod_r64(struct jit_context * ctx,const u8 dst[],const u8 src[],u8 op) emit_divmod_r64() argument 577 emit_swap8_r(struct jit_context * ctx,u8 dst,u8 src,u8 mask) emit_swap8_r() argument 589 emit_swap16_r(struct jit_context * ctx,u8 dst,u8 src) emit_swap16_r() argument 599 emit_bswap_r64(struct jit_context * ctx,const u8 dst[],u32 width) emit_bswap_r64() argument 634 emit_trunc_r64(struct jit_context * ctx,const u8 dst[],u32 width) emit_trunc_r64() argument 655 emit_ldx(struct jit_context * ctx,const u8 dst[],u8 src,s16 off,u8 size) emit_ldx() argument 690 emit_stx(struct jit_context * ctx,const u8 dst,const u8 src[],s16 off,u8 size) emit_stx() argument 715 emit_atomic_r32(struct jit_context * ctx,u8 dst,u8 src,s16 off,u8 code) emit_atomic_r32() argument 798 emit_atomic_r64(struct jit_context * ctx,u8 dst,const u8 src[],s16 off,u8 code) emit_atomic_r64() argument 873 emit_cmpxchg_r32(struct jit_context * ctx,u8 dst,u8 src,s16 off) emit_cmpxchg_r32() argument 910 emit_cmpxchg_r64(struct jit_context * ctx,u8 dst,const u8 src[],s16 off) emit_cmpxchg_r64() argument 1093 emit_jmp_i64(struct jit_context * ctx,const u8 dst[],s32 imm,s32 off,u8 op) emit_jmp_i64() argument 1186 emit_jmp_r64(struct jit_context * ctx,const u8 dst[],const u8 src[],s32 off,u8 op) emit_jmp_r64() argument 1465 const u8 *dst = bpf2mips32[insn->dst_reg]; build_insn() local [all...] |
| /linux/net/dsa/ |
| H A D | dsa.c | 65 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_map() argument 69 for (id = 1; id <= dst->lags_len; id++) { in dsa_lag_map() 70 if (!dsa_lag_by_id(dst, id)) { in dsa_lag_map() 71 dst->lags[id - 1] = lag; in dsa_lag_map() 93 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_unmap() argument 97 dsa_lags_foreach_id(id, dst) { in dsa_lag_unmap() 98 if (dsa_lag_by_id(dst, id) == lag) { in dsa_lag_unmap() 99 dst->lags[id - 1] = NULL; in dsa_lag_unmap() 106 struct dsa_lag *dsa_tree_lag_find(struct dsa_switch_tree *dst, in dsa_tree_lag_find() argument 111 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_lag_find() [all …]
|
| /linux/arch/nios2/lib/ |
| H A D | memmove.c | 15 unsigned long dst, src; in memmove() local 21 dst = (unsigned long) d; in memmove() 24 if ((count < 8) || ((dst ^ src) & 3)) in memmove() 27 if (dst & 1) { in memmove() 28 *(char *)dst++ = *(char *)src++; in memmove() 31 if (dst & 2) { in memmove() 32 *(short *)dst = *(short *)src; in memmove() 34 dst += 2; in memmove() 38 *(long *)dst = *(long *)src; in memmove() 40 dst += 4; in memmove() [all …]
|
| /linux/drivers/phy/ |
| H A D | phy-xgene.c | 95 #define REGSPEC_CFG_I_TX_WORDMODE0_SET(dst, src) \ argument 96 (((dst) & ~0x00070000) | (((u32) (src) << 16) & 0x00070000)) 97 #define REGSPEC_CFG_I_RX_WORDMODE0_SET(dst, src) \ argument 98 (((dst) & ~0x00e00000) | (((u32) (src) << 21) & 0x00e00000)) 100 #define REGSPEC_CFG_I_CUSTOMER_PIN_MODE0_SET(dst, src) \ argument 101 (((dst) & ~0x00007fff) | (((u32) (src)) & 0x00007fff)) 103 #define CFG_I_SPD_SEL_CDR_OVR1_SET(dst, src) \ argument 104 (((dst) & ~0x0000000f) | (((u32) (src)) & 0x0000000f)) 110 #define CFG_IND_ADDR_SET(dst, src) \ argument 111 (((dst) 115 I_RESET_B_SET(dst,src) global() argument 117 I_PLL_FBDIV_SET(dst,src) global() argument 119 I_CUSTOMEROV_SET(dst,src) global() argument 127 CMU_REG0_PLL_REF_SEL_SET(dst,src) global() argument 130 CMU_REG0_CAL_COUNT_RESOL_SET(dst,src) global() argument 133 CMU_REG1_PLL_CP_SET(dst,src) global() argument 135 CMU_REG1_PLL_MANUALCAL_SET(dst,src) global() argument 137 CMU_REG1_PLL_CP_SEL_SET(dst,src) global() argument 140 CMU_REG1_REFCLK_CMOS_SEL_SET(dst,src) global() argument 143 CMU_REG2_PLL_REFDIV_SET(dst,src) global() argument 145 CMU_REG2_PLL_LFRES_SET(dst,src) global() argument 147 CMU_REG2_PLL_FBDIV_SET(dst,src) global() argument 150 CMU_REG3_VCOVARSEL_SET(dst,src) global() argument 152 CMU_REG3_VCO_MOMSEL_INIT_SET(dst,src) global() argument 154 CMU_REG3_VCO_MANMOMSEL_SET(dst,src) global() argument 158 CMU_REG5_PLL_LFSMCAP_SET(dst,src) global() argument 160 CMU_REG5_PLL_LOCK_RESOLUTION_SET(dst,src) global() argument 162 CMU_REG5_PLL_LFCAP_SET(dst,src) global() argument 166 CMU_REG6_PLL_VREGTRIM_SET(dst,src) global() argument 168 CMU_REG6_MAN_PVT_CAL_SET(dst,src) global() argument 183 CMU_REG9_TX_WORD_MODE_CH1_SET(dst,src) global() argument 185 CMU_REG9_TX_WORD_MODE_CH0_SET(dst,src) global() argument 187 CMU_REG9_PLL_POST_DIVBY2_SET(dst,src) global() argument 189 CMU_REG9_VBG_BYPASSB_SET(dst,src) global() argument 191 CMU_REG9_IGEN_BYPASS_SET(dst,src) global() argument 194 CMU_REG10_VREG_REFSEL_SET(dst,src) global() argument 198 CMU_REG12_STATE_DELAY9_SET(dst,src) global() argument 206 CMU_REG16_VCOCAL_WAIT_BTW_CODE_SET(dst,src) global() argument 208 CMU_REG16_CALIBRATION_DONE_OVERRIDE_SET(dst,src) global() argument 210 CMU_REG16_BYPASS_PLL_LOCK_SET(dst,src) global() argument 213 CMU_REG17_PVT_CODE_R2A_SET(dst,src) global() argument 215 CMU_REG17_RESERVED_7_SET(dst,src) global() argument 227 CMU_REG26_FORCE_PLL_LOCK_SET(dst,src) global() argument 233 CMU_REG30_LOCK_COUNT_SET(dst,src) global() argument 235 CMU_REG30_PCIE_MODE_SET(dst,src) global() argument 240 CMU_REG32_PVT_CAL_WAIT_SEL_SET(dst,src) global() argument 242 CMU_REG32_IREF_ADJ_SET(dst,src) global() argument 246 CMU_REG34_VCO_CAL_VTH_LO_MAX_SET(dst,src) global() argument 248 CMU_REG34_VCO_CAL_VTH_HI_MAX_SET(dst,src) global() argument 250 CMU_REG34_VCO_CAL_VTH_LO_MIN_SET(dst,src) global() argument 252 CMU_REG34_VCO_CAL_VTH_HI_MIN_SET(dst,src) global() argument 255 CMU_REG35_PLL_SSC_MOD_SET(dst,src) global() argument 258 CMU_REG36_PLL_SSC_EN_SET(dst,src) global() argument 260 CMU_REG36_PLL_SSC_VSTEP_SET(dst,src) global() argument 262 CMU_REG36_PLL_SSC_DSMSEL_SET(dst,src) global() argument 270 RXTX_REG0_CTLE_EQ_HR_SET(dst,src) global() argument 272 RXTX_REG0_CTLE_EQ_QR_SET(dst,src) global() argument 274 RXTX_REG0_CTLE_EQ_FR_SET(dst,src) global() argument 277 RXTX_REG1_RXACVCM_SET(dst,src) global() argument 279 RXTX_REG1_CTLE_EQ_SET(dst,src) global() argument 281 RXTX_REG1_RXVREG1_SET(dst,src) global() argument 283 RXTX_REG1_RXIREF_ADJ_SET(dst,src) global() argument 286 RXTX_REG2_VTT_ENA_SET(dst,src) global() argument 288 RXTX_REG2_TX_FIFO_ENA_SET(dst,src) global() argument 290 RXTX_REG2_VTT_SEL_SET(dst,src) global() argument 294 RXTX_REG4_TX_DATA_RATE_SET(dst,src) global() argument 296 RXTX_REG4_TX_WORD_MODE_SET(dst,src) global() argument 299 RXTX_REG5_TX_CN1_SET(dst,src) global() argument 301 RXTX_REG5_TX_CP1_SET(dst,src) global() argument 303 RXTX_REG5_TX_CN2_SET(dst,src) global() argument 306 RXTX_REG6_TXAMP_CNTL_SET(dst,src) global() argument 308 RXTX_REG6_TXAMP_ENA_SET(dst,src) global() argument 310 RXTX_REG6_RX_BIST_ERRCNT_RD_SET(dst,src) global() argument 312 RXTX_REG6_TX_IDLE_SET(dst,src) global() argument 314 RXTX_REG6_RX_BIST_RESYNC_SET(dst,src) global() argument 319 RXTX_REG7_BIST_ENA_RX_SET(dst,src) global() argument 321 RXTX_REG7_RX_WORD_MODE_SET(dst,src) global() argument 324 RXTX_REG8_CDR_LOOP_ENA_SET(dst,src) global() argument 326 RXTX_REG8_CDR_BYPASS_RXLOS_SET(dst,src) global() argument 328 RXTX_REG8_SSC_ENABLE_SET(dst,src) global() argument 330 RXTX_REG8_SD_VREF_SET(dst,src) global() argument 332 RXTX_REG8_SD_DISABLE_SET(dst,src) global() argument 335 RXTX_REG7_RESETB_RXD_SET(dst,src) global() argument 337 RXTX_REG7_RESETB_RXA_SET(dst,src) global() argument 340 RXTX_REG7_LOOP_BACK_ENA_CTLE_SET(dst,src) global() argument 343 RXTX_REG11_PHASE_ADJUST_LIMIT_SET(dst,src) global() argument 346 RXTX_REG12_LATCH_OFF_ENA_SET(dst,src) global() argument 348 RXTX_REG12_SUMOS_ENABLE_SET(dst,src) global() argument 351 RXTX_REG12_RX_DET_TERM_ENABLE_SET(dst,src) global() argument 355 RXTX_REG14_CLTE_LATCAL_MAN_PROG_SET(dst,src) global() argument 357 RXTX_REG14_CTLE_LATCAL_MAN_ENA_SET(dst,src) global() argument 360 RXTX_REG26_PERIOD_ERROR_LATCH_SET(dst,src) global() argument 362 RXTX_REG26_BLWC_ENA_SET(dst,src) global() argument 382 RXTX_REG38_CUSTOMER_PINMODE_INV_SET(dst,src) global() argument 402 RXTX_REG61_ISCAN_INBERT_SET(dst,src) global() argument 404 RXTX_REG61_LOADFREQ_SHIFT_SET(dst,src) global() argument 406 RXTX_REG61_EYE_COUNT_WIDTH_SEL_SET(dst,src) global() argument 408 RXTX_REG61_SPD_SEL_CDR_SET(dst,src) global() argument 411 RXTX_REG62_PERIOD_H1_QLATCH_SET(dst,src) global() argument 414 RXTX_REG89_MU_TH7_SET(dst,src) global() argument 416 RXTX_REG89_MU_TH8_SET(dst,src) global() argument 418 RXTX_REG89_MU_TH9_SET(dst,src) global() argument 421 RXTX_REG96_MU_FREQ1_SET(dst,src) global() argument 423 RXTX_REG96_MU_FREQ2_SET(dst,src) global() argument 425 RXTX_REG96_MU_FREQ3_SET(dst,src) global() argument 428 RXTX_REG99_MU_PHASE1_SET(dst,src) global() argument 430 RXTX_REG99_MU_PHASE2_SET(dst,src) global() argument 432 RXTX_REG99_MU_PHASE3_SET(dst,src) global() argument 435 RXTX_REG102_FREQLOOP_LIMIT_SET(dst,src) global() argument 441 RXTX_REG125_PQ_REG_SET(dst,src) global() argument 443 RXTX_REG125_SIGN_PQ_SET(dst,src) global() argument 445 RXTX_REG125_SIGN_PQ_2C_SET(dst,src) global() argument 447 RXTX_REG125_PHZ_MANUALCODE_SET(dst,src) global() argument 449 RXTX_REG125_PHZ_MANUAL_SET(dst,src) global() argument 454 RXTX_REG127_FORCE_SUM_CAL_START_SET(dst,src) global() argument 456 RXTX_REG127_FORCE_LAT_CAL_START_SET(dst,src) global() argument 458 RXTX_REG127_LATCH_MAN_CAL_ENA_SET(dst,src) global() argument 460 RXTX_REG127_DO_LATCH_MANCAL_SET(dst,src) global() argument 462 RXTX_REG127_XO_LATCH_MANCAL_SET(dst,src) global() argument 465 RXTX_REG128_LATCH_CAL_WAIT_SEL_SET(dst,src) global() argument 467 RXTX_REG128_EO_LATCH_MANCAL_SET(dst,src) global() argument 469 RXTX_REG128_SO_LATCH_MANCAL_SET(dst,src) global() argument 472 RXTX_REG129_DE_LATCH_MANCAL_SET(dst,src) global() argument 474 RXTX_REG129_XE_LATCH_MANCAL_SET(dst,src) global() argument 477 RXTX_REG130_EE_LATCH_MANCAL_SET(dst,src) global() argument 479 RXTX_REG130_SE_LATCH_MANCAL_SET(dst,src) global() argument 482 RXTX_REG145_TX_IDLE_SATA_SET(dst,src) global() argument 484 RXTX_REG145_RXES_ENA_SET(dst,src) global() argument 486 RXTX_REG145_RXDFE_CONFIG_SET(dst,src) global() argument 488 RXTX_REG145_RXVWES_LATENA_SET(dst,src) global() argument [all...] |
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_sock_fields.c | 64 static void skcpy(struct bpf_sock *dst, in skcpy() argument 67 dst->bound_dev_if = src->bound_dev_if; in skcpy() 68 dst->family = src->family; in skcpy() 69 dst->type = src->type; in skcpy() 70 dst->protocol = src->protocol; in skcpy() 71 dst->mark = src->mark; in skcpy() 72 dst->priority = src->priority; in skcpy() 73 dst->src_ip4 = src->src_ip4; in skcpy() 74 dst->src_ip6[0] = src->src_ip6[0]; in skcpy() 75 dst->src_ip6[1] = src->src_ip6[1]; in skcpy() [all …]
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fb_fillrect.h | 29 static inline void fb_invert_offset(unsigned long pat, int offset, const struct fb_address *dst) in fb_invert_offset() argument 31 fb_write_offset(fb_read_offset(offset, dst) ^ pat, offset, dst); in fb_invert_offset() 105 static __always_inline void bitfill(const struct fb_address *dst, in bitfill() argument 113 end += dst->bits; in bitfill() 114 first = fb_pixel_mask(dst->bits, pattern->reverse); in bitfill() 121 fb_write_offset(first, 0, dst); in bitfill() 123 fb_modify_offset(first, last, 0, dst); in bitfill() 128 fb_modify_offset(get(pattern), first, 0, dst); in bitfill() 133 fb_write_offset(get(pattern), offset + 0, dst); in bitfill() 135 fb_write_offset(get(pattern), offset + 1, dst); in bitfill() [all …]
|
| /linux/kernel/bpf/ |
| H A D | const_fold.c | 54 struct const_arg_info *dst = &ci_out[insn->dst_reg]; in const_reg_xfer() local 74 dst->state = CONST_ARG_CONST; in const_reg_xfer() 75 dst->val = (s64)insn->imm; in const_reg_xfer() 78 *dst = *src; in const_reg_xfer() 81 if (!ci_is_const(dst)) { in const_reg_xfer() 82 *dst = unknown; in const_reg_xfer() 86 case 8: dst->val = (s8)dst->val; break; in const_reg_xfer() 87 case 16: dst->val = (s16)dst in const_reg_xfer() [all...] |
| /linux/drivers/video/fbdev/ |
| H A D | atafb_utils.h | 220 static inline void fast_memmove(char *dst, const char *src, size_t size) in fast_memmove() argument 224 if (dst < src) in fast_memmove() 232 : "=a" (src), "=a" (dst), "=d" (size) in fast_memmove() 233 : "0" (src), "1" (dst), "2" (size / 16 - 1) in fast_memmove() 243 : "=a" (src), "=a" (dst), "=d" (size) in fast_memmove() 244 : "0" (src + size), "1" (dst + size), "2" (size / 16 - 1) in fast_memmove() 280 static inline void fill8_col(u8 *dst, u32 m[]) in fill8_col() argument 283 dst[0] = tmp; in fill8_col() 284 dst[2] = (tmp >>= 8); in fill8_col() 286 dst[4] = (tmp >>= 8); in fill8_col() [all …]
|
| /linux/include/linux/ |
| H A D | bitmap.h | 160 void __bitmap_complement(unsigned long *dst, const unsigned long *src, 162 void __bitmap_shift_right(unsigned long *dst, const unsigned long *src, 164 void __bitmap_shift_left(unsigned long *dst, const unsigned long *src, 166 void bitmap_cut(unsigned long *dst, const unsigned long *src, 168 bool __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, 170 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, 172 unsigned int __bitmap_weighted_or(unsigned long *dst, const unsigned long *bitmap1, 174 unsigned int __bitmap_weighted_xor(unsigned long *dst, const unsigned long *bitmap1, 176 void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1, 178 bool __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1, [all …]
|
| /linux/net/sched/ |
| H A D | em_meta.c | 101 struct meta_obj *dst, int *err) 109 get_random_bytes(&dst->value, sizeof(dst->value)); in META_COLLECTOR() 122 dst->value = fixed_loadavg(avenrun[0]); in META_COLLECTOR() 127 dst->value = fixed_loadavg(avenrun[1]); in META_COLLECTOR() 132 dst->value = fixed_loadavg(avenrun[2]); in META_COLLECTOR() 139 static inline int int_dev(struct net_device *dev, struct meta_obj *dst) in int_dev() argument 144 dst->value = dev->ifindex; in int_dev() 148 static inline int var_dev(struct net_device *dev, struct meta_obj *dst) in var_dev() argument 153 dst->value = (unsigned long) dev->name; in var_dev() 154 dst->len = strlen(dev->name); in var_dev() [all …]
|
| /linux/tools/include/nolibc/ |
| H A D | string.h | 38 void *memmove(void *dst, const void *src, size_t len); 40 void *memmove(void *dst, const void *src, size_t len) in memmove() argument 47 if (dst < src) { in memmove() 54 ((char *)dst)[pos] = ((const char *)src)[pos]; in memmove() 57 return dst; in memmove() 63 void *memcpy(void *dst, const void *src, size_t len); 65 void *memcpy(void *dst, const void *src, size_t len) in memcpy() argument 70 ((char *)dst)[pos] = ((const char *)src)[pos]; in memcpy() 73 return dst; in memcpy() 81 void *memset(void *dst, int b, size_t len); [all …]
|
| /linux/arch/mips/cavium-octeon/ |
| H A D | octeon-memcpy.S | 21 #define dst a0 macro 28 * memcpy copies len bytes from src to dst and sets v0 to dst. 30 * - src and dst don't overlap 32 * - dst is writable 35 * __copy_user copies up to len bytes from src to dst and sets a2 (len) to 37 * __copy_user assumes that src and dst don't overlap, and that the call is 42 * - dst is writable (no exceptions when writing dst) 60 * 3- (dst [all...] |
| /linux/arch/xtensa/lib/ |
| H A D | umulsidi3.S | 75 #define do_mul(dst, xreg, xhalf, yreg, yhalf) \ argument 76 mul16u dst, xreg ## xhalf, yreg ## yhalf 80 #define do_mul(dst, xreg, xhalf, yreg, yhalf) \ argument 81 mull dst, xreg ## xhalf, yreg ## yhalf 93 #define do_mul(dst, xreg, xhalf, yreg, yhalf) \ argument 95 rsr dst, ACCLO 99 #define set_arg_l(dst, src) \ argument 100 extui dst, src, 0, 16 101 #define set_arg_h(dst, src) \ argument 102 srli dst, src, 16 [all …]
|
| /linux/arch/x86/crypto/ |
| H A D | aria-avx.h | 16 asmlinkage void aria_aesni_avx_encrypt_16way(const void *ctx, u8 *dst, 18 asmlinkage void aria_aesni_avx_decrypt_16way(const void *ctx, u8 *dst, 20 asmlinkage void aria_aesni_avx_ctr_crypt_16way(const void *ctx, u8 *dst, 23 asmlinkage void aria_aesni_avx_gfni_encrypt_16way(const void *ctx, u8 *dst, 25 asmlinkage void aria_aesni_avx_gfni_decrypt_16way(const void *ctx, u8 *dst, 27 asmlinkage void aria_aesni_avx_gfni_ctr_crypt_16way(const void *ctx, u8 *dst, 31 asmlinkage void aria_aesni_avx2_encrypt_32way(const void *ctx, u8 *dst, 33 asmlinkage void aria_aesni_avx2_decrypt_32way(const void *ctx, u8 *dst, 35 asmlinkage void aria_aesni_avx2_ctr_crypt_32way(const void *ctx, u8 *dst, 38 asmlinkage void aria_aesni_avx2_gfni_encrypt_32way(const void *ctx, u8 *dst, [all …]
|
| /linux/arch/parisc/include/asm/ |
| H A D | elf.h | 276 #define ELF_CORE_COPY_REGS(dst, pt) \ argument 277 memset(dst, 0, sizeof(dst)); /* don't leak any "random" bits */ \ 279 for (i = 0; i < 32; i++) dst[i] = pt->gr[i]; \ 280 for (i = 0; i < 8; i++) dst[32 + i] = pt->sr[i]; \ 282 dst[40] = pt->iaoq[0]; dst[41] = pt->iaoq[1]; \ 283 dst[42] = pt->iasq[0]; dst[43] = pt->iasq[1]; \ 284 dst[44] = pt->sar; dst[45] = pt->iir; \ 285 dst[46] = pt->isr; dst[47] = pt->ior; \ 286 dst[48] = mfctl(22); dst[49] = mfctl(0); \ 287 dst[50] = mfctl(24); dst[51] = mfctl(25); \ [all …]
|
| /linux/lib/crypto/x86/ |
| H A D | chacha.h | 14 u8 *dst, const u8 *src, size_t len, 17 u8 *dst, const u8 *src, size_t len, 23 u8 *dst, const u8 *src, size_t len, 26 u8 *dst, const u8 *src, size_t len, 29 u8 *dst, const u8 *src, size_t len, 33 u8 *dst, const u8 *src, size_t len, 36 u8 *dst, const u8 *src, size_t len, 39 u8 *dst, const u8 *src, size_t len, 52 static void chacha_dosimd(struct chacha_state *state, u8 *dst, const u8 *src, in chacha_dosimd() argument 57 chacha_8block_xor_avx512vl(state, dst, sr in chacha_dosimd() 139 chacha_crypt_arch(struct chacha_state * state,u8 * dst,const u8 * src,unsigned int bytes,int nrounds) chacha_crypt_arch() argument [all...] |
| /linux/fs/proc/ |
| H A D | bootconfig.c | 23 #define rest(dst, end) ((end) > (dst) ? (end) - (dst) : 0) argument 26 static int __init copy_xbc_key_value_list(char *dst, size_t size) in copy_xbc_key_value_list() argument 29 char *key, *end = dst + size; in copy_xbc_key_value_list() 42 ret = snprintf(dst, rest(dst, end), "%s = ", key); in copy_xbc_key_value_list() 45 dst += ret; in copy_xbc_key_value_list() 53 ret = snprintf(dst, rest(dst, end), "%c%s%c%s", in copy_xbc_key_value_list() 57 dst += ret; in copy_xbc_key_value_list() 60 ret = snprintf(dst, rest(dst, end), "\"\"\n"); in copy_xbc_key_value_list() 63 dst += ret; in copy_xbc_key_value_list() 67 ret = snprintf(dst, rest(dst, end), "# Parameters from bootloader:\n# %s\n", in copy_xbc_key_value_list() [all …]
|