Home
last modified time | relevance | path

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

12345678910>>...102

/linux-6.6.21/drivers/staging/greybus/
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 …]
Dpwm.c43 u8 which) in gb_pwm_activate_operation() argument
49 if (which > pwmc->pwm_max) in gb_pwm_activate_operation()
52 request.which = which; in gb_pwm_activate_operation()
68 u8 which) in gb_pwm_deactivate_operation() argument
74 if (which > pwmc->pwm_max) in gb_pwm_deactivate_operation()
77 request.which = which; in gb_pwm_deactivate_operation()
93 u8 which, u32 duty, u32 period) in gb_pwm_config_operation() argument
99 if (which > pwmc->pwm_max) in gb_pwm_config_operation()
102 request.which = which; in gb_pwm_config_operation()
120 u8 which, u8 polarity) in gb_pwm_set_polarity_operation() argument
[all …]
/linux-6.6.21/tools/testing/selftests/timers/
Dposix_timers.c77 static int check_itimer(int which) in check_itimer() argument
87 if (which == ITIMER_VIRTUAL) in check_itimer()
89 else if (which == ITIMER_PROF) in check_itimer()
91 else if (which == ITIMER_REAL) in check_itimer()
98 if (which == ITIMER_VIRTUAL) in check_itimer()
100 else if (which == ITIMER_PROF) in check_itimer()
102 else if (which == ITIMER_REAL) in check_itimer()
111 err = setitimer(which, &val, NULL); in check_itimer()
117 if (which == ITIMER_VIRTUAL) in check_itimer()
119 else if (which == ITIMER_PROF) in check_itimer()
[all …]
/linux-6.6.21/tools/testing/kunit/test_data/
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 …]
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-6.6.21/drivers/staging/media/av7110/
Dav7110_ipack.c18 p->which = 0; in av7110_ipack_reset()
228 p->which = 0; in av7110_ipack_instant_repack()
286 if (p->mpeg == 1 && p->which < 2000) { in av7110_ipack_instant_repack()
293 while (!p->which && c < count && in av7110_ipack_instant_repack()
305 if ((p->check & 0xc0) == 0x40 && !p->which) { in av7110_ipack_instant_repack()
312 p->which = 1; in av7110_ipack_instant_repack()
320 p->which = 2; in av7110_ipack_instant_repack()
325 if (p->which == 1) { in av7110_ipack_instant_repack()
331 p->which = 2; in av7110_ipack_instant_repack()
339 p->which = 3; in av7110_ipack_instant_repack()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/
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-6.6.21/include/linux/ceph/
Dosd_client.h469 unsigned int which, u16 opcode, u32 flags);
472 unsigned int which,
478 unsigned int which, u16 opcode,
482 unsigned int which, u64 length);
484 unsigned int which, u64 offset_inc);
488 unsigned int which);
491 unsigned int which,
496 unsigned int which,
500 unsigned int which,
505 unsigned int which,
[all …]
/linux-6.6.21/drivers/media/platform/rockchip/rkisp1/
Drkisp1-isp.c63 unsigned int pad, u32 which) in rkisp1_isp_get_pad_fmt() argument
69 if (which == V4L2_SUBDEV_FORMAT_TRY) in rkisp1_isp_get_pad_fmt()
78 unsigned int pad, u32 which) in rkisp1_isp_get_pad_crop() argument
84 if (which == V4L2_SUBDEV_FORMAT_TRY) in rkisp1_isp_get_pad_crop()
501 unsigned int which) in rkisp1_isp_set_src_fmt() argument
511 RKISP1_ISP_PAD_SINK_VIDEO, which); in rkisp1_isp_set_src_fmt()
513 RKISP1_ISP_PAD_SOURCE_VIDEO, which); in rkisp1_isp_set_src_fmt()
515 RKISP1_ISP_PAD_SOURCE_VIDEO, which); in rkisp1_isp_set_src_fmt()
600 if (which == V4L2_SUBDEV_FORMAT_ACTIVE) in rkisp1_isp_set_src_fmt()
606 struct v4l2_rect *r, unsigned int which) in rkisp1_isp_set_src_crop() argument
[all …]
/linux-6.6.21/arch/alpha/kernel/
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-6.6.21/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c235 u32 which, uint32_t pad, in atomisp_subdev_get_rect() argument
240 if (which == V4L2_SUBDEV_FORMAT_TRY) { in atomisp_subdev_get_rect()
261 struct v4l2_subdev_state *sd_state, uint32_t which, in atomisp_subdev_get_ffmt() argument
266 if (which == V4L2_SUBDEV_FORMAT_TRY) in atomisp_subdev_get_ffmt()
274 uint32_t which, in isp_get_fmt_rect() argument
282 ffmt[i] = atomisp_subdev_get_ffmt(sd, sd_state, which, i); in isp_get_fmt_rect()
283 crop[i] = atomisp_subdev_get_rect(sd, sd_state, which, i, in isp_get_fmt_rect()
285 comp[i] = atomisp_subdev_get_rect(sd, sd_state, which, i, in isp_get_fmt_rect()
292 u32 which, uint32_t pad, uint32_t target, in isp_subdev_propagate() argument
302 isp_get_fmt_rect(sd, sd_state, which, ffmt, crop, comp); in isp_subdev_propagate()
[all …]
/linux-6.6.21/Documentation/dev-tools/
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-6.6.21/include/uapi/linux/
Dv4l2-subdev.h39 __u32 which; member
55 __u32 which; member
82 __u32 which; member
109 __u32 which; member
147 __u32 which; member
169 __u32 which; member
230 __u32 which; member
/linux-6.6.21/tools/power/cpupower/lib/
Dcpuidle.c135 enum idlestate_value which) in cpuidle_state_get_one_value() argument
142 if (which >= MAX_IDLESTATE_VALUE_FILES) in cpuidle_state_get_one_value()
146 idlestate_value_files[which], in cpuidle_state_get_one_value()
175 enum idlestate_string which) in cpuidle_state_get_one_string() argument
181 if (which >= MAX_IDLESTATE_STRING_FILES) in cpuidle_state_get_one_string()
185 idlestate_string_files[which], in cpuidle_state_get_one_string()
342 static char *sysfs_cpuidle_get_one_string(enum cpuidle_string which) in sysfs_cpuidle_get_one_string() argument
348 if (which >= MAX_CPUIDLE_STRING_FILES) in sysfs_cpuidle_get_one_string()
351 len = sysfs_cpuidle_read_file(cpuidle_string_files[which], in sysfs_cpuidle_get_one_string()
/linux-6.6.21/include/trace/events/
Dtimer.h313 TP_PROTO(int which, const struct itimerspec64 *const value,
316 TP_ARGS(which, value, expires),
319 __field( int, which )
328 __entry->which = which;
337 __entry->which, __entry->expires,
350 TP_PROTO(int which, struct pid *pid, unsigned long long now),
352 TP_ARGS(which, pid, now),
355 __field( int , which )
361 __entry->which = which;
366 TP_printk("which=%d pid=%d now=%llu", __entry->which,
/linux-6.6.21/drivers/media/test-drivers/vimc/
Dvimc-scaler.c138 enum v4l2_subdev_format_whence which) in vimc_scaler_pad_format() argument
140 if (which == V4L2_SUBDEV_FORMAT_TRY) in vimc_scaler_pad_format()
149 enum v4l2_subdev_format_whence which) in vimc_scaler_pad_crop() argument
151 if (which == V4L2_SUBDEV_FORMAT_TRY) in vimc_scaler_pad_crop()
165 format->which); in vimc_scaler_get_fmt()
177 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE && vscaler->src_frame) in vimc_scaler_set_fmt()
180 fmt = vimc_scaler_pad_format(vscaler, sd_state, format->pad, format->which); in vimc_scaler_set_fmt()
218 crop = vimc_scaler_pad_crop(vscaler, sd_state, format->which); in vimc_scaler_set_fmt()
225 format->which); in vimc_scaler_set_fmt()
246 sel->r = *vimc_scaler_pad_crop(vscaler, sd_state, sel->which); in vimc_scaler_get_selection()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/pinctrl/
Dmediatek,mt8365-pinctrl.yaml83 100: (R1, R0) = (0, 0) which means R1 disabled and R0 disabled.
84 101: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled.
85 102: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled.
86 103: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled.
97 100: (R1, R0) = (0, 0) which means R1 disabled and R0 disabled.
98 101: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled.
99 102: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled.
100 103: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled.
155 0: (R1, R0) = (0, 0) which means R1 disabled and R0 disabled.
156 1: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled.
[all …]
/linux-6.6.21/kernel/time/
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-6.6.21/drivers/media/platform/qcom/camss/
Dcamss-vfe.c772 enum v4l2_subdev_format_whence which) in __vfe_get_format() argument
774 if (which == V4L2_SUBDEV_FORMAT_TRY) in __vfe_get_format()
792 enum v4l2_subdev_format_whence which) in __vfe_get_compose() argument
794 if (which == V4L2_SUBDEV_FORMAT_TRY) in __vfe_get_compose()
812 enum v4l2_subdev_format_whence which) in __vfe_get_crop() argument
814 if (which == V4L2_SUBDEV_FORMAT_TRY) in __vfe_get_crop()
833 enum v4l2_subdev_format_whence which) in vfe_try_format() argument
863 which); in vfe_try_format()
870 rect = __vfe_get_crop(line, sd_state, which); in vfe_try_format()
892 enum v4l2_subdev_format_whence which) in vfe_try_compose() argument
[all …]
/linux-6.6.21/include/linux/
Dskmsg.h170 #define sk_msg_iter_prev(msg, which) \ argument
171 sk_msg_iter_var_prev(msg->sg.which)
173 #define sk_msg_iter_next(msg, which) \ argument
174 sk_msg_iter_var_next(msg->sg.which)
184 int which, u32 size) in sk_msg_xfer() argument
186 dst->sg.data[which] = src->sg.data[which]; in sk_msg_xfer()
187 dst->sg.data[which].length = size; in sk_msg_xfer()
190 src->sg.data[which].length -= size; in sk_msg_xfer()
191 src->sg.data[which].offset += size; in sk_msg_xfer()
210 static inline struct scatterlist *sk_msg_elem(struct sk_msg *msg, int which) in sk_msg_elem() argument
[all …]
/linux-6.6.21/drivers/staging/media/omap4iss/
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()
201 enum v4l2_subdev_format_whence which) in ipipe_try_format() argument
227 which); in ipipe_try_format()
287 ipipe_try_format(ipipe, sd_state, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
297 ipipe_try_format(ipipe, sd_state, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
320 format = __ipipe_get_format(ipipe, sd_state, fmt->pad, fmt->which); in ipipe_get_format()
344 format = __ipipe_get_format(ipipe, sd_state, fmt->pad, fmt->which); in ipipe_set_format()
348 ipipe_try_format(ipipe, sd_state, fmt->pad, &fmt->format, fmt->which); in ipipe_set_format()
[all …]
/linux-6.6.21/Documentation/timers/
Dhpet.rst10 each of which can generate oneshot interrupts and at least one of which has
12 also called "timers", which can be misleading since usually timers are
17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
24 platform code which uses timer 0 or 1 as the main timer to intercept HPET
28 The driver provides a userspace API which resembles the API found in the
/linux-6.6.21/Documentation/hwmon/
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-6.6.21/tools/power/cpupower/utils/helpers/
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()
/linux-6.6.21/lib/
Dstackinit_kunit.c147 #define DEFINE_TEST_DRIVER(name, var_type, which, xfail) \ argument
151 var_type zero INIT_CLONE_ ## which; \
159 ZERO_CLONE_ ## which(zero); \
164 FETCH_ARG_ ## which(zero)); \
174 FETCH_ARG_ ## which(zero)); \
197 #define DEFINE_TEST(name, var_type, which, init_level, xfail) \ argument
199 static noinline DO_NOTHING_TYPE_ ## which(var_type) \
204 return DO_NOTHING_RETURN_ ## which(ptr); \
206 return DO_NOTHING_RETURN_ ## which(ptr + 1); \
213 INIT_ ## which ## _ ## init_level(var_type); \
[all …]

12345678910>>...102