Searched refs:max_count (Results 1 - 8 of 8) sorted by relevance

/u-boot/board/alliedtelesis/common/
H A Dgpio_hog.h6 int gpio_hog_list(struct gpio_desc *gpiod, int max_count, const char *node_name,
H A Dgpio_hog.c13 int gpio_hog_list(struct gpio_desc *gpiod, int max_count, argument
27 gpio_name, gpiod, max_count,
/u-boot/scripts/dtc/libfdt/
H A Dlibfdt_env.h79 * fdt_strnlen: returns the length of a string or max_count - which ever is
82 * Input 2 max_count: the maximum value returned by this function
83 * Output: length of the string or max_count (the smallest of the two)
85 static inline size_t fdt_strnlen(const char *string, size_t max_count) argument
87 const char *p = memchr(string, 0, max_count);
88 return p ? p - string : max_count;
/u-boot/lib/zlib/
H A Dtrees.c722 int max_count = 7; /* max repeat count */ local
725 if (nextlen == 0) max_count = 138, min_count = 3;
730 if (++count < max_count && curlen == nextlen) {
744 max_count = 138, min_count = 3;
746 max_count = 6, min_count = 3;
748 max_count = 7, min_count = 4;
767 int max_count = 7; /* max repeat count */ local
771 if (nextlen == 0) max_count = 138, min_count = 3;
775 if (++count < max_count && curlen == nextlen) {
795 max_count
[all...]
/u-boot/include/asm-generic/
H A Dgpio.h613 * @max_count: Maximum number of GPIOs to return (@desc_list must be at least
619 struct gpio_desc *desc_list, int max_count,
668 struct gpio_desc *desc_list, int max_count,
/u-boot/drivers/input/
H A Dcros_ec_keyb.c39 * @param max_count Maximum number of keys to return
44 int max_count, bool *samep)
95 if ((data & mask) && num_keys < max_count) {
43 check_for_keys(struct udevice *dev, struct key_matrix_key *keys, int max_count, bool *samep) argument
/u-boot/drivers/tpm/
H A Dtpm_tis_infineon.c128 unsigned int sleep_time_us, u8 max_count)
144 for (count = 0; count < max_count; count++) {
126 tpm_tis_i2c_write_generic(struct udevice *dev, u8 addr, const u8 *buffer, size_t len, unsigned int sleep_time_us, u8 max_count) argument
/u-boot/drivers/gpio/
H A Dgpio-uclass.c1268 struct gpio_desc *desc, int max_count,
1274 for (count = 0; count < max_count; count++) {
1293 struct gpio_desc *desc, int max_count,
1302 max_count, flags);
1267 gpio_request_list_by_name_nodev(ofnode node, const char *list_name, struct gpio_desc *desc, int max_count, int flags) argument
1292 gpio_request_list_by_name(struct udevice *dev, const char *list_name, struct gpio_desc *desc, int max_count, int flags) argument

Completed in 180 milliseconds