/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 34 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_write_data_with_mask() local 36 err = sdata->tf->read_byte(&sdata->tb, sdata->dev, reg_addr, &new_data); in st_sensors_write_data_with_mask() 41 err = sdata->tf->write_byte(&sdata->tb, sdata->dev, reg_addr, new_data); in st_sensors_write_data_with_mask() 51 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_debugfs_reg_access() local 56 return sdata->tf->write_byte(&sdata->tb, sdata->dev, in st_sensors_debugfs_reg_access() 59 err = sdata->tf->read_byte(&sdata->tb, sdata->dev, (u8)reg, &readdata); in st_sensors_debugfs_reg_access() 94 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_set_odr() local 96 err = st_sensors_match_odr(sdata->sensor_settings, odr, &odr_out); in st_sensors_set_odr() 100 if ((sdata->sensor_settings->odr.addr == in st_sensors_set_odr() 101 sdata->sensor_settings->pw.addr) && 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() 45 iio_trigger_set_drvdata(sdata->trig, indio_dev); in st_sensors_allocate_trigger() 46 sdata->trig->ops = trigger_ops; in st_sensors_allocate_trigger() 47 sdata->trig->dev.parent = sdata->dev; in st_sensors_allocate_trigger() 49 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 30 unsigned int num_data_channels = sdata->num_data_channels; in st_sensors_get_buffer_element() 48 len = sdata->tf->read_multiple_byte(&sdata->tb, sdata->dev, in st_sensors_get_buffer_element() 49 addr[0], byte_for_channel, buf, sdata->multiread_bit); in st_sensors_get_buffer_element() 53 len = sdata->tf->read_multiple_byte(&sdata->tb, in st_sensors_get_buffer_element() 54 sdata->dev, addr[0], byte_for_channel * n, in st_sensors_get_buffer_element() 55 buf, sdata->multiread_bit); in st_sensors_get_buffer_element() 65 len = sdata->tf->read_multiple_byte(&sdata->tb, in st_sensors_get_buffer_element() 66 sdata->dev, addr[0], in st_sensors_get_buffer_element() 68 rx_array, sdata->multiread_bit); in st_sensors_get_buffer_element() [all …]
|
D | st_sensors_i2c.c | 24 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_i2c_get_irq() local 26 return to_i2c_client(sdata->dev)->irq; in st_sensors_i2c_get_irq() 68 struct i2c_client *client, struct st_sensor_data *sdata) in st_sensors_i2c_configure() argument 75 sdata->dev = &client->dev; in st_sensors_i2c_configure() 76 sdata->tf = &st_sensors_tf_i2c; in st_sensors_i2c_configure() 77 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->dev = &spi->dev; in st_sensors_spi_configure() 115 sdata->tf = &st_sensors_tf_spi; in st_sensors_spi_configure() 116 sdata->get_irq_data_ready = st_sensors_spi_get_irq; in st_sensors_spi_configure()
|
/drivers/hwmon/ |
D | ibmpowernv.c | 89 struct sensor_data *sdata = container_of(devattr, struct sensor_data, in show_sensor() local 94 ret = opal_get_sensor_data(sdata->id, &x); in show_sensor() 99 if (sdata->type == TEMP) in show_sensor() 102 else if (sdata->type == POWER_INPUT) in show_sensor() 111 struct sensor_data *sdata = container_of(devattr, struct sensor_data, in show_label() local 114 return sprintf(buf, "%s\n", sdata->label); in show_label() 129 struct sensor_data *sdata, const char *label) in make_sensor_label() argument 134 n = snprintf(sdata->label, sizeof(sdata->label), "%s", label); in make_sensor_label() 149 n += snprintf(sdata->label + n, in make_sensor_label() 150 sizeof(sdata->label) - n, " %d-%d", in make_sensor_label() [all …]
|
/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/dma/ |
D | s3c24xx-dma.c | 241 struct soc_data *sdata; member 274 if (s3cdma->sdata->has_reqsel) in s3c24xx_dma_phy_valid() 329 if (s3cdma->sdata->has_clocks) { in s3c24xx_dma_get_phy() 351 if (s3cdma->sdata->has_clocks) in s3c24xx_dma_put_phy() 474 if (s3cdma->sdata->has_reqsel) { in s3c24xx_dma_start_next_sg() 487 if (s3cdma->sdata->has_reqsel) in s3c24xx_dma_start_next_sg() 1195 struct soc_data *sdata; in s3c24xx_dma_probe() local 1212 sdata = s3c24xx_dma_get_soc_data(pdev); in s3c24xx_dma_probe() 1213 if (!sdata) in s3c24xx_dma_probe() 1222 s3cdma->sdata = sdata; in s3c24xx_dma_probe() [all …]
|
/drivers/cpufreq/ |
D | qoriq-cpufreq.c | 50 static const struct soc_data sdata[] = { variable 336 { .compatible = "fsl,p2041-clockgen", .data = &sdata[0], }, 337 { .compatible = "fsl,p3041-clockgen", .data = &sdata[0], }, 338 { .compatible = "fsl,p5020-clockgen", .data = &sdata[1], }, 339 { .compatible = "fsl,p4080-clockgen", .data = &sdata[2], }, 340 { .compatible = "fsl,p5040-clockgen", .data = &sdata[2], },
|
/drivers/platform/x86/ |
D | samsung-laptop.c | 1258 struct sabi_data *sdata = &samsung->debug.data; in show_call() local 1263 sdata->d0, sdata->d1, sdata->d2, sdata->d3); in show_call() 1265 ret = sabi_command(samsung, samsung->debug.command, sdata, sdata); in show_call() 1274 sdata->d0, sdata->d1, sdata->d2, sdata->d3); in show_call()
|
/drivers/thermal/st/ |
D | st_thermal_memmap.c | 41 static irqreturn_t st_mmap_thermal_trip_handler(int irq, void *sdata) in st_mmap_thermal_trip_handler() argument 43 struct st_thermal_sensor *sensor = sdata; in st_mmap_thermal_trip_handler()
|
/drivers/staging/rdma/ipath/ |
D | ipath_ruc.c | 267 u64 sdata; in ipath_ruc_loopback() local 385 sdata = wqe->atomic_wr.compare_add; in ipath_ruc_loopback() 388 (u64) atomic64_add_return(sdata, maddr) - sdata : in ipath_ruc_loopback() 390 sdata, wqe->atomic_wr.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 | 364 u64 sdata; in qib_ruc_loopback() local 499 sdata = wqe->atomic_wr.compare_add; in qib_ruc_loopback() 502 (u64) atomic64_add_return(sdata, maddr) - sdata : in qib_ruc_loopback() 504 sdata, wqe->atomic_wr.swap); in qib_ruc_loopback()
|
D | qib_rc.c | 2174 u64 sdata; in qib_rc_rcv() local 2207 sdata = be64_to_cpu(ateth->swap_data); in qib_rc_rcv() 2209 (u64) atomic64_add_return(sdata, maddr) - sdata : in qib_rc_rcv() 2212 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 | 2700 cmdp->u.raw64.sdata = (u64)-1; in gdth_fill_raw_cmd() 2715 cmdp->u.raw.sdata = 0xffffffff; in gdth_fill_raw_cmd() 2736 cmdp->u.raw64.sdata,cmdp->u.raw64.sg_ranz, in gdth_fill_raw_cmd() 2744 cmdp->u.raw.sdata,cmdp->u.raw.sg_ranz, in gdth_fill_raw_cmd() 4237 gen.command.u.raw64.sdata = (u64)-1; in ioc_general() 4243 gen.command.u.raw64.sdata = paddr; in ioc_general() 4249 gen.command.u.raw.sdata = 0xffffffff; in ioc_general() 4255 gen.command.u.raw.sdata = paddr; in ioc_general()
|
/drivers/staging/rdma/hfi1/ |
D | ruc.c | 384 u64 sdata; in ruc_loopback() local 521 sdata = wqe->atomic_wr.compare_add; in ruc_loopback() 524 (u64) atomic64_add_return(sdata, maddr) - sdata : in ruc_loopback() 526 sdata, wqe->atomic_wr.swap); in ruc_loopback()
|
D | rc.c | 2262 u64 sdata; in hfi1_rc_rcv() local 2295 sdata = be64_to_cpu(ateth->swap_data); in hfi1_rc_rcv() 2297 (u64) atomic64_add_return(sdata, maddr) - sdata : in hfi1_rc_rcv() 2300 sdata); in hfi1_rc_rcv()
|
/drivers/s390/cio/ |
D | device_pgid.c | 643 struct stlck_data *sdata = data; in stlck_callback() local 645 sdata->rc = rc; in stlck_callback() 646 complete(&sdata->done); in stlck_callback()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | init.c | 1509 u16 mdata, sdata; in init_configure_mem() local 1522 sdata = bmp_sdr_seq_table(bios); in init_configure_mem() 1524 sdata = bmp_ddr_seq_table(bios); in init_configure_mem() 1530 for (; (addr = nvbios_rd32(bios, sdata)) != 0xffffffff; sdata += 4) { in init_configure_mem()
|
/drivers/s390/net/ |
D | qeth_core_main.c | 4515 struct qeth_reply *reply, unsigned long sdata) in qeth_snmp_command_cb() argument 4525 cmd = (struct qeth_ipa_cmd *) sdata; in qeth_snmp_command_cb()
|