Home
last modified time | relevance | path

Searched +full:long +full:- +full:term (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/Linux-v6.6/include/linux/
Dpolynomial.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 * struct polynomial_term - one term descriptor of a polynomial
11 * @deg: degree of the term.
12 * @coef: multiplication factor of the term.
18 long coef;
19 long divider;
20 long divider_leftover;
24 * struct polynomial - a polynomial descriptor
26 * @terms: polynomial terms, last term must have degree of 0
29 long total_divider;
[all …]
Dintel_rapl.h1 /* SPDX-License-Identifier: GPL-2.0 */
57 PL1_ENABLE, /* power limit 1, aka long term */
59 PL2_ENABLE, /* power limit 2, aka short term, instantaneous */
63 TIME_WINDOW1, /* long term */
64 TIME_WINDOW2, /* short term */
86 unsigned long timestamp;
161 /* maximum rapl package domain name: package-%d-die-%d */
165 unsigned int id; /* logical die id, equals physical 1-die systems */
167 unsigned long domain_map; /* bit map of active domains */
170 unsigned long power_limit_irq; /* keep track of package power limit
/Linux-v6.6/lib/
Dpolynomial.c1 // SPDX-License-Identifier: GPL-2.0-only
18 * Originally this was part of drivers/hwmon/bt1-pvt.c.
22 * to PVT data and vice-versa are following:
24 * N = 1.8322e-8*(T^4) + 2.343e-5*(T^3) + 8.7018e-3*(T^2) + 3.9269*(T^1) +
26 * T = -1.6743e-11*(N^4) + 8.1542e-8*(N^3) + -1.8201e-4*(N^2) +
27 * 3.1020e-1*(N^1) - 4.838e1
29 * where T = [-48.380, 147.438]C and N = [0, 1023].
38 * N = (18322e-20*(T^4) + 2343e-13*(T^3) + 87018e-9*(T^2) + 39269e-3*T +
40 * T = -16743e-12*(D^4) + 81542e-9*(D^3) - 182010e-6*(D^2) + 310200e-3*D -
42 * where T = [-48380, 147438] mC and N = [0, 1023].
[all …]
/Linux-v6.6/drivers/pinctrl/intel/
Dpinctrl-tangier.c1 // SPDX-License-Identifier: GPL-2.0-only
25 #include <linux/pinctrl/pinconf-generic.h>
31 #include "pinctrl-intel.h"
32 #include "pinctrl-tangier.h"
65 #define pin_to_bufno(f, p) ((p) - (f)->pin_base)
73 for (i = 0; i < tp->nfamilies; i++) { in tng_get_family()
74 family = &tp->families[i]; in tng_get_family()
75 if (pin >= family->pin_base && in tng_get_family()
76 pin < family->pin_base + family->npins) in tng_get_family()
80 dev_warn(tp->dev, "failed to find family for pin %u\n", pin); in tng_get_family()
[all …]
/Linux-v6.6/lib/math/
Drational-test.c1 // SPDX-License-Identifier: GPL-2.0
8 unsigned long num, den;
9 unsigned long max_num, max_den;
10 unsigned long exp_num, exp_den;
16 { 1230, 10, 100, 20, 100, 1, "Exceeds bounds, semi-convergent term > 1/2 last term" },
17 { 34567,100, 120, 20, 120, 1, "Exceeds bounds, semi-convergent term < 1/2 last term" },
19 { 1, 19, 100, 10, 1, 10, "Closest to smallest non-zero" },
28 strscpy(desc, param->name, KUNIT_PARAM_DESC_SIZE); in get_desc()
36 const struct rational_test_param *param = (const struct rational_test_param *)test->param_value; in rational_test()
37 unsigned long n = 0, d = 0; in rational_test()
[all …]
Drational.c1 // SPDX-License-Identifier: GPL-2.0
26 * (1 << 8) - 1, (1 << 5) - 1, &n, &d);
36 unsigned long given_numerator, unsigned long given_denominator, in rational_best_approximation()
37 unsigned long max_numerator, unsigned long max_denominator, in rational_best_approximation()
38 unsigned long *best_numerator, unsigned long *best_denominator) in rational_best_approximation()
49 * a is current term of the continued fraction. in rational_best_approximation()
51 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation()
58 unsigned long dp, a; in rational_best_approximation()
62 /* Find next term in continued fraction, 'a', via in rational_best_approximation()
71 * convergent), n2/d2, using the term just found and in rational_best_approximation()
[all …]
/Linux-v6.6/tools/perf/util/
Dpmu.c1 // SPDX-License-Identifier: GPL-2.0
22 #include <util/pmu-bison.h>
23 #include <util/pmu-flex.h>
24 #include "parse-events.h"
25 #include "print-events.h"
39 * struct perf_pmu_alias - An event either read from sysfs or builtin in
40 * pmu-events.c, created by parsing the pmu-events json files.
43 /** @name: Name of the event like "mem-loads". */
47 /** @long_desc: Optional long description. */
69 * <sysfs>/bus/event_source/devices/<pmu_name>/events/<name>.per-pkg or
[all …]
/Linux-v6.6/Documentation/driver-api/thermal/
Dpower_allocator.rst6 -----------
20 --------------
23 Proportional-Integral-Derivative controller (PID controller) with
29 - e = desired_temperature - current_temperature
30 - err_integral is the sum of previous errors
31 - diff_err = e - previous_error
39 | +----------+ +---+
40 | +----->| diff_err |-->| X |------+
41 | | +----------+ +---+ |
47 +---+ | +-------+ +---+ +---+ +---+ +----------+
[all …]
/Linux-v6.6/drivers/media/v4l2-core/
Dv4l2-h264.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <media/v4l2-h264.h>
22 * v4l2_h264_init_reflist_builder() - Initialize a P/B0/B1 reference list
39 max_frame_num = 1 << (sps->log2_max_frame_num_minus4 + 4); in v4l2_h264_init_reflist_builder()
40 cur_frame_num = dec_params->frame_num; in v4l2_h264_init_reflist_builder()
43 if (!(dec_params->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC)) { in v4l2_h264_init_reflist_builder()
44 b->cur_pic_order_count = min(dec_params->bottom_field_order_cnt, in v4l2_h264_init_reflist_builder()
45 dec_params->top_field_order_cnt); in v4l2_h264_init_reflist_builder()
46 b->cur_pic_fields = V4L2_H264_FRAME_REF; in v4l2_h264_init_reflist_builder()
47 } else if (dec_params->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD) { in v4l2_h264_init_reflist_builder()
[all …]
/Linux-v6.6/arch/x86/math-emu/
Dpolynom_Xsig.S1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*---------------------------------------------------------------------------+
9 | Australia. E-mail billm@jacobi.maths.monash.edu.au |
12 | void polynomial_Xsig(Xsig *accum, unsigned long long x, |
13 | unsigned long long terms[], int n) |
16 | terms[0] + (terms[1] + (terms[2] + ... + (terms[n-1]*x)*x)*x)*x) ... )*x |
24 +---------------------------------------------------------------------------*/
31 #define SUM_MS -20(%ebp) /* sum ms long */
32 #define SUM_MIDDLE -24(%ebp) /* sum middle long */
33 #define SUM_LS -28(%ebp) /* sum ls long */
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/input/
Diqs269a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
28 "#address-cells":
31 "#size-cells":
34 azoteq,hall-enable:
37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes
[all …]
Diqs626a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
19 - $ref: touchscreen/touchscreen.yaml#
31 "#address-cells":
34 "#size-cells":
37 azoteq,suspend-mode:
[all …]
/Linux-v6.6/drivers/infiniband/sw/siw/
Dsiw_qp.c1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause
4 /* Copyright (c) 2008-2019, IBM Corporation */
30 * per-RDMAP message basis. Please keep order of initializer. All MPA len
36 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_write) - 2),
44 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_rreq) - 2),
51 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_rresp) - 2),
59 .ctrl.mpa_len = htons(sizeof(struct iwarp_send) - 2),
66 .ctrl.mpa_len = htons(sizeof(struct iwarp_send_inv) - 2),
73 .ctrl.mpa_len = htons(sizeof(struct iwarp_send) - 2),
80 .ctrl.mpa_len = htons(sizeof(struct iwarp_send_inv) - 2),
[all …]
Dsiw_qp_rx.c1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause
4 /* Copyright (c) 2008-2019, IBM Corporation */
44 (void *)(uintptr_t)umem->fp_addr); in siw_rx_umem()
46 srx->skb_copied += copied; in siw_rx_umem()
47 srx->skb_new -= copied; in siw_rx_umem()
49 return -EFAULT; in siw_rx_umem()
52 bytes = min(len, (int)PAGE_SIZE - pg_off); in siw_rx_umem()
57 rv = skb_copy_bits(srx->skb, srx->skb_offset, dest + pg_off, in siw_rx_umem()
62 srx->skb_copied += copied; in siw_rx_umem()
63 srx->skb_new -= copied; in siw_rx_umem()
[all …]
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-class-thermal61 E.g. it can be one of critical, hot, passive, `active[0-*]`
84 The trip point in this thermal zone which `cdev[0-*]` is
85 associated with; -1 means the cooling device is not
92 The influence of `cdev[0-*]` in this thermal zone. This value
122 The derivative term of the power allocator governor's PID
124 Documentation/driver-api/thermal/power_allocator.rst
130 The integral term of the power allocator governor's PID
131 controller. This term allows the PID controller to compensate
132 for long term drift. For more information see
133 Documentation/driver-api/thermal/power_allocator.rst
[all …]
/Linux-v6.6/drivers/pwm/
Dpwm-ep93xx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * platform device ep93xx-pwm.1 - PWMOUT1 (EGPIO14)
12 * platform device ep93xx-pwm.0 - PWMOUT
15 * platform device ep93xx-pwm.0 - PWMOUT
16 * platform device ep93xx-pwm.1 - PWMOUT1 (EGPIO14)
49 struct platform_device *pdev = to_platform_device(chip->dev); in ep93xx_pwm_request()
56 struct platform_device *pdev = to_platform_device(chip->dev); in ep93xx_pwm_free()
66 bool enabled = state->enabled; in ep93xx_pwm_apply()
67 void __iomem *base = ep93xx_pwm->base; in ep93xx_pwm_apply()
68 unsigned long long c; in ep93xx_pwm_apply()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/
DTODO5 1. Base this on drm-next - WIP
11 3. WIP - Drop page flip helper and use DRM's version
14 4. DONE - Flatten all DC objects
28 5. DONE - Rename DC objects to align more with DRM
29 * dc_surface -> dc_plane_state
30 * dc_stream -> dc_stream_state
33 6. DONE - Per-plane and per-stream validation
36 7. WIP - Per-plane and per-stream commit
39 8. WIP - Split pipe_ctx into plane and stream resource structs
49 "Making sure you use the sink-specific helper libraries and kernel
[all …]
/Linux-v6.6/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* ZD1211 USB-WLAN driver for Linux
4 * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de>
5 * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org>
30 * of short or long preambles in 802.11b (CCK mode) or the use of 802.11a or
33 * The term zd-rate is used for the combination of the modulation type flag
44 * codeing for the 1 and 2 MBit/s rate. We stay with the term here to remain
45 * consistent with uses the term at other places.
52 * with the modulation type flag and call the resulting values zd-rates.
156 unsigned long last_update;
[all …]
/Linux-v6.6/drivers/scsi/arm/
Deesox.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1997-2005 Russell King
12 * 01-10-1997 RMK Created, READONLY version
13 * 15-02-1998 RMK READ/WRITE version
15 * 14-03-1998 RMK Updated DMA support
17 * 15-04-1998 RMK Only do PIO if FAS216 will allow it.
18 * 27-06-1998 RMK Changed asm/delay.h to linux/delay.h
19 * 02-04-2000 RMK 0.0.3 Fixed NO_IRQ/NO_DMA problem, updated for new
31 #include <linux/dma-mapping.h>
66 * Use term=0,1,0,0,0 to turn terminators on/off
[all …]
/Linux-v6.6/Documentation/core-api/
Dpin_user_pages.rst1 .. SPDX-License-Identifier: GPL-2.0
35 In other words, use pin_user_pages*() for DMA-pinned pages, and
54 flags the caller provides. The caller is required to pass in a non-null struct
72 --------
79 but the caller passed in a non-null struct pages* array, then the function
84 --------
89 Tracking dma-pinned pages
92 Some of the key design constraints, and solutions, for tracking dma-pinned
98 * False positives (reporting that a page is dma-pinned, when in fact it is not)
104 * Given the above, we can overload the page->_refcount field by using, sort of,
[all …]
/Linux-v6.6/arch/arm/boot/dts/nvidia/
Dtegra124-apalis-emc.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright 2016-2019 Toradex AG
7 #include <dt-bindings/clock/tegra124-car.h>
11 emc-timings-1 {
12 nvidia,ram-code = <1>;
14 timing-12750000 {
15 clock-frequency = <12750000>;
16 nvidia,parent-clock-frequency = <408000000>;
18 clock-names = "emc-parent";
21 timing-20400000 {
[all …]
Dtegra124-jetson-tk1-emc.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/clock/tegra124-car.h>
7 emc-timings-3 {
8 nvidia,ram-code = <3>;
10 timing-12750000 {
11 clock-frequency = <12750000>;
12 nvidia,parent-clock-frequency = <408000000>;
14 clock-names = "emc-parent";
17 timing-20400000 {
18 clock-frequency = <20400000>;
[all …]
/Linux-v6.6/drivers/hwmon/
Dbt1-pvt.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Baikal-T1 Process, Voltage, Temperature sensor driver
17 /* Baikal-T1 PVT registers and their bitfields */
61 * PVT sensors-related limits and default values
73 * when one is determined for Baikal-T1 SoC).
84 #define PVT_TEMP_MIN -48380L
105 * enum pvt_sensor_type - Baikal-T1 PVT sensor types (correspond to each PVT
110 * @PVT_LVT: PVT Low-Voltage threshold sensor.
111 * @PVT_HVT: PVT High-Voltage threshold sensor.
112 * @PVT_SVT: PVT Standard-Voltage threshold sensor.
[all …]
/Linux-v6.6/arch/powerpc/include/asm/
Dhvcserver.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 * hvcs_partner_info - an element in a list of partner info
25 * null-term.
35 char location_code[HVCS_CLC_LENGTH + 1]; /* CLC + 1 null-term char */
40 struct list_head *head, unsigned long *pi_buff);
/Linux-v6.6/drivers/spi/
Dspi-ar934x.c1 // SPDX-License-Identifier: GPL-2.0
7 // Based on spi-mt7621.c:
9 // Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org>
10 // Copyright (C) 2014-2015 Felix Fietkau <nbd@nbd.name>
21 #define DRIVER_NAME "spi-ar934x"
38 #define AR934X_SPI_SHIFT_VAL(cs, term, count) \ argument
40 (term) << AR934X_SPI_SHIFT_TERM | (count))
53 int div = DIV_ROUND_UP(sp->clk_freq, freq * 2) - 1; in ar934x_spi_clk_div()
58 return -EINVAL; in ar934x_spi_clk_div()
65 struct ar934x_spi *sp = spi_controller_get_devdata(spi->controller); in ar934x_spi_setup()
[all …]

12345678910>>...16