Searched refs:max_code (Results 1 – 4 of 4) sorted by relevance
| /linux/lib/zlib_deflate/ |
| H A D | deftree.c | 135 static void gen_codes (ct_data *tree, int max_code, ush *bl_count); 137 static void scan_tree (deflate_state *s, ct_data *tree, int max_code); 138 static void send_tree (deflate_state *s, ct_data *tree, int max_code); 359 int max_code = desc->max_code; in gen_bitlen() local 385 if (n > max_code) continue; /* not a leaf node */ in gen_bitlen() 421 if (m > max_code) continue; in gen_bitlen() 443 int max_code, /* largest code with non zero frequency */ in gen_codes() argument 463 Tracev((stderr,"\ngen_codes: max_code %d ", max_code)); in gen_codes() 465 for (n = 0; n <= max_code; n++) { in gen_codes() 493 int max_code = -1; /* largest code with non zero frequency */ in build_tree() local [all …]
|
| H A D | defutil.h | 62 int max_code; /* largest code with non zero frequency */ member
|
| /linux/net/netfilter/ |
| H A D | xt_tcpudp.c | 170 static bool type_code_in_range(u8 test_type, u8 min_code, u8 max_code, in type_code_in_range() argument 173 return type == test_type && code >= min_code && code <= max_code; in type_code_in_range() 176 static bool icmp_type_code_match(u8 test_type, u8 min_code, u8 max_code, in icmp_type_code_match() argument 180 type_code_in_range(test_type, min_code, max_code, type, code)) in icmp_type_code_match() 184 static bool icmp6_type_code_match(u8 test_type, u8 min_code, u8 max_code, in icmp6_type_code_match() argument 187 return type_code_in_range(test_type, min_code, max_code, type, code) ^ invert; in icmp6_type_code_match()
|
| /linux/drivers/input/misc/ |
| H A D | twl6040-vibra.c | 123 int vpk, max_code; in twl6040_vibra_code() local 131 max_code = vpk / 50; in twl6040_vibra_code() 132 if (max_code > TWL6040_VIBDAT_MAX) in twl6040_vibra_code() 133 max_code = TWL6040_VIBDAT_MAX; in twl6040_vibra_code() 136 vibdat = (u8)((speed * max_code) / USHRT_MAX); in twl6040_vibra_code()
|