Lines Matching refs:cell_t
264 if (prop->val.len != sizeof(cell_t)) in check_is_cell()
494 static cell_t check_phandle_prop(struct check *c, struct dt_info *dti, in check_phandle_prop()
500 cell_t phandle; in check_phandle_prop()
506 if (prop->val.len != sizeof(cell_t)) { in check_phandle_prop()
546 cell_t phandle, linux_phandle; in check_explicit_phandles()
620 cell_t phandle; in fixup_phandle_references()
623 assert(m->offset + sizeof(cell_t) <= prop->val.len); in fixup_phandle_references()
787 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format()
817 entrylen = (p_addr_cells + c_addr_cells + c_size_cells) * sizeof(cell_t); in check_ranges_format()
847 cell_t *cells; in check_pci_bridge()
872 if (prop->val.len != (sizeof(cell_t) * 2)) { in check_pci_bridge()
876 cells = (cell_t *)prop->val.val; in check_pci_bridge()
889 cell_t *cells; in check_pci_device_bus_num()
898 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
905 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
921 cell_t *cells; in check_pci_device_reg()
930 cells = (cell_t *)prop->val.val; in check_pci_device_reg()
994 cell_t *cells = NULL; in check_simple_bus_reg()
1001 cells = (cell_t *)prop->val.val; in check_simple_bus_reg()
1006 cells = ((cell_t *)prop->val.val) + node_addr_cells(node); in check_simple_bus_reg()
1066 cell_t *cells = NULL; in check_i2c_bus_reg()
1073 cells = (cell_t *)prop->val.val; in check_i2c_bus_reg()
1155 cell_t *cells = NULL; in check_spi_bus_reg()
1165 cells = (cell_t *)prop->val.val; in check_spi_bus_reg()
1409 if (!is_multiple_of(prop->val.len, sizeof(cell_t))) { in check_property_phandle_args()
1412 prop->val.len, sizeof(cell_t)); in check_property_phandle_args()
1416 for (cell = 0; cell < prop->val.len / sizeof(cell_t); cell += cellsize + 1) { in check_property_phandle_args()
1419 cell_t phandle; in check_property_phandle_args()
1440 if (m->offset == (cell * sizeof(cell_t))) in check_property_phandle_args()
1470 expected = (cell + cellsize + 1) * sizeof(cell_t); in check_property_phandle_args()
1633 if (prop && (prop->val.len != (cellsize * sizeof(cell_t)))) in check_interrupt_map()
1636 prop->val.len, cellsize * sizeof(cell_t)); in check_interrupt_map()
1638 if (!is_multiple_of(irq_map_prop->val.len, sizeof(cell_t))) { in check_interrupt_map()
1641 irq_map_prop->val.len, sizeof(cell_t)); in check_interrupt_map()
1645 map_cells = irq_map_prop->val.len / sizeof(cell_t); in check_interrupt_map()
1655 irq_map_prop->val.len, (cell + cellsize) * sizeof(cell_t)); in check_interrupt_map()
1699 irq_map_prop->val.len, cell * sizeof(cell_t)); in check_interrupt_map()
1711 cell_t irq_cells, phandle; in check_interrupts_property()
1717 if (!is_multiple_of(irq_prop->val.len, sizeof(cell_t))) in check_interrupts_property()
1719 irq_prop->val.len, sizeof(cell_t)); in check_interrupts_property()
1766 if (!is_multiple_of(irq_prop->val.len, irq_cells * sizeof(cell_t))) { in check_interrupts_property()
1769 irq_prop->val.len, (int)(irq_cells * sizeof(cell_t))); in check_interrupts_property()
1821 if (!(prop->val.val && prop->val.len == sizeof(cell_t))) { in check_graph_reg()
1861 cell_t phandle; in get_remote_endpoint()