Home
last modified time | relevance | path

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

12345678910>>...61

/Linux-v5.4/tools/perf/util/
Dvalues.c12 int perf_read_values_init(struct perf_read_values *values) in perf_read_values_init() argument
14 values->threads_max = 16; in perf_read_values_init()
15 values->pid = malloc(values->threads_max * sizeof(*values->pid)); in perf_read_values_init()
16 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init()
17 values->value = zalloc(values->threads_max * sizeof(*values->value)); in perf_read_values_init()
18 if (!values->pid || !values->tid || !values->value) { in perf_read_values_init()
22 values->threads = 0; in perf_read_values_init()
24 values->counters_max = 16; in perf_read_values_init()
25 values->counterrawid = malloc(values->counters_max in perf_read_values_init()
26 * 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()
23 values = xyarray__new(ncpus, nthreads, sizeof(bool)); in perf_counts__new()
24 if (!values) { in perf_counts__new()
25 xyarray__delete(counts->values); in perf_counts__new()
30 counts->loaded = values; in perf_counts__new()
40 xyarray__delete(counts->values); in perf_counts__delete()
48 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-v5.4/drivers/pcmcia/
Dmax1600.c70 DECLARE_BITMAP(values, MAX1600_GPIO_MAX) = { 0, }; in max1600_configure()
75 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure()
76 __assign_bit(MAX1600_GPIO_1VPP, values, 0); in max1600_configure()
78 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure()
79 __assign_bit(MAX1600_GPIO_1VPP, values, 1); in max1600_configure()
81 __assign_bit(MAX1600_GPIO_0VPP, values, 1); in max1600_configure()
82 __assign_bit(MAX1600_GPIO_1VPP, values, 0); in max1600_configure()
95 __assign_bit(MAX1600_GPIO_0VCC, values, 0); in max1600_configure()
96 __assign_bit(MAX1600_GPIO_1VCC, values, 0); in max1600_configure()
98 __assign_bit(MAX1600_GPIO_0VCC, values, 1); in max1600_configure()
[all …]
Dsa1111_jornada720.c64 DECLARE_BITMAP(values, J720_GPIO_MAX) = { 0, }; in jornada720_pcmcia_configure_socket()
75 __assign_bit(J720_GPIO_PWR, values, 0); in jornada720_pcmcia_configure_socket()
76 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket()
79 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket()
80 __assign_bit(J720_GPIO_3V, values, 1); in jornada720_pcmcia_configure_socket()
83 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket()
84 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket()
93 __assign_bit(J720_GPIO_PWR, values, 0); in jornada720_pcmcia_configure_socket()
94 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket()
98 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket()
[all …]
/Linux-v5.4/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c544 minfo->values.pll.system = get_unaligned_le16(bd->pins + 28) ? in parse_pins1()
548 minfo->values.reg.mctlwtst = 0x00030101; in parse_pins1()
556 minfo->values.pll.system = 50000; in default_pins1()
558 minfo->values.reg.mctlwtst = 0x00030101; in default_pins1()
566 minfo->values.reg.mctlwtst = ((bd->pins[51] & 0x01) ? 0x00000001 : 0) | in parse_pins2()
570 minfo->values.pll.system = (bd->pins[43] == 0xFF) ? 50000 : ((bd->pins[43] + 100) * 1000); in parse_pins2()
580 minfo->values.reg.mctlwtst = 0x00030101; in default_pins2()
581 minfo->values.pll.system = 50000; in default_pins2()
590 minfo->values.reg.mctlwtst = get_unaligned_le32(bd->pins + 48) == 0xFFFFFFFF ? in parse_pins3()
593 minfo->values.reg.memrdbk = ((bd->pins[57] << 21) & 0x1E000000) | in parse_pins3()
[all …]
Dmatroxfb_DAC1064.c721 pci_write_config_dword(minfo->pcidev, PCI_OPTION3_REG, minfo->values.reg.opt3 & ~0x00300C03); in g450_mclk_init()
724 if (((minfo->values.reg.opt3 & 0x000003) == 0x000003) || in g450_mclk_init()
725 ((minfo->values.reg.opt3 & 0x000C00) == 0x000C00) || in g450_mclk_init()
726 ((minfo->values.reg.opt3 & 0x300000) == 0x300000)) { in g450_mclk_init()
727 matroxfb_g450_setclk(minfo, minfo->values.pll.video, M_VIDEO_PLL); in g450_mclk_init()
737 matroxfb_g450_setclk(minfo, minfo->values.pll.system, M_SYSTEM_PLL); in g450_mclk_init()
741 pci_write_config_dword(minfo->pcidev, PCI_OPTION3_REG, minfo->values.reg.opt3); in g450_mclk_init()
754 minfo->hw.MXoptionReg |= 0x00207E00 & minfo->values.reg.opt; in g450_memory_init()
756 pci_write_config_dword(minfo->pcidev, PCI_OPTION2_REG, minfo->values.reg.opt2); in g450_memory_init()
758 mga_outl(M_CTLWTST, minfo->values.reg.mctlwtst); in g450_memory_init()
[all …]
/Linux-v5.4/net/ax25/
Dax25_dev.c64 ax25_dev->values[AX25_VALUES_IPDEFMODE] = AX25_DEF_IPDEFMODE; in ax25_dev_device_up()
65 ax25_dev->values[AX25_VALUES_AXDEFMODE] = AX25_DEF_AXDEFMODE; in ax25_dev_device_up()
66 ax25_dev->values[AX25_VALUES_BACKOFF] = AX25_DEF_BACKOFF; in ax25_dev_device_up()
67 ax25_dev->values[AX25_VALUES_CONMODE] = AX25_DEF_CONMODE; in ax25_dev_device_up()
68 ax25_dev->values[AX25_VALUES_WINDOW] = AX25_DEF_WINDOW; in ax25_dev_device_up()
69 ax25_dev->values[AX25_VALUES_EWINDOW] = AX25_DEF_EWINDOW; in ax25_dev_device_up()
70 ax25_dev->values[AX25_VALUES_T1] = AX25_DEF_T1; in ax25_dev_device_up()
71 ax25_dev->values[AX25_VALUES_T2] = AX25_DEF_T2; in ax25_dev_device_up()
72 ax25_dev->values[AX25_VALUES_T3] = AX25_DEF_T3; in ax25_dev_device_up()
73 ax25_dev->values[AX25_VALUES_IDLE] = AX25_DEF_IDLE; in ax25_dev_device_up()
[all …]
/Linux-v5.4/drivers/auxdisplay/
Dhd44780.c64 DECLARE_BITMAP(values, 10); /* for DATA[0-7], RS, RW */ in hd44780_write_gpio8()
67 values[0] = val; in hd44780_write_gpio8()
68 __assign_bit(8, values, rs); in hd44780_write_gpio8()
72 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA0], NULL, values); in hd44780_write_gpio8()
80 DECLARE_BITMAP(values, 6); /* for DATA[4-7], RS, RW */ in hd44780_write_gpio4()
84 values[0] = val >> 4; in hd44780_write_gpio4()
85 __assign_bit(4, values, rs); in hd44780_write_gpio4()
89 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA4], NULL, values); in hd44780_write_gpio4()
94 values[0] &= ~0x0fUL; in hd44780_write_gpio4()
95 values[0] |= val & 0x0f; in hd44780_write_gpio4()
[all …]
/Linux-v5.4/drivers/soc/rockchip/
Dgrf.c24 const struct rockchip_grf_value *values; member
39 .values = rk3036_defaults,
50 .values = rk3128_defaults,
61 .values = rk3228_defaults,
74 .values = rk3288_defaults,
85 .values = rk3328_defaults,
96 .values = rk3368_defaults,
107 .values = rk3399_defaults,
163 const struct rockchip_grf_value *val = &grf_info->values[i]; in rockchip_grf_init()
/Linux-v5.4/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-v5.4/drivers/i2c/muxes/
Di2c-mux-gpio.c27 DECLARE_BITMAP(values, BITS_PER_TYPE(val)); in i2c_mux_gpio_set()
29 values[0] = val; in i2c_mux_gpio_set()
31 gpiod_set_array_value_cansleep(mux->ngpios, mux->gpios, NULL, values); in i2c_mux_gpio_set()
59 unsigned *values; in i2c_mux_gpio_probe_dt() local
80 values = devm_kcalloc(&pdev->dev, in i2c_mux_gpio_probe_dt()
81 mux->data.n_values, sizeof(*mux->data.values), in i2c_mux_gpio_probe_dt()
83 if (!values) { in i2c_mux_gpio_probe_dt()
89 of_property_read_u32(child, "reg", values + i); in i2c_mux_gpio_probe_dt()
92 mux->data.values = values; in i2c_mux_gpio_probe_dt()
160 initial_state = mux->data.values[0]; in i2c_mux_gpio_probe()
[all …]
/Linux-v5.4/samples/bpf/
Dtracex3_user.c22 __u64 values[nr_cpus]; in clear_stats() local
25 memset(values, 0, sizeof(values)); in clear_stats()
27 bpf_map_update_elem(fd, &key, values, BPF_ANY); in clear_stats()
80 long values[nr_cpus]; in print_hist() local
88 bpf_map_lookup_elem(fd, &key, values); in print_hist()
91 value += values[i]; in print_hist()
/Linux-v5.4/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-v5.4/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-v5.4/include/linux/
Dhmm.h168 const uint64_t *values; member
210 if (entry == range->values[HMM_PFN_NONE]) in hmm_device_entry_to_page()
212 if (entry == range->values[HMM_PFN_ERROR]) in hmm_device_entry_to_page()
214 if (entry == range->values[HMM_PFN_SPECIAL]) in hmm_device_entry_to_page()
230 if (pfn == range->values[HMM_PFN_NONE]) in hmm_device_entry_to_pfn()
232 if (pfn == range->values[HMM_PFN_ERROR]) in hmm_device_entry_to_pfn()
234 if (pfn == range->values[HMM_PFN_SPECIAL]) in hmm_device_entry_to_pfn()
/Linux-v5.4/drivers/char/
Dtb0219.c90 uint16_t values; in get_gpio_input_pin() local
92 values = tb0219_read(TB0219_GPIO_INPUT); in get_gpio_input_pin()
93 if (values & (1 << pin)) in get_gpio_input_pin()
101 uint16_t values; in get_gpio_output_pin() local
103 values = tb0219_read(TB0219_GPIO_OUTPUT); in get_gpio_output_pin()
104 if (values & (1 << pin)) in get_gpio_output_pin()
112 uint16_t values; in get_dip_switch() local
114 values = tb0219_read(TB0219_DIP_SWITCH); in get_dip_switch()
115 if (values & (1 << pin)) in get_dip_switch()
/Linux-v5.4/drivers/mmc/core/
Dpwrseq_simple.c42 unsigned long *values; in mmc_pwrseq_simple_set_gpios_value() local
45 values = bitmap_alloc(nvalues, GFP_KERNEL); in mmc_pwrseq_simple_set_gpios_value()
46 if (!values) in mmc_pwrseq_simple_set_gpios_value()
50 bitmap_fill(values, nvalues); in mmc_pwrseq_simple_set_gpios_value()
52 bitmap_zero(values, nvalues); in mmc_pwrseq_simple_set_gpios_value()
55 reset_gpios->info, values); in mmc_pwrseq_simple_set_gpios_value()
57 kfree(values); in mmc_pwrseq_simple_set_gpios_value()
/Linux-v5.4/tools/gpio/
Dgpio-hammer.c35 memset(&data.values, 0, sizeof(data.values)); in hammer_device()
56 fprintf(stdout, "%d", data.values[i]); in hammer_device()
67 data.values[i] = !data.values[i]; in hammer_device()
85 fprintf(stdout, "%d: %d", lines[i], data.values[i]); in hammer_device()
/Linux-v5.4/Documentation/media/uapi/dvb/
Dfe_property_parameters.rst123 Possible values: ``1712000``, ``5000000``, ``6000000``, ``7000000``,
127 Terrestrial Standard Possible values for bandwidth
166 The acceptable values are defined by :c:type:`fe_spectral_inversion`.
194 The acceptable values are defined by :c:type:`fe_code_rate`.
209 The acceptable values are defined by :c:type:`fe_sec_voltage`.
229 The acceptable values are defined by :c:type:`fe_pilot`.
241 The acceptable values are defined by :c:type:`fe_rolloff`.
275 The acceptable values are defined by :c:type:`fe_delivery_system`.
288 If '1' ``DTV_ISDBT_LAYERA_*`` values are assigned to the center segment
295 Possible values: 0, 1, -1 (AUTO)
[all …]
/Linux-v5.4/Documentation/hwmon/
Dlm95245.rst33 All temperature values are given in millidegrees Celsius. Local temperature
40 user-space applications, two absolute values are exported, one for each
41 channel, but these values are of course linked. Only the local hysteresis
45 The lm95245 driver can change its update interval to a fixed set of values.
47 values. Reading sensor values more often will do no harm, but will return
48 'old' values.
/Linux-v5.4/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-v5.4/drivers/net/bonding/
Dbond_options.c213 .values = bond_mode_tbl,
221 .values = bond_pps_tbl,
228 .values = bond_xmit_hashtype_tbl,
237 .values = bond_arp_validate_tbl,
244 .values = bond_arp_all_targets_tbl,
252 .values = bond_fail_over_mac_tbl,
261 .values = bond_intmax_tbl,
275 .values = bond_intmax_tbl,
282 .values = bond_intmax_tbl,
291 .values = bond_lacp_rate_tbl,
[all …]
/Linux-v5.4/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()

12345678910>>...61