| /linux/drivers/pinctrl/ |
| H A D | pinctrl-th1520.c | 64 static void __iomem *th1520_padcfg(struct th1520_pinctrl *thp, in th1520_padcfg() argument 67 return thp->base + 4 * (pin / 2); in th1520_padcfg() 75 static void __iomem *th1520_muxcfg(struct th1520_pinctrl *thp, in th1520_muxcfg() argument 78 return thp->base + 0x400 + 4 * (pin / 8); in th1520_muxcfg() 359 struct th1520_pinctrl *thp = pinctrl_dev_get_drvdata(pctldev); in th1520_pinctrl_get_groups_count() local 361 return thp->desc.npins; in th1520_pinctrl_get_groups_count() 367 struct th1520_pinctrl *thp = pinctrl_dev_get_drvdata(pctldev); in th1520_pinctrl_get_group_name() local 369 return thp->desc.pins[gsel].name; in th1520_pinctrl_get_group_name() 377 struct th1520_pinctrl *thp = pinctrl_dev_get_drvdata(pctldev); in th1520_pinctrl_get_group_pins() local 379 *pins = &thp->desc.pins[gsel].number; in th1520_pinctrl_get_group_pins() [all …]
|
| /linux/tools/lib/thermal/ |
| H A D | sampling.c | 16 struct thermal_handler_param *thp = arg; in handle_thermal_sample() local 17 struct thermal_handler *th = thp->th; in handle_thermal_sample() 19 arg = thp->arg; in handle_thermal_sample() 36 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_sampling_handle() local 42 handle_thermal_sample, &thp)) in thermal_sampling_handle()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | gup_test.c | 95 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main() 147 thp = 1; in main() 150 thp = 0; in main() 252 if (thp == 1) in main() 254 else if (thp == 0) in main() 94 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; main() local
|
| H A D | uffd-wp-mremap.c | 40 /* thp not supported at all. */ in detect_thp_sizes() 76 bool thp = !hugetlb && size > pagesize; in alloc_one_folio() 92 if (thp) { in alloc_one_folio() 134 if (thp) in check_uffd_wp_state() 297 /* thp. */ 65 bool thp = !hugetlb && size > pagesize; alloc_one_folio() local
|
| H A D | vm_util.c | 236 uint64_t thp = -1; in __check_huge() 243 if (sscanf(entry, "%9" SCNu64 " kB", &thp) != 1) in __check_huge() 247 return thp == (nr_hpages * (hpage_size >> 10)); in __check_huge() 237 uint64_t thp = -1; __check_huge() local
|
| H A D | hmm-tests.c | 2782 struct benchmark_results *thp, in run_migration_benchmark() 2785 double s2d_improvement = ((regular->sys_to_dev_time - thp->sys_to_dev_time) / in run_migration_benchmark() 2787 double d2s_improvement = ((regular->dev_to_sys_time - thp->dev_to_sys_time) / in run_migration_benchmark() 2789 double throughput_s2d_improvement = ((thp->throughput_s2d - regular->throughput_s2d) / in run_migration_benchmark() 2791 double throughput_d2s_improvement = ((thp->throughput_d2s - regular->throughput_d2s) / in run_migration_benchmark() 2798 thp->sys_to_dev_time, regular->sys_to_dev_time, s2d_improvement); in run_migration_benchmark() 2800 thp->dev_to_sys_time, regular->dev_to_sys_time, d2s_improvement); in run_migration_benchmark() 2802 thp->throughput_s2d, regular->throughput_s2d, throughput_s2d_improvement); 2804 thp->throughput_d2s, regular->throughput_d2s, throughput_d2s_improvement); 2692 print_benchmark_results(const char * test_name,size_t buffer_size,struct benchmark_results * thp,struct benchmark_results * regular) print_benchmark_results() argument
|
| H A D | run_vmtests.sh | 76 - thp 134 # -t: thp=on, -T: thp=off, -H: hugetlb=on 145 # because it's default thp size (or 2M on x86), 123 to 188 if [ ${CATEGORY} == "thp" -o ${CATEGORY} == "hugetlb" ]; then 406 CATEGORY="thp" run_test ./khugepaged 408 CATEGORY="thp" run_test ./khugepaged -s 2 410 CATEGORY="thp" run_test ./khugepaged all:shmem 412 CATEGORY="thp" run_test ./khugepaged -s 4 all:shmem 416 if test_selected "thp"; the [all...] |
| /linux/Documentation/admin-guide/mm/ |
| H A D | shrinker_debugfs.rst | 33 sb-bpf-32 sb-pipefs-14 sb-sysfs-26 thp-deferred_split-10 34 sb-btrfs:vda2-24 sb-proc-25 sb-tmpfs-1 thp-zero-9
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-octeon-core.c | 833 unsigned int thp, mdiv_min, mdiv = 2, ndiv = 0, ds = 10; in octeon_i2c_set_clock() local 839 thp = TWSI_MASTER_CLK_REG_OTX2_VAL; in octeon_i2c_set_clock() 844 thp = TWSI_MASTER_CLK_REG_DEF_VAL; in octeon_i2c_set_clock() 887 thp = thp_idx; in octeon_i2c_set_clock() 894 octeon_i2c_reg_write(i2c, SW_TWSI_OP_TWSI_CLK, thp); in octeon_i2c_set_clock()
|
| /linux/include/trace/events/ |
| H A D | thp.h | 3 #define TRACE_SYSTEM thp
|