| /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/drivers/net/slip/ |
| H A D | slhc.c | 497 struct tcphdr *thp; in slhc_uncompress() local 534 thp = &cs->cs_tcp; in slhc_uncompress() 537 thp->check = *(__sum16 *)cp; in slhc_uncompress() 540 thp->psh = (changes & TCP_PUSH_BIT) ? 1 : 0; in slhc_uncompress() 547 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress() 554 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); in slhc_uncompress() 555 thp->seq = htonl( ntohl(thp->seq) + i); in slhc_uncompress() 560 thp->seq = htonl( ntohl(thp->seq) + in slhc_uncompress() 566 thp->urg = 1; in slhc_uncompress() 570 thp->urg_ptr = htons(x); in slhc_uncompress() [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 | 2693 struct benchmark_results *thp, in print_benchmark_results() argument 2696 double s2d_improvement = ((regular->sys_to_dev_time - thp->sys_to_dev_time) / in print_benchmark_results() 2698 double d2s_improvement = ((regular->dev_to_sys_time - thp->dev_to_sys_time) / in print_benchmark_results() 2700 double throughput_s2d_improvement = ((thp->throughput_s2d - regular->throughput_s2d) / in print_benchmark_results() 2702 double throughput_d2s_improvement = ((thp->throughput_d2s - regular->throughput_d2s) / in print_benchmark_results() 2709 thp->sys_to_dev_time, regular->sys_to_dev_time, s2d_improvement); in print_benchmark_results() 2711 thp->dev_to_sys_time, regular->dev_to_sys_time, d2s_improvement); in print_benchmark_results() 2713 thp->throughput_s2d, regular->throughput_s2d, throughput_s2d_improvement); in print_benchmark_results() 2715 thp->throughput_d2s, regular->throughput_d2s, throughput_d2s_improvement); in print_benchmark_results()
|
| H A D | run_vmtests.sh | 72 - thp
|
| /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 | 3426 struct nfs4_threshold *thp; in pnfs_mdsthreshold_alloc() local 3428 thp = kzalloc(sizeof(*thp), nfs_io_gfp_mask()); in pnfs_mdsthreshold_alloc() 3429 if (!thp) { in pnfs_mdsthreshold_alloc() 3433 return thp; in pnfs_mdsthreshold_alloc()
|