| /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 | 94 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main() local 145 thp = 1; in main() 148 thp = 0; in main() 237 if (thp == 1) in main() 239 else if (thp == 0) in main()
|
| H A D | uffd-wp-mremap.c | 65 bool thp = !hugetlb && size > pagesize; in alloc_one_folio() local 81 if (thp) { in alloc_one_folio() 123 if (thp) in alloc_one_folio()
|
| H A D | vm_util.c | 237 uint64_t thp = -1; in __check_huge() local 244 if (sscanf(entry, "%9" SCNu64 " kB", &thp) != 1) in __check_huge() 248 return thp == (nr_hpages * (hpage_size >> 10)); in __check_huge()
|
| H A D | hmm-tests.c | 2642 struct benchmark_results *thp, in TEST_F() 2645 double s2d_improvement = ((regular->sys_to_dev_time - thp->sys_to_dev_time) / in TEST_F() 2647 double d2s_improvement = ((regular->dev_to_sys_time - thp->dev_to_sys_time) / in TEST_F() 2649 double throughput_s2d_improvement = ((thp->throughput_s2d - regular->throughput_s2d) / in TEST_F() 2651 double throughput_d2s_improvement = ((thp->throughput_d2s - regular->throughput_d2s) / in TEST_F() 2658 thp->sys_to_dev_time, regular->sys_to_dev_time, s2d_improvement); in TEST_F() 2660 thp->dev_to_sys_time, regular->dev_to_sys_time, d2s_improvement); in TEST_F() 2662 thp->throughput_s2d, regular->throughput_s2d, throughput_s2d_improvement); in TEST_F() 2664 thp->throughput_d2s, regular->throughput_d2s, throughput_d2s_improvement); 2693 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 241 if [ ${CATEGORY} == "thp" -o ${CATEGORY} == "hugetlb" ]; then 484 CATEGORY="thp" run_test ./khugepaged 486 CATEGORY="thp" run_test ./khugepaged -s 2 488 CATEGORY="thp" run_test ./khugepaged all:shmem 490 CATEGORY="thp" run_test ./khugepaged -s 4 all:shmem 492 CATEGORY="thp" run_tes [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
|
| H A D | transhuge.rst | 318 A lower value leads to gain less thp performance. Value of 606 is incremented every time a huge zero page used for thp is
|
| /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
|
| /linux/fs/nfs/ |
| H A D | pnfs.c | 3463 struct nfs4_threshold *thp; in pnfs_mdsthreshold_alloc() local 3465 thp = kzalloc_obj(*thp, nfs_io_gfp_mask()); in pnfs_mdsthreshold_alloc() 3466 if (!thp) { in pnfs_mdsthreshold_alloc() 3470 return thp; in pnfs_mdsthreshold_alloc()
|