Home
last modified time | relevance | path

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

/linux-6.15/drivers/pinctrl/
H A Dpinctrl-th1520.c67 return thp->base + 4 * (pin / 2); in th1520_padcfg()
361 return thp->desc.npins; in th1520_pinctrl_get_groups_count()
455 guard(mutex)(&thp->mutex); in th1520_pinctrl_dt_node_to_map()
812 return th1520_pinmux_set(thp, thp->desc.pins[gsel].number, in th1520_pinmux_set_mux()
854 struct th1520_pinctrl *thp; in th1520_pinctrl_probe() local
859 thp = devm_kzalloc(dev, sizeof(*thp), GFP_KERNEL); in th1520_pinctrl_probe()
860 if (!thp) in th1520_pinctrl_probe()
864 if (IS_ERR(thp->base)) in th1520_pinctrl_probe()
865 return PTR_ERR(thp->base); in th1520_pinctrl_probe()
891 mutex_init(&thp->mutex); in th1520_pinctrl_probe()
[all …]
/linux-6.15/drivers/net/slip/
H A Dslhc.c497 struct tcphdr *thp; in slhc_uncompress() local
534 thp = &cs->cs_tcp; 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()
572 thp->urg = 0; in slhc_uncompress()
577 thp->window = htons( ntohs(thp->window) + x); in slhc_uncompress()
583 thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); in slhc_uncompress()
589 thp->seq = htonl( ntohl(thp->seq) + x); in slhc_uncompress()
[all …]
/linux-6.15/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()
H A Devents.c26 struct thermal_handler_param *thp = arg; in handle_thermal_event() local
27 struct thermal_events_ops *ops = &thp->th->ops->events; in handle_thermal_event()
31 arg = thp->arg; in handle_thermal_event()
150 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_events_handle() local
156 handle_thermal_event, &thp)) in thermal_events_handle()
/linux-6.15/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() local
144 thp = 1; in main()
147 thp = 0; in main()
240 if (thp == 1) in main()
242 else if (thp == 0) in main()
H A Duffd-wp-mremap.c70 bool thp = !hugetlb && size > pagesize; in alloc_one_folio() local
86 if (thp) { in alloc_one_folio()
128 if (thp) in alloc_one_folio()
H A Dvm_util.c236 uint64_t thp = -1; in __check_huge() local
243 if (sscanf(entry, "%9" SCNu64 " kB", &thp) != 1) in __check_huge()
247 return thp == (nr_hpages * (hpage_size >> 10)); in __check_huge()
H A Drun_vmtests.sh68 - thp
/linux-6.15/drivers/i2c/busses/
H A Di2c-octeon-core.c679 unsigned int thp, mdiv_min, mdiv = 2, ndiv = 0, ds = 10; in octeon_i2c_set_clock() local
685 thp = TWSI_MASTER_CLK_REG_OTX2_VAL; in octeon_i2c_set_clock()
690 thp = TWSI_MASTER_CLK_REG_DEF_VAL; in octeon_i2c_set_clock()
733 thp = thp_idx; in octeon_i2c_set_clock()
740 octeon_i2c_reg_write(i2c, SW_TWSI_OP_TWSI_CLK, thp); in octeon_i2c_set_clock()
/linux-6.15/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.rst275 A lower value leads to gain less thp performance. Value of
550 is incremented every time a huge zero page used for thp is
/linux-6.15/include/trace/events/
H A Dthp.h3 #define TRACE_SYSTEM thp
/linux-6.15/tools/perf/bench/
H A Dnuma.c114 int thp; member
198 OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"),
426 int init_zero, int init_cpu0, int thp, int init_random) in alloc_data() argument
450 if (thp > 0) { in alloc_data()
457 if (thp < 0) { in alloc_data()
509 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data()
517 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data()
526 return alloc_data(bytes, MAP_PRIVATE, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_private_data()
/linux-6.15/fs/nfs/
H A Dpnfs.c3426 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()