Lines Matching refs:cell_t

264 	if (prop->val.len != sizeof(cell_t))  in check_is_cell()
486 static cell_t check_phandle_prop(struct check *c, struct dt_info *dti, in check_phandle_prop()
492 cell_t phandle; in check_phandle_prop()
498 if (prop->val.len != sizeof(cell_t)) { in check_phandle_prop()
538 cell_t phandle, linux_phandle; in check_explicit_phandles()
612 cell_t phandle; in fixup_phandle_references()
615 assert(m->offset + sizeof(cell_t) <= prop->val.len); in fixup_phandle_references()
776 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format()
806 entrylen = (p_addr_cells + c_addr_cells + c_size_cells) * sizeof(cell_t); in check_ranges_format()
836 cell_t *cells; in check_pci_bridge()
861 if (prop->val.len != (sizeof(cell_t) * 2)) { in check_pci_bridge()
865 cells = (cell_t *)prop->val.val; in check_pci_bridge()
878 cell_t *cells; in check_pci_device_bus_num()
887 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
894 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
910 cell_t *cells; in check_pci_device_reg()
919 cells = (cell_t *)prop->val.val; in check_pci_device_reg()
983 cell_t *cells = NULL; in check_simple_bus_reg()
990 cells = (cell_t *)prop->val.val; in check_simple_bus_reg()
995 cells = ((cell_t *)prop->val.val) + node_addr_cells(node); in check_simple_bus_reg()
1055 cell_t *cells = NULL; in check_i2c_bus_reg()
1062 cells = (cell_t *)prop->val.val; in check_i2c_bus_reg()
1144 cell_t *cells = NULL; in check_spi_bus_reg()
1154 cells = (cell_t *)prop->val.val; in check_spi_bus_reg()
1395 if (!is_multiple_of(prop->val.len, sizeof(cell_t))) { in check_property_phandle_args()
1398 prop->val.len, sizeof(cell_t)); in check_property_phandle_args()
1402 for (cell = 0; cell < prop->val.len / sizeof(cell_t); cell += cellsize + 1) { in check_property_phandle_args()
1405 cell_t phandle; in check_property_phandle_args()
1426 if (m->offset == (cell * sizeof(cell_t))) in check_property_phandle_args()
1456 expected = (cell + cellsize + 1) * sizeof(cell_t); in check_property_phandle_args()
1619 if (prop && (prop->val.len != (cellsize * sizeof(cell_t)))) in check_interrupt_map()
1622 prop->val.len, cellsize * sizeof(cell_t)); in check_interrupt_map()
1624 if (!is_multiple_of(irq_map_prop->val.len, sizeof(cell_t))) { in check_interrupt_map()
1627 irq_map_prop->val.len, sizeof(cell_t)); in check_interrupt_map()
1631 map_cells = irq_map_prop->val.len / sizeof(cell_t); in check_interrupt_map()
1641 irq_map_prop->val.len, (cell + cellsize) * sizeof(cell_t)); in check_interrupt_map()
1681 irq_map_prop->val.len, cell * sizeof(cell_t)); in check_interrupt_map()
1693 cell_t irq_cells, phandle; in check_interrupts_property()
1699 if (!is_multiple_of(irq_prop->val.len, sizeof(cell_t))) in check_interrupts_property()
1701 irq_prop->val.len, sizeof(cell_t)); in check_interrupts_property()
1748 if (!is_multiple_of(irq_prop->val.len, irq_cells * sizeof(cell_t))) { in check_interrupts_property()
1751 irq_prop->val.len, (int)(irq_cells * sizeof(cell_t))); in check_interrupts_property()
1803 if (!(prop->val.val && prop->val.len == sizeof(cell_t))) { in check_graph_reg()
1843 cell_t phandle; in get_remote_endpoint()