Searched refs:alu (Results 1 – 4 of 4) sorted by relevance
410 struct alu_struct *alu, bool *valid) in ksz8_r_sta_mac_table() argument430 alu->mac[5] = (u8)data_lo; in ksz8_r_sta_mac_table()431 alu->mac[4] = (u8)(data_lo >> 8); in ksz8_r_sta_mac_table()432 alu->mac[3] = (u8)(data_lo >> 16); in ksz8_r_sta_mac_table()433 alu->mac[2] = (u8)(data_lo >> 24); in ksz8_r_sta_mac_table()434 alu->mac[1] = (u8)data_hi; in ksz8_r_sta_mac_table()435 alu->mac[0] = (u8)(data_hi >> 8); in ksz8_r_sta_mac_table()436 alu->port_forward = in ksz8_r_sta_mac_table()439 alu->is_override = (data_hi & masks[STATIC_MAC_TABLE_OVERRIDE]) ? 1 : 0; in ksz8_r_sta_mac_table()447 alu->is_static = true; in ksz8_r_sta_mac_table()[all …]
582 static void ksz9477_convert_alu(struct alu_struct *alu, u32 *alu_table) in ksz9477_convert_alu() argument584 alu->is_static = !!(alu_table[0] & ALU_V_STATIC_VALID); in ksz9477_convert_alu()585 alu->is_src_filter = !!(alu_table[0] & ALU_V_SRC_FILTER); in ksz9477_convert_alu()586 alu->is_dst_filter = !!(alu_table[0] & ALU_V_DST_FILTER); in ksz9477_convert_alu()587 alu->prio_age = (alu_table[0] >> ALU_V_PRIO_AGE_CNT_S) & in ksz9477_convert_alu()589 alu->mstp = alu_table[0] & ALU_V_MSTP_M; in ksz9477_convert_alu()591 alu->is_override = !!(alu_table[1] & ALU_V_OVERRIDE); in ksz9477_convert_alu()592 alu->is_use_fid = !!(alu_table[1] & ALU_V_USE_FID); in ksz9477_convert_alu()593 alu->port_forward = alu_table[1] & ALU_V_PORT_MAP; in ksz9477_convert_alu()595 alu->fid = (alu_table[2] >> ALU_V_FID_S) & ALU_V_FID_M; in ksz9477_convert_alu()[all …]
25 struct alu_struct *alu);
214 u32 alu; member332 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()