Lines Matching refs:cells
322 if (OF_getencprop(node, "#address-cells", &addrc, sizeof(addrc)) == -1)
379 * Returns number of cells in the interrupt if a mapping was found, 0 otherwise.
418 "#address-cells", &paddrsz, sizeof(paddrsz)) == -1)
424 "#interrupt-cells", &pintrsz, sizeof(pintrsz)) == -1)
604 "#interrupt-cells", &icells, sizeof(icells)) == -1) {
605 device_printf(dev, "Missing #interrupt-cells "
610 device_printf(dev, "Invalid #interrupt-cells property "
628 "#interrupt-cells", &icells, sizeof(icells)) == -1) {
629 device_printf(dev, "Missing #interrupt-cells "
635 device_printf(dev, "Invalid #interrupt-cells "
652 phandle_t *producer, int *ncells, pcell_t **cells)
670 "#interrupt-cells", &icells, sizeof(icells)) == -1) {
671 device_printf(dev, "Missing #interrupt-cells "
676 device_printf(dev, "Invalid #interrupt-cells property "
694 "#interrupt-cells", &icells, sizeof(icells)) == -1) {
695 device_printf(dev, "Missing #interrupt-cells "
701 device_printf(dev, "Invalid #interrupt-cells "
708 *cells = malloc(icells * sizeof(**cells), M_OFWPROP,
712 memcpy(*cells, intr + i, icells * sizeof(**cells));
810 * cells_name - name of size property - "#clock-cells"
815 * ncells - number of cells in result or the number of items in the list when
817 * cells - array of decoded cells
822 pcell_t **cells)
851 *cells= malloc(pcells * sizeof(**cells), M_OFWPROP,
856 (*cells)[j] = elems[i + j];
874 * cells_name - name of size property - "#clock-cells"
878 * ncells - number of cells in result
879 * cells - array of decoded cells
884 pcell_t **cells)
891 idx, producer, ncells, cells));
901 * cells_name - name of size property - "#clock-cells"