Home
last modified time | relevance | path

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

1234567891011

/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()
/drivers/usb/host/
Dehci-mem.c74 if (qh->dummy) in qh_destroy()
75 ehci_qtd_free (ehci, qh->dummy); in qh_destroy()
99 qh->dummy = ehci_qtd_alloc (ehci, flags); in ehci_qh_alloc()
100 if (qh->dummy == NULL) { in ehci_qh_alloc()
126 if (ehci->dummy) in ehci_mem_cleanup()
127 qh_destroy(ehci, ehci->dummy); in ehci_mem_cleanup()
128 ehci->dummy = NULL; in ehci_mem_cleanup()
219 ehci->dummy = ehci_qh_alloc(ehci, flags); in ehci_mem_init()
220 if (!ehci->dummy) in ehci_mem_init()
223 hw = ehci->dummy->hw; in ehci_mem_init()
[all …]
/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.h49 u8 dummy; member
63 u8 dummy; member
91 __le16 dummy; member
109 u8 dummy; member
115 u8 dummy; member
122 __le16 dummy; member
159 u8 dummy[3]; member
/drivers/misc/
Dcs5535-mfgpt.c50 uint32_t msr, mask, value, dummy; in cs5535_mfgpt_toggle_event() local
87 rdmsr(msr, value, dummy); in cs5535_mfgpt_toggle_event()
94 wrmsr(msr, value, dummy); in cs5535_mfgpt_toggle_event()
102 uint32_t zsel, lpc, dummy; in cs5535_mfgpt_set_irq() local
118 rdmsr(MSR_PIC_ZSEL_LOW, zsel, dummy); in cs5535_mfgpt_set_irq()
132 rdmsr(MSR_PIC_IRQM_LPC, lpc, dummy); in cs5535_mfgpt_set_irq()
141 wrmsr(MSR_PIC_ZSEL_LOW, zsel, dummy); in cs5535_mfgpt_set_irq()
254 uint32_t val, dummy; in reset_all_timers() local
257 val = 0xFF; dummy = 0; in reset_all_timers()
258 wrmsr(MSR_MFGPT_SETUP, val, dummy); in reset_all_timers()
Dvmw_balloon.c325 unsigned long status, capabilities, dummy = 0; in vmballoon_send_start() local
330 status = VMWARE_BALLOON_CMD(START, req_caps, dummy, capabilities); in vmballoon_send_start()
386 unsigned long status, dummy = 0; in vmballoon_send_guest_id() local
388 status = VMWARE_BALLOON_CMD(GUEST_ID, VMW_BALLOON_GUEST_ID, dummy, in vmballoon_send_guest_id()
389 dummy); in vmballoon_send_guest_id()
417 unsigned long dummy = 0; in vmballoon_send_get_target() local
436 status = VMWARE_BALLOON_CMD(GET_TARGET, limit, dummy, target); in vmballoon_send_get_target()
455 unsigned long status, dummy = 0; in vmballoon_send_lock_page() local
464 *hv_status = status = VMWARE_BALLOON_CMD(LOCK, pfn, dummy, *target); in vmballoon_send_lock_page()
503 unsigned long status, dummy = 0; in vmballoon_send_unlock_page() local
[all …]
/drivers/usb/gadget/udc/
Ddummy_hcd.c232 struct dummy *dum;
251 struct dummy { struct
291 static inline struct device *udc_dev(struct dummy *dum) in udc_dev()
296 static inline struct dummy *ep_to_dummy(struct dummy_ep *ep) in ep_to_dummy()
298 return container_of(ep->gadget, struct dummy, gadget); in ep_to_dummy()
303 struct dummy *dum = container_of(gadget, struct dummy, gadget); in gadget_to_dummy_hcd()
310 static inline struct dummy *gadget_dev_to_dummy(struct device *dev) in gadget_dev_to_dummy()
312 return container_of(dev, struct dummy, gadget.dev); in gadget_dev_to_dummy()
320 static void nuke(struct dummy *dum, struct dummy_ep *ep) in nuke()
336 static void stop_activity(struct dummy *dum) in stop_activity()
[all …]
/drivers/staging/lustre/lustre/lmv/
Dlproc_lmv.c99 char dummy[MAX_POLICY_STRING_SIZE + 1]; in placement_store() local
103 memcpy(dummy, buffer, MAX_POLICY_STRING_SIZE); in placement_store()
108 if (dummy[count - 1] == '\n') in placement_store()
110 dummy[count] = '\0'; in placement_store()
112 policy = placement_name2policy(dummy, count); in placement_store()
/drivers/isdn/hardware/avm/
Dc4.c318 unsigned long stop, dummy; in c4_detect() local
355 if (c4_peek(card, DC21285_DRAM_A0MR, &dummy)) return 10; in c4_detect()
356 if (c4_peek(card, DC21285_DRAM_A1MR, &dummy)) return 11; in c4_detect()
357 if (c4_peek(card, DC21285_DRAM_A2MR, &dummy)) return 12; in c4_detect()
358 if (c4_peek(card, DC21285_DRAM_A3MR, &dummy)) return 13; in c4_detect()
387 if (c4_peek(card, 0x000000, &dummy) || dummy != 0x11111111 in c4_detect()
388 || c4_peek(card, 0x400000, &dummy) || dummy != 0x22222222 in c4_detect()
389 || c4_peek(card, 0x800000, &dummy) || dummy != 0x33333333 in c4_detect()
390 || c4_peek(card, 0xC00000, &dummy) || dummy != 0x44444444) in c4_detect()
399 if (c4_peek(card, 0x000000, &dummy) || dummy != 0x55555555 in c4_detect()
[all …]
/drivers/ata/
Dpata_cs5535.c105 u32 reg, dummy; in cs5535_set_piomode() local
125 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_piomode()
144 u32 reg, dummy; in cs5535_set_dmamode() local
147 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_dmamode()
Dpata_sl82c105.c83 u16 dummy; in sl82c105_configure_piomode() local
88 pci_read_config_word(pdev, timing, &dummy); in sl82c105_configure_piomode()
120 u16 dummy; in sl82c105_configure_dmamode() local
126 pci_read_config_word(pdev, timing, &dummy); in sl82c105_configure_dmamode()
/drivers/input/touchscreen/
Dad7879-spi.c93 u16 ret, dummy; in ad7879_spi_read() local
95 return ad7879_spi_xfer(spi, AD7879_READCMD(reg), 1, &dummy, &ret) ? : ret; in ad7879_spi_read()
101 u16 dummy; in ad7879_spi_write() local
103 return ad7879_spi_xfer(spi, AD7879_WRITECMD(reg), 1, &val, &dummy); in ad7879_spi_write()
/drivers/ide/
Dcs5535.c78 u32 reg = 0, dummy; in cs5535_set_speed() local
101 rdmsr(unit ? ATAC_CH0D0_PIO : ATAC_CH0D1_PIO, reg, dummy); in cs5535_set_speed()
111 rdmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, reg, dummy); in cs5535_set_speed()
115 rdmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, reg, dummy); in cs5535_set_speed()
/drivers/usb/serial/
Dmos7720.c119 static const unsigned int dummy; /* for clarity in register access fns */ variable
260 write_mos_reg(mos_parport->serial, dummy, MOS7720_ECR, in mos7715_change_mode()
386 urbtrack->setup->wValue = cpu_to_le16(get_reg_value(reg, dummy)); in write_parport_reg_nonblock()
495 write_mos_reg(mos_parport->serial, dummy, MOS7720_DPR, (__u8)d); in parport_mos7715_write_data()
506 read_mos_reg(mos_parport->serial, dummy, MOS7720_DPR, &d); in parport_mos7715_read_data()
519 write_mos_reg(mos_parport->serial, dummy, MOS7720_DCR, data); in parport_mos7715_write_control()
552 write_mos_reg(mos_parport->serial, dummy, MOS7720_DCR, in parport_mos7715_frob_control()
591 write_mos_reg(mos_parport->serial, dummy, MOS7720_DCR, in parport_mos7715_data_forward()
604 write_mos_reg(mos_parport->serial, dummy, MOS7720_DCR, in parport_mos7715_data_reverse()
730 write_mos_reg(mos_parport->serial, dummy, MOS7720_PP_REG, (__u8)0x80); in mos7715_parport_init()
[all …]
/drivers/staging/iio/
DKconfig37 Add some dummy events to the simple dummy driver.
45 Add buffered data capture to the simple dummy driver.
/drivers/md/
Ddm-stats.c952 char dummy; in message_stats_create() local
983 } else if (sscanf(a, "%llu+%llu%c", &start, &len, &dummy) != 2 || in message_stats_create()
992 if (sscanf(a, "/%u%c", &divisor, &dummy) == 1) { in message_stats_create()
1000 } else if (sscanf(a, "%llu%c", &step, &dummy) != 1 || in message_stats_create()
1006 if (a && sscanf(a, "%u%c", &feature_args, &dummy) == 1) { in message_stats_create()
1075 char dummy; in message_stats_delete() local
1080 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) in message_stats_delete()
1090 char dummy; in message_stats_clear() local
1095 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) in message_stats_clear()
1129 char dummy; in message_stats_print() local
[all …]
Ddm-delay.c132 char dummy; in delay_ctr() local
149 if (sscanf(argv[1], "%llu%c", &tmpll, &dummy) != 1) { in delay_ctr()
155 if (sscanf(argv[2], "%u%c", &dc->read_delay, &dummy) != 1) { in delay_ctr()
172 if (sscanf(argv[4], "%llu%c", &tmpll, &dummy) != 1) { in delay_ctr()
178 if (sscanf(argv[5], "%u%c", &dc->write_delay, &dummy) != 1) { in delay_ctr()
/drivers/hv/
Dhv_snapshot.c71 static void vss_send_op(struct work_struct *dummy);
72 static void vss_timeout_func(struct work_struct *dummy);
88 static void vss_timeout_func(struct work_struct *dummy) in vss_timeout_func() argument
155 static void vss_send_op(struct work_struct *dummy) in vss_send_op() argument
Dhv_fcopy.c57 static void fcopy_send_data(struct work_struct *dummy);
58 static void fcopy_timeout_func(struct work_struct *dummy);
77 static void fcopy_timeout_func(struct work_struct *dummy) in fcopy_timeout_func() argument
116 static void fcopy_send_data(struct work_struct *dummy) in fcopy_send_data() argument
/drivers/i2c/busses/
Di2c-sis630.c415 struct pci_dev *dummy = NULL; in sis630_setup() local
422 dummy = pci_get_device(PCI_VENDOR_ID_SI, supported[i], dummy); in sis630_setup()
423 if (dummy) in sis630_setup()
427 if (dummy) { in sis630_setup()
428 pci_dev_put(dummy); in sis630_setup()
/drivers/staging/rtl8192u/
Dr8192U_wx.c859 static int dummy(struct net_device *dev, struct iw_request_info *a, in dummy() function
869 dummy, /* SIOCSIWNWID */
870 dummy, /* SIOCGIWNWID */
883 dummy, /* SIOCSIWSPY */
884 dummy, /* SIOCGIWSPY */
890 dummy, /* SIOCGIWAPLIST -- deprecated */
895 dummy, /* SIOCSIWNICKN */
896 dummy, /* SIOCGIWNICKN */
905 dummy, /* SIOCSIWTXPOW */
906 dummy, /* SIOCGIWTXPOW */
/drivers/hwmon/
Dhwmon-vid.c249 unsigned int vid, brand, __maybe_unused dummy; in get_via_model_d_vrm() local
254 rdmsr(0x198, dummy, vid); in get_via_model_d_vrm()
257 rdmsr(0x1154, brand, dummy); in get_via_model_d_vrm()
/drivers/mtd/devices/
Dm25p80.c129 unsigned int dummy = nor->read_dummy; in m25p80_read() local
132 dummy /= 8; in m25p80_read()
141 t[0].len = m25p_cmdsz(nor) + dummy; in m25p80_read()
151 *retlen = m.actual_length - m25p_cmdsz(nor) - dummy; in m25p80_read()
/drivers/platform/chrome/
Dchromeos_laptop.c185 struct i2c_client *dummy; in __add_probed_i2c_device() local
187 dummy = i2c_new_probed_device(adapter, &dummy_info, in __add_probed_i2c_device()
189 if (dummy) { in __add_probed_i2c_device()
191 __func__, bus, info->addr, dummy->addr); in __add_probed_i2c_device()
192 i2c_unregister_device(dummy); in __add_probed_i2c_device()
/drivers/net/ethernet/amd/
Dni65.h103 volatile unsigned char dummy[3]; member
115 volatile unsigned char dummy[3]; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vce.c384 uint64_t dummy; in amdgpu_vce_get_create_msg() local
397 dummy = ib->gpu_addr + 1024; in amdgpu_vce_get_create_msg()
429 ib->ptr[ib->length_dw++] = upper_32_bits(dummy); in amdgpu_vce_get_create_msg()
430 ib->ptr[ib->length_dw++] = dummy; in amdgpu_vce_get_create_msg()
470 uint64_t dummy; in amdgpu_vce_get_destroy_msg() local
484 dummy = ib->gpu_addr + 1024; in amdgpu_vce_get_destroy_msg()
494 ib->ptr[ib->length_dw++] = upper_32_bits(dummy); in amdgpu_vce_get_destroy_msg()
495 ib->ptr[ib->length_dw++] = dummy; in amdgpu_vce_get_destroy_msg()

1234567891011