/kernel/linux/linux-5.10/arch/powerpc/platforms/512x/ |
H A D | clock-commonclk.c | 385 const unsigned int *prop; in get_freq_from_dt() local 391 prop = of_get_property(np, propname, NULL); in get_freq_from_dt() 392 if (prop) in get_freq_from_dt() 393 val = *prop; in get_freq_from_dt()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/512x/ |
H A D | clock-commonclk.c | 385 const unsigned int *prop; in get_freq_from_dt() local 391 prop = of_get_property(np, propname, NULL); in get_freq_from_dt() 392 if (prop) in get_freq_from_dt() 393 val = *prop; in get_freq_from_dt()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | omap-usb-host.c | 490 char prop[11]; in usbhs_omap_get_dt_pdata() local 495 snprintf(prop, sizeof(prop), "port%d-mode", i + 1); in usbhs_omap_get_dt_pdata() 496 ret = of_property_read_string(node, prop, &mode); in usbhs_omap_get_dt_pdata()
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | therm_adt746x.c | 473 const __be32 *prop; in probe_thermostat() local 478 prop = of_get_property(np, "hwsensor-params-version", NULL); in probe_thermostat() 479 if (!prop) in probe_thermostat() 481 vers = be32_to_cpup(prop); in probe_thermostat()
|
/kernel/linux/linux-5.10/drivers/net/ipa/ |
H A D | ipa_main.c | 645 struct property *prop; in of_property_read_phandle() local 648 prop = of_find_property(np, name, &len); in of_property_read_phandle() 649 if (!prop || len != sizeof(__be32)) in of_property_read_phandle() 652 return be32_to_cpup(prop->value); in of_property_read_phandle()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | uartlite.c | 745 const __be32 *prop; in ulite_probe() local 747 prop = of_get_property(pdev->dev.of_node, "port-number", NULL); in ulite_probe() 748 if (prop) in ulite_probe() 749 id = be32_to_cpup(prop); in ulite_probe()
|
/kernel/linux/linux-5.10/scripts/kconfig/ |
H A D | mconf.c | 469 struct property *prop; in build_conf() local 487 prop = menu->prompt; in build_conf() 489 if (prop && menu != current_menu) { in build_conf() 491 switch (prop->type) { in build_conf()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | axp288_fuel_gauge.c | 435 enum power_supply_property prop, in fuel_gauge_get_property() 442 switch (prop) { in fuel_gauge_get_property() 528 enum power_supply_property prop, in fuel_gauge_set_property() 535 switch (prop) { in fuel_gauge_set_property() 434 fuel_gauge_get_property(struct power_supply *ps, enum power_supply_property prop, union power_supply_propval *val) fuel_gauge_get_property() argument 527 fuel_gauge_set_property(struct power_supply *ps, enum power_supply_property prop, const union power_supply_propval *val) fuel_gauge_set_property() argument
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | omap-usb-host.c | 490 char prop[11]; in usbhs_omap_get_dt_pdata() local 495 snprintf(prop, sizeof(prop), "port%d-mode", i + 1); in usbhs_omap_get_dt_pdata() 496 ret = of_property_read_string(node, prop, &mode); in usbhs_omap_get_dt_pdata()
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | axp288_fuel_gauge.c | 340 enum power_supply_property prop, in fuel_gauge_get_property() 352 switch (prop) { in fuel_gauge_get_property() 412 enum power_supply_property prop, in fuel_gauge_set_property() 419 switch (prop) { in fuel_gauge_set_property() 339 fuel_gauge_get_property(struct power_supply *ps, enum power_supply_property prop, union power_supply_propval *val) fuel_gauge_get_property() argument 411 fuel_gauge_set_property(struct power_supply *ps, enum power_supply_property prop, const union power_supply_propval *val) fuel_gauge_set_property() argument
|
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | hwmon.c | 818 struct asic_fixed_properties *prop = &hdev->asic_prop; in hl_set_power() local 823 if (prop->use_get_power_for_reset_history) in hl_set_power() 877 struct asic_fixed_properties *prop = &hdev->asic_prop; in hl_hwmon_init() local 887 prop->cpucp_info.card_name, hdev, in hl_hwmon_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gud/ |
H A D | gud_pipe.c | 527 u16 prop = gdrm->properties[i]; in gud_pipe_check() local 530 switch (prop) { in gud_pipe_check() 541 req->properties[num_properties + i].prop = cpu_to_le16(prop); in gud_pipe_check()
|
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | therm_adt746x.c | 474 const __be32 *prop; in probe_thermostat() local 479 prop = of_get_property(np, "hwsensor-params-version", NULL); in probe_thermostat() 480 if (!prop) in probe_thermostat() 482 vers = be32_to_cpup(prop); in probe_thermostat()
|
/kernel/linux/linux-6.6/sound/soc/sh/rcar/ |
H A D | adg.c | 491 struct property *prop; in rsnd_adg_get_clkout() local 516 prop = of_find_property(np, "clock-frequency", NULL); in rsnd_adg_get_clkout() 517 if (!prop) in rsnd_adg_get_clkout() 520 req_size = prop->length / sizeof(u32); in rsnd_adg_get_clkout()
|
/third_party/icu/tools/unicode/c/genprops/ |
H A D | pnamesbuilder.cpp | 385 void setPropertyInt(int32_t prop, int32_t subIndex, int32_t value) { in setPropertyInt() argument 386 // Assume that prop is in the valueMaps.elementAti(0) ranges. in setPropertyInt() 392 if(rangeStart<=prop && prop<rangeLimit) { in setPropertyInt() 393 valueMaps.setElementAt(value, index+2*(prop-rangeStart)+subIndex); in setPropertyInt()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | wpa_debug.c | 243 char prop[PARAM_VALUE_MAX_LEN] = { 0 }; in wpa_can_hilog() local 244 if (GetParameter(WPA_PROP_KEY_DEBUG_ON, "0", prop, sizeof(prop)) > 0) { in wpa_can_hilog() 245 if (atoi(prop) > 0) { in wpa_can_hilog()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | property.c | 595 const union acpi_object *prop; in acpi_data_get_property_array() local 598 ret = acpi_data_get_property(data, name, ACPI_TYPE_PACKAGE, &prop); in acpi_data_get_property_array() 604 for (i = 0; i < prop->package.count; i++) in acpi_data_get_property_array() 605 if (prop->package.elements[i].type != type) in acpi_data_get_property_array() 609 *obj = prop; in acpi_data_get_property_array() 1332 const char *prop, const char *nargs_prop, in acpi_fwnode_get_reference_args() 1336 return __acpi_node_get_property_reference(fwnode, prop, index, in acpi_fwnode_get_reference_args() 1331 acpi_fwnode_get_reference_args(const struct fwnode_handle *fwnode, const char *prop, const char *nargs_prop, unsigned int args_count, unsigned int index, struct fwnode_reference_args *args) acpi_fwnode_get_reference_args() argument
|
/kernel/linux/linux-5.10/sound/ppc/ |
H A D | tumbler.c | 1124 const u32 *prop = NULL; in tumbler_find_device() local 1134 prop = of_get_property(node, platform, NULL); in tumbler_find_device() 1135 if (prop) { in tumbler_find_device() 1136 if (prop[3] == 0x9 && prop[4] == 0x9) { in tumbler_find_device() 1140 if (prop[3] == 0x1 && prop[4] == 0x1) { in tumbler_find_device()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_plane.c | 63 struct drm_property *prop; in mdp5_plane_install_properties() local 66 prop = dev_priv->plane_property[PLANE_PROP_##NAME]; \ in mdp5_plane_install_properties() 67 if (!prop) { \ in mdp5_plane_install_properties() 68 prop = drm_property_##fnc(dev, 0, #name, \ in mdp5_plane_install_properties() 70 if (!prop) { \ in mdp5_plane_install_properties() 76 dev_priv->plane_property[PLANE_PROP_##NAME] = prop; \ in mdp5_plane_install_properties() 78 drm_object_attach_property(&plane->base, prop, init_val); \ in mdp5_plane_install_properties()
|
/kernel/linux/linux-6.6/sound/ppc/ |
H A D | tumbler.c | 1132 const u32 *prop = NULL; in tumbler_find_device() local 1142 prop = of_get_property(node, platform, NULL); in tumbler_find_device() 1143 if (prop) { in tumbler_find_device() 1144 if (prop[3] == 0x9 && prop[4] == 0x9) { in tumbler_find_device() 1148 if (prop[3] == 0x1 && prop[4] == 0x1) { in tumbler_find_device()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | ArchiveCommandLine.cpp | 962 CProperty prop;
in SetMethodOptions() local 963 prop.Name = parser[NKey::kProperty].PostStrings[i];
in SetMethodOptions() 964 int index = prop.Name.Find(L'=');
in SetMethodOptions() 967 prop.Value = prop.Name.Ptr((unsigned)(index + 1));
in SetMethodOptions() 968 prop.Name.DeleteFrom((unsigned)index);
in SetMethodOptions() 970 properties.Add(prop);
in SetMethodOptions()
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir.cpp | 1250 info_out->prop.tp.domain = PIPE_PRIM_MAX; in nv50_ir_init_prog_info() 1251 info_out->prop.tp.outputPrim = PIPE_PRIM_MAX; in nv50_ir_init_prog_info() 1254 info_out->prop.gp.instanceCount = 1; in nv50_ir_init_prog_info() 1255 info_out->prop.gp.maxVertices = 1; in nv50_ir_init_prog_info() 1258 info->prop.cp.numThreads[0] = in nv50_ir_init_prog_info() 1259 info->prop.cp.numThreads[1] = in nv50_ir_init_prog_info() 1260 info->prop.cp.numThreads[2] = 1; in nv50_ir_init_prog_info()
|
/third_party/libinput/test/ |
H A D | test-touch.c | 955 const char *prop; in START_TEST() local 962 prop = udev_device_get_property_value(d, "LIBINPUT_FUZZ_00"); in START_TEST() 963 ck_assert_notnull(prop); in START_TEST() 964 ck_assert(safe_atoi(prop, &fuzz)); in START_TEST() 967 prop = udev_device_get_property_value(d, "LIBINPUT_FUZZ_01"); in START_TEST() 968 ck_assert_notnull(prop); in START_TEST() 969 ck_assert(safe_atoi(prop, &fuzz)); in START_TEST()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
H A D | fec_mpc52xx.c | 813 const u32 *prop; in mpc52xx_fec_probe() local 929 prop = of_get_property(np, "current-speed", &prop_size); in mpc52xx_fec_probe() 930 if (prop && (prop_size >= sizeof(u32) * 2)) { in mpc52xx_fec_probe() 931 priv->speed = prop[0]; in mpc52xx_fec_probe() 932 priv->duplex = prop[1] ? DUPLEX_FULL : DUPLEX_HALF; in mpc52xx_fec_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
H A D | cpts.c | 732 u32 prop; in cpts_of_parse() local 734 if (!of_property_read_u32(node, "cpts_clock_mult", &prop)) in cpts_of_parse() 735 cpts->cc.mult = prop; in cpts_of_parse() 737 if (!of_property_read_u32(node, "cpts_clock_shift", &prop)) in cpts_of_parse() 738 cpts->cc.shift = prop; in cpts_of_parse()
|