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()
794 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format()
824 entrylen = (p_addr_cells + c_addr_cells + c_size_cells) * sizeof(cell_t); in check_ranges_format()
854 cell_t *cells; in check_pci_bridge()
879 if (prop->val.len != (sizeof(cell_t) * 2)) { in check_pci_bridge()
883 cells = (cell_t *)prop->val.val; in check_pci_bridge()
896 cell_t *cells; in check_pci_device_bus_num()
905 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
912 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
928 cell_t *cells; in check_pci_device_reg()
937 cells = (cell_t *)prop->val.val; in check_pci_device_reg()
1001 cell_t *cells = NULL; in check_simple_bus_reg()
1008 cells = (cell_t *)prop->val.val; in check_simple_bus_reg()
1013 cells = ((cell_t *)prop->val.val) + node_addr_cells(node); in check_simple_bus_reg()
1073 cell_t *cells = NULL; in check_i2c_bus_reg()
1080 cells = (cell_t *)prop->val.val; in check_i2c_bus_reg()
1161 cell_t *cells = NULL; in check_spi_bus_reg()
1171 cells = (cell_t *)prop->val.val; in check_spi_bus_reg()
1412 if (prop->val.len % sizeof(cell_t)) { in check_property_phandle_args()
1415 prop->val.len, sizeof(cell_t)); in check_property_phandle_args()
1419 for (cell = 0; cell < prop->val.len / sizeof(cell_t); cell += cellsize + 1) { in check_property_phandle_args()
1442 if (m->offset == (cell * sizeof(cell_t))) in check_property_phandle_args()
1472 if (prop->val.len < ((cell + cellsize + 1) * sizeof(cell_t))) { in check_property_phandle_args()
1633 if (irq_prop->val.len % sizeof(cell_t)) in check_interrupts_property()
1635 irq_prop->val.len, sizeof(cell_t)); in check_interrupts_property()
1682 if (irq_prop->val.len % (irq_cells * sizeof(cell_t))) { in check_interrupts_property()
1685 irq_prop->val.len, (int)(irq_cells * sizeof(cell_t))); in check_interrupts_property()
1757 if (!(prop->val.val && prop->val.len == sizeof(cell_t))) { in check_graph_reg()