Lines Matching refs:cell_t

255 	if (prop->val.len != sizeof(cell_t))  in check_is_cell()
462 static cell_t check_phandle_prop(struct check *c, struct dt_info *dti, in check_phandle_prop()
468 cell_t phandle; in check_phandle_prop()
474 if (prop->val.len != sizeof(cell_t)) { in check_phandle_prop()
514 cell_t phandle, linux_phandle; in check_explicit_phandles()
588 cell_t phandle; in fixup_phandle_references()
591 assert(m->offset + sizeof(cell_t) <= prop->val.len); in fixup_phandle_references()
754 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format()
784 entrylen = (p_addr_cells + c_addr_cells + c_size_cells) * sizeof(cell_t); in check_ranges_format()
814 cell_t *cells; in check_pci_bridge()
839 if (prop->val.len != (sizeof(cell_t) * 2)) { in check_pci_bridge()
843 cells = (cell_t *)prop->val.val; in check_pci_bridge()
856 cell_t *cells; in check_pci_device_bus_num()
865 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
872 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
888 cell_t *cells; in check_pci_device_reg()
897 cells = (cell_t *)prop->val.val; in check_pci_device_reg()
961 cell_t *cells = NULL; in check_simple_bus_reg()
968 cells = (cell_t *)prop->val.val; in check_simple_bus_reg()
973 cells = ((cell_t *)prop->val.val) + node_addr_cells(node); in check_simple_bus_reg()
1033 cell_t *cells = NULL; in check_i2c_bus_reg()
1040 cells = (cell_t *)prop->val.val; in check_i2c_bus_reg()
1121 cell_t *cells = NULL; in check_spi_bus_reg()
1131 cells = (cell_t *)prop->val.val; in check_spi_bus_reg()
1372 if (prop->val.len % sizeof(cell_t)) { in check_property_phandle_args()
1375 prop->val.len, sizeof(cell_t)); in check_property_phandle_args()
1379 for (cell = 0; cell < prop->val.len / sizeof(cell_t); cell += cellsize + 1) { in check_property_phandle_args()
1402 if (m->offset == (cell * sizeof(cell_t))) in check_property_phandle_args()
1432 if (prop->val.len < ((cell + cellsize + 1) * sizeof(cell_t))) { in check_property_phandle_args()
1593 if (irq_prop->val.len % sizeof(cell_t)) in check_interrupts_property()
1595 irq_prop->val.len, sizeof(cell_t)); in check_interrupts_property()
1642 if (irq_prop->val.len % (irq_cells * sizeof(cell_t))) { in check_interrupts_property()
1645 irq_prop->val.len, (int)(irq_cells * sizeof(cell_t))); in check_interrupts_property()
1717 if (!(prop->val.val && prop->val.len == sizeof(cell_t))) { in check_graph_reg()