Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 3055) sorted by relevance

12345678910>>...123

/linux/tools/testing/selftests/powerpc/dexcr/
H A Ddexcr_test.c16 static int dexcr_prctl_onexec_test_child(unsigned long which, const char *status) in dexcr_prctl_onexec_test_child() argument
19 unsigned long aspect = pr_which_to_aspect(which); in dexcr_prctl_onexec_test_child()
20 int ctrl = pr_get_dexcr(which); in dexcr_prctl_onexec_test_child()
48 static int dexcr_prctl_aspect_test(unsigned long which) in dexcr_prctl_aspect_test() argument
50 unsigned long aspect = pr_which_to_aspect(which); in dexcr_prctl_aspect_test()
57 SKIP_IF_MSG(!pr_dexcr_aspect_supported(which), "DEXCR aspect not supported"); in dexcr_prctl_aspect_test()
58 SKIP_IF_MSG(!pr_dexcr_aspect_editable(which), "DEXCR aspect not editable with prctl"); in dexcr_prctl_aspect_test()
61 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SET | PR_PPC_DEXCR_CTRL_CLEAR); in dexcr_prctl_aspect_test()
66 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SET_ONEXEC | PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC); in dexcr_prctl_aspect_test()
72 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SET); in dexcr_prctl_aspect_test()
[all …]
H A Ddexcr.c47 unsigned int pr_which_to_aspect(unsigned long which) in pr_which_to_aspect() argument
49 switch (which) { in pr_which_to_aspect()
63 int pr_get_dexcr(unsigned long which) in pr_get_dexcr() argument
65 return prctl(PR_PPC_GET_DEXCR, which, 0UL, 0UL, 0UL); in pr_get_dexcr()
68 int pr_set_dexcr(unsigned long which, unsigned long ctrl) in pr_set_dexcr() argument
70 return prctl(PR_PPC_SET_DEXCR, which, ctrl, 0UL, 0UL); in pr_set_dexcr()
73 bool pr_dexcr_aspect_supported(unsigned long which) in pr_dexcr_aspect_supported() argument
75 if (pr_get_dexcr(which) == -1) in pr_dexcr_aspect_supported()
81 bool pr_dexcr_aspect_editable(unsigned long which) in pr_dexcr_aspect_editable() argument
83 return pr_get_dexcr(which) & PR_PPC_DEXCR_CTRL_EDITABLE; in pr_dexcr_aspect_editable()
/linux/drivers/staging/greybus/
H A Dgpio.c67 static int gb_gpio_activate_operation(struct gb_gpio_controller *ggc, u8 which) in gb_gpio_activate_operation() argument
77 request.which = which; in gb_gpio_activate_operation()
85 ggc->lines[which].active = true; in gb_gpio_activate_operation()
91 u8 which) in gb_gpio_deactivate_operation() argument
98 request.which = which; in gb_gpio_deactivate_operation()
102 dev_err(dev, "failed to deactivate gpio %u\n", which); in gb_gpio_deactivate_operation()
106 ggc->lines[which].active = false; in gb_gpio_deactivate_operation()
113 u8 which) in gb_gpio_get_direction_operation() argument
121 request.which = which; in gb_gpio_get_direction_operation()
131 which, direction); in gb_gpio_get_direction_operation()
[all …]
H A Dpwm.c44 static int gb_pwm_activate_operation(struct pwm_chip *chip, u8 which) in gb_pwm_activate_operation() argument
51 request.which = which; in gb_pwm_activate_operation()
66 static int gb_pwm_deactivate_operation(struct pwm_chip *chip, u8 which) in gb_pwm_deactivate_operation() argument
73 request.which = which; in gb_pwm_deactivate_operation()
89 u8 which, u32 duty, u32 period) in gb_pwm_config_operation() argument
96 request.which = which; in gb_pwm_config_operation()
114 u8 which, u8 polarity) in gb_pwm_set_polarity_operation() argument
121 request.which = which; in gb_pwm_set_polarity_operation()
137 static int gb_pwm_enable_operation(struct pwm_chip *chip, u8 which) in gb_pwm_enable_operation() argument
144 request.which = which; in gb_pwm_enable_operation()
[all …]
/linux/tools/testing/selftests/timers/
H A Dposix_timers.c95 static void check_itimer(int which, const char *name) in check_itimer()
104 if (which == ITIMER_VIRTUAL) in check_itimer()
106 else if (which == ITIMER_PROF) in check_itimer()
108 else if (which == ITIMER_REAL) in check_itimer()
114 if (setitimer(which, &val, NULL) < 0) in check_itimer()
117 if (which == ITIMER_VIRTUAL) in check_itimer()
119 else if (which == ITIMER_PROF) in check_itimer()
121 else if (which == ITIMER_REAL) in check_itimer()
130 static void check_timer_create(int which, const char *name) in check_itimer()
140 if (timer_create(which, NUL in check_timer_create()
77 check_itimer(int which) check_itimer() argument
134 check_timer_create(int which) check_timer_create() argument
[all...]
/linux/tools/testing/kunit/test_data/
H A Dtest_is_test_passed-no_tests_run_no_header.log39 Using a channel type which is configured out of UML
41 Using a channel type which is configured out of UML
43 Using a channel type which is configured out of UML
45 Using a channel type which is configured out of UML
47 Using a channel type which is configured out of UML
49 Using a channel type which is configured out of UML
51 Using a channel type which is configured out of UML
53 Using a channel type which is configured out of UML
55 Using a channel type which is configured out of UML
57 Using a channel type which is configured out of UML
[all …]
H A Dtest_output_isolated_correctly.log61 Using a channel type which is configured out of UML
63 Using a channel type which is configured out of UML
65 Using a channel type which is configured out of UML
67 Using a channel type which is configured out of UML
69 Using a channel type which is configured out of UML
71 Using a channel type which is configured out of UML
73 Using a channel type which is configured out of UML
75 Using a channel type which is configured out of UML
77 Using a channel type which is configured out of UML
79 Using a channel type which is configured out of UML
[all …]
/linux/drivers/staging/media/av7110/
H A Dav7110_ipack.c17 p->which = 0; in av7110_ipack_reset()
221 p->which = 0; in av7110_ipack_instant_repack()
280 if (p->mpeg == 1 && p->which < 2000) { in av7110_ipack_instant_repack()
286 while (!p->which && c < count && p->check == 0xff) { in av7110_ipack_instant_repack()
297 if ((p->check & 0xc0) == 0x40 && !p->which) { in av7110_ipack_instant_repack()
304 p->which = 1; in av7110_ipack_instant_repack()
312 p->which = 2; in av7110_ipack_instant_repack()
317 if (p->which == 1) { in av7110_ipack_instant_repack()
323 p->which = 2; in av7110_ipack_instant_repack()
331 p->which = 3; in av7110_ipack_instant_repack()
[all …]
/linux/include/linux/ceph/
H A Dosd_client.h467 unsigned int which, u16 opcode, u32 flags);
470 unsigned int which,
476 unsigned int which, u16 opcode,
480 unsigned int which, u64 length);
482 unsigned int which, u64 offset_inc);
486 unsigned int which);
489 unsigned int which,
494 unsigned int which,
498 unsigned int which,
503 unsigned int which,
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtailcall6.c13 int count, which; variable
19 if (__builtin_constant_p(which)) in classifier_0()
21 bpf_tail_call(skb, &jmp_table, which); in classifier_0()
28 if (__builtin_constant_p(which)) in entry()
30 bpf_tail_call(skb, &jmp_table, which); in entry()
/linux/arch/riscv/kernel/
H A Dfpu.S108 #define get_f32(which) fmv.x.s a0, which; j 2f argument
109 #define put_f32(which) fmv.s.x which, a1; j 2f argument
111 # define get_f64(which) fmv.x.d a0, which; j 2f argument
112 # define put_f64(which) fmv.d.x which, a1; j 2f argument
114 # define get_f64(which) fsd which, 0(a1); j 2f argument
115 # define put_f64(which) fld which, 0(a1); j 2f argument
/linux/arch/alpha/kernel/
H A Dsys_marvel.c189 io7_redirect_one_lsi(struct io7 *io7, unsigned int which, unsigned int where) in io7_redirect_one_lsi() argument
196 val = io7->csrs->PO7_LSI_CTL[which].csr; in io7_redirect_one_lsi()
200 io7->csrs->PO7_LSI_CTL[which].csr = val; in io7_redirect_one_lsi()
202 io7->csrs->PO7_LSI_CTL[which].csr; in io7_redirect_one_lsi()
206 io7_redirect_one_msi(struct io7 *io7, unsigned int which, unsigned int where) in io7_redirect_one_msi() argument
213 val = io7->csrs->PO7_MSI_CTL[which].csr; in io7_redirect_one_msi()
217 io7->csrs->PO7_MSI_CTL[which].csr = val; in io7_redirect_one_msi()
219 io7->csrs->PO7_MSI_CTL[which].csr; in io7_redirect_one_msi()
223 init_one_io7_lsi(struct io7 *io7, unsigned int which, unsigned int where) in init_one_io7_lsi() argument
228 io7->csrs->PO7_LSI_CTL[which].csr = ((unsigned long)where << 14); in init_one_io7_lsi()
[all …]
/linux/include/uapi/linux/
H A Dv4l2-subdev.h39 __u32 which; member
59 __u32 which; member
86 __u32 which; member
113 __u32 which; member
130 __u32 which; member
153 __u32 which; member
175 __u32 which; member
239 __u32 which; member
/linux/Documentation/dev-tools/
H A Dktap.rst11 which don't align with the original TAP specification. Thus, a "Kernel TAP"
16 KTAP test results describe a series of tests (which may be nested: i.e., test
17 can have subtests), each of which can contain both diagnostic data -- e.g., log
31 a couple of places (notably the "Subtest" header), which are described where
37 All KTAP-formatted results begin with a "version line" which specifies which
45 Note that, in KTAP, subtests also begin with a version line, which denotes the
46 start of the nested test results. This differs from TAP14, which uses a
62 which case the test plan may be omitted -- it is strongly recommended one is
75 The result can be either "ok", which indicates the test case passed,
76 or "not ok", which indicates that the test case failed.
[all …]
/linux/arch/powerpc/kernel/
H A Ddexcr.c31 static int prctl_to_aspect(unsigned long which, unsigned int *aspect) in early_initcall()
33 switch (which) { in early_initcall()
53 int get_dexcr_prctl(struct task_struct *task, unsigned long which) in get_dexcr_prctl() argument
58 ret = prctl_to_aspect(which, &aspect); in get_dexcr_prctl()
78 int set_dexcr_prctl(struct task_struct *task, unsigned long which, unsigned long ctrl) in set_dexcr_prctl() argument
84 err = prctl_to_aspect(which, &aspect); in set_dexcr_prctl()
/linux/include/trace/events/
H A Dtimer.h333 TP_PROTO(int which, const struct itimerspec64 *const value,
336 TP_ARGS(which, value, expires),
339 __field( int, which )
348 __entry->which = which;
357 __entry->which, __entry->expires,
370 TP_PROTO(int which, struct pid *pid, unsigned long long now),
372 TP_ARGS(which, pid, now),
375 __field( int , which )
381 __entry->which = which;
386 TP_printk("which=%d pid=%d now=%llu", __entry->which,
/linux/tools/power/cpupower/lib/
H A Dcpuidle.c137 enum idlestate_value which) in cpuidle_state_get_one_value() argument
144 if (which >= MAX_IDLESTATE_VALUE_FILES) in cpuidle_state_get_one_value()
148 idlestate_value_files[which], in cpuidle_state_get_one_value()
177 enum idlestate_string which) in cpuidle_state_get_one_string() argument
183 if (which >= MAX_IDLESTATE_STRING_FILES) in cpuidle_state_get_one_string()
187 idlestate_string_files[which], in cpuidle_state_get_one_string()
350 static char *sysfs_cpuidle_get_one_string(enum cpuidle_string which) in sysfs_cpuidle_get_one_string() argument
356 if (which >= MAX_CPUIDLE_STRING_FILES) in sysfs_cpuidle_get_one_string()
359 len = sysfs_cpuidle_read_file(cpuidle_string_files[which], in sysfs_cpuidle_get_one_string()
/linux/kernel/time/
H A Ditimer.c76 static int do_getitimer(int which, struct itimerspec64 *value) in do_getitimer() argument
80 switch (which) { in do_getitimer()
113 SYSCALL_DEFINE2(getitimer, int, which, struct __kernel_old_itimerval __user *, value) in SYSCALL_DEFINE2() argument
116 int error = do_getitimer(which, &get_buffer); in SYSCALL_DEFINE2()
141 COMPAT_SYSCALL_DEFINE2(getitimer, int, which, in COMPAT_SYSCALL_DEFINE2() argument
145 int error = do_getitimer(which, &get_buffer); in COMPAT_SYSCALL_DEFINE2()
206 static int do_setitimer(int which, struct itimerspec64 *value, in do_setitimer() argument
213 switch (which) { in do_setitimer()
332 SYSCALL_DEFINE3(setitimer, int, which, struct __kernel_old_itimerval __user *, value, in SYSCALL_DEFINE3() argument
349 error = do_setitimer(which, &set_buffer, ovalue ? &get_buffer : NULL); in SYSCALL_DEFINE3()
[all …]
/linux/include/linux/
H A Dskmsg.h179 #define sk_msg_iter_prev(msg, which) \ argument
180 sk_msg_iter_var_prev(msg->sg.which)
182 #define sk_msg_iter_next(msg, which) \ argument
183 sk_msg_iter_var_next(msg->sg.which)
193 int which, u32 size) in sk_msg_xfer() argument
195 dst->sg.data[which] = src->sg.data[which]; in sk_msg_xfer()
196 dst->sg.data[which].length = size; in sk_msg_xfer()
199 src->sg.data[which].length -= size; in sk_msg_xfer()
200 src->sg.data[which].offset += size; in sk_msg_xfer()
219 static inline struct scatterlist *sk_msg_elem(struct sk_msg *msg, int which) in sk_msg_elem() argument
[all …]
/linux/drivers/staging/media/omap4iss/
H A Diss_ipipe.c26 enum v4l2_subdev_format_whence which);
180 enum v4l2_subdev_format_whence which) in __ipipe_get_format() argument
182 if (which == V4L2_SUBDEV_FORMAT_TRY) in __ipipe_get_format()
200 enum v4l2_subdev_format_whence which) in ipipe_try_format() argument
226 which); in ipipe_try_format()
286 ipipe_try_format(ipipe, sd_state, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
296 ipipe_try_format(ipipe, sd_state, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
319 format = __ipipe_get_format(ipipe, sd_state, fmt->pad, fmt->which); in ipipe_get_format()
343 format = __ipipe_get_format(ipipe, sd_state, fmt->pad, fmt->which); in ipipe_set_format()
347 ipipe_try_format(ipipe, sd_state, fmt->pad, &fmt->format, fmt->which); in ipipe_set_format()
[all …]
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-vfe.c976 enum v4l2_subdev_format_whence which) in __vfe_get_format() argument
978 if (which == V4L2_SUBDEV_FORMAT_TRY) in __vfe_get_format()
995 enum v4l2_subdev_format_whence which) in __vfe_get_compose() argument
997 if (which == V4L2_SUBDEV_FORMAT_TRY) in __vfe_get_compose()
1015 enum v4l2_subdev_format_whence which) in __vfe_get_crop() argument
1017 if (which == V4L2_SUBDEV_FORMAT_TRY) in __vfe_get_crop()
1035 enum v4l2_subdev_format_whence which) in vfe_try_format() argument
1065 which); in vfe_try_format()
1072 rect = __vfe_get_crop(line, sd_state, which); in vfe_try_format()
1094 enum v4l2_subdev_format_whence which) in vfe_try_compose() argument
[all …]
/linux/net/bridge/netfilter/
H A DKconfig103 This option adds the among match, which allows matching the MAC source
112 This option adds the ARP match, which allows ARP and RARP header field
120 This option adds the IP match, which allows basic IP header field
129 This option adds the IP6 match, which allows basic IPV6 header field
137 This option adds the limit match, which allows you to control
138 the rate at which a rule can be matched. This match is the
147 This option adds the mark match, which allows matching frames based on
157 This option adds the packet type match, which allows matching on the
167 This option adds the Spanning Tree Protocol match, which
175 This option adds the 802.1Q vlan match, which allows the filtering of
[all …]
/linux/lib/
H A Dstackinit_kunit.c156 #define DEFINE_TEST_DRIVER(name, var_type, which, xfail) \ argument
160 var_type zero INIT_CLONE_ ## which; \
168 ZERO_CLONE_ ## which(zero); \
173 FETCH_ARG_ ## which(zero)); \
181 FETCH_ARG_ ## which(zero)); \
210 #define DEFINE_TEST(name, var_type, which, init_level, xfail) \ argument
212 static noinline DO_NOTHING_TYPE_ ## which(var_type) \
217 return DO_NOTHING_RETURN_ ## which(ptr); \
219 return DO_NOTHING_RETURN_ ## which(ptr + 1); \
226 INIT_ ## which ## _ ## init_level(var_type); \
[all …]
/linux/Documentation/hwmon/
H A Dpeci-cputemp.rst7 One of Intel server CPUs listed below which is connected to a PECI bus.
36 This driver implements a generic PECI hwmon feature which provides Digital
50 which is also known as Tcontrol.
51 temp1_crit Provides shutdown temperature of the CPU package which
61 which is also known as Tcontrol.
62 temp2_crit Provides shutdown temperature of the CPU package which
70 package which is also known as Fan Temperature target.
72 temperature at which fans should be engaged.
74 which is same to Tjmax.
/linux/tools/power/cpupower/utils/helpers/
H A Dsysfs.c205 enum idlestate_value which) in sysfs_idlestate_get_one_value() argument
212 if (which >= MAX_IDLESTATE_VALUE_FILES) in sysfs_idlestate_get_one_value()
216 idlestate_value_files[which], in sysfs_idlestate_get_one_value()
245 enum idlestate_string which) in sysfs_idlestate_get_one_string() argument
251 if (which >= MAX_IDLESTATE_STRING_FILES) in sysfs_idlestate_get_one_string()
255 idlestate_string_files[which], in sysfs_idlestate_get_one_string()
412 static char *sysfs_cpuidle_get_one_string(enum cpuidle_string which) in sysfs_cpuidle_get_one_string() argument
418 if (which >= MAX_CPUIDLE_STRING_FILES) in sysfs_cpuidle_get_one_string()
421 len = sysfs_cpuidle_read_file(cpuidle_string_files[which], in sysfs_cpuidle_get_one_string()

12345678910>>...123