Home
last modified time | relevance | path

Searched refs:alu (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/dsa/microchip/
H A Dksz_common.c235 struct alu_struct alu; in ksz_port_fdb_dump() local
238 alu.is_static = false; in ksz_port_fdb_dump()
239 ret = dev->dev_ops->r_dyn_mac_table(dev, i, alu.mac, &fid, in ksz_port_fdb_dump()
243 ret = cb(alu.mac, alu.fid, alu.is_static, data); in ksz_port_fdb_dump()
268 struct alu_struct alu; in ksz_port_mdb_add() local
272 alu.port_forward = 0; in ksz_port_mdb_add()
274 if (!dev->dev_ops->r_sta_mac_table(dev, index, &alu)) { in ksz_port_mdb_add()
276 if (!memcmp(alu in ksz_port_mdb_add()
311 struct alu_struct alu; ksz_port_mdb_del() local
[all...]
H A Dksz8795.c345 struct alu_struct *alu) in ksz8795_r_sta_mac_table()
354 alu->mac[5] = (u8)data_lo; in ksz8795_r_sta_mac_table()
355 alu->mac[4] = (u8)(data_lo >> 8); in ksz8795_r_sta_mac_table()
356 alu->mac[3] = (u8)(data_lo >> 16); in ksz8795_r_sta_mac_table()
357 alu->mac[2] = (u8)(data_lo >> 24); in ksz8795_r_sta_mac_table()
358 alu->mac[1] = (u8)data_hi; in ksz8795_r_sta_mac_table()
359 alu->mac[0] = (u8)(data_hi >> 8); in ksz8795_r_sta_mac_table()
360 alu->port_forward = (data_hi & STATIC_MAC_TABLE_FWD_PORTS) >> in ksz8795_r_sta_mac_table()
362 alu->is_override = in ksz8795_r_sta_mac_table()
365 alu in ksz8795_r_sta_mac_table()
344 ksz8795_r_sta_mac_table(struct ksz_device *dev, u16 addr, struct alu_struct *alu) ksz8795_r_sta_mac_table() argument
373 ksz8795_w_sta_mac_table(struct ksz_device *dev, u16 addr, struct alu_struct *alu) ksz8795_w_sta_mac_table() argument
1102 struct alu_struct alu; ksz8795_setup() local
[all...]
H A Dksz9477.c712 static void ksz9477_convert_alu(struct alu_struct *alu, u32 *alu_table) in ksz9477_convert_alu() argument
714 alu->is_static = !!(alu_table[0] & ALU_V_STATIC_VALID); in ksz9477_convert_alu()
715 alu->is_src_filter = !!(alu_table[0] & ALU_V_SRC_FILTER); in ksz9477_convert_alu()
716 alu->is_dst_filter = !!(alu_table[0] & ALU_V_DST_FILTER); in ksz9477_convert_alu()
717 alu->prio_age = (alu_table[0] >> ALU_V_PRIO_AGE_CNT_S) & in ksz9477_convert_alu()
719 alu->mstp = alu_table[0] & ALU_V_MSTP_M; in ksz9477_convert_alu()
721 alu->is_override = !!(alu_table[1] & ALU_V_OVERRIDE); in ksz9477_convert_alu()
722 alu->is_use_fid = !!(alu_table[1] & ALU_V_USE_FID); in ksz9477_convert_alu()
723 alu->port_forward = alu_table[1] & ALU_V_PORT_MAP; in ksz9477_convert_alu()
725 alu in ksz9477_convert_alu()
742 struct alu_struct alu; ksz9477_port_fdb_dump() local
[all...]
H A Dksz_common.h128 struct alu_struct *alu);
130 struct alu_struct *alu);
/kernel/linux/linux-6.6/drivers/net/dsa/microchip/
H A Dksz8795.c475 struct alu_struct *alu, bool *valid) in ksz8_r_sta_mac_table()
499 alu->mac[5] = (u8)data_lo; in ksz8_r_sta_mac_table()
500 alu->mac[4] = (u8)(data_lo >> 8); in ksz8_r_sta_mac_table()
501 alu->mac[3] = (u8)(data_lo >> 16); in ksz8_r_sta_mac_table()
502 alu->mac[2] = (u8)(data_lo >> 24); in ksz8_r_sta_mac_table()
503 alu->mac[1] = (u8)data_hi; in ksz8_r_sta_mac_table()
504 alu->mac[0] = (u8)(data_hi >> 8); in ksz8_r_sta_mac_table()
505 alu->port_forward = in ksz8_r_sta_mac_table()
508 alu->is_override = (data_hi & masks[STATIC_MAC_TABLE_OVERRIDE]) ? 1 : 0; in ksz8_r_sta_mac_table()
516 alu in ksz8_r_sta_mac_table()
474 ksz8_r_sta_mac_table(struct ksz_device *dev, u16 addr, struct alu_struct *alu, bool *valid) ksz8_r_sta_mac_table() argument
526 ksz8_w_sta_mac_table(struct ksz_device *dev, u16 addr, struct alu_struct *alu) ksz8_w_sta_mac_table() argument
1005 struct alu_struct alu; ksz8_add_sta_mac() local
1052 struct alu_struct alu; ksz8_del_sta_mac() local
1381 struct alu_struct alu; ksz8_enable_stp_addr() local
[all...]
H A Dksz9477.c590 static void ksz9477_convert_alu(struct alu_struct *alu, u32 *alu_table) in ksz9477_convert_alu() argument
592 alu->is_static = !!(alu_table[0] & ALU_V_STATIC_VALID); in ksz9477_convert_alu()
593 alu->is_src_filter = !!(alu_table[0] & ALU_V_SRC_FILTER); in ksz9477_convert_alu()
594 alu->is_dst_filter = !!(alu_table[0] & ALU_V_DST_FILTER); in ksz9477_convert_alu()
595 alu->prio_age = (alu_table[0] >> ALU_V_PRIO_AGE_CNT_S) & in ksz9477_convert_alu()
597 alu->mstp = alu_table[0] & ALU_V_MSTP_M; in ksz9477_convert_alu()
599 alu->is_override = !!(alu_table[1] & ALU_V_OVERRIDE); in ksz9477_convert_alu()
600 alu->is_use_fid = !!(alu_table[1] & ALU_V_USE_FID); in ksz9477_convert_alu()
601 alu->port_forward = alu_table[1] & ALU_V_PORT_MAP; in ksz9477_convert_alu()
603 alu in ksz9477_convert_alu()
619 struct alu_struct alu; ksz9477_fdb_dump() local
[all...]
/kernel/linux/linux-5.10/arch/arm/probes/uprobes/
H A Dcore.h24 const struct decode_header *d, bool alu);
H A Dactions-arm.c130 const struct decode_header *d, bool alu) in decode_wb_pc()
137 auprobe->posthandler = alu ? uprobe_aluwrite_pc in decode_wb_pc()
129 decode_wb_pc(probes_opcode_t insn, struct arch_probes_insn *asi, const struct decode_header *d, bool alu) decode_wb_pc() argument
/kernel/linux/linux-6.6/arch/arm/probes/uprobes/
H A Dcore.h24 const struct decode_header *d, bool alu);
H A Dactions-arm.c130 const struct decode_header *d, bool alu) in decode_wb_pc()
137 auprobe->posthandler = alu ? uprobe_aluwrite_pc in decode_wb_pc()
129 decode_wb_pc(probes_opcode_t insn, struct arch_probes_insn *asi, const struct decode_header *d, bool alu) decode_wb_pc() argument
/kernel/linux/linux-6.6/arch/mips/net/
H A Dbpf_jit_comp64.c644 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 Dbpf_jit_comp.h169 bool rewrite_alu_i(u8 op, s32 imm, u8 *alu, s32 *val);
H A Dbpf_jit_comp.c247 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 Dbpf_jit_comp32.c1473 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()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dcg6.c214 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()
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dcg6.c215 u32 alu; member
333 sbus_writel(0xea80ff00, &fbc->alu); in cg6_fillrect()
371 sbus_writel(0xe880cccc, &fbc->alu); in cg6_copyarea()
416 sbus_writel(0xe880fc30, &fbc->alu); in cg6_imageblit()
/kernel/linux/linux-6.6/lib/
H A Dtest_bpf.c11559 #define BPF_TEST_CLOBBER_ALU(alu, op, dst, src) \
11561 #alu "_" #op " to " #dst ": no clobbering", \
11573 BPF_##alu(BPF_ ##op, dst, src), \

Completed in 33 milliseconds