Home
last modified time | relevance | path

Searched refs:max_count (Results 1 – 15 of 15) sorted by relevance

/openbmc/u-boot/scripts/dtc/libfdt/
H A Dlibfdt_env.h128 static inline size_t fdt_strnlen(const char *string, size_t max_count) in fdt_strnlen() argument
130 const char *p = memchr(string, 0, max_count); in fdt_strnlen()
131 return p ? p - string : max_count; in fdt_strnlen()
/openbmc/u-boot/board/alliedtelesis/common/
H A Dgpio_hog.c12 int gpio_hog_list(struct gpio_desc *gpiod, int max_count, in gpio_hog_list() argument
26 gpio_name, gpiod, max_count, in gpio_hog_list()
H A Dgpio_hog.h6 int gpio_hog_list(struct gpio_desc *gpiod, int max_count, const char *node_name,
/openbmc/qemu/scripts/
H A Danalyse-9p-simpletrace.py135 def v9fs_read(self, tag, id, fid, off, max_count): argument
136 … print("TREAD (tag =", tag, ", fid =", fid, ", off =", off, ", max_count =", max_count, ")")
141 def v9fs_readdir(self, tag, id, fid, offset, max_count): argument
142 …rint("TREADDIR (tag =", tag, ", fid =", fid, ", offset =", offset, ", max_count =", max_count, ")")
/openbmc/u-boot/lib/zlib/
H A Dtrees.c721 int max_count = 7; /* max repeat count */ local
724 if (nextlen == 0) max_count = 138, min_count = 3;
729 if (++count < max_count && curlen == nextlen) {
743 max_count = 138, min_count = 3;
745 max_count = 6, min_count = 3;
747 max_count = 7, min_count = 4;
766 int max_count = 7; /* max repeat count */ local
770 if (nextlen == 0) max_count = 138, min_count = 3;
774 if (++count < max_count && curlen == nextlen) {
794 max_count = 138, min_count = 3;
[all …]
/openbmc/u-boot/include/asm-generic/
H A Dgpio.h476 struct gpio_desc *desc_list, int max_count,
520 struct gpio_desc *desc_list, int max_count,
/openbmc/u-boot/drivers/input/
H A Dcros_ec_keyb.c43 int max_count, bool *samep) in check_for_keys() argument
74 if ((data & mask) && num_keys < max_count) { in check_for_keys()
/openbmc/qemu/hw/9pfs/
H A Dtrace-events22 … uint8_t id, int32_t fid, uint64_t off, uint32_t max_count) "tag %d id %d fid %d off %"PRIu64" max…
24 …8_t id, int32_t fid, uint64_t offset, uint32_t max_count) "tag %d id %d fid %d offset %"PRIu64" ma…
H A D9p.c2306 uint64_t off, uint32_t max_count) in v9fs_xattr_read() argument
2318 if (read_count > max_count) { in v9fs_xattr_read()
2319 read_count = max_count; in v9fs_xattr_read()
2341 uint32_t max_count) in v9fs_do_readdir_with_stat() argument
2378 if ((count + v9stat.size + 2) > max_count) { in v9fs_do_readdir_with_stat()
2421 uint32_t max_count; in v9fs_read() local
2426 err = pdu_unmarshal(pdu, offset, "dqd", &fid, &off, &max_count); in v9fs_read()
2430 trace_v9fs_read(pdu->tag, pdu->id, fid, off, max_count); in v9fs_read()
2449 count = v9fs_do_readdir_with_stat(pdu, fidp, max_count); in v9fs_read()
2464 v9fs_init_qiov_from_pdu(&qiov_full, pdu, offset + 4, max_count, false); in v9fs_read()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dgpio-uclass.c882 struct gpio_desc *desc, int max_count, in gpio_request_list_by_name_nodev() argument
888 for (count = 0; count < max_count; count++) { in gpio_request_list_by_name_nodev()
907 struct gpio_desc *desc, int max_count, in gpio_request_list_by_name() argument
916 max_count, flags); in gpio_request_list_by_name()
/openbmc/u-boot/drivers/tpm/
H A Dtpm_tis_infineon.c125 unsigned int sleep_time_us, u8 max_count) in tpm_tis_i2c_write_generic() argument
141 for (count = 0; count < max_count; count++) { in tpm_tis_i2c_write_generic()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dspdx30.py58 def check_max_count(self, value, max_count): argument
59 return max_count == 1
425 def check_max_count(self, value, max_count): argument
427 return len(value) <= max_count
596 max_count=None, argument
611 cls._OBJ_PROPERTIES[iri] = (prop, min_count, max_count, pyname, compact)
761 for iri, prop, min_count, max_count, pyname, compact in self.__iter_props():
776 if max_count is not None:
777 if not prop.check_max_count(value, max_count):
H A Dsbom30.py64 max_count=1,
71 max_count=1,
117 max_count=1,
/openbmc/qemu/tests/unit/
H A Dtest-qobject-output-visitor.c273 int i, max_count = 1024; in test_visitor_out_list_qapi_free() local
275 for (i = 0; i < max_count; i++) { in test_visitor_out_list_qapi_free()
/openbmc/qemu/disas/
H A Dsparc.c2640 int min_count = num_opcodes, max_count = 0; in build_hash_table()
2647 if (hash_count[i] > max_count) in build_hash_table()
2648 max_count = hash_count[i]; in build_hash_table()
2653 min_count, max_count, (double) total / HASH_SIZE); in build_hash_table()