Home
last modified time | relevance | path

Searched refs:dummy (Results 1 – 25 of 759) sorted by relevance

12345678910>>...31

/linux-6.6.21/sound/drivers/
Ddummy.c544 struct snd_dummy *dummy = snd_pcm_substream_chip(substream); in dummy_pcm_open() local
545 const struct dummy_model *model = dummy->model; in dummy_pcm_open()
561 runtime->hw = dummy->pcm_hw; in dummy_pcm_open()
668 static int snd_card_dummy_pcm(struct snd_dummy *dummy, int device, in snd_card_dummy_pcm() argument
675 err = snd_pcm_new(dummy->card, "Dummy PCM", device, in snd_card_dummy_pcm()
679 dummy->pcm = pcm; in snd_card_dummy_pcm()
686 pcm->private_data = dummy; in snd_card_dummy_pcm()
724 struct snd_dummy *dummy = snd_kcontrol_chip(kcontrol); in snd_dummy_volume_get() local
727 spin_lock_irq(&dummy->mixer_lock); in snd_dummy_volume_get()
728 ucontrol->value.integer.value[0] = dummy->mixer_volume[addr][0]; in snd_dummy_volume_get()
[all …]
/linux-6.6.21/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh36 devlink dev flash $DL_HANDLE file dummy
39 devlink dev flash $DL_HANDLE file dummy component fw.mgmt
42 devlink dev flash $DL_HANDLE file dummy overwrite settings
48 devlink dev flash $DL_HANDLE file dummy overwrite settings
51 devlink dev flash $DL_HANDLE file dummy overwrite identifiers
57 devlink dev flash $DL_HANDLE file dummy overwrite identifiers overwrite settings
63 devlink dev flash $DL_HANDLE file dummy
158 check_region_size dummy
159 check_region_snapshot_count dummy initial 0
163 check_region_snapshot_count dummy post-first-snapshot 1
[all …]
Dfib.sh111 ip -n testns1 link add name dummy1 type dummy
133 ip -n testns1 link add name dummy1 type dummy
169 ip -n testns1 link add name dummy1 type dummy
250 ip -n testns1 link add name dummy1 type dummy
273 ip -n testns1 link add name dummy$i type dummy
274 ip -n testns1 link set dev dummy$i up
275 ip -n testns1 address add 2001:db8:$i::1/64 dev dummy$i
290 ip -n testns1 link del dev dummy$i
300 ip -n testns1 link add name dummy1 type dummy
337 ip -n testns1 link add name dummy1 type dummy
/linux-6.6.21/scripts/selinux/
Dinstall_policy.sh42 mkdir -p /etc/selinux/dummy/policy
43 mkdir -p /etc/selinux/dummy/contexts/files
45 echo "__default__:user_u:s0" > /etc/selinux/dummy/seusers
46 echo "base_r:base_t:s0" > /etc/selinux/dummy/contexts/failsafe_context
47 echo "base_r:base_t:s0 base_r:base_t:s0" > /etc/selinux/dummy/default_contexts
48 cat > /etc/selinux/dummy/contexts/x_contexts <<EOF
55 touch /etc/selinux/dummy/contexts/virtual_domain_context
56 touch /etc/selinux/dummy/contexts/virtual_image_context
58 cp file_contexts /etc/selinux/dummy/contexts/files
59 cp dbus_contexts /etc/selinux/dummy/contexts
[all …]
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh63 ip -n $ns link add name dummy$i type dummy
64 ip -n $ns link set dev dummy$i up
85 ip -n $ns link del dev dummy$i
95 ip -n $ns link add name dummy1 type dummy
124 ip -n $ns link add name dummy1 type dummy
155 ip -n $ns link add name dummy$i type dummy
156 ip -n $ns link set dev dummy$i up
180 ip -n $ns link del dev dummy$i
191 ip -n $ns link add name dummy1 type dummy
223 ip -n $ns link add name dummy1 type dummy
[all …]
/linux-6.6.21/include/trace/events/
Dcontext_tracking.h12 TP_PROTO(int dummy),
14 TP_ARGS(dummy),
17 __field( int, dummy )
21 __entry->dummy = dummy;
36 TP_PROTO(int dummy),
38 TP_ARGS(dummy)
50 TP_PROTO(int dummy),
52 TP_ARGS(dummy)
/linux-6.6.21/kernel/kcsan/
Dselftest.c119 atomic_t dummy; in test_barrier() local
155 KCSAN_CHECK_READ_BARRIER(atomic_set_release(&dummy, 0)); in test_barrier()
156 KCSAN_CHECK_READ_BARRIER(atomic_add_return(1, &dummy)); in test_barrier()
157 KCSAN_CHECK_READ_BARRIER(atomic_add_return_release(1, &dummy)); in test_barrier()
158 KCSAN_CHECK_READ_BARRIER(atomic_fetch_add(1, &dummy)); in test_barrier()
159 KCSAN_CHECK_READ_BARRIER(atomic_fetch_add_release(1, &dummy)); in test_barrier()
184 KCSAN_CHECK_WRITE_BARRIER(atomic_set_release(&dummy, 0)); in test_barrier()
185 KCSAN_CHECK_WRITE_BARRIER(atomic_add_return(1, &dummy)); in test_barrier()
186 KCSAN_CHECK_WRITE_BARRIER(atomic_add_return_release(1, &dummy)); in test_barrier()
187 KCSAN_CHECK_WRITE_BARRIER(atomic_fetch_add(1, &dummy)); in test_barrier()
[all …]
Dkcsan_test.c533 atomic_t dummy; in test_barrier_nothreads() local
588 KCSAN_EXPECT_READ_BARRIER(atomic_read(&dummy), false); in test_barrier_nothreads()
589 KCSAN_EXPECT_READ_BARRIER(atomic_read_acquire(&dummy), false); in test_barrier_nothreads()
590 KCSAN_EXPECT_READ_BARRIER(atomic_set(&dummy, 0), false); in test_barrier_nothreads()
591 KCSAN_EXPECT_READ_BARRIER(atomic_set_release(&dummy, 0), true); in test_barrier_nothreads()
592 KCSAN_EXPECT_READ_BARRIER(atomic_add(1, &dummy), false); in test_barrier_nothreads()
593 KCSAN_EXPECT_READ_BARRIER(atomic_add_return(1, &dummy), true); in test_barrier_nothreads()
594 KCSAN_EXPECT_READ_BARRIER(atomic_add_return_acquire(1, &dummy), false); in test_barrier_nothreads()
595 KCSAN_EXPECT_READ_BARRIER(atomic_add_return_release(1, &dummy), true); in test_barrier_nothreads()
596 KCSAN_EXPECT_READ_BARRIER(atomic_add_return_relaxed(1, &dummy), false); in test_barrier_nothreads()
[all …]
/linux-6.6.21/drivers/cpufreq/
Dspeedstep-smi.c64 u32 command, result, magic, dummy; in speedstep_smi_ownership() local
79 "=a" (dummy), "=b" (dummy), "=c" (dummy), "=d" (dummy), in speedstep_smi_ownership()
80 "=S" (dummy) in speedstep_smi_ownership()
102 u32 command, result = 0, edi, high_mhz, low_mhz, dummy; in speedstep_smi_get_freqs() local
123 "=d" (state), "=D" (edi), "=S" (dummy) in speedstep_smi_get_freqs()
150 unsigned int result = 0, command, new_state, dummy; in speedstep_set_state() local
190 "=c" (dummy), "=a" (dummy), in speedstep_set_state()
191 "=d" (dummy), "=S" (dummy) in speedstep_set_state()
/linux-6.6.21/arch/arm/crypto/
Dsha1-armv7-neon.S140 _R_##f(a,b,c,d,e,i,dummy,dummy,dummy,i16,\
143 #define dummy(...) macro
390 WPRECALC_32_79_6, dummy, WPRECALC_32_79_7, 32,
393 WPRECALC_32_79_8, dummy, WPRECALC_32_79_9, 32,
403 WPRECALC_32_79_6, dummy, WPRECALC_32_79_7, 36,
406 WPRECALC_32_79_8, dummy, WPRECALC_32_79_9, 36,
418 WPRECALC_32_79_6, dummy, WPRECALC_32_79_7, 40,
421 WPRECALC_32_79_8, dummy, WPRECALC_32_79_9, 40,
431 WPRECALC_32_79_6, dummy, WPRECALC_32_79_7, 44,
434 WPRECALC_32_79_8, dummy, WPRECALC_32_79_9, 44,
[all …]
/linux-6.6.21/samples/livepatch/
Dlivepatch-shadow-mod.c90 struct dummy { struct
95 static __used noinline struct dummy *dummy_alloc(void) in dummy_alloc() argument
97 struct dummy *d; in dummy_alloc()
120 static __used noinline void dummy_free(struct dummy *d) in dummy_free()
128 static __used noinline bool dummy_check(struct dummy *d, in dummy_check()
145 struct dummy *d; in alloc_work_func()
170 struct dummy *d, *tmp; in cleanup_work_func()
203 struct dummy *d, *tmp; in livepatch_shadow_mod_exit()
/linux-6.6.21/tools/testing/selftests/net/
Dnetns-name.sh7 DEV=dummy-dev0
8 DEV2=dummy-dev1
29 ip -netns $NS link add name $DEV type dummy || fail
38 ip link add name $DEV type dummy
39 ip -netns $NS link add name $DEV type dummy || fail
49 ip link add name $DEV type dummy
50 ip -netns $NS link add name $DEV type dummy || fail
59 ip link add name $DEV type dummy || fail
61 ip -netns $NS link add name $DEV2 type dummy || fail
73 ip -netns $NS link add name $DEV type dummy || fail
/linux-6.6.21/drivers/usb/host/
Dehci-mem.c61 if (qh->dummy) in qh_destroy()
62 ehci_qtd_free (ehci, qh->dummy); in qh_destroy()
85 qh->dummy = ehci_qtd_alloc (ehci, flags); in ehci_qh_alloc()
86 if (qh->dummy == NULL) { in ehci_qh_alloc()
112 if (ehci->dummy) in ehci_mem_cleanup()
113 qh_destroy(ehci, ehci->dummy); in ehci_mem_cleanup()
114 ehci->dummy = NULL; in ehci_mem_cleanup()
197 ehci->dummy = ehci_qh_alloc(ehci, flags); in ehci_mem_init()
198 if (!ehci->dummy) in ehci_mem_init()
201 hw = ehci->dummy->hw; in ehci_mem_init()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/arm/
Darm,coresight-dummy-sink.yaml4 $id: http://devicetree.org/schemas/arm/arm,coresight-dummy-sink.yaml#
17 The Coresight dummy sink component is for the specific coresight sink devices
20 debug and trace capabilities. For this device, a dummy driver is needed to
24 dummy source devices, such as enabling and disabling them. It also provides
25 the Coresight dummy source paths for debugging.
27 The primary use case of the coresight dummy sink is to build path in kernel
28 side for dummy sink component.
40 - arm,coresight-dummy-sink
48 dummy sink, such as Embedded USB debugger(EUD).
59 # Minimum dummy sink definition. Dummy sink connect to coresight replicator.
[all …]
Darm,coresight-dummy-source.yaml4 $id: http://devicetree.org/schemas/arm/arm,coresight-dummy-source.yaml#
17 The Coresight dummy source component is for the specific coresight source
20 are conneted to AP processor via debug bus. For these devices, a dummy driver
22 created in the driver. It provides Coresight API for operations on dummy
24 Coresight dummy source paths for debugging.
26 The primary use case of the coresight dummy source is to build path in kernel
27 side for dummy source component.
39 - arm,coresight-dummy-source
57 # Minimum dummy source definition. Dummy source connect to coresight funnel.
60 compatible = "arm,coresight-dummy-source";
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gpu_trace.h156 TP_PROTO(int dummy),
157 TP_ARGS(dummy),
159 __field(u32, dummy)
162 __entry->dummy = dummy;
164 TP_printk("%u", __entry->dummy)
169 TP_PROTO(int dummy),
170 TP_ARGS(dummy),
172 __field(u32, dummy)
175 __entry->dummy = dummy;
177 TP_printk("%u", __entry->dummy)
/linux-6.6.21/Documentation/trace/coresight/
Dcoresight-dummy.rst13 The Coresight dummy trace module is for the specific devices that kernel don't
15 platforms. For these devices, a dummy driver is needed to register them as
18 It provides Coresight API for operations on dummy devices, such as enabling and
19 disabling them. It also provides the Coresight dummy sink/source paths for
25 There are two types of nodes, dummy sink and dummy source. These nodes
30 $ ls -l /sys/bus/coresight/devices | grep dummy
/linux-6.6.21/drivers/i2c/busses/
Di2c-designware-slave.c101 unsigned int stat, dummy; in i2c_dw_read_clear_intrbits_slave() local
125 regmap_read(dev->map, DW_IC_CLR_TX_ABRT, &dummy); in i2c_dw_read_clear_intrbits_slave()
127 regmap_read(dev->map, DW_IC_CLR_RX_UNDER, &dummy); in i2c_dw_read_clear_intrbits_slave()
129 regmap_read(dev->map, DW_IC_CLR_RX_OVER, &dummy); in i2c_dw_read_clear_intrbits_slave()
131 regmap_read(dev->map, DW_IC_CLR_TX_OVER, &dummy); in i2c_dw_read_clear_intrbits_slave()
133 regmap_read(dev->map, DW_IC_CLR_RX_DONE, &dummy); in i2c_dw_read_clear_intrbits_slave()
135 regmap_read(dev->map, DW_IC_CLR_ACTIVITY, &dummy); in i2c_dw_read_clear_intrbits_slave()
137 regmap_read(dev->map, DW_IC_CLR_STOP_DET, &dummy); in i2c_dw_read_clear_intrbits_slave()
139 regmap_read(dev->map, DW_IC_CLR_START_DET, &dummy); in i2c_dw_read_clear_intrbits_slave()
141 regmap_read(dev->map, DW_IC_CLR_GEN_CALL, &dummy); in i2c_dw_read_clear_intrbits_slave()
Di2c-fsi.c218 u32 mode, dummy = 0; in fsi_i2c_set_port() local
233 return fsi_i2c_write_reg(fsi, I2C_FSI_RESET_ERR, &dummy); in fsi_i2c_set_port()
300 u32 dummy; in fsi_i2c_read_fifo() local
317 rc = fsi_device_read(i2c->fsi, I2C_FSI_FIFO, &dummy, in fsi_i2c_read_fifo()
342 u32 dummy = 0; in fsi_i2c_set_scl() local
347 fsi_i2c_write_reg(i2c->fsi, I2C_FSI_SET_SCL, &dummy); in fsi_i2c_set_scl()
349 fsi_i2c_write_reg(i2c->fsi, I2C_FSI_RESET_SCL, &dummy); in fsi_i2c_set_scl()
365 u32 dummy = 0; in fsi_i2c_set_sda() local
370 fsi_i2c_write_reg(i2c->fsi, I2C_FSI_SET_SDA, &dummy); in fsi_i2c_set_sda()
372 fsi_i2c_write_reg(i2c->fsi, I2C_FSI_RESET_SDA, &dummy); in fsi_i2c_set_sda()
[all …]
/linux-6.6.21/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.h41 u8 dummy; member
55 u8 dummy; member
84 __le16 dummy; member
102 u8 dummy; member
108 u8 dummy; member
115 __le16 dummy; member
158 u8 dummy[3]; member
/linux-6.6.21/tools/testing/selftests/fpu/
Dtest_fpu.c20 char dummy[1]; in main() local
29 if (read(fd, dummy, 1) < 0) { in main()
35 if (read(fd, dummy, 1) < 0) { in main()
50 if (read(fd, dummy, 1) < 0) { in main()
/linux-6.6.21/drivers/misc/
Dcs5535-mfgpt.c47 uint32_t msr, mask, value, dummy; in cs5535_mfgpt_toggle_event() local
84 rdmsr(msr, value, dummy); in cs5535_mfgpt_toggle_event()
91 wrmsr(msr, value, dummy); in cs5535_mfgpt_toggle_event()
99 uint32_t zsel, lpc, dummy; in cs5535_mfgpt_set_irq() local
115 rdmsr(MSR_PIC_ZSEL_LOW, zsel, dummy); in cs5535_mfgpt_set_irq()
129 rdmsr(MSR_PIC_IRQM_LPC, lpc, dummy); in cs5535_mfgpt_set_irq()
138 wrmsr(MSR_PIC_ZSEL_LOW, zsel, dummy); in cs5535_mfgpt_set_irq()
251 uint32_t val, dummy; in reset_all_timers() local
254 val = 0xFF; dummy = 0; in reset_all_timers()
255 wrmsr(MSR_MFGPT_SETUP, val, dummy); in reset_all_timers()
/linux-6.6.21/lib/crypto/mpi/
Dmpih-div.c34 mpi_limb_t dummy __maybe_unused; in mpihelp_mod_1()
67 udiv_qrnnd(divisor_limb_inverted, dummy, in mpihelp_mod_1()
81 UDIV_QRNND_PREINV(dummy, r, r, in mpihelp_mod_1()
87 UDIV_QRNND_PREINV(dummy, r, r, in mpihelp_mod_1()
103 udiv_qrnnd(divisor_limb_inverted, dummy, in mpihelp_mod_1()
116 UDIV_QRNND_PREINV(dummy, r, r, in mpihelp_mod_1()
140 udiv_qrnnd(dummy, r, r, in mpihelp_mod_1()
146 udiv_qrnnd(dummy, r, r, in mpihelp_mod_1()
165 udiv_qrnnd(dummy, r, r, n0, divisor_limb); in mpihelp_mod_1()
385 mpi_limb_t dummy __maybe_unused; in mpihelp_divmod_1()
[all …]
/linux-6.6.21/arch/s390/mm/
Dextmem.c167 unsigned long dummy, vmrc; in query_segment_type() local
185 diag_cc = dcss_diag(&segext_scode, qin, &dummy, &vmrc); in query_segment_type()
297 unsigned long start_addr, end_addr, dummy; in __segment_load() local
354 &dummy, &dummy); in __segment_load()
362 &dummy, &dummy); in __segment_load()
458 unsigned long start_addr, end_addr, dummy; in segment_modify_shared() local
495 dcss_diag(&purgeseg_scode, seg->dcss_name, &dummy, &dummy); in segment_modify_shared()
523 dcss_diag(&purgeseg_scode, seg->dcss_name, &dummy, &dummy); in segment_modify_shared()
538 unsigned long dummy; in segment_unload() local
556 dcss_diag(&purgeseg_scode, seg->dcss_name, &dummy, &dummy); in segment_unload()
/linux-6.6.21/drivers/hwmon/
Dadm1177.c76 long dummy; in adm1177_read() local
86 dummy = (data[1] << 4) | (data[2] & 0xF); in adm1177_read()
91 *val = div_u64((105840000ull * dummy), in adm1177_read()
104 dummy = (data[0] << 4) | (data[2] >> 4); in adm1177_read()
110 dummy *= 26350; in adm1177_read()
112 dummy *= 6650; in adm1177_read()
114 *val = DIV_ROUND_CLOSEST(dummy, 4096); in adm1177_read()

12345678910>>...31