Searched refs:max_code (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/lib/zlib_deflate/ |
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 …]
|
D | defutil.h | 62 int max_code; /* largest code with non zero frequency */ member
|
/linux-6.1.9/drivers/input/misc/ |
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()
|
/linux-6.1.9/drivers/leds/ |
D | leds-lm3692x.c | 367 u32 max_code; in lm3692x_max_brightness() local 370 max_code = ((max_cur * 1000) - 37806) / 12195; in lm3692x_max_brightness() 371 if (max_code > 0x7FF) in lm3692x_max_brightness() 372 max_code = 0x7FF; in lm3692x_max_brightness() 374 return max_code >> 3; in lm3692x_max_brightness()
|
/linux-6.1.9/net/ipv6/netfilter/ |
D | ip6_tables.c | 1807 icmp6_type_code_match(u_int8_t test_type, u_int8_t min_code, u_int8_t max_code, in icmp6_type_code_match() argument 1811 return (type == test_type && code >= min_code && code <= max_code) in icmp6_type_code_match()
|
/linux-6.1.9/net/ipv4/netfilter/ |
D | ip_tables.c | 1801 icmp_type_code_match(u_int8_t test_type, u_int8_t min_code, u_int8_t max_code, in icmp_type_code_match() argument 1806 (type == test_type && code >= min_code && code <= max_code)) in icmp_type_code_match()
|