Home
last modified time | relevance | path

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

12345678910>>...27

/kernel/linux/linux-4.19/tools/perf/util/
Dpmu.c1 // SPDX-License-Identifier: GPL-2.0
18 #include "parse-events.h"
21 #include "pmu-events/pmu-events.h"
51 return -EINVAL; in perf_pmu__format_parse()
55 char *name = evt_ent->d_name; in perf_pmu__format_parse()
63 ret = -EINVAL; in perf_pmu__format_parse()
89 return -1; in pmu_format()
98 return -1; in pmu_format()
120 ret = -ENOMEM; in convert_scale()
145 int fd, ret = -1; in perf_pmu__parse_scale()
[all …]
Dparse-events.c1 // SPDX-License-Identifier: GPL-2.0
11 #include "term.h"
15 #include <subcmd/parse-options.h>
16 #include "parse-events.h"
17 #include <subcmd/exec-cmd.h>
23 #include "bpf-loader.h"
26 #include "parse-events-bison.h"
28 #include "parse-events-flex.h"
32 #include "probe-file.h"
34 #include "util/parse-branch-options.h"
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dpmu.c1 // SPDX-License-Identifier: GPL-2.0
23 #include "parse-events.h"
55 return -EINVAL; in perf_pmu__format_parse()
59 char *name = evt_ent->d_name; in perf_pmu__format_parse()
67 ret = -EINVAL; in perf_pmu__format_parse()
92 return -1; in pmu_format()
101 return -1; in pmu_format()
123 ret = -ENOMEM; in perf_pmu__convert_scale()
148 int fd, ret = -1; in perf_pmu__parse_scale()
154 if (fd == -1) in perf_pmu__parse_scale()
[all …]
/kernel/linux/linux-5.10/lib/math/
Drational.c1 // SPDX-License-Identifier: GPL-2.0
25 * (1 << 8) - 1, (1 << 5) - 1, &n, &d);
35 unsigned long given_numerator, unsigned long given_denominator, in rational_best_approximation()
36 unsigned long max_numerator, unsigned long max_denominator, in rational_best_approximation()
37 unsigned long *best_numerator, unsigned long *best_denominator) in rational_best_approximation()
48 * a is current term of the continued fraction. in rational_best_approximation()
50 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation()
57 unsigned long dp, a; in rational_best_approximation()
61 /* Find next term in continued fraction, 'a', via in rational_best_approximation()
70 * convergent), n2/d2, using the term just found and in rational_best_approximation()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-h264.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <media/v4l2-h264.h>
16 * v4l2_h264_init_reflist_builder() - Initialize a P/B0/B1 reference list
33 max_frame_num = 1 << (sps->log2_max_frame_num_minus4 + 4); in v4l2_h264_init_reflist_builder()
34 cur_frame_num = dec_params->frame_num; in v4l2_h264_init_reflist_builder()
37 if (!(dec_params->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC)) in v4l2_h264_init_reflist_builder()
38 b->cur_pic_order_count = min(dec_params->bottom_field_order_cnt, in v4l2_h264_init_reflist_builder()
39 dec_params->top_field_order_cnt); in v4l2_h264_init_reflist_builder()
40 else if (dec_params->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD) in v4l2_h264_init_reflist_builder()
41 b->cur_pic_order_count = dec_params->bottom_field_order_cnt; in v4l2_h264_init_reflist_builder()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/Documentation/thermal/
Dpower_allocator.txt5 -----------
19 --------------
22 Proportional-Integral-Derivative controller (PID controller) with
28 e = desired_temperature - current_temperature
30 diff_err = e - previous_error
38 | +----------+ +---+
39 | +----->| diff_err |-->| X |------+
40 | | +----------+ +---+ |
46 +---+ | +-------+ +---+ +---+ +---+ +----------+
47 | S |-------+----->| sum e |----->| X |--->| S |-->| S |-->|power |
[all …]
Dsysfs-api.txt17 This how-to focuses on enabling new thermal zone and cooling devices to
28 [0-*] denotes any positive number starting from 0
29 [1-*] denotes any positive number starting from 1
41 /sys/class/thermal folder as thermal_zone[0-*]. It tries to bind all the
48 ops: thermal zone device call-backs.
56 - "enabled" means the kernel thermal management is enabled.
57 - "disabled" will prevent kernel thermal driver action upon trip points
85 pointed by dev->of_node as temperature providers. For the zone
91 dev->of_node.
167 to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself
[all …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/include/linux/
Dintel_rapl.h1 /* SPDX-License-Identifier: GPL-2.0 */
45 PL1_ENABLE, /* power limit 1, aka long term */
47 PL2_ENABLE, /* power limit 2, aka short term, instantaneous */
51 TIME_WINDOW1, /* long term */
52 TIME_WINDOW2, /* short term */
68 unsigned long timestamp;
130 /* maximum rapl package domain name: package-%d-die-%d */
134 unsigned int id; /* logical die id, equals physical 1-die systems */
136 unsigned long domain_map; /* bit map of active domains */
142 unsigned long power_limit_irq; /* keep track of package power limit
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_qp.c1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause
4 /* Copyright (c) 2008-2019, IBM Corporation */
29 * per-RDMAP message basis. Please keep order of initializer. All MPA len
35 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_write) - 2),
43 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_rreq) - 2),
50 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_rresp) - 2),
58 .ctrl.mpa_len = htons(sizeof(struct iwarp_send) - 2),
65 .ctrl.mpa_len = htons(sizeof(struct iwarp_send_inv) - 2),
72 .ctrl.mpa_len = htons(sizeof(struct iwarp_send) - 2),
79 .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 …]
/kernel/linux/linux-5.10/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()
65 void __iomem *base = ep93xx_pwm->base; in ep93xx_pwm_config()
66 unsigned long long c; in ep93xx_pwm_config()
67 unsigned long period_cycles; in ep93xx_pwm_config()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/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>
62 * Use term=0,1,0,0,0 to turn terminators on/off
[all …]
/kernel/linux/linux-5.10/Documentation/process/
D2.Process.rst14 ---------------
16 The kernel developers use a loosely time-based release process, with a new
53 be called 5.6-rc1. The -rc1 release is the signal that the time to
63 exception is made for drivers for previously-unsupported hardware; if they
64 touch no in-tree code, they cannot cause regressions and should be safe to
68 time. Linus releases new -rc kernels about once a week; a normal series
69 will get up to somewhere between -rc6 and -rc9 before the kernel is
78 September 30 5.4-rc1, merge window closes
79 October 6 5.4-rc2
80 October 13 5.4-rc3
[all …]
/kernel/linux/linux-4.19/Documentation/process/
D2.Process.rst14 ---------------
16 The kernel developers use a loosely time-based release process, with a new
53 be called 2.6.40-rc1. The -rc1 release is the signal that the time to
63 exception is made for drivers for previously-unsupported hardware; if they
64 touch no in-tree code, they cannot cause regressions and should be safe to
68 time. Linus releases new -rc kernels about once a week; a normal series
69 will get up to somewhere between -rc6 and -rc9 before the kernel is
78 February 11 4.16-rc1, merge window closes
79 February 18 4.16-rc2
80 February 25 4.16-rc3
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/pwm/
Dpwm-ep93xx.c8 * platform device ep93xx-pwm.1 - PWMOUT1 (EGPIO14)
11 * platform device ep93xx-pwm.0 - PWMOUT
14 * platform device ep93xx-pwm.0 - PWMOUT
15 * platform device ep93xx-pwm.1 - PWMOUT1 (EGPIO14)
58 struct platform_device *pdev = to_platform_device(chip->dev); in ep93xx_pwm_request()
65 struct platform_device *pdev = to_platform_device(chip->dev); in ep93xx_pwm_free()
74 void __iomem *base = ep93xx_pwm->base; in ep93xx_pwm_config()
75 unsigned long long c; in ep93xx_pwm_config()
76 unsigned long period_cycles; in ep93xx_pwm_config()
77 unsigned long duty_cycles; in ep93xx_pwm_config()
[all …]
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-4.19/drivers/scsi/arm/
Deesox.c4 * Copyright (C) 1997-2005 Russell King
15 * 01-10-1997 RMK Created, READONLY version
16 * 15-02-1998 RMK READ/WRITE version
18 * 14-03-1998 RMK Updated DMA support
20 * 15-04-1998 RMK Only do PIO if FAS216 will allow it.
21 * 27-06-1998 RMK Changed asm/delay.h to linux/delay.h
22 * 02-04-2000 RMK 0.0.3 Fixed NO_IRQ/NO_DMA problem, updated for new
34 #include <linux/dma-mapping.h>
65 * Use term=0,1,0,0,0 to turn terminators on/off
67 static int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 }; variable
[all …]
/kernel/linux/linux-4.19/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.h1 /* ZD1211 USB-WLAN driver for Linux
3 * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de>
4 * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org>
42 * of short or long preambles in 802.11b (CCK mode) or the use of 802.11a or
45 * The term zd-rate is used for the combination of the modulation type flag
56 * codeing for the 1 and 2 MBit/s rate. We stay with the term here to remain
57 * consistent with uses the term at other places.
64 * with the modulation type flag and call the resulting values zd-rates.
168 unsigned long last_update;
198 unsigned long flags;
[all …]

12345678910>>...27