| /src/sys/dev/fdt/ |
| fdt_rtc.c | 45 const char *prop; local 52 prop = fdt_get_alias(fdtbus_get_data(), "rtc0"); 53 if (prop == NULL) { 57 args->result = OF_finddevice(prop) == phandle;
|
| fdt_console.c | 79 const char *prop; local 83 prop = fdt_getprop(fdtbus_get_data(), off, "stdout-path", NULL); 84 if (prop != NULL) 85 return prop; 95 const char *prop, *p; local 98 prop = fdtbus_get_stdout_path(); 99 if (prop == NULL) 102 p = strchr(prop, ':'); 103 len = p == NULL ? strlen(prop) : (p - prop); 121 const char *prop, *p; local 137 const char *prop, *p; local [all...] |
| fdt_ddb.c | 75 const struct fdt_property *prop = local 77 const char *name = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); 84 if (fdt_isprint(prop->data, len)) { 85 const uint8_t *c = (const uint8_t *)prop->data; 99 const uint32_t *cell = (const uint32_t *)prop->data; 109 const uint8_t *byte = (const uint8_t *)prop->data;
|
| /src/usr.sbin/envstat/ |
| config_yacc.y | 43 #include <prop/proplib.h> 91 params : prop 92 | params prop 95 prop : SENSOR_PROP EQUAL STRING EOL label
|
| /src/sys/external/bsd/libfdt/dist/ |
| fdt_addresses.c | 63 uint8_t data[sizeof(fdt64_t) * 2], *prop; local 76 prop = data; 81 fdt32_st(prop, (uint32_t)addr); 83 fdt64_st(prop, addr); 89 prop += addr_cells * sizeof(fdt32_t); 94 fdt32_st(prop, (uint32_t)size); 96 fdt64_st(prop, size);
|
| fdt_wip.c | 63 struct fdt_property *prop; local 66 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); 67 if (!prop) 70 fdt_nop_region_(prop, len + sizeof(*prop));
|
| /src/regress/sys/fs/lfs/9994/ |
| 9994_f.c | 60 char prop[] = "/\b-\b\\\b|\b"; local 135 write(1, prop + 2 * p, 2);
|
| /src/sys/arch/mips/atheros/dev/ |
| com_arbus.c | 191 prop_number_t prop; local 196 prop = prop_dictionary_get(device_properties(sc->sc_dev), 198 if (prop == NULL) { 202 KASSERT(prop_object_type(prop) == PROP_TYPE_NUMBER); 204 sc->sc_frequency = (int)prop_number_integer_value(prop);
|
| if_ath_arbus.c | 113 prop_number_t prop; local 122 prop = prop_dictionary_get(device_properties(sc->sc_dev), 124 if (prop == NULL) { 128 KDASSERT(prop_object_type(prop) == PROP_TYPE_NUMBER); 130 devid = (uint16_t)prop_number_integer_value(prop);
|
| /src/sys/dev/acpi/ |
| eqos_acpi.c | 140 prop_dictionary_t prop = device_properties(sc->sc_dev); local 149 prop_dictionary_set_uint(prop, "snps,wr_osr_lmt", 4); 150 prop_dictionary_set_uint(prop, "snps,rd_osr_lmt", 8); 155 prop_dictionary_set_bool(prop, "snps,mixed-burst", true); 159 prop_dictionary_set_bool(prop, "snps,tso", true); 169 prop_dictionary_set_uint(prop, 174 prop_dictionary_set_uint(prop,
|
| /src/sys/dev/bluetooth/ |
| bthub.c | 48 #include <prop/proplib.h> 179 prop_dictionary_t prop; local 199 prop = device_properties(self); 200 obj = prop_dictionary_get(prop, BTDEVladdr); 222 prop = device_properties(dev); 224 obj = prop_dictionary_get(prop, BTDEVraddr); 228 obj = prop_dictionary_get(prop, BTDEVservice); 245 prop = device_properties(dev); 246 prop_dictionary_set(prop, BTDEVladdr, laddr); 247 prop_dictionary_set(prop, BTDEVraddr, raddr) [all...] |
| /src/sys/arch/arm/nvidia/ |
| tegra_drm.c | 116 prop_dictionary_t prop = device_properties(self); local 204 prop_dictionary_get_bool(prop, "force-dvi", &sc->sc_force_dvi);
|
| /src/sys/arch/riscv/starfive/ |
| jh71x0_eth.c | 50 //#include <prop/proplib.h> 173 prop_dictionary_t prop = device_properties(jh_sc->sc_dev); local 174 prop_dictionary_set_data(prop, "mac-address", macaddr, len);
|
| /src/sys/dev/pci/ |
| if_eqos_pci.c | 106 prop_dictionary_t prop; local 129 prop = device_properties(sc->sc_dev); 167 prop = device_properties(sc->sc_dev); 168 prop_dictionary_set_uint32(prop, "snps,pbl", dma_pbl);
|
| /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
| kfd_kernel_queue.c | 48 struct queue_properties prop; local 58 memset(&prop, 0, sizeof(prop)); 82 prop.doorbell_ptr = kfd_get_kernel_doorbell(dev, &prop.doorbell_off); 84 if (!prop.doorbell_ptr) { 132 prop.queue_size = queue_size; 133 prop.is_interop = false; 134 prop.priority = 1; 135 prop.queue_percent = 100 [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| intel_connector.c | 229 struct drm_property *prop; local 231 prop = dev_priv->force_audio_property; 232 if (prop == NULL) { 233 prop = drm_property_create_enum(dev, 0, 237 if (prop == NULL) 240 dev_priv->force_audio_property = prop; 242 drm_object_attach_property(&connector->base, prop, 0); 256 struct drm_property *prop; local 258 prop = dev_priv->broadcast_rgb_property; 259 if (prop == NULL) [all...] |
| /src/games/monop/ |
| monop.c | 149 PROP prop[N_PROP] = { /* typical properties */ variable 179 {"Mediterranean Ave. (P)", -1, PRPTY, &prop[0], 60 }, 181 {"Baltic Ave. (P)", -1, PRPTY, &prop[1], 60 }, 184 {"Oriental Ave. (L)", -1, PRPTY, &prop[2], 100 }, 186 {"Vermont Ave. (L)", -1, PRPTY, &prop[3], 100 }, 187 {"Connecticut Ave. (L)", -1, PRPTY, &prop[4], 120 }, 189 {"St. Charles Pl. (V)", -1, PRPTY, &prop[5], 140 }, 191 {"States Ave. (V)", -1, PRPTY, &prop[6], 140 }, 192 {"Virginia Ave. (V)", -1, PRPTY, &prop[7], 160 } [all...] |
| /src/sys/arch/arm/apple/ |
| apple_platform.c | 202 prop_dictionary_t prop = device_properties(self); local 222 prop_dictionary_set_uint32(prop, "capacity_dmips_mhz", aff2);
|
| /src/sys/arch/arm/cortex/ |
| armperiph.c | 179 prop_dictionary_t prop = device_properties(self); local 182 if (prop_dictionary_get_uint32(prop, "cbar", &cbar_override))
|
| /src/sys/arch/arm/nxp/ |
| imx6_platform.c | 135 prop_dictionary_t prop = device_properties(self); local 147 prop_dictionary_set_uint32(prop, "clk_25m", 125000000);
|
| /src/sys/arch/macppc/stand/ofwboot/ |
| boot.c | 235 char prop[32]; local 248 memset(prop, 0, sizeof prop); 249 OF_getprop(ofw_openprom, "model", prop, sizeof prop); 250 for (cp = prop; *cp; cp++)
|
| /src/sys/dev/mii/ |
| rgephy.c | 108 prop_dictionary_t prop = device_properties(self); local 138 prop_dictionary_get_bool(prop, "no-rx-delay", &rsc->mii_no_rx_delay);
|
| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_blend.c | 211 struct drm_property *prop; local 213 prop = drm_property_create_range(plane->dev, 0, "alpha", 215 if (!prop) 218 drm_object_attach_property(&plane->base, prop, DRM_BLEND_ALPHA_OPAQUE); 219 plane->alpha_property = prop; 274 struct drm_property *prop; local 280 prop = drm_property_create_bitmask(plane->dev, 0, "rotation", 283 if (!prop) 286 drm_object_attach_property(&plane->base, prop, rotation); 291 plane->rotation_property = prop; 363 struct drm_property *prop; local 401 struct drm_property *prop; local 566 struct drm_property *prop; local [all...] |
| drm_color_mgmt.c | 428 struct drm_property *prop; local 453 prop = drm_property_create_enum(dev, 0, "COLOR_ENCODING", 455 if (!prop) 457 plane->color_encoding_property = prop; 458 drm_object_attach_property(&plane->base, prop, default_encoding); 472 prop = drm_property_create_enum(dev, 0, "COLOR_RANGE", 474 if (!prop) 476 plane->color_range_property = prop; 477 drm_object_attach_property(&plane->base, prop, default_range);
|
| drm_mode_config.c | 226 struct drm_property *prop; local 233 prop = drm_property_create_enum(dev, DRM_MODE_PROP_IMMUTABLE, 236 if (!prop) 238 dev->mode_config.plane_type_property = prop; 240 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, 242 if (!prop) 244 dev->mode_config.prop_src_x = prop; 246 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, 248 if (!prop) 250 dev->mode_config.prop_src_y = prop; [all...] |