Home
last modified time | relevance | path

Searched refs:alu (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/drivers/net/dsa/microchip/
Dksz_common.c226 struct alu_struct alu; in ksz_port_fdb_dump() local
229 alu.is_static = false; in ksz_port_fdb_dump()
230 ret = dev->dev_ops->r_dyn_mac_table(dev, i, alu.mac, &fid, in ksz_port_fdb_dump()
234 ret = cb(alu.mac, alu.fid, alu.is_static, data); in ksz_port_fdb_dump()
251 struct alu_struct alu; in ksz_port_mdb_add() local
255 alu.port_forward = 0; in ksz_port_mdb_add()
257 if (!dev->dev_ops->r_sta_mac_table(dev, index, &alu)) { in ksz_port_mdb_add()
259 if (!memcmp(alu.mac, mdb->addr, ETH_ALEN) && in ksz_port_mdb_add()
260 alu.fid == mdb->vid) in ksz_port_mdb_add()
275 memset(&alu, 0, sizeof(alu)); in ksz_port_mdb_add()
[all …]
Dksz8795.c577 struct alu_struct *alu) in ksz8_r_sta_mac_table() argument
593 alu->mac[5] = (u8)data_lo; in ksz8_r_sta_mac_table()
594 alu->mac[4] = (u8)(data_lo >> 8); in ksz8_r_sta_mac_table()
595 alu->mac[3] = (u8)(data_lo >> 16); in ksz8_r_sta_mac_table()
596 alu->mac[2] = (u8)(data_lo >> 24); in ksz8_r_sta_mac_table()
597 alu->mac[1] = (u8)data_hi; in ksz8_r_sta_mac_table()
598 alu->mac[0] = (u8)(data_hi >> 8); in ksz8_r_sta_mac_table()
599 alu->port_forward = in ksz8_r_sta_mac_table()
602 alu->is_override = in ksz8_r_sta_mac_table()
605 alu->is_static = true; in ksz8_r_sta_mac_table()
[all …]
Dksz9477.c709 static void ksz9477_convert_alu(struct alu_struct *alu, u32 *alu_table) in ksz9477_convert_alu() argument
711 alu->is_static = !!(alu_table[0] & ALU_V_STATIC_VALID); in ksz9477_convert_alu()
712 alu->is_src_filter = !!(alu_table[0] & ALU_V_SRC_FILTER); in ksz9477_convert_alu()
713 alu->is_dst_filter = !!(alu_table[0] & ALU_V_DST_FILTER); in ksz9477_convert_alu()
714 alu->prio_age = (alu_table[0] >> ALU_V_PRIO_AGE_CNT_S) & in ksz9477_convert_alu()
716 alu->mstp = alu_table[0] & ALU_V_MSTP_M; in ksz9477_convert_alu()
718 alu->is_override = !!(alu_table[1] & ALU_V_OVERRIDE); in ksz9477_convert_alu()
719 alu->is_use_fid = !!(alu_table[1] & ALU_V_USE_FID); in ksz9477_convert_alu()
720 alu->port_forward = alu_table[1] & ALU_V_PORT_MAP; in ksz9477_convert_alu()
722 alu->fid = (alu_table[2] >> ALU_V_FID_S) & ALU_V_FID_M; in ksz9477_convert_alu()
[all …]
Dksz_common.h127 struct alu_struct *alu);
129 struct alu_struct *alu);
/Linux-v5.15/arch/arm/probes/uprobes/
Dcore.h24 const struct decode_header *d, bool alu);
Dactions-arm.c130 const struct decode_header *d, bool alu) in decode_wb_pc() argument
137 auprobe->posthandler = alu ? uprobe_aluwrite_pc in decode_wb_pc()
/Linux-v5.15/drivers/video/fbdev/
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()
/Linux-v5.15/Documentation/networking/
Dfilter.rst208 The instruction set consists of load, store, branch, alu, miscellaneous