Lines Matching refs:CLASS_CODE_USER_PROG1

2952 	if (class < CLASS_CODE_USER_PROG1 ||  in tcam_user_ip_class_enable()
2956 reg = L3_CLS(class - CLASS_CODE_USER_PROG1); in tcam_user_ip_class_enable()
2974 if (class < CLASS_CODE_USER_PROG1 || in tcam_user_ip_class_set()
2981 reg = L3_CLS(class - CLASS_CODE_USER_PROG1); in tcam_user_ip_class_set()
3009 for (i = CLASS_CODE_USER_PROG1; i <= CLASS_CODE_USER_PROG4; i++) { in tcam_early_init()
3240 if (class_code < CLASS_CODE_USER_PROG1 || in niu_set_flow_key()
3244 nw64(FLOW_KEY(class_code - CLASS_CODE_USER_PROG1), key); in niu_set_flow_key()
3250 if (class_code < CLASS_CODE_USER_PROG1 || in niu_set_tcam_key()
3254 nw64(TCAM_KEY(class_code - CLASS_CODE_USER_PROG1), key); in niu_set_tcam_key()
5068 for (i = CLASS_CODE_USER_PROG1; i <= CLASS_CODE_SCTP_IPV6; i++) { in niu_init_classifier_hw()
5069 int index = i - CLASS_CODE_USER_PROG1; in niu_init_classifier_hw()
6975 case CLASS_CODE_USER_PROG1: in niu_class_to_ethflow()
7083 if (np->parent->tcam_key[class - CLASS_CODE_USER_PROG1] & in niu_get_hash_opts()
7088 CLASS_CODE_USER_PROG1]); in niu_get_hash_opts()
7319 if (class < CLASS_CODE_USER_PROG1 || in niu_set_hash_opts()
7326 CLASS_CODE_USER_PROG1]; in niu_set_hash_opts()
7328 nw64(TCAM_KEY(class - CLASS_CODE_USER_PROG1), flow_key); in niu_set_hash_opts()
7329 np->parent->tcam_key[class - CLASS_CODE_USER_PROG1] = flow_key; in niu_set_hash_opts()
7334 if (np->parent->tcam_key[class - CLASS_CODE_USER_PROG1] & in niu_set_hash_opts()
7338 CLASS_CODE_USER_PROG1]; in niu_set_hash_opts()
7340 nw64(TCAM_KEY(class - CLASS_CODE_USER_PROG1), in niu_set_hash_opts()
7342 np->parent->tcam_key[class - CLASS_CODE_USER_PROG1] = in niu_set_hash_opts()
7352 nw64(FLOW_KEY(class - CLASS_CODE_USER_PROG1), flow_key); in niu_set_hash_opts()
7353 np->parent->flow_key[class - CLASS_CODE_USER_PROG1] = flow_key; in niu_set_hash_opts()
7469 class = CLASS_CODE_USER_PROG1; in niu_add_ethtool_tcam_entry()
7607 if (class >= CLASS_CODE_USER_PROG1 && class <= CLASS_CODE_USER_PROG4) { in niu_del_ethtool_tcam_entry()
9508 for (i = CLASS_CODE_USER_PROG1; i <= CLASS_CODE_SCTP_IPV6; i++) { in niu_new_parent()
9509 int index = i - CLASS_CODE_USER_PROG1; in niu_new_parent()