Lines Matching refs:cell_t

263 	if (prop->val.len != sizeof(cell_t))  in check_is_cell()
485 static cell_t check_phandle_prop(struct check *c, struct dt_info *dti, in check_phandle_prop()
491 cell_t phandle; in check_phandle_prop()
497 if (prop->val.len != sizeof(cell_t)) { in check_phandle_prop()
537 cell_t phandle, linux_phandle; in check_explicit_phandles()
611 cell_t phandle; in fixup_phandle_references()
614 assert(m->offset + sizeof(cell_t) <= prop->val.len); in fixup_phandle_references()
775 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format()
805 entrylen = (p_addr_cells + c_addr_cells + c_size_cells) * sizeof(cell_t); in check_ranges_format()
835 cell_t *cells; in check_pci_bridge()
860 if (prop->val.len != (sizeof(cell_t) * 2)) { in check_pci_bridge()
864 cells = (cell_t *)prop->val.val; in check_pci_bridge()
877 cell_t *cells; in check_pci_device_bus_num()
886 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
893 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
909 cell_t *cells; in check_pci_device_reg()
918 cells = (cell_t *)prop->val.val; in check_pci_device_reg()
982 cell_t *cells = NULL; in check_simple_bus_reg()
989 cells = (cell_t *)prop->val.val; in check_simple_bus_reg()
994 cells = ((cell_t *)prop->val.val) + node_addr_cells(node); in check_simple_bus_reg()
1054 cell_t *cells = NULL; in check_i2c_bus_reg()
1061 cells = (cell_t *)prop->val.val; in check_i2c_bus_reg()
1142 cell_t *cells = NULL; in check_spi_bus_reg()
1152 cells = (cell_t *)prop->val.val; in check_spi_bus_reg()
1393 if (!is_multiple_of(prop->val.len, sizeof(cell_t))) { in check_property_phandle_args()
1396 prop->val.len, sizeof(cell_t)); in check_property_phandle_args()
1400 for (cell = 0; cell < prop->val.len / sizeof(cell_t); cell += cellsize + 1) { in check_property_phandle_args()
1403 cell_t phandle; in check_property_phandle_args()
1423 if (m->offset == (cell * sizeof(cell_t))) in check_property_phandle_args()
1453 if (prop->val.len < ((cell + cellsize + 1) * sizeof(cell_t))) { in check_property_phandle_args()
1614 if (prop && (prop->val.len != (cellsize * sizeof(cell_t)))) in check_interrupt_map()
1617 prop->val.len, cellsize * sizeof(cell_t)); in check_interrupt_map()
1619 if (!is_multiple_of(irq_map_prop->val.len, sizeof(cell_t))) { in check_interrupt_map()
1622 irq_map_prop->val.len, sizeof(cell_t)); in check_interrupt_map()
1626 map_cells = irq_map_prop->val.len / sizeof(cell_t); in check_interrupt_map()
1636 irq_map_prop->val.len, (cell + cellsize) * sizeof(cell_t)); in check_interrupt_map()
1684 cell_t irq_cells, phandle; in check_interrupts_property()
1690 if (!is_multiple_of(irq_prop->val.len, sizeof(cell_t))) in check_interrupts_property()
1692 irq_prop->val.len, sizeof(cell_t)); in check_interrupts_property()
1739 if (!is_multiple_of(irq_prop->val.len, irq_cells * sizeof(cell_t))) { in check_interrupts_property()
1742 irq_prop->val.len, (int)(irq_cells * sizeof(cell_t))); in check_interrupts_property()
1814 if (!(prop->val.val && prop->val.len == sizeof(cell_t))) { in check_graph_reg()
1850 cell_t phandle; in get_remote_endpoint()