/kernel/linux/linux-6.6/drivers/clk/at91/ |
H A D | clk-system.c | 43 struct clk_system *sys = to_clk_system(hw); in clk_system_prepare() local 45 regmap_write(sys->regmap, AT91_PMC_SCER, 1 << sys->id); in clk_system_prepare() 47 if (!is_pck(sys->id)) in clk_system_prepare() 50 while (!clk_system_ready(sys->regmap, sys->id)) in clk_system_prepare() 58 struct clk_system *sys = to_clk_system(hw); in clk_system_unprepare() local 60 regmap_write(sys->regmap, AT91_PMC_SCDR, 1 << sys->id); in clk_system_unprepare() 65 struct clk_system *sys in clk_system_is_prepared() local 83 struct clk_system *sys = to_clk_system(hw); clk_system_save_context() local 92 struct clk_system *sys = to_clk_system(hw); clk_system_restore_context() local 111 struct clk_system *sys; at91_clk_register_system() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/at91/ |
H A D | clk-system.c | 42 struct clk_system *sys = to_clk_system(hw); in clk_system_prepare() local 44 regmap_write(sys->regmap, AT91_PMC_SCER, 1 << sys->id); in clk_system_prepare() 46 if (!is_pck(sys->id)) in clk_system_prepare() 49 while (!clk_system_ready(sys->regmap, sys->id)) in clk_system_prepare() 57 struct clk_system *sys = to_clk_system(hw); in clk_system_unprepare() local 59 regmap_write(sys->regmap, AT91_PMC_SCDR, 1 << sys->id); in clk_system_unprepare() 64 struct clk_system *sys in clk_system_is_prepared() local 90 struct clk_system *sys; at91_clk_register_system() local [all...] |
/kernel/linux/build/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/ |
H A D | cpuisolation05.sh | 28 tracing_on=$(cat /sys/kernel/debug/tracing/tracing_on) 29 eval_need=$(cat /sys/kernel/debug/tracing/events/sched/core_ctl_eval_need/enable) 30 set_busy=$(cat /sys/kernel/debug/tracing/events/sched/core_ctl_set_busy/enable) 31 update_nr_need=$(cat /sys/kernel/debug/tracing/events/sched/core_ctl_update_nr_need/enable) 37 echo 1 > /sys/kernel/debug/tracing/tracing_on 38 echo 1 > /sys/kernel/debug/tracing/events/sched/core_ctl_eval_need/enable 39 echo 1 > /sys/kernel/debug/tracing/events/sched/core_ctl_set_busy/enable 40 echo 1 > /sys/kernel/debug/tracing/events/sched/core_ctl_update_nr_need/enable 52 echo 1 /sys/devices/system/cpu/cpu0/core_ctl/max_cpus 53 echo $((RANDOM %4 + 1)) /sys/device [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | spdxcheck.py | 9 import sys namespace 201 sys.stdout.write('%s: %d:%d %s: %s\n' %(fname, self.curline, col, pe.txt, tok)) 203 sys.stdout.write('%s: %d:0 %s\n' %(fname, self.curline, col, pe.txt)) 235 sys.stderr.write('stdin input "-" must be the only path argument\n') 236 sys.exit(1) 251 sys.stderr.write('%s: %s\n' %(se.el.path, se.txt)) 253 sys.stderr.write('%s\n' %se.txt) 254 sys.exit(1) 257 sys.stderr.write('FAIL: %s\n' %ex) 258 sys [all...] |
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | bios32.c | 364 struct pci_sys_data *sys = dev->sysdata; in pcibios_swizzle() local 367 if (sys->swizzle) in pcibios_swizzle() 368 slot = sys->swizzle(dev, pin); in pcibios_swizzle() 384 struct pci_sys_data *sys = dev->sysdata; in pcibios_map_irq() local 387 if (sys->map_irq) in pcibios_map_irq() 388 irq = sys->map_irq(dev, slot, pin); in pcibios_map_irq() 397 static int pcibios_init_resource(int busnr, struct pci_sys_data *sys) in pcibios_init_resource() argument 402 if (list_empty(&sys->resources)) { in pcibios_init_resource() 403 pci_add_resource_offset(&sys->resources, in pcibios_init_resource() 404 &iomem_resource, sys in pcibios_init_resource() 431 struct pci_sys_data *sys = NULL; pcibios_init_hw() local 498 struct pci_sys_data *sys; pci_common_init_dev() local [all...] |
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | bios32.c | 362 struct pci_sys_data *sys = dev->sysdata; in pcibios_swizzle() local 365 if (sys->swizzle) in pcibios_swizzle() 366 slot = sys->swizzle(dev, pin); in pcibios_swizzle() 382 struct pci_sys_data *sys = dev->sysdata; in pcibios_map_irq() local 385 if (sys->map_irq) in pcibios_map_irq() 386 irq = sys->map_irq(dev, slot, pin); in pcibios_map_irq() 395 static int pcibios_init_resource(int busnr, struct pci_sys_data *sys) in pcibios_init_resource() argument 400 if (list_empty(&sys->resources)) { in pcibios_init_resource() 401 pci_add_resource_offset(&sys->resources, in pcibios_init_resource() 402 &iomem_resource, sys in pcibios_init_resource() 429 struct pci_sys_data *sys = NULL; pcibios_init_hw() local 496 struct pci_sys_data *sys; pci_common_init_dev() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | nx_huge_pages_test.sh | 11 NX_HUGE_PAGES=$(cat /sys/module/kvm/parameters/nx_huge_pages) 12 NX_HUGE_PAGES_RECOVERY_RATIO=$(cat /sys/module/kvm/parameters/nx_huge_pages_recovery_ratio) 13 NX_HUGE_PAGES_RECOVERY_PERIOD=$(cat /sys/module/kvm/parameters/nx_huge_pages_recovery_period_ms) 14 HUGE_PAGES=$(cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages) 29 sudo_echo 1 /sys/module/kvm/parameters/nx_huge_pages 30 sudo_echo 1 /sys/module/kvm/parameters/nx_huge_pages_recovery_ratio 31 sudo_echo 100 /sys/module/kvm/parameters/nx_huge_pages_recovery_period_ms 32 sudo_echo "$(( $HUGE_PAGES + 3 ))" /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages 53 sudo_echo "$NX_HUGE_PAGES" /sys/module/kvm/parameters/nx_huge_pages 54 sudo_echo "$NX_HUGE_PAGES_RECOVERY_RATIO" /sys/modul [all...] |
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/atm/ |
H A D | cxacru-cf.py | 29 import sys namespace 34 buf = sys.stdin.read(4) 39 sys.stdout.write("\n") 40 sys.stderr.write("Error: read {0} not 4 bytes\n".format(len(buf))) 41 sys.exit(1) 44 sys.stdout.write(" ") 45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0])) 48 sys.stdout.write("\n")
|
/kernel/linux/linux-6.6/Documentation/networking/device_drivers/atm/ |
H A D | cxacru-cf.py | 29 import sys namespace 34 buf = sys.stdin.read(4) 39 sys.stdout.write("\n") 40 sys.stderr.write("Error: read {0} not 4 bytes\n".format(len(buf))) 41 sys.exit(1) 44 sys.stdout.write(" ") 45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0])) 48 sys.stdout.write("\n")
|
/kernel/linux/build/test/moduletest/runtest/bin/ |
H A D | enhancedswap_t_init.sh | 32 echo ${hyperhold_device} > /proc/sys/kernel/hyperhold/device 33 echo ${hyperhold_enable} > /proc/sys/kernel/hyperhold/enable 34 echo ${zram0_group} > /sys/block/zram0/group 35 echo ${zram0_disksize} > /sys/block/zram0/disksize 38 echo 1 > /sys/block/zram0/reset 45 hyperhold_device=$(cat /proc/sys/kernel/hyperhold/device) 46 echo /dev/block/loop7 > /proc/sys/kernel/hyperhold/device 51 hyperhold_enable=$(cat /proc/sys/kernel/hyperhold/enable) 52 echo enable > /proc/sys/kernel/hyperhold/enable 57 zram0_group=$(cat /sys/bloc [all...] |
H A D | mem_debug_t_init.sh | 33 hyperhold_device=$(cat /proc/sys/kernel/hyperhold/device) 34 echo /dev/block/loop6 > /proc/sys/kernel/hyperhold/device 39 hyperhold_enable=$(cat /proc/sys/kernel/hyperhold/enable) 40 echo enable > /proc/sys/kernel/hyperhold/enable 45 zram0_group=$(cat /sys/block/zram0/group) 46 zram0_disksize=$(cat /sys/block/zram0/disksize) 47 echo readwrite > /sys/block/zram0/group 48 echo 512M > /sys/block/zram0/disksize
|
/kernel/linux/linux-5.10/arch/arm/mach-dove/ |
H A D | pcie.c | 38 static int __init dove_pcie_setup(int nr, struct pci_sys_data *sys) in dove_pcie_setup() argument 46 sys->private_data = pp; in dove_pcie_setup() 47 pp->root_bus_nr = sys->busnr; in dove_pcie_setup() 52 orion_pcie_set_local_bus_nr(pp->base, sys->busnr); in dove_pcie_setup() 57 pci_ioremap_io(sys->busnr * SZ_64K, DOVE_PCIE0_IO_PHYS_BASE); in dove_pcie_setup() 59 pci_ioremap_io(sys->busnr * SZ_64K, DOVE_PCIE1_IO_PHYS_BASE); in dove_pcie_setup() 78 pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset); in dove_pcie_setup() 98 struct pci_sys_data *sys = bus->sysdata; in pcie_rd_conf() local 99 struct pcie_port *pp = sys in pcie_rd_conf() 118 struct pci_sys_data *sys = bus->sysdata; pcie_wr_conf() local 158 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); dove_pcie_scan_bus() local 176 struct pci_sys_data *sys = dev->sysdata; dove_pcie_map_irq() local [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | spdxcheck.py | 10 import sys namespace 233 sys.stdout.write('%s: %d:%d %s: %s\n' %(fname, self.curline, col, pe.txt, tok)) 235 sys.stdout.write('%s: %d:0 %s\n' %(fname, self.curline, pe.txt)) 341 sys.stderr.write('stdin input "-" must be the only path argument\n') 342 sys.exit(1) 357 sys.stderr.write('%s: %s\n' %(se.el.path, se.txt)) 359 sys.stderr.write('%s\n' %se.txt) 360 sys.exit(1) 363 sys.stderr.write('FAIL: %s\n' %ex) 364 sys [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-dove/ |
H A D | pcie.c | 35 static int __init dove_pcie_setup(int nr, struct pci_sys_data *sys) in dove_pcie_setup() argument 44 sys->private_data = pp; in dove_pcie_setup() 45 pp->root_bus_nr = sys->busnr; in dove_pcie_setup() 50 orion_pcie_set_local_bus_nr(pp->base, sys->busnr); in dove_pcie_setup() 54 realio.start = sys->busnr * SZ_64K; in dove_pcie_setup() 76 pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset); in dove_pcie_setup() 96 struct pci_sys_data *sys = bus->sysdata; in pcie_rd_conf() local 97 struct pcie_port *pp = sys->private_data; in pcie_rd_conf() 116 struct pci_sys_data *sys in pcie_wr_conf() local 161 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); dove_pcie_scan_bus() local 179 struct pci_sys_data *sys = dev->sysdata; dove_pcie_map_irq() local [all...] |
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | sctop.py | 13 import os, sys, time namespace 20 sys.path.append(os.environ['PERF_EXEC_PATH'] + \ 33 if len(sys.argv) > 3: 34 sys.exit(usage) 36 if len(sys.argv) > 2: 37 for_comm = sys.argv[1] 38 interval = int(sys.argv[2]) 39 elif len(sys.argv) > 1: 41 interval = int(sys.argv[1]) 43 for_comm = sys [all...] |
H A D | syscall-counts-by-pid.py | 10 import os, sys namespace 12 sys.path.append(os.environ['PERF_EXEC_PATH'] + \ 24 if len(sys.argv) > 2: 25 sys.exit(usage) 27 if len(sys.argv) > 1: 29 for_pid = int(sys.argv[1]) 31 for_comm = sys.argv[1]
|
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | sctop.py | 13 import os, sys, time namespace 20 sys.path.append(os.environ['PERF_EXEC_PATH'] + \ 33 if len(sys.argv) > 3: 34 sys.exit(usage) 36 if len(sys.argv) > 2: 37 for_comm = sys.argv[1] 38 interval = int(sys.argv[2]) 39 elif len(sys.argv) > 1: 41 interval = int(sys.argv[1]) 43 for_comm = sys [all...] |
H A D | syscall-counts-by-pid.py | 10 import os, sys namespace 12 sys.path.append(os.environ['PERF_EXEC_PATH'] + \ 24 if len(sys.argv) > 2: 25 sys.exit(usage) 27 if len(sys.argv) > 1: 29 for_pid = int(sys.argv[1]) 31 for_comm = sys.argv[1]
|
/kernel/linux/linux-5.10/arch/powerpc/oprofile/ |
H A D | op_model_pa6t.c | 80 struct op_system_config *sys, in pa6t_reg_setup() 94 sys->mmcr0 &= ~(0x1UL << pmc); in pa6t_reg_setup() 95 sys->mmcr0 &= ~(0x1UL << (pmc+12)); in pa6t_reg_setup() 99 if (sys->enable_kernel) in pa6t_reg_setup() 100 sys->mmcr0 |= PA6T_MMCR0_SUPEN | PA6T_MMCR0_HYPEN; in pa6t_reg_setup() 102 sys->mmcr0 &= ~(PA6T_MMCR0_SUPEN | PA6T_MMCR0_HYPEN); in pa6t_reg_setup() 104 if (sys->enable_user) in pa6t_reg_setup() 105 sys->mmcr0 |= PA6T_MMCR0_PREN; in pa6t_reg_setup() 107 sys->mmcr0 &= ~PA6T_MMCR0_PREN; in pa6t_reg_setup() 112 * structure (sys variabl in pa6t_reg_setup() 79 pa6t_reg_setup(struct op_counter_config *ctr, struct op_system_config *sys, int num_ctrs) pa6t_reg_setup() argument [all...] |
H A D | common.c | 25 static struct op_system_config sys; variable 56 op_per_cpu_rc = model->reg_setup(ctr, &sys, model->num_counters); in op_powerpc_setup() 127 oprofilefs_create_ulong(root, "mmcr0", &sys.mmcr0); in op_powerpc_create_files() 128 oprofilefs_create_ulong(root, "mmcr1", &sys.mmcr1); in op_powerpc_create_files() 129 oprofilefs_create_ulong(root, "mmcra", &sys.mmcra); in op_powerpc_create_files() 141 oprofilefs_create_ulong(root, "cell_support", &sys.cell_support); in op_powerpc_create_files() 142 sys.cell_support = 0x1; /* Note, the user OProfile tool must check in op_powerpc_create_files() 178 oprofilefs_create_ulong(root, "enable_kernel", &sys.enable_kernel); in op_powerpc_create_files() 179 oprofilefs_create_ulong(root, "enable_user", &sys.enable_user); in op_powerpc_create_files() 182 sys in op_powerpc_create_files() [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/ |
H A D | pci-nanoengine.c | 129 static int __init pci_nanoengine_setup_resources(struct pci_sys_data *sys) in pci_nanoengine_setup_resources() argument 146 pci_add_resource_offset(&sys->resources, &pci_io_ports, sys->io_offset); in pci_nanoengine_setup_resources() 147 pci_add_resource_offset(&sys->resources, in pci_nanoengine_setup_resources() 148 &pci_non_prefetchable_memory, sys->mem_offset); in pci_nanoengine_setup_resources() 149 pci_add_resource_offset(&sys->resources, in pci_nanoengine_setup_resources() 150 &pci_prefetchable_memory, sys->mem_offset); in pci_nanoengine_setup_resources() 155 int __init pci_nanoengine_setup(int nr, struct pci_sys_data *sys) in pci_nanoengine_setup() argument 163 sys->mem_offset = NANO_PCI_MEM_RW_PHYS; in pci_nanoengine_setup() 164 sys in pci_nanoengine_setup() [all...] |
/kernel/linux/linux-5.10/drivers/staging/greybus/tools/ |
H A D | lbtest | 34 import sys namespace 41 sys.exit(1) 53 ' /sys/bus/greybus/devices/endo0:1:1:1:1/\n' 58 .format(sys.argv[0]), file=sys.stderr) 157 print("Error: %s " % format(e.strerror), file=sys.stderr) 161 if len(sys.argv) < 5: 164 if sys.argv[1] in dict.keys(): 165 loopback_run(sys.argv[1], sys [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-mv78xx0/ |
H A D | pcie.c | 101 static int __init mv78xx0_pcie_setup(int nr, struct pci_sys_data *sys) in mv78xx0_pcie_setup() argument 109 sys->private_data = pp; in mv78xx0_pcie_setup() 110 pp->root_bus_nr = sys->busnr; in mv78xx0_pcie_setup() 115 orion_pcie_set_local_bus_nr(pp->base, sys->busnr); in mv78xx0_pcie_setup() 120 pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset); in mv78xx0_pcie_setup() 140 struct pci_sys_data *sys = bus->sysdata; in pcie_rd_conf() local 141 struct pcie_port *pp = sys->private_data; in pcie_rd_conf() 160 struct pci_sys_data *sys = bus->sysdata; in pcie_wr_conf() local 161 struct pcie_port *pp = sys in pcie_wr_conf() 199 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); mv78xx0_pcie_scan_bus() local 218 struct pci_sys_data *sys = dev->bus->sysdata; mv78xx0_pcie_map_irq() local [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-mv78xx0/ |
H A D | pcie.c | 98 static int __init mv78xx0_pcie_setup(int nr, struct pci_sys_data *sys) in mv78xx0_pcie_setup() argument 107 sys->private_data = pp; in mv78xx0_pcie_setup() 108 pp->root_bus_nr = sys->busnr; in mv78xx0_pcie_setup() 113 orion_pcie_set_local_bus_nr(pp->base, sys->busnr); in mv78xx0_pcie_setup() 120 pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset); in mv78xx0_pcie_setup() 140 struct pci_sys_data *sys = bus->sysdata; in pcie_rd_conf() local 141 struct pcie_port *pp = sys->private_data; in pcie_rd_conf() 160 struct pci_sys_data *sys = bus->sysdata; in pcie_wr_conf() local 161 struct pcie_port *pp = sys in pcie_wr_conf() 204 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); mv78xx0_pcie_scan_bus() local 223 struct pci_sys_data *sys = dev->bus->sysdata; mv78xx0_pcie_map_irq() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | run_vmtests.sh | 150 nr_hugepgs=$(cat /proc/sys/vm/nr_hugepages) 155 echo 3 > /proc/sys/vm/drop_caches 156 if ! echo $((lackpgs + nr_hugepgs)) > /proc/sys/vm/nr_hugepages; then 211 shmmax=$(cat /proc/sys/kernel/shmmax) 212 shmall=$(cat /proc/sys/kernel/shmall) 213 echo 268435456 > /proc/sys/kernel/shmmax 214 echo 4194304 > /proc/sys/kernel/shmall 216 echo "$shmmax" > /proc/sys/kernel/shmmax 217 echo "$shmall" > /proc/sys/kernel/shmall 255 echo "$nr_hugepgs" > /proc/sys/v [all...] |