Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/
H A Dpinctrl-th1520.c63 static void __iomem *th1520_padcfg(struct th1520_pinctrl *thp, in th1520_padcfg() argument
66 return thp->base + 4 * (pin / 2); in th1520_padcfg()
74 static void __iomem *th1520_muxcfg(struct th1520_pinctrl *thp, in th1520_muxcfg() argument
77 return thp->base + 0x400 + 4 * (pin / 8); in th1520_muxcfg()
358 struct th1520_pinctrl *thp = pinctrl_dev_get_drvdata(pctldev); in th1520_pinctrl_get_groups_count() local
360 return thp->desc.npins; in th1520_pinctrl_get_groups_count()
366 struct th1520_pinctrl *thp = pinctrl_dev_get_drvdata(pctldev); in th1520_pinctrl_get_group_name() local
368 return thp->desc.pins[gsel].name; in th1520_pinctrl_get_group_name()
376 struct th1520_pinctrl *thp = pinctrl_dev_get_drvdata(pctldev); in th1520_pinctrl_get_group_pins() local
378 *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.c95 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 Duffd-wp-mremap.c40 /* 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 Dvm_util.c358 uint64_t thp = -1; in __check_pmd_huge() local
365 if (sscanf(entry, "%9" SCNu64 " kB", &thp) != 1) in __check_pmd_huge()
369 return thp == (nr_hpages * (hpage_size >> 10)); in __check_pmd_huge()
H A Drun_vmtests.sh76 - thp
431 elif test_selected thp; then
H A Dhmm-tests.c2495 struct benchmark_results *thp, in TEST_F()
2498 double s2d_improvement = ((regular->sys_to_dev_time - thp->sys_to_dev_time) / in TEST_F()
2500 double d2s_improvement = ((regular->dev_to_sys_time - thp->dev_to_sys_time) / in TEST_F()
2502 double throughput_s2d_improvement = ((thp->throughput_s2d - regular->throughput_s2d) / in TEST_F()
2504 double throughput_d2s_improvement = ((thp->throughput_d2s - regular->throughput_d2s) / in TEST_F()
2511 thp->sys_to_dev_time, regular->sys_to_dev_time, s2d_improvement); in TEST_F()
2513 thp->dev_to_sys_time, regular->dev_to_sys_time, d2s_improvement); in TEST_F()
2515 thp->throughput_s2d, regular->throughput_s2d, throughput_s2d_improvement); in TEST_F()
2517 thp->throughput_d2s, regular->throughput_d2s, throughput_d2s_improvement); in TEST_F()
2783 print_benchmark_results(const char * test_name,size_t buffer_size,struct benchmark_results * thp,struct benchmark_results * regular) print_benchmark_results() argument
/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.rst623 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.c3453 struct nfs4_threshold *thp; in pnfs_mdsthreshold_alloc() local
3455 thp = kzalloc_obj(*thp, nfs_io_gfp_mask()); in pnfs_mdsthreshold_alloc()
3456 if (!thp) { in pnfs_mdsthreshold_alloc()
3460 return thp; in pnfs_mdsthreshold_alloc()