Lines Matching refs:prop
141 const void* prop;
144 prop = fdtModule->get_prop(fdtDev, "bus-range", &propLen);
145 if (prop != NULL && propLen == 8) {
146 uint32 busBeg = B_BENDIAN_TO_HOST_INT32(*((uint32*)prop + 0));
147 uint32 busEnd = B_BENDIAN_TO_HOST_INT32(*((uint32*)prop + 1));
151 prop = fdtModule->get_prop(fdtDev, "interrupt-map-mask", &propLen);
152 if (prop == NULL || propLen != 4 * 4) {
156 fInterruptMapMask.childAdr = B_BENDIAN_TO_HOST_INT32(*((uint32*)prop + 0));
157 fInterruptMapMask.childIrq = B_BENDIAN_TO_HOST_INT32(*((uint32*)prop + 3));
159 prop = fdtModule->get_prop(fdtDev, "interrupt-map", &propLen);
165 for (uint32_t *it = (uint32_t*)prop; (uint8_t*)it - (uint8_t*)prop < propLen; it += 6) {
166 size_t i = (it - (uint32_t*)prop) / 6;
191 prop = fdtModule->get_prop(fdtDev, "ranges", &propLen);
192 if (prop == NULL) {
197 for (uint32_t *it = (uint32_t*)prop; (uint8_t*)it - (uint8_t*)prop < propLen; it += 7) {