Lines Matching refs:cell_t

192 	if (prop->val.len != sizeof(cell_t))  in check_is_cell()
400 static cell_t check_phandle_prop(struct check *c, struct dt_info *dti, in check_phandle_prop()
406 cell_t phandle; in check_phandle_prop()
412 if (prop->val.len != sizeof(cell_t)) { in check_phandle_prop()
452 cell_t phandle, linux_phandle; in check_explicit_phandles()
526 cell_t phandle; in fixup_phandle_references()
529 assert(m->offset + sizeof(cell_t) <= prop->val.len); in fixup_phandle_references()
634 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format()
662 entrylen = (p_addr_cells + c_addr_cells + c_size_cells) * sizeof(cell_t); in check_ranges_format()
691 cell_t *cells; in check_pci_bridge()
722 if (prop->val.len != (sizeof(cell_t) * 2)) { in check_pci_bridge()
727 cells = (cell_t *)prop->val.val; in check_pci_bridge()
742 cell_t *cells; in check_pci_device_bus_num()
751 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
758 cells = (cell_t *)prop->val.val; in check_pci_device_bus_num()
774 cell_t *cells; in check_pci_device_reg()
785 cells = (cell_t *)prop->val.val; in check_pci_device_reg()
851 cell_t *cells = NULL; in check_simple_bus_reg()
858 cells = (cell_t *)prop->val.val; in check_simple_bus_reg()
863 cells = ((cell_t *)prop->val.val) + node_addr_cells(node); in check_simple_bus_reg()
974 if (prop->val.len % sizeof(cell_t)) { in check_property_phandle_args()
976 prop->name, prop->val.len, sizeof(cell_t), node->fullpath); in check_property_phandle_args()
980 for (cell = 0; cell < prop->val.len / sizeof(cell_t); cell += cellsize + 1) { in check_property_phandle_args()
999 if (m->offset == (cell * sizeof(cell_t))) in check_property_phandle_args()
1027 if (prop->val.len < ((cell + cellsize + 1) * sizeof(cell_t))) { in check_property_phandle_args()
1165 if (irq_prop->val.len % sizeof(cell_t)) in check_interrupts_property()
1167 irq_prop->name, irq_prop->val.len, sizeof(cell_t), in check_interrupts_property()
1209 if (irq_prop->val.len % (irq_cells * sizeof(cell_t))) { in check_interrupts_property()
1212 irq_prop->val.len, (int)(irq_cells * sizeof(cell_t)), in check_interrupts_property()