| /linux/tools/testing/selftests/powerpc/dexcr/ |
| A D | dexcr_test.c | 20 int ctrl = pr_get_dexcr(which); in dexcr_prctl_onexec_test_child() 75 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 84 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 93 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 103 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 113 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 121 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 131 unsigned int ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() 133 sprintf(which_str, "%lu", which); in dexcr_prctl_aspect_test() 155 sprintf(which_str, "%lu", which); in dexcr_prctl_aspect_test() [all …]
|
| A D | dexcr.c | 47 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/ |
| A D | gpio.c | 77 request.which = which; in gb_gpio_activate_operation() 98 request.which = which; in gb_gpio_deactivate_operation() 121 request.which = which; in gb_gpio_get_direction_operation() 143 request.which = which; in gb_gpio_direction_in_operation() 157 request.which = which; in gb_gpio_direction_out_operation() 175 request.which = which; in gb_gpio_get_value_operation() 202 which); in gb_gpio_set_value_operation() 206 request.which = which; in gb_gpio_set_value_operation() 224 request.which = which; in gb_gpio_set_debounce_operation() 425 u8 which; in gb_gpio_get_direction() local [all …]
|
| A D | pwm.c | 44 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() 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() 159 static int gb_pwm_disable_operation(struct pwm_chip *chip, u8 which) in gb_pwm_disable_operation() argument [all …]
|
| /linux/tools/testing/kunit/test_data/ |
| A D | test_is_test_passed-no_tests_run_no_header.log | 39 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 …]
|
| A D | test_output_isolated_correctly.log | 61 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/ |
| A D | av7110_ipack.c | 17 p->which = 0; in av7110_ipack_reset() 221 p->which = 0; 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() 336 if (p->which > 2) { in av7110_ipack_instant_repack() 343 p->which++; in av7110_ipack_instant_repack() 355 p->which++; in av7110_ipack_instant_repack() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| A D | tailcall6.c | 13 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/tools/testing/selftests/timers/ |
| A D | posix_timers.c | 108 if (which == ITIMER_VIRTUAL) in check_itimer() 110 else if (which == ITIMER_PROF) in check_itimer() 112 else if (which == ITIMER_REAL) in check_itimer() 121 if (which == ITIMER_VIRTUAL) in check_itimer() 123 else if (which == ITIMER_PROF) in check_itimer() 125 else if (which == ITIMER_REAL) in check_itimer() 476 if (clock_gettime(which, &start)) in check_sigev_none() 480 if (clock_gettime(which, &now)) in check_sigev_none() 527 if (clock_gettime(which, &start)) in check_gettime() 531 if (clock_gettime(which, &now)) in check_gettime() [all …]
|
| /linux/include/linux/ceph/ |
| A D | osd_client.h | 470 unsigned int which, 486 unsigned int which); 489 unsigned int which, 494 unsigned int which, 498 unsigned int which, 503 unsigned int which, 507 unsigned int which, 513 unsigned int which, 516 unsigned int which, 521 unsigned int which, [all …]
|
| /linux/include/uapi/linux/ |
| A D | v4l2-subdev.h | 39 __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/arch/powerpc/kernel/ |
| A D | dexcr.c | 31 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/arch/riscv/kernel/ |
| A D | fpu.S | 108 #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/ |
| A D | sys_marvel.c | 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() 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() 230 io7->csrs->PO7_LSI_CTL[which].csr; in init_one_io7_lsi() 239 io7->csrs->PO7_MSI_CTL[which].csr = ((unsigned long)where << 14); in init_one_io7_msi() [all …]
|
| /linux/Documentation/dev-tools/ |
| A D | ktap.rst | 11 which don't align with the original TAP specification. Thus, a "Kernel TAP" 37 All KTAP-formatted results begin with a "version line" which specifies which 46 start of the nested test results. This differs from TAP14, which uses a 75 The result can be either "ok", which indicates the test case passed, 76 or "not ok", which indicates that the test case failed. 279 - "example_test_1", which passes, and has one subtest: 283 - "example_test_2", which passes, and has two subtests: 286 - "test_2", which passes 288 - "example_test_3", which fails, and has three subtests 290 - "test_1", which passes [all …]
|
| /linux/tools/power/cpupower/lib/ |
| A D | cpuidle.c | 137 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/include/trace/events/ |
| A D | timer.h | 333 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/drivers/staging/media/atomisp/pci/ |
| A D | atomisp_subdev.c | 224 u32 which, uint32_t pad, in atomisp_subdev_get_rect() argument 229 if (which == V4L2_SUBDEV_FORMAT_TRY) { in atomisp_subdev_get_rect() 250 struct v4l2_subdev_state *sd_state, uint32_t which, in atomisp_subdev_get_ffmt() argument 255 if (which == V4L2_SUBDEV_FORMAT_TRY) in atomisp_subdev_get_ffmt() 263 uint32_t which, in isp_get_fmt_rect() argument 312 u32 which, uint32_t pad, uint32_t target, in atomisp_subdev_set_selection() argument 371 atomisp_subdev_set_selection(sd, sd_state, which, in atomisp_subdev_set_selection() 376 if (which == V4L2_SUBDEV_FORMAT_TRY) in atomisp_subdev_set_selection() 488 uint32_t which, in atomisp_subdev_set_ffmt() argument 494 atomisp_subdev_get_ffmt(sd, sd_state, which, pad); in atomisp_subdev_set_ffmt() [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| A D | mediatek,mt8365-pinctrl.yaml | 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. 98 101: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled. 100 103: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled. 156 1: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled. 157 2: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled. 158 3: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled. 170 1: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled. 171 2: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled. [all …]
|
| /linux/kernel/time/ |
| A D | itimer.c | 76 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() 349 error = do_setitimer(which, &set_buffer, ovalue ? &get_buffer : NULL); in SYSCALL_DEFINE3() 378 COMPAT_SYSCALL_DEFINE3(setitimer, int, which, in COMPAT_SYSCALL_DEFINE3() argument [all …]
|
| /linux/include/linux/ |
| A D | skmsg.h | 179 #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() 221 return &msg->sg.data[which]; in sk_msg_elem() [all …]
|
| /linux/drivers/staging/media/omap4iss/ |
| A D | iss_ipipe.c | 26 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() 354 fmt->which); in ipipe_set_format() [all …]
|
| /linux/Documentation/timers/ |
| A D | hpet.rst | 10 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/tools/power/cpupower/utils/helpers/ |
| A D | sysfs.c | 205 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/Documentation/hwmon/ |
| A D | peci-cputemp.rst | 7 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.
|