Home
last modified time | relevance | path

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

12345678910>>...105

/Linux-v5.4/drivers/staging/greybus/
Dgpio.c60 static int gb_gpio_activate_operation(struct gb_gpio_controller *ggc, u8 which) in gb_gpio_activate_operation() argument
70 request.which = which; in gb_gpio_activate_operation()
78 ggc->lines[which].active = true; in gb_gpio_activate_operation()
84 u8 which) in gb_gpio_deactivate_operation() argument
91 request.which = which; in gb_gpio_deactivate_operation()
95 dev_err(dev, "failed to deactivate gpio %u\n", which); in gb_gpio_deactivate_operation()
99 ggc->lines[which].active = false; in gb_gpio_deactivate_operation()
106 u8 which) in gb_gpio_get_direction_operation() argument
114 request.which = which; in gb_gpio_get_direction_operation()
124 which, direction); in gb_gpio_get_direction_operation()
[all …]
Dpwm.c42 u8 which) in gb_pwm_activate_operation() argument
48 if (which > pwmc->pwm_max) in gb_pwm_activate_operation()
51 request.which = which; in gb_pwm_activate_operation()
67 u8 which) in gb_pwm_deactivate_operation() argument
73 if (which > pwmc->pwm_max) in gb_pwm_deactivate_operation()
76 request.which = which; in gb_pwm_deactivate_operation()
92 u8 which, u32 duty, u32 period) in gb_pwm_config_operation() argument
98 if (which > pwmc->pwm_max) in gb_pwm_config_operation()
101 request.which = which; in gb_pwm_config_operation()
119 u8 which, u8 polarity) in gb_pwm_set_polarity_operation() argument
[all …]
/Linux-v5.4/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-v5.4/arch/riscv/include/asm/
Dsbi.h21 #define SBI_CALL(which, arg0, arg1, arg2, arg3) ({ \ argument
26 register uintptr_t a7 asm ("a7") = (uintptr_t)(which); \
35 #define SBI_CALL_0(which) SBI_CALL(which, 0, 0, 0, 0) argument
36 #define SBI_CALL_1(which, arg0) SBI_CALL(which, arg0, 0, 0, 0) argument
37 #define SBI_CALL_2(which, arg0, arg1) SBI_CALL(which, arg0, arg1, 0, 0) argument
38 #define SBI_CALL_3(which, arg0, arg1, arg2) \ argument
39 SBI_CALL(which, arg0, arg1, arg2, 0)
40 #define SBI_CALL_4(which, arg0, arg1, arg2, arg3) \ argument
41 SBI_CALL(which, arg0, arg1, arg2, arg3)
/Linux-v5.4/arch/alpha/oprofile/
Dop_model_ev67.c143 ev67_handle_interrupt(unsigned long which, struct pt_regs *regs, in ev67_handle_interrupt() argument
197 oprofile_add_pc(regs->pc, kern, which); in ev67_handle_interrupt()
199 op_add_pm(regs->pc, kern, which, in ev67_handle_interrupt()
206 op_add_pm(pmpc, kern, which, ctr, in ev67_handle_interrupt()
213 op_add_pm(pmpc, kern, which, ctr, PM_DTB_MISS); in ev67_handle_interrupt()
216 op_add_pm(pmpc, kern, which, ctr, PM_UNALIGNED); in ev67_handle_interrupt()
236 op_add_pm(pmpc, kern, which, ctr, PM_MISPREDICT); in ev67_handle_interrupt()
240 oprofile_add_pc(pmpc, kern, which); in ev67_handle_interrupt()
244 op_add_pm(pmpc, kern, which, ctr, PM_STALLED); in ev67_handle_interrupt()
250 op_add_pm(pmpc, kern, which, ctr, PM_TAKEN); in ev67_handle_interrupt()
/Linux-v5.4/drivers/media/pci/ttpci/
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-v5.4/include/linux/ceph/
Dosd_client.h403 unsigned int which, u16 opcode, u32 flags);
406 unsigned int which,
412 unsigned int which, u16 opcode,
416 unsigned int which, u64 length);
418 unsigned int which, u64 offset_inc);
422 unsigned int which);
425 unsigned int which,
430 unsigned int which,
434 unsigned int which,
439 unsigned int which,
[all …]
/Linux-v5.4/kernel/time/
Ditimer.c76 int do_getitimer(int which, struct itimerval *value) in do_getitimer() argument
80 switch (which) { in do_getitimer()
100 SYSCALL_DEFINE2(getitimer, int, which, struct itimerval __user *, value) in SYSCALL_DEFINE2() argument
106 error = do_getitimer(which, &get_buffer); in SYSCALL_DEFINE2()
115 COMPAT_SYSCALL_DEFINE2(getitimer, int, which, in COMPAT_SYSCALL_DEFINE2() argument
119 int error = do_getitimer(which, &kit); in COMPAT_SYSCALL_DEFINE2()
185 int do_setitimer(int which, struct itimerval *value, struct itimerval *ovalue) in do_setitimer() argument
198 switch (which) { in do_setitimer()
287 SYSCALL_DEFINE3(setitimer, int, which, struct itimerval __user *, value, in SYSCALL_DEFINE3() argument
303 error = do_setitimer(which, &set_buffer, ovalue ? &get_buffer : NULL); in SYSCALL_DEFINE3()
[all …]
/Linux-v5.4/arch/alpha/kernel/
Dsys_marvel.c190 io7_redirect_one_lsi(struct io7 *io7, unsigned int which, unsigned int where) in io7_redirect_one_lsi() argument
197 val = io7->csrs->PO7_LSI_CTL[which].csr; in io7_redirect_one_lsi()
201 io7->csrs->PO7_LSI_CTL[which].csr = val; in io7_redirect_one_lsi()
203 io7->csrs->PO7_LSI_CTL[which].csr; in io7_redirect_one_lsi()
207 io7_redirect_one_msi(struct io7 *io7, unsigned int which, unsigned int where) in io7_redirect_one_msi() argument
214 val = io7->csrs->PO7_MSI_CTL[which].csr; in io7_redirect_one_msi()
218 io7->csrs->PO7_MSI_CTL[which].csr = val; in io7_redirect_one_msi()
220 io7->csrs->PO7_MSI_CTL[which].csr; in io7_redirect_one_msi()
224 init_one_io7_lsi(struct io7 *io7, unsigned int which, unsigned int where) in init_one_io7_lsi() argument
229 io7->csrs->PO7_LSI_CTL[which].csr = ((unsigned long)where << 14); in init_one_io7_lsi()
[all …]
/Linux-v5.4/include/trace/events/
Dtimer.h306 TP_PROTO(int which, const struct itimerval *const value,
309 TP_ARGS(which, value, expires),
312 __field( int, which )
321 __entry->which = which;
330 __entry->which, __entry->expires,
343 TP_PROTO(int which, struct pid *pid, unsigned long long now),
345 TP_ARGS(which, pid, now),
348 __field( int , which )
354 __entry->which = which;
359 TP_printk("which=%d pid=%d now=%llu", __entry->which,
/Linux-v5.4/include/uapi/linux/
Dv4l2-subdev.h49 __u32 which; member
62 __u32 which; member
79 __u32 which; member
98 __u32 which; member
130 __u32 which; member
150 __u32 which; member
/Linux-v5.4/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-v5.4/include/linux/
Dskmsg.h162 #define sk_msg_iter_prev(msg, which) \ argument
163 sk_msg_iter_var_prev(msg->sg.which)
165 #define sk_msg_iter_next(msg, which) \ argument
166 sk_msg_iter_var_next(msg->sg.which)
181 int which, u32 size) in sk_msg_xfer() argument
183 dst->sg.data[which] = src->sg.data[which]; in sk_msg_xfer()
184 dst->sg.data[which].length = size; in sk_msg_xfer()
186 src->sg.data[which].length -= size; in sk_msg_xfer()
187 src->sg.data[which].offset += size; in sk_msg_xfer()
209 static inline struct scatterlist *sk_msg_elem(struct sk_msg *msg, int which) in sk_msg_elem() argument
[all …]
/Linux-v5.4/lib/
Dtest_stackinit.c96 #define DEFINE_TEST_DRIVER(name, var_type, which) \ argument
100 var_type zero INIT_CLONE_ ## which; \
113 FETCH_ARG_ ## which(zero)); \
125 FETCH_ARG_ ## which(zero)); \
150 #define DEFINE_TEST(name, var_type, which, init_level) \ argument
152 static noinline __init DO_NOTHING_TYPE_ ## which(var_type) \
157 return DO_NOTHING_RETURN_ ## which(ptr); \
159 return DO_NOTHING_RETURN_ ## which(ptr + 1); \
166 var_type var INIT_ ## which ## _ ## init_level; \
185 DO_NOTHING_CALL_ ## which(var, name); \
[all …]
/Linux-v5.4/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-v5.4/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()
200 enum v4l2_subdev_format_whence which) in ipipe_try_format() argument
225 format = __ipipe_get_format(ipipe, cfg, IPIPE_PAD_SINK, which); in ipipe_try_format()
285 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
295 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
318 format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); in ipipe_get_format()
342 format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); in ipipe_set_format()
346 ipipe_try_format(ipipe, cfg, fmt->pad, &fmt->format, fmt->which); in ipipe_set_format()
[all …]
/Linux-v5.4/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-v5.4/net/bridge/netfilter/
DKconfig98 This option adds the among match, which allows matching the MAC source
107 This option adds the ARP match, which allows ARP and RARP header field
115 This option adds the IP match, which allows basic IP header field
124 This option adds the IP6 match, which allows basic IPV6 header field
132 This option adds the limit match, which allows you to control
133 the rate at which a rule can be matched. This match is the
142 This option adds the mark match, which allows matching frames based on
152 This option adds the packet type match, which allows matching on the
162 This option adds the Spanning Tree Protocol match, which
170 This option adds the 802.1Q vlan match, which allows the filtering of
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/clock/
Dexynos5433-clock.txt10 which generates clocks for IMEM/FSYS/G3D/GSCL/HEVC/MSCL/G2D/MFC/PERIC/PERIS
13 which generates clocks for LLI (Low Latency Interface) IP.
15 which generates clocks for DRAM Memory Controller domain.
17 which generates clocks for UART/I2C/SPI/I2S/PCM/SPDIF/PWM/SLIMBUS IPs.
19 which generates clocks for PMU/TMU/MCT/WDT/RTC/SECKEY/TZPC IPs.
21 which generates clocks for USB/UFS/SDMMC/TSI/PDMA IPs.
23 which generates clocks for G2D/MDMA IPs.
25 which generates clocks for Display (DECON/HDMI/DSIM/MIXER) IPs.
27 which generates clocks for Cortex-A5/BUS/AUDIO clocks.
30 which generates global data buses clock and global peripheral buses clock.
[all …]
/Linux-v5.4/drivers/net/dsa/
Dbcm_sf2.h159 #define SWITCH_INTR_L2(which) \ argument
160 static inline void intrl2_##which##_mask_clear(struct bcm_sf2_priv *priv, \
163 priv->irq##which##_mask &= ~(mask); \
164 intrl2_##which##_writel(priv, mask, INTRL2_CPU_MASK_CLEAR); \
166 static inline void intrl2_##which##_mask_set(struct bcm_sf2_priv *priv, \
169 intrl2_## which##_writel(priv, mask, INTRL2_CPU_MASK_SET); \
170 priv->irq##which##_mask |= (mask); \
/Linux-v5.4/arch/x86/platform/uv/
Dbios_uv.c21 static s64 __uv_bios_call(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, in __uv_bios_call() argument
38 ret = efi_call((void *)__va(tab->function), (u64)which, a1, a2, a3, a4, a5); in __uv_bios_call()
40 ret = efi_call_virt_pointer(tab, function, (u64)which, a1, a2, a3, a4, a5); in __uv_bios_call()
45 s64 uv_bios_call(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, u64 a4, u64 a5) in uv_bios_call() argument
52 ret = __uv_bios_call(which, a1, a2, a3, a4, a5); in uv_bios_call()
59 s64 uv_bios_call_irqsave(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, in uv_bios_call_irqsave() argument
69 ret = __uv_bios_call(which, a1, a2, a3, a4, a5); in uv_bios_call_irqsave()
/Linux-v5.4/net/netfilter/ipset/
DKconfig32 This option adds the bitmap:ip set type support, by which one
41 This option adds the bitmap:ip,mac set type support, by which one
50 This option adds the bitmap:port set type support, by which one
59 This option adds the hash:ip set type support, by which one
69 This option adds the hash:ip,mark set type support, by which one
78 This option adds the hash:ip,port set type support, by which one
87 This option adds the hash:ip,port,ip set type support, by which
97 This option adds the hash:ip,port,net set type support, by which
107 This option adds the hash:ip,mac set type support, by which
116 This option adds the hash:mac set type support, by which
[all …]
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-subdev.c115 static inline int check_which(__u32 which) in check_which() argument
117 if (which != V4L2_SUBDEV_FORMAT_TRY && in check_which()
118 which != V4L2_SUBDEV_FORMAT_ACTIVE) in check_which()
139 static int check_cfg(__u32 which, struct v4l2_subdev_pad_config *cfg) in check_cfg() argument
141 if (which == V4L2_SUBDEV_FORMAT_TRY && !cfg) in check_cfg()
154 return check_which(format->which) ? : check_pad(sd, format->pad) ? : in check_format()
155 check_cfg(format->which, cfg); in check_format()
181 return check_which(code->which) ? : check_pad(sd, code->pad) ? : in call_enum_mbus_code()
182 check_cfg(code->which, cfg) ? : in call_enum_mbus_code()
193 return check_which(fse->which) ? : check_pad(sd, fse->pad) ? : in call_enum_frame_size()
[all …]
/Linux-v5.4/Documentation/x86/
Dmds.rst17 MSBDS leaks Store Buffer Entries which can be speculatively forwarded to a
20 memory address, which can be exploited under certain conditions. Store
23 buffer is repartitioned which can expose data from one thread to the other.
26 L1 miss situations and to hold data which is returned or sent in response
29 deallocated it can retain the stale data of the preceding operations which
30 can then be forwarded to a faulting or assisting load operation, which can
37 contain stale data from a previous operation which can be forwarded to
38 faulting or assisting loads under certain conditions, which again can be
56 - to have a disclosure gadget which exposes the speculatively accessed
59 - to control the pointer through which the disclosure gadget exposes the
[all …]
/Linux-v5.4/Documentation/process/
D4.Coding.rst8 code. It is the code which will be examined by other developers and merged
9 (or not) into the mainline tree. So it is the quality of this code which
13 number of ways in which kernel developers can go wrong. Then the focus
14 will shift toward doing things right and the tools which can help in that
28 which does not meet the coding style guidelines. The presence of that code
46 The other trap is to assume that code which is already in the kernel is
56 The coding style document also should not be read as an absolute law which
58 style (a line which becomes far less readable if split to fit within the
81 At a simple level, consider a function which has an argument which is
84 provides. By that time, though, chances are good that the code which
[all …]

12345678910>>...105