Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/dsa/microchip/
Dksz_common.c256 struct alu_struct alu; in ksz_port_fdb_dump() local
259 alu.is_static = false; in ksz_port_fdb_dump()
260 ret = dev->dev_ops->r_dyn_mac_table(dev, i, alu.mac, &fid, in ksz_port_fdb_dump()
264 ret = cb(alu.mac, alu.fid, alu.is_static, data); in ksz_port_fdb_dump()
289 struct alu_struct alu; in ksz_port_mdb_add() local
293 alu.port_forward = 0; in ksz_port_mdb_add()
295 if (!dev->dev_ops->r_sta_mac_table(dev, index, &alu)) { in ksz_port_mdb_add()
297 if (!memcmp(alu.mac, mdb->addr, ETH_ALEN) && in ksz_port_mdb_add()
298 alu.fid == mdb->vid) in ksz_port_mdb_add()
313 memset(&alu, 0, sizeof(alu)); in ksz_port_mdb_add()
[all …]
Dksz8795.c345 struct alu_struct *alu) in ksz8795_r_sta_mac_table() argument
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->is_use_fid = (data_hi & STATIC_MAC_TABLE_USE_FID) ? 1 : 0; in ksz8795_r_sta_mac_table()
[all …]
Dksz9477.c716 static void ksz9477_convert_alu(struct alu_struct *alu, u32 *alu_table) in ksz9477_convert_alu() argument
718 alu->is_static = !!(alu_table[0] & ALU_V_STATIC_VALID); in ksz9477_convert_alu()
719 alu->is_src_filter = !!(alu_table[0] & ALU_V_SRC_FILTER); in ksz9477_convert_alu()
720 alu->is_dst_filter = !!(alu_table[0] & ALU_V_DST_FILTER); in ksz9477_convert_alu()
721 alu->prio_age = (alu_table[0] >> ALU_V_PRIO_AGE_CNT_S) & in ksz9477_convert_alu()
723 alu->mstp = alu_table[0] & ALU_V_MSTP_M; in ksz9477_convert_alu()
725 alu->is_override = !!(alu_table[1] & ALU_V_OVERRIDE); in ksz9477_convert_alu()
726 alu->is_use_fid = !!(alu_table[1] & ALU_V_USE_FID); in ksz9477_convert_alu()
727 alu->port_forward = alu_table[1] & ALU_V_PORT_MAP; in ksz9477_convert_alu()
729 alu->fid = (alu_table[2] >> ALU_V_FID_S) & ALU_V_FID_M; in ksz9477_convert_alu()
[all …]
Dksz_common.h133 struct alu_struct *alu);
135 struct alu_struct *alu);
/Linux-v5.4/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.4/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.4/Documentation/networking/
Dfilter.txt199 The instruction set consists of load, store, branch, alu, miscellaneous