/drivers/cpufreq/ |
D | speedstep-smi.c | 64 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/ |
D | ehci-mem.c | 61 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 …]
|
/drivers/gpu/drm/msm/ |
D | msm_gpu_trace.h | 156 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)
|
/drivers/i2c/busses/ |
D | i2c-designware-slave.c | 101 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()
|
D | i2c-fsi.c | 218 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 …]
|
D | i2c-designware-master.c | 215 unsigned int dummy; in i2c_dw_xfer_init() local 249 regmap_read(dev->map, DW_IC_ENABLE_STATUS, &dummy); in i2c_dw_xfer_init() 252 regmap_read(dev->map, DW_IC_CLR_INTR, &dummy); in i2c_dw_xfer_init() 751 unsigned int stat, dummy; in i2c_dw_read_clear_intrbits() local 775 regmap_read(dev->map, DW_IC_CLR_RX_UNDER, &dummy); in i2c_dw_read_clear_intrbits() 777 regmap_read(dev->map, DW_IC_CLR_RX_OVER, &dummy); in i2c_dw_read_clear_intrbits() 779 regmap_read(dev->map, DW_IC_CLR_TX_OVER, &dummy); in i2c_dw_read_clear_intrbits() 781 regmap_read(dev->map, DW_IC_CLR_RD_REQ, &dummy); in i2c_dw_read_clear_intrbits() 788 regmap_read(dev->map, DW_IC_CLR_TX_ABRT, &dummy); in i2c_dw_read_clear_intrbits() 791 regmap_read(dev->map, DW_IC_CLR_RX_DONE, &dummy); in i2c_dw_read_clear_intrbits() [all …]
|
/drivers/misc/ |
D | cs5535-mfgpt.c | 47 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()
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.h | 41 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
|
/drivers/hwmon/ |
D | adm1177.c | 76 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()
|
/drivers/spi/ |
D | spi-rpc-if.c | 35 if (spi_op->dummy.nbytes) { in rpcif_spi_mem_prepare() 36 rpc_op.dummy.buswidth = spi_op->dummy.buswidth; in rpcif_spi_mem_prepare() 37 rpc_op.dummy.ncycles = spi_op->dummy.nbytes * 8 / in rpcif_spi_mem_prepare() 38 spi_op->dummy.buswidth; in rpcif_spi_mem_prepare() 71 op->dummy.buswidth > 4 || op->cmd.buswidth > 4 || in rpcif_spi_mem_supports_op()
|
D | spi-mtk-nor.c | 187 int dummy = 0; in mtk_nor_match_read() local 189 if (op->dummy.nbytes) in mtk_nor_match_read() 190 dummy = op->dummy.nbytes * BITS_PER_BYTE / op->dummy.buswidth; in mtk_nor_match_read() 194 return dummy == 8; in mtk_nor_match_read() 196 return dummy == 4; in mtk_nor_match_read() 198 return dummy == 6; in mtk_nor_match_read() 201 return dummy == 0; in mtk_nor_match_read() 203 return dummy == 8; in mtk_nor_match_read() 214 (op->dummy.buswidth > 1) || (op->data.buswidth > 1)) in mtk_nor_match_prg() 221 tx_len += op->dummy.nbytes; in mtk_nor_match_prg() [all …]
|
D | spi-aspeed-smc.c | 34 #define CTRL_IO_DUMMY_SET(dummy) \ argument 35 (((((dummy) >> 2) & 0x1) << 14) | (((dummy) & 0x3) << 6)) 234 u8 dummy = 0xFF; in aspeed_spi_read_user() local 244 if (op->dummy.buswidth && op->dummy.nbytes) { in aspeed_spi_read_user() 245 for (i = 0; i < op->dummy.nbytes / op->dummy.buswidth; i++) in aspeed_spi_read_user() 246 aspeed_spi_write_to_ahb(chip->ahb_base, &dummy, sizeof(dummy)); in aspeed_spi_read_user() 283 if (op->dummy.nbytes != 0) { in aspeed_spi_supports_op() 284 if (op->dummy.buswidth > 1 || op->dummy.nbytes > 7) in aspeed_spi_supports_op() 308 op->dummy.buswidth, op->data.buswidth, in do_aspeed_spi_exec_op() 309 op->addr.nbytes, op->dummy.nbytes, op->data.nbytes); in do_aspeed_spi_exec_op() [all …]
|
D | spi-rockchip-sfc.c | 285 if (unlikely(op->dummy.nbytes && !op->addr.nbytes)) { in rockchip_sfc_adjust_op_work() 290 op->addr.nbytes = op->dummy.nbytes; in rockchip_sfc_adjust_op_work() 291 op->addr.buswidth = op->dummy.buswidth; in rockchip_sfc_adjust_op_work() 294 op->dummy.nbytes = 0; in rockchip_sfc_adjust_op_work() 324 if (op->dummy.nbytes) { in rockchip_sfc_xfer_setup() 325 if (op->dummy.buswidth == 4) in rockchip_sfc_xfer_setup() 326 cmd |= op->dummy.nbytes * 2 << SFC_CMD_DUMMY_SHIFT; in rockchip_sfc_xfer_setup() 327 else if (op->dummy.buswidth == 2) in rockchip_sfc_xfer_setup() 328 cmd |= op->dummy.nbytes * 4 << SFC_CMD_DUMMY_SHIFT; in rockchip_sfc_xfer_setup() 330 cmd |= op->dummy.nbytes * 8 << SFC_CMD_DUMMY_SHIFT; in rockchip_sfc_xfer_setup() [all …]
|
D | spi-mem.c | 152 if (op->dummy.nbytes && in spi_mem_check_buswidth() 153 spi_check_buswidth_req(mem, op->dummy.buswidth, true)) in spi_mem_check_buswidth() 169 op->cmd.dtr || op->addr.dtr || op->dummy.dtr || op->data.dtr; in spi_mem_default_supports_op() 205 (op->dummy.nbytes && !op->dummy.buswidth) || in spi_mem_check_op() 211 !spi_mem_buswidth_is_valid(op->dummy.buswidth) || in spi_mem_check_op() 346 tmpbufsize = op->cmd.nbytes + op->addr.nbytes + op->dummy.nbytes; in spi_mem_exec_op() 382 if (op->dummy.nbytes) { in spi_mem_exec_op() 383 memset(tmpbuf + op->addr.nbytes + 1, 0xff, op->dummy.nbytes); in spi_mem_exec_op() 385 xfers[xferpos].len = op->dummy.nbytes; in spi_mem_exec_op() 386 xfers[xferpos].tx_nbits = op->dummy.buswidth; in spi_mem_exec_op() [all …]
|
D | spi-wpcm-fiu.c | 147 op->dummy.nbytes == 0 && op->data.nbytes <= 4; in wpcm_fiu_normal_match() 172 op->dummy.nbytes == 1 && in wpcm_fiu_fast_read_match() 192 return op->addr.nbytes == 4 && op->dummy.nbytes == 0 && op->data.nbytes <= 4; in wpcm_fiu_4ba_match() 236 op->dummy.nbytes == 0 && op->data.nbytes == 6 && in wpcm_fiu_rdid_match() 273 op->dummy.nbytes >= 1 && op->dummy.nbytes <= 5 && in wpcm_fiu_dummy_match() 287 wpcm_fiu_do_uma(fiu, cs, op->addr.nbytes != 0, true, op->dummy.nbytes - 1); in wpcm_fiu_dummy_exec() 327 if (op->cmd.dtr || op->addr.dtr || op->dummy.dtr || op->data.dtr) in wpcm_fiu_supports_op() 331 op->dummy.buswidth > 1 || op->data.buswidth > 1) in wpcm_fiu_supports_op()
|
/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 241 struct dummy *dum; 260 struct dummy { struct 300 static inline struct device *udc_dev(struct dummy *dum) in udc_dev() 305 static inline struct dummy *ep_to_dummy(struct dummy_ep *ep) in ep_to_dummy() 307 return container_of(ep->gadget, struct dummy, gadget); in ep_to_dummy() 312 struct dummy *dum = container_of(gadget, struct dummy, gadget); in gadget_to_dummy_hcd() 319 static inline struct dummy *gadget_dev_to_dummy(struct device *dev) in gadget_dev_to_dummy() 321 return container_of(dev, struct dummy, gadget.dev); in gadget_dev_to_dummy() 329 static void nuke(struct dummy *dum, struct dummy_ep *ep) in nuke() 345 static void stop_activity(struct dummy *dum) in stop_activity() [all …]
|
/drivers/iio/dummy/ |
D | Kconfig | 5 menu "IIO dummy driver" 26 Add some dummy events to the simple dummy driver. 39 Add buffered data capture to the simple dummy driver.
|
/drivers/usb/serial/ |
D | mos7720.c | 105 static const unsigned int dummy; /* for clarity in register access fns */ variable 246 write_mos_reg(mos_parport->serial, dummy, MOS7720_ECR, in mos7715_change_mode() 326 write_mos_reg(mos_parport->serial, dummy, MOS7720_DCR, in deferred_restore_writes() 328 write_mos_reg(mos_parport->serial, dummy, MOS7720_ECR, in deferred_restore_writes() 341 write_mos_reg(mos_parport->serial, dummy, MOS7720_DPR, (__u8)d); in parport_mos7715_write_data() 352 read_mos_reg(mos_parport->serial, dummy, MOS7720_DPR, &d); in parport_mos7715_read_data() 365 write_mos_reg(mos_parport->serial, dummy, MOS7720_DCR, data); in parport_mos7715_write_control() 398 write_mos_reg(mos_parport->serial, dummy, MOS7720_DCR, in parport_mos7715_frob_control() 437 write_mos_reg(mos_parport->serial, dummy, MOS7720_DCR, in parport_mos7715_data_forward() 450 write_mos_reg(mos_parport->serial, dummy, MOS7720_DCR, in parport_mos7715_data_reverse() [all …]
|
/drivers/staging/vc04_services/bcm2835-audio/ |
D | vc_vchi_audioserv_defs.h | 46 u32 dummy; member 50 u32 dummy; member 54 u32 dummy; member
|
/drivers/ata/ |
D | pata_cs5535.c | 93 u32 reg, __maybe_unused dummy; in cs5535_set_piomode() local 113 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_piomode() 132 u32 reg, __maybe_unused dummy; in cs5535_set_dmamode() local 135 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_dmamode()
|
/drivers/net/dsa/sja1105/ |
D | sja1105_tas.c | 471 struct tc_taprio_qopt_offload *dummy; in sja1105_gating_check_conflicts() local 480 dummy = kzalloc(struct_size(dummy, entries, num_entries), GFP_KERNEL); in sja1105_gating_check_conflicts() 481 if (!dummy) { in sja1105_gating_check_conflicts() 486 dummy->num_entries = num_entries; in sja1105_gating_check_conflicts() 487 dummy->base_time = gating_cfg->base_time; in sja1105_gating_check_conflicts() 488 dummy->cycle_time = gating_cfg->cycle_time; in sja1105_gating_check_conflicts() 491 dummy->entries[i++].interval = e->interval; in sja1105_gating_check_conflicts() 494 conflict = sja1105_tas_check_conflicts(priv, port, dummy); in sja1105_gating_check_conflicts() 498 dummy); in sja1105_gating_check_conflicts() 504 kfree(dummy); in sja1105_gating_check_conflicts()
|
/drivers/i2c/muxes/ |
D | i2c-arb-gpio-challenge.c | 103 struct gpio_desc *dummy; in i2c_arbitrator_probe() local 140 dummy = devm_gpiod_get_index(dev, "their-claim", 1, GPIOD_IN); in i2c_arbitrator_probe() 141 if (!IS_ERR(dummy)) { in i2c_arbitrator_probe() 144 } else if (PTR_ERR(dummy) == -EPROBE_DEFER) { in i2c_arbitrator_probe()
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_fs.c | 191 struct npc_key_field *dummy, *input; in npc_check_overlap() local 196 dummy = &mcam->rx_key_fields[NPC_UNKNOWN]; in npc_check_overlap() 200 dummy = &mcam->tx_key_fields[NPC_UNKNOWN]; in npc_check_overlap() 212 memset(dummy, 0, sizeof(struct npc_key_field)); in npc_check_overlap() 216 if (npc_is_same(input, dummy)) in npc_check_overlap() 218 start_kwi = dummy->layer_mdata.key / 8; in npc_check_overlap() 219 offset = (dummy->layer_mdata.key * 8) % 64; in npc_check_overlap() 220 nr_bits = dummy->layer_mdata.len * 8; in npc_check_overlap() 227 if (npc_check_overlap_fields(dummy, input)) in npc_check_overlap() 727 struct mcam_entry dummy = { {0} }; in npc_update_entry() local [all …]
|
/drivers/memory/ |
D | renesas-rpc-if.c | 190 u32 dummy; /* DRDMCR or SMDMCR */ member 331 u32 dummy; in rpcif_hw_init() local 381 regmap_read(rpc->regmap, RPCIF_DRCR, &dummy); in rpcif_hw_init() 425 rpc->dummy = 0; in rpcif_prepare() 459 if (op->dummy.buswidth) { in rpcif_prepare() 461 rpc->dummy = RPCIF_SMDMCR_DMCYC(op->dummy.ncycles); in rpcif_prepare() 518 regmap_write(rpc->regmap, RPCIF_SMDMCR, rpc->dummy); in rpcif_manual_xfer() 563 u32 dummy; in rpcif_manual_xfer() local 575 regmap_write(rpc->regmap, RPCIF_DRDMCR, rpc->dummy); in rpcif_manual_xfer() 580 regmap_read(rpc->regmap, RPCIF_DRCR, &dummy); in rpcif_manual_xfer() [all …]
|
/drivers/staging/media/ipu3/ |
D | ipu3.c | 282 bool dummy; in imgu_queue_buffers() local 290 dummy = imgu_dummybufs_check(imgu, buf, pipe); in imgu_queue_buffers() 291 if (!dummy) in imgu_queue_buffers() 296 dummy ? "dummy" : "user", in imgu_queue_buffers() 298 dummy ? 0 : ibuf->vid_buf.vbb.vb2_buf.index, in imgu_queue_buffers() 521 bool dummy; in imgu_isr_threaded() local 539 dummy = imgu_dummybufs_check(imgu, b, pipe); in imgu_isr_threaded() 540 if (!dummy) in imgu_isr_threaded() 544 dummy ? "dummy" : "user", in imgu_isr_threaded() 546 dummy ? 0 : buf->vid_buf.vbb.vb2_buf.index, in imgu_isr_threaded() [all …]
|