/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 28 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_write_data_with_mask() local 30 err = sdata->tf->read_byte(&sdata->tb, sdata->dev, reg_addr, &new_data); in st_sensors_write_data_with_mask() 35 err = sdata->tf->write_byte(&sdata->tb, sdata->dev, reg_addr, new_data); in st_sensors_write_data_with_mask() 66 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_set_odr() local 68 err = st_sensors_match_odr(sdata->sensor, odr, &odr_out); in st_sensors_set_odr() 72 if ((sdata->sensor->odr.addr == sdata->sensor->pw.addr) && in st_sensors_set_odr() 73 (sdata->sensor->odr.mask == sdata->sensor->pw.mask)) { in st_sensors_set_odr() 74 if (sdata->enabled == true) { in st_sensors_set_odr() 76 sdata->sensor->odr.addr, in st_sensors_set_odr() 77 sdata->sensor->odr.mask, in st_sensors_set_odr() [all …]
|
D | st_sensors_trigger.c | 25 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_allocate_trigger() local 27 sdata->trig = iio_trigger_alloc("%s-trigger", indio_dev->name); in st_sensors_allocate_trigger() 28 if (sdata->trig == NULL) { in st_sensors_allocate_trigger() 34 err = request_threaded_irq(sdata->get_irq_data_ready(indio_dev), in st_sensors_allocate_trigger() 38 sdata->trig->name, in st_sensors_allocate_trigger() 39 sdata->trig); in st_sensors_allocate_trigger() 43 iio_trigger_set_drvdata(sdata->trig, indio_dev); in st_sensors_allocate_trigger() 44 sdata->trig->ops = trigger_ops; in st_sensors_allocate_trigger() 45 sdata->trig->dev.parent = sdata->dev; in st_sensors_allocate_trigger() 47 err = iio_trigger_register(sdata->trig); in st_sensors_allocate_trigger() [all …]
|
D | st_sensors_buffer.c | 29 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_get_buffer_element() local 39 len = sdata->tf->read_multiple_byte(&sdata->tb, sdata->dev, in st_sensors_get_buffer_element() 41 sdata->multiread_bit); in st_sensors_get_buffer_element() 45 len = sdata->tf->read_multiple_byte(&sdata->tb, in st_sensors_get_buffer_element() 46 sdata->dev, addr[0], in st_sensors_get_buffer_element() 48 buf, sdata->multiread_bit); in st_sensors_get_buffer_element() 52 len = sdata->tf->read_multiple_byte(&sdata->tb, in st_sensors_get_buffer_element() 53 sdata->dev, addr[0], in st_sensors_get_buffer_element() 56 rx_array, sdata->multiread_bit); in st_sensors_get_buffer_element() 71 len = sdata->tf->read_multiple_byte(&sdata->tb, sdata->dev, in st_sensors_get_buffer_element() [all …]
|
D | st_sensors_i2c.c | 23 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_i2c_get_irq() local 25 return to_i2c_client(sdata->dev)->irq; in st_sensors_i2c_get_irq() 67 struct i2c_client *client, struct st_sensor_data *sdata) in st_sensors_i2c_configure() argument 74 sdata->tf = &st_sensors_tf_i2c; in st_sensors_i2c_configure() 75 sdata->get_irq_data_ready = st_sensors_i2c_get_irq; in st_sensors_i2c_configure()
|
D | st_sensors_spi.c | 24 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_spi_get_irq() local 26 return to_spi_device(sdata->dev)->irq; in st_sensors_spi_get_irq() 107 struct spi_device *spi, struct st_sensor_data *sdata) in st_sensors_spi_configure() argument 114 sdata->tf = &st_sensors_tf_spi; in st_sensors_spi_configure() 115 sdata->get_irq_data_ready = st_sensors_spi_get_irq; in st_sensors_spi_configure()
|
/drivers/media/pci/cx18/ |
D | cx18-vbi.c | 63 struct v4l2_sliced_vbi_data *sdata = cx->vbi.sliced_data + i; in copy_vbi_data() local 66 if (sdata->id == 0) in copy_vbi_data() 69 l = sdata->line - 6; in copy_vbi_data() 70 f = sdata->field; in copy_vbi_data() 77 dst[sd + 12 + line * 43] = cx18_service2vbi(sdata->id); in copy_vbi_data() 78 memcpy(dst + sd + 12 + line * 43 + 1, sdata->data, 42); in copy_vbi_data()
|
/drivers/platform/x86/ |
D | samsung-laptop.c | 1142 struct sabi_data *sdata = &samsung->debug.data; in show_call() local 1147 sdata->d0, sdata->d1, sdata->d2, sdata->d3); in show_call() 1149 ret = sabi_command(samsung, samsung->debug.command, sdata, sdata); in show_call() 1158 sdata->d0, sdata->d1, sdata->d2, sdata->d3); in show_call()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_ruc.c | 268 u64 sdata; in ipath_ruc_loopback() local 386 sdata = wqe->wr.wr.atomic.compare_add; in ipath_ruc_loopback() 389 (u64) atomic64_add_return(sdata, maddr) - sdata : in ipath_ruc_loopback() 391 sdata, wqe->wr.wr.atomic.swap); in ipath_ruc_loopback()
|
D | ipath_rc.c | 1872 u64 sdata; in ipath_rc_rcv() local 1907 sdata = be64_to_cpu(ateth->swap_data); in ipath_rc_rcv() 1910 (u64) atomic64_add_return(sdata, maddr) - sdata : in ipath_rc_rcv() 1913 sdata); in ipath_rc_rcv()
|
/drivers/infiniband/hw/qib/ |
D | qib_ruc.c | 363 u64 sdata; in qib_ruc_loopback() local 498 sdata = wqe->wr.wr.atomic.compare_add; in qib_ruc_loopback() 501 (u64) atomic64_add_return(sdata, maddr) - sdata : in qib_ruc_loopback() 503 sdata, wqe->wr.wr.atomic.swap); in qib_ruc_loopback()
|
D | qib_rc.c | 2170 u64 sdata; in qib_rc_rcv() local 2203 sdata = be64_to_cpu(ateth->swap_data); in qib_rc_rcv() 2205 (u64) atomic64_add_return(sdata, maddr) - sdata : in qib_rc_rcv() 2208 sdata); in qib_rc_rcv()
|
/drivers/scsi/ |
D | gdth_ioctl.h | 90 u32 sdata; /* dest. addr. (if s/g: -1) */ member 109 u64 sdata; /* dest. addr. (if s/g: -1) */ member
|
D | gdth.c | 2702 cmdp->u.raw64.sdata = (u64)-1; in gdth_fill_raw_cmd() 2717 cmdp->u.raw.sdata = 0xffffffff; in gdth_fill_raw_cmd() 2738 cmdp->u.raw64.sdata,cmdp->u.raw64.sg_ranz, in gdth_fill_raw_cmd() 2746 cmdp->u.raw.sdata,cmdp->u.raw.sg_ranz, in gdth_fill_raw_cmd() 4239 gen.command.u.raw64.sdata = (u64)-1; in ioc_general() 4245 gen.command.u.raw64.sdata = paddr; in ioc_general() 4251 gen.command.u.raw.sdata = 0xffffffff; in ioc_general() 4257 gen.command.u.raw.sdata = paddr; in ioc_general()
|
/drivers/s390/cio/ |
D | device_ops.c | 512 struct stlck_data *sdata = data; in ccw_device_stlck_done() local 514 sdata->rc = rc; in ccw_device_stlck_done() 515 complete(&sdata->done); in ccw_device_stlck_done()
|
/drivers/spi/ |
D | spi-atmel.c | 441 struct at_dma_slave *sdata = &as->dma.dma_slave; in atmel_spi_configure_dma() local 445 if (sdata && sdata->dma_dev) { in atmel_spi_configure_dma() 451 as->dma.chan_tx = dma_request_channel(mask, filter, sdata); in atmel_spi_configure_dma() 454 dma_request_channel(mask, filter, sdata); in atmel_spi_configure_dma()
|
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
D | init.c | 1420 u16 mdata, sdata; in init_configure_mem() local 1433 sdata = bmp_sdr_seq_table(bios); in init_configure_mem() 1435 sdata = bmp_ddr_seq_table(bios); in init_configure_mem() 1441 while ((addr = nv_ro32(bios, sdata)) != 0xffffffff) { in init_configure_mem()
|
/drivers/s390/net/ |
D | qeth_core_main.c | 4383 struct qeth_reply *reply, unsigned long sdata) in qeth_snmp_command_cb() argument 4393 cmd = (struct qeth_ipa_cmd *) sdata; in qeth_snmp_command_cb()
|