Searched refs:which (Results 1 - 25 of 523) sorted by relevance

1234567891011>>

/linux-master/arch/x86/include/asm/
H A Dclocksource.h16 static inline void vclocks_set_used(unsigned int which) argument
18 WRITE_ONCE(vclocks_used, READ_ONCE(vclocks_used) | (1 << which));
/linux-master/tools/testing/selftests/powerpc/dexcr/
H A Ddexcr_test.c16 static int dexcr_prctl_onexec_test_child(unsigned long which, const char *status) argument
19 unsigned long aspect = pr_which_to_aspect(which);
20 int ctrl = pr_get_dexcr(which);
48 static int dexcr_prctl_aspect_test(unsigned long which) argument
50 unsigned long aspect = pr_which_to_aspect(which);
57 SKIP_IF_MSG(!pr_dexcr_aspect_supported(which), "DEXCR aspect not supported");
58 SKIP_IF_MSG(!pr_dexcr_aspect_editable(which), "DEXCR aspect not editable with prctl");
61 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SET | PR_PPC_DEXCR_CTRL_CLEAR);
66 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SET_ONEXEC | PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC);
72 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SE
196 unsigned long which; local
[all...]
H A Ddexcr.c47 unsigned int pr_which_to_aspect(unsigned long which) argument
49 switch (which) {
63 int pr_get_dexcr(unsigned long which) argument
65 return prctl(PR_PPC_GET_DEXCR, which, 0UL, 0UL, 0UL);
68 int pr_set_dexcr(unsigned long which, unsigned long ctrl) argument
70 return prctl(PR_PPC_SET_DEXCR, which, ctrl, 0UL, 0UL);
73 bool pr_dexcr_aspect_supported(unsigned long which) argument
75 if (pr_get_dexcr(which) == -1)
81 bool pr_dexcr_aspect_editable(unsigned long which) argument
83 return pr_get_dexcr(which)
[all...]
H A Ddexcr.h35 unsigned long prctl; /* 'which' value for get/set prctl */
78 bool pr_dexcr_aspect_supported(unsigned long which);
80 bool pr_dexcr_aspect_editable(unsigned long which);
86 unsigned int pr_which_to_aspect(unsigned long which);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtailcall6.c13 int count, which; variable
19 if (__builtin_constant_p(which))
21 bpf_tail_call(skb, &jmp_table, which);
28 if (__builtin_constant_p(which))
30 bpf_tail_call(skb, &jmp_table, which);
/linux-master/tools/testing/selftests/powerpc/scripts/
H A Dhmi.sh12 elif which getscom > /dev/null; then
13 GETSCOM=$(which getscom)
14 PUTSCOM=$(which putscom)
/linux-master/tools/testing/selftests/riscv/hwprobe/
H A DMakefile7 TEST_GEN_PROGS := hwprobe cbo which-cpus
17 $(OUTPUT)/which-cpus: which-cpus.c sys_hwprobe.S
/linux-master/tools/power/cpupower/lib/
H A Dacpi_cppc.h19 enum acpi_cppc_value which);
H A Dacpi_cppc.c38 unsigned long acpi_cppc_get_data(unsigned int cpu, enum acpi_cppc_value which) argument
45 if (which >= MAX_CPPC_VALUE_FILES)
48 len = acpi_cppc_read_file(cpu, acpi_cppc_value_files[which],
/linux-master/tools/testing/selftests/timers/
H A Dposix_timers.c77 static int check_itimer(int which) argument
86 if (which == ITIMER_VIRTUAL)
88 else if (which == ITIMER_PROF)
90 else if (which == ITIMER_REAL)
97 if (which == ITIMER_VIRTUAL)
99 else if (which == ITIMER_PROF)
101 else if (which == ITIMER_REAL)
110 err = setitimer(which, &val, NULL);
116 if (which == ITIMER_VIRTUAL)
118 else if (which
134 check_timer_create(int which) argument
[all...]
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Djitterstop.sh18 echo jitterstop.sh: Missing directory in which to place jittering file.
H A Djitterstart.sh9 # jittering-dir: Directory in which to put "jittering" file.
27 echo jitterstart.sh: Missing directory in which to place jittering file.
/linux-master/drivers/staging/greybus/
H A Dgpio.c67 static int gb_gpio_activate_operation(struct gb_gpio_controller *ggc, u8 which) argument
77 request.which = which;
85 ggc->lines[which].active = true;
91 u8 which)
98 request.which = which;
102 dev_err(dev, "failed to deactivate gpio %u\n", which);
106 ggc->lines[which].active = false;
113 u8 which)
90 gb_gpio_deactivate_operation(struct gb_gpio_controller *ggc, u8 which) argument
112 gb_gpio_get_direction_operation(struct gb_gpio_controller *ggc, u8 which) argument
137 gb_gpio_direction_in_operation(struct gb_gpio_controller *ggc, u8 which) argument
151 gb_gpio_direction_out_operation(struct gb_gpio_controller *ggc, u8 which, bool value_high) argument
166 gb_gpio_get_value_operation(struct gb_gpio_controller *ggc, u8 which) argument
193 gb_gpio_set_value_operation(struct gb_gpio_controller *ggc, u8 which, bool value_high) argument
218 gb_gpio_set_debounce_operation(struct gb_gpio_controller *ggc, u8 which, u16 debounce_usec) argument
425 u8 which; local
454 u8 which; local
[all...]
H A Dpwm.c44 static int gb_pwm_activate_operation(struct pwm_chip *chip, u8 which) argument
51 request.which = which;
66 static int gb_pwm_deactivate_operation(struct pwm_chip *chip, u8 which) argument
73 request.which = which;
89 u8 which, u32 duty, u32 period)
96 request.which = which;
114 u8 which, u
88 gb_pwm_config_operation(struct pwm_chip *chip, u8 which, u32 duty, u32 period) argument
113 gb_pwm_set_polarity_operation(struct pwm_chip *chip, u8 which, u8 polarity) argument
137 gb_pwm_enable_operation(struct pwm_chip *chip, u8 which) argument
159 gb_pwm_disable_operation(struct pwm_chip *chip, u8 which) argument
[all...]
/linux-master/arch/powerpc/kernel/
H A Ddexcr.c31 static int prctl_to_aspect(unsigned long which, unsigned int *aspect) argument
33 switch (which) {
53 int get_dexcr_prctl(struct task_struct *task, unsigned long which) argument
58 ret = prctl_to_aspect(which, &aspect);
78 int set_dexcr_prctl(struct task_struct *task, unsigned long which, unsigned long ctrl) argument
84 err = prctl_to_aspect(which, &aspect);
/linux-master/tools/testing/selftests/ftrace/test.d/selftest/
H A Dbashisms.tc10 if ! which checkbashisms > /dev/null 2>&1 ; then
/linux-master/include/linux/
H A Dnospec.h68 int arch_prctl_spec_ctrl_get(struct task_struct *task, unsigned long which);
69 int arch_prctl_spec_ctrl_set(struct task_struct *task, unsigned long which,
H A Dvia_i2c.h24 struct i2c_adapter *viafb_find_i2c_adapter(enum viafb_i2c_adap which);
/linux-master/sound/soc/codecs/
H A Dwm8350.h19 int wm8350_hp_jack_detect(struct snd_soc_component *component, enum wm8350_jack which,
/linux-master/tools/testing/selftests/dt/
H A DMakefile1 PY3 = $(shell which python3 2>/dev/null)
/linux-master/include/uapi/linux/
H A Dv4l2-subdev.h32 * @which: format type (from enum v4l2_subdev_format_whence)
39 __u32 which; member in struct:v4l2_subdev_format
48 * @which: format type (from enum v4l2_subdev_format_whence)
59 __u32 which; member in struct:v4l2_subdev_crop
77 * @which: format type (from enum v4l2_subdev_format_whence)
86 __u32 which; member in struct:v4l2_subdev_mbus_code_enum
101 * @which: format type (from enum v4l2_subdev_format_whence)
113 __u32 which; member in struct:v4l2_subdev_frame_size_enum
123 * @which: interval type (from enum v4l2_subdev_format_whence)
130 __u32 which; member in struct:v4l2_subdev_frame_interval
153 __u32 which; member in struct:v4l2_subdev_frame_interval_enum
175 __u32 which; member in struct:v4l2_subdev_selection
239 __u32 which; member in struct:v4l2_subdev_routing
[all...]
/linux-master/arch/riscv/kernel/
H A Dfpu.S108 #define get_f32(which) fmv.x.s a0, which; j 2f
109 #define put_f32(which) fmv.s.x which, a1; j 2f
111 # define get_f64(which) fmv.x.d a0, which; j 2f
112 # define put_f64(which) fmv.d.x which, a1; j 2f
114 # define get_f64(which) fsd which,
[all...]
/linux-master/tools/testing/selftests/turbostat/
H A Ddefcolumns.py5 from shutil import which namespace
7 turbostat = which('turbostat')
12 timeout = which('timeout')
24 # which are only visible when running with --debug.
/linux-master/drivers/staging/media/av7110/
H A Dav7110_ipack.c18 p->which = 0;
228 p->which = 0;
286 if (p->mpeg == 1 && p->which < 2000) {
293 while (!p->which && c < count &&
305 if ((p->check & 0xc0) == 0x40 && !p->which) {
312 p->which = 1;
320 p->which = 2;
325 if (p->which == 1) {
331 p->which = 2;
339 p->which
[all...]
/linux-master/include/trace/events/
H A Dtimer.h254 * @now: pointer to variable which contains current time of the
326 * @which: name of the interval timer
333 TP_PROTO(int which, const struct itimerspec64 *const value,
336 TP_ARGS(which, value, expires),
339 __field( int, which )
348 __entry->which = which;
356 TP_printk("which=%d expires=%llu it_value=%ld.%06ld it_interval=%ld.%06ld",
357 __entry->which, __entry->expires,
364 * @which
[all...]

Completed in 427 milliseconds

1234567891011>>