Home
last modified time | relevance | path

Searched refs:thp (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/pinctrl/
H A Dpinctrl-th1520.c64 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 Dsampling.c16 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 Dgup_test.c94 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 Duffd-wp-mremap.c65 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 Dvm_util.c237 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 Dhmm-tests.c2642 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 Drun_vmtests.sh76 - 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 Dshrinker_debugfs.rst33 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 Dtranshuge.rst318 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 Di2c-octeon-core.c833 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 Dthp.h3 #define TRACE_SYSTEM thp
/linux/fs/nfs/
H A Dpnfs.c3463 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()