| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_parser_rt.c | 388 static void ice_flg_update(struct ice_parser_rt *rt, struct ice_alu *alu) in ice_flg_update() argument 393 if (!alu->dedicate_flags_ena) in ice_flg_update() 396 if (alu->flags_extr_imm) { in ice_flg_update() 397 for (i = 0; i < alu->dst_len; i++) in ice_flg_update() 398 ice_flg_add(rt, alu->dst_start + i, in ice_flg_update() 399 !!(alu->flags_start_imm & BIT(i))); in ice_flg_update() 401 for (i = 0; i < alu->dst_len; i++) { in ice_flg_update() 403 alu->flags_start_imm + i, in ice_flg_update() 405 ice_flg_add(rt, alu->dst_start + i, !!hv_bit_sel); in ice_flg_update() 410 static void ice_po_update(struct ice_parser_rt *rt, struct ice_alu *alu) in ice_po_update() argument [all …]
|
| H A D | ice_parser.c | 182 struct ice_alu *alu, int index) in ice_imem_alu_dump() argument 187 dev_info(dev, "\topc = %d\n", alu->opc); in ice_imem_alu_dump() 188 dev_info(dev, "\tsrc_start = %d\n", alu->src_start); in ice_imem_alu_dump() 189 dev_info(dev, "\tsrc_len = %d\n", alu->src_len); in ice_imem_alu_dump() 190 dev_info(dev, "\tshift_xlate_sel = %d\n", alu->shift_xlate_sel); in ice_imem_alu_dump() 191 dev_info(dev, "\tshift_xlate_key = %d\n", alu->shift_xlate_key); in ice_imem_alu_dump() 192 dev_info(dev, "\tsrc_reg_id = %d\n", alu->src_reg_id); in ice_imem_alu_dump() 193 dev_info(dev, "\tdst_reg_id = %d\n", alu->dst_reg_id); in ice_imem_alu_dump() 194 dev_info(dev, "\tinc0 = %d\n", alu->inc0); in ice_imem_alu_dump() 195 dev_info(dev, "\tinc1 = %d\n", alu->inc1); in ice_imem_alu_dump() [all …]
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz8.c | 602 struct alu_struct *alu, bool *valid) in ksz8_r_sta_mac_table() argument 626 alu->mac[5] = (u8)data_lo; in ksz8_r_sta_mac_table() 627 alu->mac[4] = (u8)(data_lo >> 8); in ksz8_r_sta_mac_table() 628 alu->mac[3] = (u8)(data_lo >> 16); in ksz8_r_sta_mac_table() 629 alu->mac[2] = (u8)(data_lo >> 24); in ksz8_r_sta_mac_table() 630 alu->mac[1] = (u8)data_hi; in ksz8_r_sta_mac_table() 631 alu->mac[0] = (u8)(data_hi >> 8); in ksz8_r_sta_mac_table() 632 alu->port_forward = in ksz8_r_sta_mac_table() 635 alu->is_override = (data_hi & masks[STATIC_MAC_TABLE_OVERRIDE]) ? 1 : 0; in ksz8_r_sta_mac_table() 643 alu->is_static = true; in ksz8_r_sta_mac_table() [all …]
|
| H A D | ksz9477.c | 839 static void ksz9477_convert_alu(struct alu_struct *alu, u32 *alu_table) in ksz9477_convert_alu() argument 841 alu->is_static = !!(alu_table[0] & ALU_V_STATIC_VALID); in ksz9477_convert_alu() 842 alu->is_src_filter = !!(alu_table[0] & ALU_V_SRC_FILTER); in ksz9477_convert_alu() 843 alu->is_dst_filter = !!(alu_table[0] & ALU_V_DST_FILTER); in ksz9477_convert_alu() 844 alu->prio_age = (alu_table[0] >> ALU_V_PRIO_AGE_CNT_S) & in ksz9477_convert_alu() 846 alu->mstp = alu_table[0] & ALU_V_MSTP_M; in ksz9477_convert_alu() 848 alu->is_override = !!(alu_table[1] & ALU_V_OVERRIDE); in ksz9477_convert_alu() 849 alu->is_use_fid = !!(alu_table[1] & ALU_V_USE_FID); in ksz9477_convert_alu() 850 alu->port_forward = alu_table[1] & ALU_V_PORT_MAP; in ksz9477_convert_alu() 852 alu->fid = (alu_table[2] >> ALU_V_FID_S) & ALU_V_FID_M; in ksz9477_convert_alu() [all …]
|
| /linux/arch/arm/probes/uprobes/ |
| H A D | actions-arm.c | 130 const struct decode_header *d, bool alu) in decode_wb_pc() argument 137 auprobe->posthandler = alu ? uprobe_aluwrite_pc in decode_wb_pc()
|
| H A D | core.h | 24 const struct decode_header *d, bool alu);
|
| /linux/arch/mips/net/ |
| H A D | bpf_jit_comp64.c | 644 u8 alu, jmp; in build_insn() local 680 } else if (rewrite_alu_i(BPF_OP(code), imm, &alu, &val)) { in build_insn() 681 emit_alu_i(ctx, dst, val, alu); in build_insn() 703 } else if (rewrite_alu_i(BPF_OP(code), imm, &alu, &val)) { in build_insn() 705 emit_alu_i(ctx, dst, val, alu); in build_insn() 776 } else if (rewrite_alu_i(BPF_OP(code), imm, &alu, &val)) { in build_insn() 777 emit_alu_i64(ctx, dst, val, alu); in build_insn()
|
| H A D | bpf_jit_comp.h | 169 bool rewrite_alu_i(u8 op, s32 imm, u8 *alu, s32 *val);
|
| H A D | bpf_jit_comp.c | 247 bool rewrite_alu_i(u8 op, s32 imm, u8 *alu, s32 *val) in rewrite_alu_i() argument 292 *alu = op; in rewrite_alu_i()
|
| H A D | bpf_jit_comp32.c | 1473 u8 alu, jmp; in build_insn() local 1522 } else if (rewrite_alu_i(BPF_OP(code), imm, &alu, &val)) { in build_insn() 1523 emit_alu_i(ctx, lo(dst), val, alu); in build_insn()
|
| /linux/drivers/video/fbdev/ |
| H A D | cg6.c | 214 u32 alu; member 332 sbus_writel(0xea80ff00, &fbc->alu); in cg6_fillrect() 370 sbus_writel(0xe880cccc, &fbc->alu); in cg6_copyarea() 415 sbus_writel(0xe880fc30, &fbc->alu); in cg6_imageblit()
|
| /linux/Documentation/networking/ |
| H A D | filter.rst | 215 The instruction set consists of load, store, branch, alu, miscellaneous
|
| /linux/lib/ |
| H A D | test_bpf.c | 11934 #define BPF_TEST_CLOBBER_ALU(alu, op, dst, src) \ argument 11936 #alu "_" #op " to " #dst ": no clobbering", \ 11948 BPF_##alu(BPF_ ##op, dst, src), \
|