Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 1400) sorted by relevance

12345678910>>...56

/Linux-v4.19/tools/perf/util/
Dvalues.c11 int perf_read_values_init(struct perf_read_values *values) in perf_read_values_init() argument
13 values->threads_max = 16; in perf_read_values_init()
14 values->pid = malloc(values->threads_max * sizeof(*values->pid)); in perf_read_values_init()
15 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init()
16 values->value = zalloc(values->threads_max * sizeof(*values->value)); in perf_read_values_init()
17 if (!values->pid || !values->tid || !values->value) { in perf_read_values_init()
21 values->threads = 0; in perf_read_values_init()
23 values->counters_max = 16; in perf_read_values_init()
24 values->counterrawid = malloc(values->counters_max in perf_read_values_init()
25 * sizeof(*values->counterrawid)); in perf_read_values_init()
[all …]
Dcounts.c13 struct xyarray *values; in perf_counts__new() local
15 values = xyarray__new(ncpus, nthreads, sizeof(struct perf_counts_values)); in perf_counts__new()
16 if (!values) { in perf_counts__new()
21 counts->values = values; in perf_counts__new()
30 xyarray__delete(counts->values); in perf_counts__delete()
37 xyarray__reset(counts->values); in perf_counts__reset()
Dvalues.h18 int perf_read_values_init(struct perf_read_values *values);
19 void perf_read_values_destroy(struct perf_read_values *values);
21 int perf_read_values_add_value(struct perf_read_values *values,
25 void perf_read_values_display(FILE *fp, struct perf_read_values *values,
/Linux-v4.19/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c543 minfo->values.pll.system = get_unaligned_le16(bd->pins + 28) ? in parse_pins1()
547 minfo->values.reg.mctlwtst = 0x00030101; in parse_pins1()
555 minfo->values.pll.system = 50000; in default_pins1()
557 minfo->values.reg.mctlwtst = 0x00030101; in default_pins1()
565 minfo->values.reg.mctlwtst = ((bd->pins[51] & 0x01) ? 0x00000001 : 0) | in parse_pins2()
569 minfo->values.pll.system = (bd->pins[43] == 0xFF) ? 50000 : ((bd->pins[43] + 100) * 1000); in parse_pins2()
579 minfo->values.reg.mctlwtst = 0x00030101; in default_pins2()
580 minfo->values.pll.system = 50000; in default_pins2()
589 minfo->values.reg.mctlwtst = get_unaligned_le32(bd->pins + 48) == 0xFFFFFFFF ? in parse_pins3()
592 minfo->values.reg.memrdbk = ((bd->pins[57] << 21) & 0x1E000000) | in parse_pins3()
[all …]
Dmatroxfb_DAC1064.c720 pci_write_config_dword(minfo->pcidev, PCI_OPTION3_REG, minfo->values.reg.opt3 & ~0x00300C03); in g450_mclk_init()
723 if (((minfo->values.reg.opt3 & 0x000003) == 0x000003) || in g450_mclk_init()
724 ((minfo->values.reg.opt3 & 0x000C00) == 0x000C00) || in g450_mclk_init()
725 ((minfo->values.reg.opt3 & 0x300000) == 0x300000)) { in g450_mclk_init()
726 matroxfb_g450_setclk(minfo, minfo->values.pll.video, M_VIDEO_PLL); in g450_mclk_init()
736 matroxfb_g450_setclk(minfo, minfo->values.pll.system, M_SYSTEM_PLL); in g450_mclk_init()
740 pci_write_config_dword(minfo->pcidev, PCI_OPTION3_REG, minfo->values.reg.opt3); in g450_mclk_init()
753 minfo->hw.MXoptionReg |= 0x00207E00 & minfo->values.reg.opt; in g450_memory_init()
755 pci_write_config_dword(minfo->pcidev, PCI_OPTION2_REG, minfo->values.reg.opt2); in g450_memory_init()
757 mga_outl(M_CTLWTST, minfo->values.reg.mctlwtst); in g450_memory_init()
[all …]
/Linux-v4.19/net/ax25/
Dax25_dev.c67 ax25_dev->values[AX25_VALUES_IPDEFMODE] = AX25_DEF_IPDEFMODE; in ax25_dev_device_up()
68 ax25_dev->values[AX25_VALUES_AXDEFMODE] = AX25_DEF_AXDEFMODE; in ax25_dev_device_up()
69 ax25_dev->values[AX25_VALUES_BACKOFF] = AX25_DEF_BACKOFF; in ax25_dev_device_up()
70 ax25_dev->values[AX25_VALUES_CONMODE] = AX25_DEF_CONMODE; in ax25_dev_device_up()
71 ax25_dev->values[AX25_VALUES_WINDOW] = AX25_DEF_WINDOW; in ax25_dev_device_up()
72 ax25_dev->values[AX25_VALUES_EWINDOW] = AX25_DEF_EWINDOW; in ax25_dev_device_up()
73 ax25_dev->values[AX25_VALUES_T1] = AX25_DEF_T1; in ax25_dev_device_up()
74 ax25_dev->values[AX25_VALUES_T2] = AX25_DEF_T2; in ax25_dev_device_up()
75 ax25_dev->values[AX25_VALUES_T3] = AX25_DEF_T3; in ax25_dev_device_up()
76 ax25_dev->values[AX25_VALUES_IDLE] = AX25_DEF_IDLE; in ax25_dev_device_up()
[all …]
/Linux-v4.19/drivers/auxdisplay/
Dhd44780.c65 int values[10]; /* for DATA[0-7], RS, RW */ in hd44780_write_gpio8() local
69 values[PIN_DATA0 + i] = !!(val & BIT(i)); in hd44780_write_gpio8()
70 values[PIN_CTRL_RS] = rs; in hd44780_write_gpio8()
73 values[PIN_CTRL_RW] = 0; in hd44780_write_gpio8()
78 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA0], values); in hd44780_write_gpio8()
86 int values[10]; /* for DATA[0-7], RS, RW, but DATA[0-3] is unused */ in hd44780_write_gpio4() local
91 values[PIN_DATA0 + i] = !!(val & BIT(i)); in hd44780_write_gpio4()
92 values[PIN_CTRL_RS] = rs; in hd44780_write_gpio4()
95 values[PIN_CTRL_RW] = 0; in hd44780_write_gpio4()
101 &values[PIN_DATA4]); in hd44780_write_gpio4()
[all …]
/Linux-v4.19/drivers/soc/rockchip/
Dgrf.c27 const struct rockchip_grf_value *values; member
42 .values = rk3036_defaults,
53 .values = rk3128_defaults,
64 .values = rk3228_defaults,
75 .values = rk3288_defaults,
86 .values = rk3328_defaults,
97 .values = rk3368_defaults,
108 .values = rk3399_defaults,
164 const struct rockchip_grf_value *val = &grf_info->values[i]; in rockchip_grf_init()
/Linux-v4.19/arch/alpha/oprofile/
Dop_model_ev5.c159 unsigned long values, mask, not_pk, reset_values; in ev5_reset_ctr() local
170 values = wrperfmon(5, 0); in ev5_reset_ctr()
171 values = (reset_values & mask) | (values & ~mask & -2); in ev5_reset_ctr()
172 wrperfmon(6, values); in ev5_reset_ctr()
175 values = wrperfmon(5, 0); in ev5_reset_ctr()
176 values = (reset_values & mask) | (values & ~mask & -2); in ev5_reset_ctr()
177 wrperfmon(6, values); in ev5_reset_ctr()
/Linux-v4.19/drivers/i2c/muxes/
Di2c-mux-gpio.c25 int *values; member
33 mux->values[i] = (val >> i) & 1; in i2c_mux_gpio_set()
36 mux->gpios, mux->values); in i2c_mux_gpio_set()
70 unsigned *values, *gpios; in i2c_mux_gpio_probe_dt() local
91 values = devm_kcalloc(&pdev->dev, in i2c_mux_gpio_probe_dt()
92 mux->data.n_values, sizeof(*mux->data.values), in i2c_mux_gpio_probe_dt()
94 if (!values) { in i2c_mux_gpio_probe_dt()
100 of_property_read_u32(child, "reg", values + i); in i2c_mux_gpio_probe_dt()
103 mux->data.values = values; in i2c_mux_gpio_probe_dt()
186 mux->data.n_gpios * sizeof(*mux->values), 0, in i2c_mux_gpio_probe()
[all …]
/Linux-v4.19/samples/bpf/
Dtracex3_user.c27 __u64 values[nr_cpus]; in clear_stats() local
30 memset(values, 0, sizeof(values)); in clear_stats()
32 bpf_map_update_elem(fd, &key, values, BPF_ANY); in clear_stats()
85 long values[nr_cpus]; in print_hist() local
93 bpf_map_lookup_elem(fd, &key, values); in print_hist()
96 value += values[i]; in print_hist()
Dxdp1_user.c38 __u64 values[nr_cpus], prev[nr_keys][nr_cpus]; in poll_stats() local
50 assert(bpf_map_lookup_elem(map_fd, &key, values) == 0); in poll_stats()
52 sum += (values[i] - prev[key][i]); in poll_stats()
56 memcpy(prev[key], values, sizeof(values)); in poll_stats()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-class-power10 Valid values: Represented as string
19 Valid values: Represented as string
28 Valid values: Represented as string
37 Valid values: "Battery", "UPS", "Mains", "USB"
47 Valid values: 0 - 100 (percent)
61 Valid values: 0 - 100 (percent)
75 Valid values: 0 - 100 (percent)
84 Valid values: "Unknown", "Critical", "Low", "Normal", "High",
96 Valid values: Represented in microamps
105 Valid values: Represented in microamps
[all …]
Dsysfs-tty29 These sysfs values expose the TIOCGSERIAL interface via
38 These sysfs values expose the TIOCGSERIAL interface via
47 These sysfs values expose the TIOCGSERIAL interface via
56 These sysfs values expose the TIOCGSERIAL interface via
65 These sysfs values expose the TIOCGSERIAL interface via
74 These sysfs values expose the TIOCGSERIAL interface via
83 These sysfs values expose the TIOCGSERIAL interface via
92 These sysfs values expose the TIOCGSERIAL interface via
101 These sysfs values expose the TIOCGSERIAL interface via
110 These sysfs values expose the TIOCGSERIAL interface via
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Dwlf,arizona.txt12 - wlf,inmode : A list of INn_MODE register values, where n is the number
13 of input signals. Valid values are 0 (Differential), 1 (Single-ended) and
15 If present, values must be specified less than or equal to the number of
16 input signals. If values less than the number of input signals, elements
20 - wlf,out-mono : A list of boolean values indicating whether each output is
23 indicates a mono output. If present, the number of values should be less
24 than or equal to the number of outputs, if less values are supplied the
30 present, the number of values should be less than or equal to the
42 See the datasheet for values.
47 See the datasheet for values.
[all …]
/Linux-v4.19/drivers/char/
Dtb0219.c103 uint16_t values; in get_gpio_input_pin() local
105 values = tb0219_read(TB0219_GPIO_INPUT); in get_gpio_input_pin()
106 if (values & (1 << pin)) in get_gpio_input_pin()
114 uint16_t values; in get_gpio_output_pin() local
116 values = tb0219_read(TB0219_GPIO_OUTPUT); in get_gpio_output_pin()
117 if (values & (1 << pin)) in get_gpio_output_pin()
125 uint16_t values; in get_dip_switch() local
127 values = tb0219_read(TB0219_DIP_SWITCH); in get_dip_switch()
128 if (values & (1 << pin)) in get_dip_switch()
/Linux-v4.19/tools/gpio/
Dgpio-hammer.c38 memset(&data.values, 0, sizeof(data.values)); in hammer_device()
59 fprintf(stdout, "%d", data.values[i]); in hammer_device()
70 data.values[i] = !data.values[i]; in hammer_device()
88 fprintf(stdout, "%d: %d", lines[i], data.values[i]); in hammer_device()
/Linux-v4.19/Documentation/media/uapi/dvb/
Dfe_property_parameters.rst116 Possible values: ``1712000``, ``5000000``, ``6000000``, ``7000000``,
120 Terrestrial Standard Possible values for bandwidth
159 The acceptable values are defined by :c:type:`fe_spectral_inversion`.
187 The acceptable values are defined by :c:type:`fe_code_rate`.
202 The acceptable values are defined by :c:type:`fe_sec_voltage`.
222 The acceptable values are defined by :c:type:`fe_pilot`.
234 The acceptable values are defined by :c:type:`fe_rolloff`.
268 The acceptable values are defined by :c:type:`fe_delivery_system`.
281 If '1' ``DTV_ISDBT_LAYERA_*`` values are assigned to the center segment
288 Possible values: 0, 1, -1 (AUTO)
[all …]
/Linux-v4.19/Documentation/hwmon/
Dlm9524526 All temperature values are given in millidegrees Celsius. Local temperature
33 user-space applications, two absolute values are exported, one for each
34 channel, but these values are of course linked. Only the local hysteresis
38 The lm95245 driver can change its update interval to a fixed set of values.
40 values. Reading sensor values more often will do no harm, but will return
41 'old' values.
/Linux-v4.19/include/linux/
Dhmm.h150 const uint64_t *values; member
167 if (pfn == range->values[HMM_PFN_NONE]) in hmm_pfn_to_page()
169 if (pfn == range->values[HMM_PFN_ERROR]) in hmm_pfn_to_page()
171 if (pfn == range->values[HMM_PFN_SPECIAL]) in hmm_pfn_to_page()
187 if (pfn == range->values[HMM_PFN_NONE]) in hmm_pfn_to_pfn()
189 if (pfn == range->values[HMM_PFN_ERROR]) in hmm_pfn_to_pfn()
191 if (pfn == range->values[HMM_PFN_SPECIAL]) in hmm_pfn_to_pfn()
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/opal/
Dpower-mgt.txt41 Array of unsigned 32-bit values containing the values of the
61 Array of unsigned 32-bit values containing the values of the
66 Array of unsigned 32-bit values containing the values of the
74 Array of unsigned 64-bit values containing the values for the
79 Array of unsigned 64-bit values containing the masks
90 values.
101 For all the other values of the entry in
107 Array of unsigned 64-bit values containing the pmicr values
115 Array of unsigned 64-bit values containing the mask indicating
/Linux-v4.19/drivers/media/platform/vsp1/
Dvsp1_hgt.c73 const u8 *values = ctrl->p_new.p_u8; in hgt_hue_areas_try_ctrl() local
87 if (values[i] > values[i+1]) in hgt_hue_areas_try_ctrl()
92 if (values[0] > values[1] && values[11] > values[0]) in hgt_hue_areas_try_ctrl()
/Linux-v4.19/tools/kvm/kvm_stat/
Dkvm_stat856 self.values = {}
875 self.values = {}
880 self.values = {}
902 self.values = {}
929 oldval = self.values.get(key, EventStat(0, 0)).value
932 self.values[key] = EventStat(newval, newdelta)
933 return self.values
950 if key in self.values.keys():
951 del self.values[key]
953 oldvals = self.values.copy()
[all …]
/Linux-v4.19/drivers/mmc/core/
Dpwrseq_simple.c43 int i, *values; in mmc_pwrseq_simple_set_gpios_value() local
46 values = kmalloc_array(nvalues, sizeof(int), GFP_KERNEL); in mmc_pwrseq_simple_set_gpios_value()
47 if (!values) in mmc_pwrseq_simple_set_gpios_value()
51 values[i] = value; in mmc_pwrseq_simple_set_gpios_value()
53 gpiod_set_array_value_cansleep(nvalues, reset_gpios->desc, values); in mmc_pwrseq_simple_set_gpios_value()
54 kfree(values); in mmc_pwrseq_simple_set_gpios_value()
/Linux-v4.19/drivers/net/bonding/
Dbond_options.c215 .values = bond_mode_tbl,
223 .values = bond_pps_tbl,
230 .values = bond_xmit_hashtype_tbl,
239 .values = bond_arp_validate_tbl,
246 .values = bond_arp_all_targets_tbl,
254 .values = bond_fail_over_mac_tbl,
263 .values = bond_intmax_tbl,
277 .values = bond_intmax_tbl,
284 .values = bond_intmax_tbl,
293 .values = bond_lacp_rate_tbl,
[all …]

12345678910>>...56