Home
last modified time | relevance | path

Searched +full:max +full:- +full:cur (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/linux-6.14.4/arch/arm/boot/dts/ti/omap/
Domap3-echo.dts1 // SPDX-License-Identifier: GPL-2.0-only
5 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
14 compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3";
18 cpu0-supply = <&vdd1_reg>;
28 compatible = "regulator-fixed";
29 regulator-name = "vcc5v";
30 regulator-min-microvolt = <5000000>;
31 regulator-max-microvolt = <5000000>;
[all …]
Domap3-n900.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2013-2014 Aaro Koskinen <[email protected]>
7 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/media/video-interfaces.h>
15 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall
17 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch"
18 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no
34 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3";
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/leds/
Dleds-lp55xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lp55xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <[email protected]>
11 - Pavel Machek <[email protected]>
27 - national,lp5521
28 - national,lp5523
29 - ti,lp55231
30 - ti,lp5562
[all …]
/linux-6.14.4/arch/arm/boot/dts/st/
Dste-href.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/leds/common.h>
8 #include "ste-href-family-pinctrl.dtsi"
17 compatible = "simple-battery";
18 battery-type = "lithium-ion-polymer";
21 thermal-zones {
22 battery-thermal {
24 polling-delay = <0>;
[all …]
/linux-6.14.4/drivers/infiniband/hw/cxgb4/
Dresource.c2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
42 if (c4iw_id_table_alloc(&rdev->resource.qid_table, in c4iw_init_qid_table()
43 rdev->lldi.vr->qp.start, in c4iw_init_qid_table()
44 rdev->lldi.vr->qp.size, in c4iw_init_qid_table()
45 rdev->lldi.vr->qp.size, 0)) in c4iw_init_qid_table()
46 return -ENOMEM; in c4iw_init_qid_table()
48 for (i = rdev->lldi.vr->qp.start; in c4iw_init_qid_table()
49 i < rdev->lldi.vr->qp.start + rdev->lldi.vr->qp.size; i++) in c4iw_init_qid_table()
[all …]
/linux-6.14.4/fs/xfs/libxfs/
Dxfs_rmap_btree.c1 // SPDX-License-Identifier: GPL-2.0
33 * This is a per-ag tree used to track the owner(s) of a given extent. With
57 struct xfs_btree_cur *cur) in xfs_rmapbt_dup_cursor() argument
59 return xfs_rmapbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_rmapbt_dup_cursor()
60 cur->bc_ag.agbp, to_perag(cur->bc_group)); in xfs_rmapbt_dup_cursor()
65 struct xfs_btree_cur *cur, in xfs_rmapbt_set_root() argument
69 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_set_root()
70 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_set_root()
71 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_rmapbt_set_root()
73 ASSERT(ptr->s != 0); in xfs_rmapbt_set_root()
[all …]
Dxfs_ialloc_btree.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
30 struct xfs_btree_cur *cur, in xfs_inobt_get_minrecs() argument
33 return M_IGEO(cur->bc_mp)->inobt_mnr[level != 0]; in xfs_inobt_get_minrecs()
38 struct xfs_btree_cur *cur) in xfs_inobt_dup_cursor() argument
40 return xfs_inobt_init_cursor(to_perag(cur->bc_group), cur->bc_tp, in xfs_inobt_dup_cursor()
41 cur->bc_ag.agbp); in xfs_inobt_dup_cursor()
46 struct xfs_btree_cur *cur) in xfs_finobt_dup_cursor() argument
48 return xfs_finobt_init_cursor(to_perag(cur->bc_group), cur->bc_tp, in xfs_finobt_dup_cursor()
49 cur->bc_ag.agbp); in xfs_finobt_dup_cursor()
[all …]
Dxfs_btree_staging.c1 // SPDX-License-Identifier: GPL-2.0-or-later
49 * xfs_btree_stage_afakeroot to set up the in-memory cursor as a staging
56 * Initialize a AG-rooted btree cursor with the given AG btree fake root.
60 struct xfs_btree_cur *cur, in xfs_btree_stage_afakeroot() argument
63 ASSERT(!(cur->bc_flags & XFS_BTREE_STAGING)); in xfs_btree_stage_afakeroot()
64 ASSERT(cur->bc_ops->type != XFS_BTREE_TYPE_INODE); in xfs_btree_stage_afakeroot()
65 ASSERT(cur->bc_tp == NULL); in xfs_btree_stage_afakeroot()
67 cur->bc_ag.afake = afake; in xfs_btree_stage_afakeroot()
68 cur->bc_nlevels = afake->af_levels; in xfs_btree_stage_afakeroot()
69 cur->bc_flags |= XFS_BTREE_STAGING; in xfs_btree_stage_afakeroot()
[all …]
Dxfs_alloc_btree.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
28 struct xfs_btree_cur *cur) in xfs_bnobt_dup_cursor() argument
30 return xfs_bnobt_init_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ag.agbp, in xfs_bnobt_dup_cursor()
31 to_perag(cur->bc_group)); in xfs_bnobt_dup_cursor()
36 struct xfs_btree_cur *cur) in xfs_cntbt_dup_cursor() argument
38 return xfs_cntbt_init_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ag.agbp, in xfs_cntbt_dup_cursor()
39 to_perag(cur->bc_group)); in xfs_cntbt_dup_cursor()
44 struct xfs_btree_cur *cur, in xfs_allocbt_set_root() argument
48 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_allocbt_set_root()
[all …]
/linux-6.14.4/drivers/block/drbd/
Ddrbd_vli.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 -*- linux-c -*-
7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH.
8 Copyright (C) 1999-2008, Philipp Reisner <[email protected]>.
9 Copyright (C) 2002-2008, Lars Ellenberg <[email protected]>.
19 * and possibly small-bandwidth replication,
55 * * simple byte-based
79 prefix data bits max val Nº data bits
108 -+-----------------------------------------------------------------------
140 if ((in & ((1 << b) -1)) == v) { \ in vli_decode_bits()
[all …]
/linux-6.14.4/tools/power/cpupower/
Dcpupower-completion.sh1 # -*- shell-script -*-
5 _cpupower_commands="frequency-info frequency-set idle-info idle-set set info monitor"
9-f -w -l -d -p -g -a -s -y -o -m -n --freq --hwfreq --hwlimits --driver --policy --governors --rel…
10 local prev="${COMP_WORDS[COMP_CWORD-1]}"
11 local cur="${COMP_WORDS[COMP_CWORD]}"
13 frequency-info) COMPREPLY=($(compgen -W "$flags" -- "$cur")) ;;
19 local flags="-f -g --freq --governor -d --min -u --max -r --related"
20 local prev="${COMP_WORDS[COMP_CWORD-1]}"
21 local cur="${COMP_WORDS[COMP_CWORD]}"
23 -f| --freq | -d | --min | -u | --max)
[all …]
/linux-6.14.4/tools/power/cpupower/utils/helpers/
Dbitmask.c1 // SPDX-License-Identifier: GPL-2.0
12 #define howmany(x, y) (((x)+((y)-1))/(y))
17 #define max(a, b) ((a) > (b) ? (a) : (b)) macro
31 bmp->size = n; in bitmask_alloc()
32 bmp->maskp = calloc(longsperbits(n), sizeof(unsigned long)); in bitmask_alloc()
33 if (!bmp->maskp) { in bitmask_alloc()
45 free(bmp->maskp); in bitmask_free()
46 bmp->maskp = (unsigned long *)0xdeadcdef; /* double free tripwire */ in bitmask_free()
52 * routines that actually understand the layout of bmp->maskp[].
64 if (n < bmp->size) in _getbit()
[all …]
/linux-6.14.4/tools/testing/selftests/mm/
Dmlock-random-test.c1 // SPDX-License-Identifier: GPL-2.0
25 #define PAGE_ALIGN(size, ps) (((size) + ((ps) - 1)) & ~((ps) - 1))
27 int set_cap_limits(rlim_t max) in set_cap_limits() argument
32 new.rlim_cur = max; in set_cap_limits()
33 new.rlim_max = max; in set_cap_limits()
36 return -1; in set_cap_limits()
42 return -1; in set_cap_limits()
51 int ret = -1; in get_proc_locked_vm_size()
74 return -1; in get_proc_locked_vm_size()
129 * return value: 0 - success
[all …]
/linux-6.14.4/drivers/staging/media/imx/
Dimx-media-fim.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include <media/v4l2-ctrls.h>
14 #include <media/v4l2-subdev.h>
16 #include "imx-media.h"
37 #define FIM_CL_TOLERANCE_MAX_DEF 0 /* no max tolerance (unbounded) */
73 return fim->icap_flags != IRQ_TYPE_NONE; in icap_enabled()
79 if (fi->denominator == 0) { in update_fim_nominal()
80 dev_dbg(fim->sd->dev, "no frame interval, FIM disabled\n"); in update_fim_nominal()
81 fim->enabled = false; in update_fim_nominal()
85 fim->nominal = DIV_ROUND_CLOSEST_ULL(1000000ULL * (u64)fi->numerator, in update_fim_nominal()
[all …]
/linux-6.14.4/fs/btrfs/
Ddefrag.c1 // SPDX-License-Identifier: GPL-2.0
8 #include "disk-io.h"
13 #include "delalloc-space.h"
16 #include "file-item.h"
41 * This value is different for compressed/non-compressed extents, thus
51 if (defrag1->root > defrag2->root) in compare_inode_defrag()
53 else if (defrag1->root < defrag2->root) in compare_inode_defrag()
54 return -1; in compare_inode_defrag()
55 else if (defrag1->ino > defrag2->ino) in compare_inode_defrag()
57 else if (defrag1->ino < defrag2->ino) in compare_inode_defrag()
[all …]
/linux-6.14.4/drivers/misc/cxl/
Dof.c1 // SPDX-License-Identifier: GPL-2.0-or-later
35 afu->guest->handle = addr; in read_phys_addr()
38 afu->guest->p2n_phys += addr; in read_phys_addr()
39 afu->guest->p2n_size = size; in read_phys_addr()
42 afu->psn_phys += addr; in read_phys_addr()
43 afu->adapter->ps_size = size; in read_phys_addr()
48 return -EINVAL; in read_phys_addr()
77 return of_property_read_reg(afu_np, 0, &afu->guest->handle, NULL); in cxl_of_read_afu_handle()
92 rc = read_phys_addr(np, "assigned-addresses", afu); in cxl_of_read_afu_properties()
96 if (afu->psn_phys == 0) in cxl_of_read_afu_properties()
[all …]
/linux-6.14.4/drivers/cpufreq/
Dcpufreq_userspace.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * (C) 2002 - 2004 Dominik Brodowski <[email protected]>
25 * cpufreq_set - set the CPU frequency
33 int ret = -EINVAL; in cpufreq_set()
34 struct userspace_policy *userspace = policy->governor_data; in cpufreq_set()
36 pr_debug("cpufreq_set for cpu %u, freq %u kHz\n", policy->cpu, freq); in cpufreq_set()
38 mutex_lock(&userspace->mutex); in cpufreq_set()
39 if (!userspace->is_managed) in cpufreq_set()
42 userspace->setspeed = freq; in cpufreq_set()
46 mutex_unlock(&userspace->mutex); in cpufreq_set()
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/
Dnouveau_dma.c37 * -EINVAL if GET pointer currently outside main push buffer
38 * -EBUSY if timeout exceeded
45 val = nvif_rd32(chan->userd, chan->user_get); in READ_GET()
46 if (chan->user_get_hi) in READ_GET()
47 val |= (uint64_t)nvif_rd32(chan->userd, chan->user_get_hi) << 32; in READ_GET()
61 return -EBUSY; in READ_GET()
64 if (val < chan->push.addr || in READ_GET()
65 val > chan->push.addr + (chan->dma.max << 2)) in READ_GET()
66 return -EINVAL; in READ_GET()
68 return (val - chan->push.addr) >> 2; in READ_GET()
[all …]
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/
Dimx6dl-yapp4-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2015-2018 Y Soft Corporation, a.s.
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/pwm/pwm.h>
20 compatible = "pwm-backlight";
22 brightness-levels = <0 32 64 128 255>;
23 default-brightness-level = <32>;
[all …]
Dimx6dl-yapp43-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/pwm/pwm.h>
20 compatible = "pwm-backlight";
22 brightness-levels = <0 32 64 128 255>;
23 default-brightness-level = <32>;
24 num-interpolated-steps = <8>;
[all …]
/linux-6.14.4/tools/testing/selftests/pcie_bwctrl/
Dset_pcie_cooling_state.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
5 # Kselftest framework requirement - SKIP code is 4.
21 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
23 if [ ! -d "$SYSFS" ]; then
33 ports=`grep -e "^$PCIEPORTTYPE" $SYSFS/class/thermal/cooling_device*/type | wc -l`
34 if [ $ports -eq 0 ]; then
45 local max
46 local cur
48 local bestdelta=-1
50 pcieports=`grep -l -F -e "$patt" /sys/class/thermal/cooling_device*/type`
[all …]
/linux-6.14.4/include/linux/mlx5/
Ddevice.h2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
51 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld)
56 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf…
57 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1…
58 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1))
60 #define __mlx5_mask16(typ, fld) ((u16)((1ull << __mlx5_bit_sz(typ, fld)) - 1))
255 MLX5_FP_BFREGS_PER_UAR = MLX5_BFREGS_PER_UAR -
499 * Max wqe size for rdma read is 512 bytes, so this
[all …]
/linux-6.14.4/drivers/hwmon/
Dlm77.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * lm77.c - Part of lm_sensors, Linux kernel modules for hardware
21 #include <linux/hwmon-sysfs.h>
65 #define LM77_TEMP_MIN (-55000)
83 * All registers are word-sized, except for the configuration register.
84 * The LM77 uses the high-byte first convention.
105 struct i2c_client *client = data->client; in lm77_update_device()
108 mutex_lock(&data->update_lock); in lm77_update_device()
110 if (time_after(jiffies, data->last_updated + HZ + HZ / 2) in lm77_update_device()
111 || !data->valid) { in lm77_update_device()
[all …]
/linux-6.14.4/drivers/power/supply/
Dsc2731_charger.c1 // SPDX-License-Identifier: GPL-2.0
69 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge()
72 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge()
81 ret = regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge()
87 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge()
105 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG5, in sc2731_charger_set_current_limit()
110 static int sc2731_charger_set_current(struct sc2731_charger_info *info, u32 cur) in sc2731_charger_set_current() argument
115 if (cur > SC2731_CURRENT_LIMIT_2000) in sc2731_charger_set_current()
116 cur = SC2731_CURRENT_LIMIT_2000; in sc2731_charger_set_current()
117 else if (cur < SC2731_CURRENT_PRECHG) in sc2731_charger_set_current()
[all …]
/linux-6.14.4/tools/testing/selftests/net/
Dtxtimestamp.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * - SCHED, SND and ACK timestamps
9 * - RAW, UDP and TCP
10 * - IPv4 and IPv6
11 * - various packet sizes (to test GSO and TSO)
17 * A simple `nc6 [-u] -l -p $DESTPORT` will do
87 static int saved_tskey = -1;
88 static int saved_tskey_type = -1;
92 int64_t max; member
105 return ts->tv_sec * NSEC_PER_SEC + ts->tv_nsec; in timespec_to_ns64()
[all …]

12345678910>>...18