Lines Matching refs:CLASS_CODE_USER_PROG1

2935 	if (class < CLASS_CODE_USER_PROG1 ||  in tcam_user_ip_class_enable()
2939 reg = L3_CLS(class - CLASS_CODE_USER_PROG1); in tcam_user_ip_class_enable()
2957 if (class < CLASS_CODE_USER_PROG1 || in tcam_user_ip_class_set()
2964 reg = L3_CLS(class - CLASS_CODE_USER_PROG1); in tcam_user_ip_class_set()
2992 for (i = CLASS_CODE_USER_PROG1; i <= CLASS_CODE_USER_PROG4; i++) { in tcam_early_init()
3223 if (class_code < CLASS_CODE_USER_PROG1 || in niu_set_flow_key()
3227 nw64(FLOW_KEY(class_code - CLASS_CODE_USER_PROG1), key); in niu_set_flow_key()
3233 if (class_code < CLASS_CODE_USER_PROG1 || in niu_set_tcam_key()
3237 nw64(TCAM_KEY(class_code - CLASS_CODE_USER_PROG1), key); in niu_set_tcam_key()
5053 for (i = CLASS_CODE_USER_PROG1; i <= CLASS_CODE_SCTP_IPV6; i++) { in niu_init_classifier_hw()
5054 int index = i - CLASS_CODE_USER_PROG1; in niu_init_classifier_hw()
6961 case CLASS_CODE_USER_PROG1: in niu_class_to_ethflow()
7069 if (np->parent->tcam_key[class - CLASS_CODE_USER_PROG1] & in niu_get_hash_opts()
7074 CLASS_CODE_USER_PROG1]); in niu_get_hash_opts()
7305 if (class < CLASS_CODE_USER_PROG1 || in niu_set_hash_opts()
7312 CLASS_CODE_USER_PROG1]; in niu_set_hash_opts()
7314 nw64(TCAM_KEY(class - CLASS_CODE_USER_PROG1), flow_key); in niu_set_hash_opts()
7315 np->parent->tcam_key[class - CLASS_CODE_USER_PROG1] = flow_key; in niu_set_hash_opts()
7320 if (np->parent->tcam_key[class - CLASS_CODE_USER_PROG1] & in niu_set_hash_opts()
7324 CLASS_CODE_USER_PROG1]; in niu_set_hash_opts()
7326 nw64(TCAM_KEY(class - CLASS_CODE_USER_PROG1), in niu_set_hash_opts()
7328 np->parent->tcam_key[class - CLASS_CODE_USER_PROG1] = in niu_set_hash_opts()
7338 nw64(FLOW_KEY(class - CLASS_CODE_USER_PROG1), flow_key); in niu_set_hash_opts()
7339 np->parent->flow_key[class - CLASS_CODE_USER_PROG1] = flow_key; in niu_set_hash_opts()
7455 class = CLASS_CODE_USER_PROG1; in niu_add_ethtool_tcam_entry()
7592 if (class >= CLASS_CODE_USER_PROG1 && class <= CLASS_CODE_USER_PROG4) { in niu_del_ethtool_tcam_entry()
9472 for (i = CLASS_CODE_USER_PROG1; i <= CLASS_CODE_SCTP_IPV6; i++) { in niu_new_parent()
9473 int index = i - CLASS_CODE_USER_PROG1; in niu_new_parent()