Home
last modified time | relevance | path

Searched refs:data_in (Results 1 – 25 of 26) sorted by relevance

12

/drivers/comedi/drivers/
Dmpc624.c114 unsigned int data_in = 0; in mpc624_ai_get_sample() local
135 data_in <<= 1; in mpc624_ai_get_sample()
136 data_in |= (inb(dev->iobase + MPC624_ADC) & MPC624_ADSDO) >> 4; in mpc624_ai_get_sample()
158 if (data_in & MPC624_EOC_BIT) in mpc624_ai_get_sample()
160 if (data_in & MPC624_DMY_BIT) in mpc624_ai_get_sample()
163 if (data_in & MPC624_SGN_BIT) { in mpc624_ai_get_sample()
170 data_in &= 0x3fffffff; in mpc624_ai_get_sample()
178 data_in |= MPC624_SGN_BIT; in mpc624_ai_get_sample()
179 data_in = ~data_in; in mpc624_ai_get_sample()
180 data_in += 1; in mpc624_ai_get_sample()
[all …]
Dni_mio_common.c3756 unsigned char *data_in) in ni_serial_hw_readwrite8() argument
3795 if (data_in) in ni_serial_hw_readwrite8()
3796 *data_in = ni_stc_readw(dev, NISTC_DIO_SERIAL_IN_REG); in ni_serial_hw_readwrite8()
3807 unsigned char *data_in) in ni_serial_sw_readwrite8() argument
3845 if (data_in) in ni_serial_sw_readwrite8()
3846 *data_in = input; in ni_serial_sw_readwrite8()
/drivers/input/joystick/iforce/
Diforce-usb.c19 u8 data_in[IFORCE_MAX_LENGTH] ____cacheline_aligned; member
162 iforce_process_packet(iforce, iforce_usb->data_in[0], in iforce_usb_irq()
163 iforce_usb->data_in + 1, urb->actual_length - 1); in iforce_usb_irq()
230 iforce_usb->data_in, sizeof(iforce_usb->data_in), in iforce_usb_probe()
Diforce-serio.c21 u8 data_in[IFORCE_MAX_LENGTH]; member
158 iforce_serio->data_in[iforce_serio->idx++] = data; in iforce_serio_irq()
168 iforce_serio->data_in, IFORCE_MAX_LENGTH); in iforce_serio_irq()
175 iforce_serio->data_in, in iforce_serio_irq()
/drivers/char/ipmi/
Dkcs_bmc_cdev_ipmi.c82 u8 *data_in; member
154 priv->data_in[priv->data_in_idx++] = kcs_bmc_read_data(dev); in kcs_bmc_ipmi_handle_data()
164 priv->data_in[priv->data_in_idx++] = kcs_bmc_read_data(dev); in kcs_bmc_ipmi_handle_data()
338 memcpy(priv->kbuffer, priv->data_in, data_len); in kcs_bmc_ipmi_read()
488 priv->data_in = devm_kmalloc(kcs_bmc->dev, KCS_MSG_BUFSIZ, GFP_KERNEL); in kcs_bmc_ipmi_add_device()
495 if (!priv->data_in || !priv->data_out || !priv->kbuffer || !priv->miscdev.name) in kcs_bmc_ipmi_add_device()
536 devm_kfree(kcs_bmc->dev, priv->data_in); in kcs_bmc_ipmi_remove_device()
/drivers/mtd/nand/raw/
Dams-delta.c43 bool data_in; member
80 priv->data_in = false; in gpio_nand_dir_output()
109 priv->data_in = true; in gpio_nand_dir_input()
116 if (len > 0 && priv->data_in) in gpio_nand_write_buf()
127 if (priv->data_gpiods && !priv->data_in) in gpio_nand_read_buf()
339 priv->data_in = true; in gpio_nand_probe()
/drivers/gpio/
Dgpio-mvebu.c319 u32 data_in, in_pol; in mvebu_gpio_get() local
322 &data_in); in mvebu_gpio_get()
325 u = data_in ^ in_pol; in mvebu_gpio_get()
537 u32 data_in, in_pol, val; in mvebu_gpio_irq_set_type() local
542 GPIO_DATA_IN_OFF + mvchip->offset, &data_in); in mvebu_gpio_irq_set_type()
547 if ((data_in ^ in_pol) & BIT(pin)) in mvebu_gpio_irq_set_type()
565 u32 cause, type, data_in, level_mask, edge_cause, edge_mask; in mvebu_gpio_irq_handler() local
573 regmap_read(mvchip->regs, GPIO_DATA_IN_OFF + mvchip->offset, &data_in); in mvebu_gpio_irq_handler()
578 cause = (data_in & level_mask) | (edge_cause & edge_mask); in mvebu_gpio_irq_handler()
886 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in mvebu_gpio_dbg_show() local
[all …]
/drivers/hwmon/
Dsbrmi.c72 u32 data_in; member
124 byte = (msg->data_in >> i * 8) & 0xff; in rmi_mailbox_xfer()
242 msg.data_in = val; in sbrmi_write()
/drivers/scsi/sym53c8xx_2/
Dsym_fw.c291 sym_fw_fill_data(scripta0->data_in, scripta0->data_out); in sym_fw1_setup()
313 sym_fw_fill_data(scripta0->data_in, scripta0->data_out); in sym_fw2_setup()
Dsym_fw.h44 SYM_GEN_A(s, data_in) SYM_GEN_A(s, data_in2) \
Dsym_fw1.h130 u32 data_in [SYM_CONF_MAX_SG * 2]; member
Dsym_fw2.h116 u32 data_in [SYM_CONF_MAX_SG * 2]; member
/drivers/i2c/busses/
Di2c-brcmstb.c81 u32 data_in[N_DATA_REGS]; /* tx data buffer*/ member
378 bsc_writel(dev, word, data_in[i]); in brcmstb_i2c_xfer_bsc_data()
413 bsc_writel(dev, *buf, data_in); in brcmstb_i2c_write_data_byte()
/drivers/infiniband/hw/hfi1/
Dfirmware.c1035 u8 receiver_addr, u8 data_addr, u8 command, u32 data_in) in sbus_request() argument
1038 ((u64)data_in << ASIC_CFG_SBUS_REQUEST_DATA_IN_SHIFT) | in sbus_request()
1051 u32 data_in) in sbus_read() argument
1059 sbus_request(dd, receiver_addr, data_addr, READ_SBUS_RECEIVER, data_in); in sbus_read()
1173 u8 receiver_addr, u8 data_addr, u8 command, u32 data_in) in sbus_request_slow() argument
1180 sbus_request(dd, receiver_addr, data_addr, command, data_in); in sbus_request_slow()
Dchip.h680 u8 receiver_addr, u8 data_addr, u8 command, u32 data_in);
682 u8 receiver_addr, u8 data_addr, u8 command, u32 data_in);
/drivers/scsi/pcmcia/
Dsym53c500_cs.c198 data_in, enumerator
434 curSC->SCp.phase = data_in; in SYM53C500_intr()
/drivers/usb/host/
Dxhci-tegra.c175 u16 data_in; member
480 fpci_writel(tegra, value, tegra->soc->mbox.data_in); in tegra_xusb_mbox_send()
2291 .data_in = 0xe8,
2327 .data_in = 0xe8,
2368 .data_in = 0xe8,
2399 .data_in = 0x6c,
/drivers/scsi/
Dstorvsc_drv.c202 u8 data_in; member
1810 vm_srb->data_in = WRITE_TYPE; in storvsc_queuecommand()
1814 vm_srb->data_in = READ_TYPE; in storvsc_queuecommand()
1818 vm_srb->data_in = UNKNOWN_TYPE; in storvsc_queuecommand()
Dncr53c8xx.c1837 ncrcmd data_in [MAX_SCATTERL * 4]; member
3117 PADDR (data_in),
3444 p = scr->data_in; in ncr_script_fill()
3452 BUG_ON((u_long)p != (u_long)&scr->data_in + sizeof (scr->data_in)); in ncr_script_fill()
/drivers/thunderbolt/
Dtb_regs.h139 bool data_in:1; /* from eeprom */ member
Deeprom.c129 *val |= ctl.data_in; in tb_eeprom_in()
/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.c676 void *data_in = NULL; in _ctl_do_mpt_command() local
776 data_in = dma_alloc_coherent(&ioc->pdev->dev, data_in_sz, in _ctl_do_mpt_command()
778 if (!data_in) { in _ctl_do_mpt_command()
1056 if (copy_to_user(karg.data_in_buf_ptr, data_in, in _ctl_do_mpt_command()
1135 if (data_in) in _ctl_do_mpt_command()
1136 dma_free_coherent(&ioc->pdev->dev, data_in_sz, data_in, in _ctl_do_mpt_command()
/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c36 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in, in mlx5_core_access_reg() argument
53 memcpy(data, data_in, size_in); in mlx5_core_access_reg()
/drivers/scsi/qedi/
Dqedi_fw.c593 cqe_data_in = &cqe->cqe_common.iscsi_hdr.data_in; in qedi_scsi_completion()
/drivers/scsi/aic7xxx/
Daic7xxx.seq1725 * since they are only initialized when we go into data_in or data_out.

12