/linux-master/include/linux/ |
H A D | of_pdt.h | 21 int (*getproplen)(phandle node, const char *prop); 22 int (*getproperty)(phandle node, const char *prop, char *buf,
|
H A D | extcon-provider.h | 49 * and the 'prop' indicates the extcon property. 56 unsigned int prop, 59 unsigned int prop, 62 unsigned int id, unsigned int prop); 115 unsigned int prop, 122 unsigned int id, unsigned int prop, 129 unsigned int id, unsigned int prop) 114 extcon_set_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) argument 121 extcon_set_property_sync(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) argument 128 extcon_set_property_capability(struct extcon_dev *edev, unsigned int id, unsigned int prop) argument
|
/linux-master/scripts/kconfig/ |
H A D | menu.c | 30 static void prop_warn(struct property *prop, const char *fmt, ...) argument 34 fprintf(stderr, "%s:%d:warning: ", prop->filename, prop->lineno); 132 struct property *prop; local 134 prop = xmalloc(sizeof(*prop)); 135 memset(prop, 0, sizeof(*prop)); 136 prop->type = type; 137 prop 160 struct property *prop = menu_add_prop(type, NULL, dep); local 223 struct property *prop; local 289 struct property *prop; local 697 get_prompt_str(struct gstr *r, struct property *prop, struct list_head *head) argument 760 struct property *prop; local 780 struct property *prop; local [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | of_helpers.c | 45 int of_read_drc_info_cell(struct property **prop, const __be32 **curval, argument 56 p = of_prop_next_string(*prop, p); 62 p = of_prop_next_string(*prop, p); 71 p2 = of_prop_next_u32(*prop, p2, &data->drc_name_suffix_start); 76 p2 = of_prop_next_u32(*prop, p2, &data->num_sequential_elems); 81 p2 = of_prop_next_u32(*prop, p2, &data->sequential_inc); 86 p2 = of_prop_next_u32(*prop, p2, &data->drc_power_domain);
|
H A D | firmware.c | 157 const char *prop; local 166 prop = of_get_flat_dt_prop(node, "ibm,hypertas-functions", 168 if (prop) { 170 fw_hypertas_feature_init(prop, len); 177 prop = of_get_flat_dt_prop(node, "ibm,architecture-vec-5", 179 if (prop) 180 fw_vec5_feature_init(prop, len);
|
/linux-master/scripts/dtc/libfdt/ |
H A D | fdt_addresses.c | 61 uint8_t data[sizeof(fdt64_t) * 2], *prop; local 74 prop = data; 79 fdt32_st(prop, (uint32_t)addr); 81 fdt64_st(prop, addr); 87 prop += addr_cells * sizeof(fdt32_t); 92 fdt32_st(prop, (uint32_t)size); 94 fdt64_st(prop, size);
|
H A D | fdt_wip.c | 61 struct fdt_property *prop; local 64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); 65 if (!prop) 68 fdt_nop_region_(prop, len + sizeof(*prop));
|
H A D | fdt_rw.c | 185 int len, struct fdt_property **prop) 190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); 191 if (!*prop) 194 if ((err = fdt_splice_struct_(fdt, (*prop)->data, FDT_TAGALIGN(oldlen), 198 (*prop)->len = cpu_to_fdt32(len); 203 int len, struct fdt_property **prop) 218 *prop = fdt_offset_ptr_w_(fdt, nextoffset); 219 proplen = sizeof(**prop) + FDT_TAGALIGN(len); 221 err = fdt_splice_struct_(fdt, *prop, 0, proplen); 229 (*prop) 184 fdt_resize_property_(void *fdt, int nodeoffset, const char *name, int len, struct fdt_property **prop) argument 202 fdt_add_property_(void *fdt, int nodeoffset, const char *name, int len, struct fdt_property **prop) argument 261 struct fdt_property *prop; local 294 struct fdt_property *prop; local 320 struct fdt_property *prop; local [all...] |
/linux-master/drivers/power/supply/ |
H A D | power_supply_hwmon.c | 129 int prop = power_supply_hwmon_to_property(type, local 132 if (prop >= 0 && test_bit(prop, psyhw->props)) 163 int prop; local 172 prop = power_supply_hwmon_to_property(type, attr, channel); 173 if (prop < 0 || !test_bit(prop, psyhw->props)) 176 if (power_supply_property_is_writeable(psyhw->psy, prop) > 0 && 212 int ret, prop; local 214 prop 256 int prop; local 356 const enum power_supply_property prop = desc->properties[i]; local [all...] |
/linux-master/drivers/platform/x86/amd/pmf/ |
H A D | sps.c | 70 pr_debug("SPL: %u mW\n", data->prop[i][j].spl); 71 pr_debug("SPPT: %u mW\n", data->prop[i][j].sppt); 72 pr_debug("SPPT_ApuOnly: %u mW\n", data->prop[i][j].sppt_apu_only); 73 pr_debug("FPPT: %u mW\n", data->prop[i][j].fppt); 74 pr_debug("STTMinLimit: %u mW\n", data->prop[i][j].stt_min); 76 data->prop[i][j].stt_skin_temp[STT_TEMP_APU]); 78 data->prop[i][j].stt_skin_temp[STT_TEMP_HS2]); 176 config_store.prop[i][j].spl = output.prop[idx].spl; 177 config_store.prop[ [all...] |
/linux-master/drivers/mfd/ |
H A D | cs42l43-sdw.c | 63 struct sdw_slave_prop *prop = &sdw->prop; local 67 prop->use_domain_irq = true; 68 prop->paging_support = true; 69 prop->wake_capable = true; 70 prop->quirks = SDW_SLAVE_QUIRKS_INVALID_INITIAL_PARITY; 71 prop->scp_int1_mask = SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY | 75 prop->source_ports |= BIT(cs42l43_src_port_props[i].num); 77 prop->src_dpn_prop = devm_kmemdup(dev, cs42l43_src_port_props, 79 if (!prop [all...] |
/linux-master/drivers/regulator/ |
H A D | rohm-regulator.c | 13 char *prop, unsigned int reg, unsigned int mask, 19 ret = of_property_read_u32(np, prop, &uv); 65 char *prop; local 75 prop = "rohm,dvs-run-voltage"; 81 prop = "rohm,dvs-idle-voltage"; 87 prop = "rohm,dvs-suspend-voltage"; 93 prop = "rohm,dvs-lpsr-voltage"; 99 prop = "rohm,dvs-snvs-voltage"; 107 ret = set_dvs_level(desc, np, regmap, prop, reg, mask, 11 set_dvs_level(const struct regulator_desc *desc, struct device_node *np, struct regmap *regmap, char *prop, unsigned int reg, unsigned int mask, unsigned int omask, unsigned int oreg) argument
|
/linux-master/arch/powerpc/platforms/83xx/ |
H A D | usb_831x.c | 26 const void *prop; local 36 prop = of_get_property(np, "phy_type", NULL); 58 if (prop && !strcmp(prop, "ulpi")) { 93 if (prop && (!strcmp(prop, "utmi_wide") || !strcmp(prop, "utmi"))) { 107 } else if (prop && !strcmp(prop, "ulpi")) {
|
H A D | mpc832x_rdb.c | 53 const void *prop; local 64 prop = of_get_property(np, "reg", NULL); 65 if (!prop) 67 pdata.bus_num = *(u32 *)prop; 69 prop = of_get_property(np, "cell-index", NULL); 70 if (prop) 71 i = *(u32 *)prop; 73 prop = of_get_property(np, "mode", NULL); 74 if (prop && !strcmp(prop, "cp [all...] |
/linux-master/drivers/firmware/efi/libstub/ |
H A D | riscv.c | 22 const void *prop; local 32 prop = fdt_getprop((void *)fdt, chosen_node, "boot-hartid", &len); 33 if (!prop) 37 hartid = (unsigned long) fdt32_to_cpu(*(fdt32_t *)prop); 39 hartid = (unsigned long) fdt64_to_cpu(__get_unaligned_t(fdt64_t, prop));
|
/linux-master/arch/sparc/kernel/ |
H A D | prom_32.c | 78 struct property *prop; local 80 prop = of_find_property(dp, "reg", NULL); 81 if (!prop) 84 regs = prop->value; 96 struct property *prop; local 99 prop = of_find_property(dp, "reg", NULL); 100 if (!prop) 103 regs = prop->value; 122 struct property *prop; local 124 prop 142 struct property *prop; local [all...] |
/linux-master/sound/soc/codecs/ |
H A D | sdw-mockup.c | 135 struct sdw_slave_prop *prop = &slave->prop; local 142 prop->paging_support = false; 151 prop->source_ports = BIT(8); 152 prop->sink_ports = BIT(1); 154 nval = hweight32(prop->source_ports); 155 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, 156 sizeof(*prop->src_dpn_prop), 158 if (!prop->src_dpn_prop) 162 dpn = prop [all...] |
/linux-master/arch/riscv/kernel/ |
H A D | time.c | 25 u32 prop; local 29 if (!cpu || of_property_read_u32(cpu, "timebase-frequency", &prop)) 33 riscv_timebase = prop;
|
/linux-master/drivers/of/ |
H A D | kexec.c | 94 * @prop: Device tree property 95 * @len: Size of @prop 101 static int do_get_kexec_buffer(const void *prop, int len, unsigned long *addr, argument 113 *addr = of_read_number(prop, addr_cells); 114 *size = of_read_number(prop + 4 * addr_cells, size_cells); 133 const void *prop; local 135 prop = of_get_property(of_chosen, "linux,ima-kexec-buffer", &len); 136 if (!prop) 139 ret = do_get_kexec_buffer(prop, len, &tmp_addr, &tmp_size); 173 struct property *prop; local 206 const void *prop; local 286 const void *prop; local [all...] |
H A D | of_reserved_mem.c | 108 const __be32 *prop; local 112 prop = of_get_flat_dt_prop(node, "reg", &len); 113 if (!prop) 125 base = dt_mem_next_cell(dt_root_addr_cells, &prop); 126 size = dt_mem_next_cell(dt_root_size_cells, &prop); 152 const __be32 *prop; local 154 prop = of_get_flat_dt_prop(node, "#size-cells", NULL); 155 if (!prop || be32_to_cpup(prop) != dt_root_size_cells) 158 prop 263 const __be32 *prop; local 441 const __be32 *prop; local [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | of.c | 73 const char *prop; local 82 err = of_property_read_string(np, "brcm,board-type", &prop); 84 settings->board_type = prop; 86 if (!of_property_read_string(np, "apple,antenna-sku", &prop)) 87 settings->antenna_sku = prop; 92 prop = of_get_property(np, "brcm,cal-blob", &settings->cal_size); 93 if (prop && settings->cal_size) 94 settings->cal_blob = prop; 96 /* Set board-type to the first string of the machine compatible prop */
|
/linux-master/tools/bpf/bpftool/ |
H A D | json_writer.c | 247 void jsonw_string_field(json_writer_t *self, const char *prop, const char *val) argument 249 jsonw_name(self, prop); 253 void jsonw_bool_field(json_writer_t *self, const char *prop, bool val) argument 255 jsonw_name(self, prop); 260 void jsonw_float_field(json_writer_t *self, const char *prop, double val) argument 262 jsonw_name(self, prop); 268 const char *prop, 272 jsonw_name(self, prop); 276 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num) argument 278 jsonw_name(self, prop); 267 jsonw_float_field_fmt(json_writer_t *self, const char *prop, const char *fmt, double val) argument 282 jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num) argument 288 jsonw_lluint_field(json_writer_t *self, const char *prop, unsigned long long int num) argument 296 jsonw_int_field(json_writer_t *self, const char *prop, int64_t num) argument 302 jsonw_null_field(json_writer_t *self, const char *prop) argument [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | json_writer.c | 247 void jsonw_string_field(json_writer_t *self, const char *prop, const char *val) argument 249 jsonw_name(self, prop); 253 void jsonw_bool_field(json_writer_t *self, const char *prop, bool val) argument 255 jsonw_name(self, prop); 260 void jsonw_float_field(json_writer_t *self, const char *prop, double val) argument 262 jsonw_name(self, prop); 268 const char *prop, 272 jsonw_name(self, prop); 276 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num) argument 278 jsonw_name(self, prop); 267 jsonw_float_field_fmt(json_writer_t *self, const char *prop, const char *fmt, double val) argument 282 jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num) argument 288 jsonw_lluint_field(json_writer_t *self, const char *prop, unsigned long long int num) argument 296 jsonw_int_field(json_writer_t *self, const char *prop, int64_t num) argument 302 jsonw_null_field(json_writer_t *self, const char *prop) argument [all...] |
/linux-master/drivers/accel/habanalabs/common/ |
H A D | decoder.c | 93 struct asic_fixed_properties *prop = &hdev->asic_prop; local 98 if (!prop->max_dec) 101 hdev->dec = kcalloc(prop->max_dec, sizeof(struct hl_dec), GFP_KERNEL); 105 for (j = 0 ; j < prop->max_dec ; j++) { 130 struct asic_fixed_properties *prop = &hdev->asic_prop; local 134 for (j = 0 ; j < prop->max_dec ; j++) { 135 if (!!(prop->decoder_enabled_mask & BIT(j))) {
|
/linux-master/arch/arm/boot/compressed/ |
H A D | fdt_check_mem_start.c | 11 const void *prop; local 18 prop = fdt_getprop(fdt, offset, property, &len); 19 if (!prop || len < minlen) 22 return prop; 27 const fdt32_t *prop = get_prop(fdt, "/", name, sizeof(fdt32_t)); local 29 if (!prop) { 34 return fdt32_ld(prop);
|