Lines Matching refs:cells
253 * interrupt spec. we assume #interrupt-cells is 1, which is standard
479 * Note: We consider that crossing any level with #size-cells == 0 to mean
503 /* Cound address cells & copy address locally */
645 u32 cells;
653 prop = of_get_property(dn, "ibm,#dma-address-cells", NULL);
655 prop = of_get_property(dn, "#address-cells", NULL);
657 cells = prop ? *(u32 *)prop : of_n_addr_cells(dn);
658 *phys = of_read_number(dma_window, cells);
660 dma_window += cells;
662 prop = of_get_property(dn, "ibm,#dma-size-cells", NULL);
663 cells = prop ? *(u32 *)prop : of_n_size_cells(dn);
664 *size = of_read_number(dma_window, cells);
694 } while (p && of_get_property(p, "#interrupt-cells", NULL) == NULL);
750 /* First get the #interrupt-cells property of the current cursor
755 tmp = of_get_property(ipar, "#interrupt-cells", NULL);
774 /* Look for this #address-cells. We have to implement the old linux
779 tmp = of_get_property(old, "#address-cells", NULL);
820 * an interrupt-map, then #address-cells must be 0.
861 /* Get #interrupt-cells and #address-cells of new
864 tmp = of_get_property(newpar, "#interrupt-cells", NULL);
866 DBG(" -> parent lacks #interrupt-cells !\n");
870 tmp = of_get_property(newpar, "#address-cells", NULL);
983 tmp = of_get_property(p, "#interrupt-cells", NULL);