HomeSort by: relevance | last modified time | path
    Searched defs:clist_size (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/arch/macppc/dev/
ofw_i2c_machdep.c 113 int clist_size; local in function:of_i2c_enumerate_devices
131 clist_size = OF_getproplen(node, "compatible");
132 if (clist_size <= 0) {
134 clist_size = 0;
136 clist = kmem_tmpbuf_alloc(clist_size,
138 if (OF_getprop(node, "compatible", clist, clist_size)
139 < clist_size) {
140 kmem_tmpbuf_free(clist, clist_size, compat_buf);
146 clist, clist_size, addr,
150 kmem_tmpbuf_free(clist, clist_size, compat_buf)
    [all...]
  /src/sys/dev/fdt/
fdt_spi.c 121 int clist_size; local in function:fdtbus_spi_enumerate_devices
140 clist_size = OF_getproplen(node, "compatible");
141 if (clist_size <= 0) {
145 clist = kmem_tmpbuf_alloc(clist_size,
147 if (OF_getprop(node, "compatible", clist, clist_size) <
148 clist_size) {
149 kmem_tmpbuf_free(clist, clist_size, compat_buf);
156 args->sa->sa_clist_size = clist_size;
161 kmem_tmpbuf_free(clist, clist_size, compat_buf);
fdt_i2c.c 139 int clist_size; local in function:fdtbus_i2c_enumerate_devices
167 clist_size = OF_getproplen(node, "compatible");
168 if (clist_size <= 0) {
171 clist = kmem_tmpbuf_alloc(clist_size,
173 if (OF_getprop(node, "compatible", clist, clist_size)
174 < clist_size) {
175 kmem_tmpbuf_free(clist, clist_size, compat_buf);
180 clist_size, (i2c_addr_t)addr,
183 kmem_tmpbuf_free(clist, clist_size, compat_buf);
  /src/sys/dev/acpi/
acpi_i2c.c 132 size_t clist_size; local in function:acpi_i2c_enumerate_device
148 clist = acpi_pack_compat_list(ad, &clist_size);
157 clist, clist_size, i2cc.i2c_addr,
160 kmem_free(clist, clist_size);

Completed in 14 milliseconds