Home
last modified time | relevance | path

Searched refs:d32 (Results 1 – 15 of 15) sorted by relevance

/linux-4.19.296/drivers/iio/dac/
Dad5686-spi.c23 st->data[0].d32 = cpu_to_be32(AD5686_CMD(cmd) | in ad5686_spi_write()
29 st->data[0].d32 = cpu_to_be32(AD5686_CMD(cmd) | in ad5686_spi_write()
64 st->data[0].d32 = cpu_to_be32(AD5686_CMD(cmd) | in ad5686_spi_read()
66 st->data[1].d32 = cpu_to_be32(AD5686_CMD(AD5686_CMD_NOOP)); in ad5686_spi_read()
72 return be32_to_cpu(st->data[2].d32); in ad5686_spi_read()
Dad5758.c116 __be32 d32[3]; member
185 .tx_buf = &st->d32[0], in ad5758_spi_reg_read()
189 .tx_buf = &st->d32[1], in ad5758_spi_reg_read()
190 .rx_buf = &st->d32[2], in ad5758_spi_reg_read()
196 st->d32[0] = cpu_to_be32( in ad5758_spi_reg_read()
199 st->d32[1] = cpu_to_be32(AD5758_WR_FLAG_MSK(AD5758_NOP) << 24); in ad5758_spi_reg_read()
205 return (be32_to_cpu(st->d32[2]) >> 8) & 0xFFFF; in ad5758_spi_reg_read()
212 st->d32[0] = cpu_to_be32((AD5758_WR_FLAG_MSK(addr) << 24) | in ad5758_spi_reg_write()
215 return spi_write(st->spi, &st->d32[0], sizeof(st->d32[0])); in ad5758_spi_reg_write()
669 st->d32[0] = cpu_to_be32(mask); in ad5758_crc_disable()
[all …]
Dad5761.c76 __be32 d32; member
118 st->data[0].d32 = cpu_to_be32(AD5761_ADDR(addr) | val); in _ad5761_spi_write()
152 st->data[0].d32 = cpu_to_be32(AD5761_ADDR(addr)); in _ad5761_spi_read()
153 st->data[1].d32 = cpu_to_be32(AD5761_ADDR(AD5761_ADDR_NOOP)); in _ad5761_spi_read()
157 *val = be32_to_cpu(st->data[2].d32); in _ad5761_spi_read()
Dad5791.c95 __be32 d32; member
113 st->data[0].d32 = cpu_to_be32(AD5791_CMD_WRITE | in ad5791_spi_write()
137 st->data[0].d32 = cpu_to_be32(AD5791_CMD_READ | in ad5791_spi_read()
139 st->data[1].d32 = cpu_to_be32(AD5791_ADDR(AD5791_ADDR_NOOP)); in ad5791_spi_read()
143 *val = be32_to_cpu(st->data[2].d32); in ad5791_spi_read()
Dad5696-i2c.c34 st->data[0].d32 = cpu_to_be32(AD5686_CMD(AD5686_CMD_NOOP) | in ad5686_i2c_read()
51 st->data[0].d32 = cpu_to_be32(AD5686_CMD(cmd) | AD5686_ADDR(addr) in ad5686_i2c_write()
Dad5764.c63 __be32 d32; member
131 st->data[0].d32 = cpu_to_be32((reg << 16) | val); in ad5764_write()
157 st->data[0].d32 = cpu_to_be32((1 << 23) | (reg << 16)); in ad5764_read()
161 *val = be32_to_cpu(st->data[1].d32) & 0xffff; in ad5764_read()
Dad5421.c78 __be32 d32; member
138 st->data[0].d32 = cpu_to_be32((reg << 16) | val); in ad5421_write_unlocked()
172 st->data[0].d32 = cpu_to_be32((1 << 23) | (reg << 16)); in ad5421_read()
176 ret = be32_to_cpu(st->data[1].d32) & 0xffff; in ad5421_read()
Dad5360.c85 __be32 d32; member
200 st->data[0].d32 = cpu_to_be32(val); in ad5360_write_unlocked()
235 st->data[0].d32 = cpu_to_be32(AD5360_CMD(AD5360_CMD_SPECIAL_FUNCTION) | in ad5360_read()
242 ret = be32_to_cpu(st->data[1].d32) & 0xffff; in ad5360_read()
Dad5755.c101 __be32 d32; member
163 st->data[0].d32 = cpu_to_be32((reg << 16) | val); in ad5755_write_unlocked()
217 st->data[0].d32 = cpu_to_be32(AD5755_READ_FLAG | (addr << 16)); in ad5755_read()
218 st->data[1].d32 = cpu_to_be32(AD5755_NOOP); in ad5755_read()
222 ret = be32_to_cpu(st->data[1].d32) & 0xffff; in ad5755_read()
Dad5686.h131 __be32 d32; member
/linux-4.19.296/drivers/iio/adc/
Dti-ads8688.c75 __be32 d32; member
197 st->data[0].d32 = cpu_to_be32(tmp); in ads8688_prog_write()
209 st->data[0].d32 = cpu_to_be32(tmp); in ads8688_reset()
233 st->data[0].d32 = cpu_to_be32(tmp); in ads8688_read()
237 st->data[1].d32 = cpu_to_be32(tmp); in ads8688_read()
243 return be32_to_cpu(st->data[1].d32) & 0xffff; in ads8688_read()
/linux-4.19.296/include/acpi/platform/
Daclinuxex.h18 #define ACPI_DIV_64_BY_32(n_hi, n_lo, d32, q32, r32) \ argument
21 (r32) = do_div ((__n), (d32)); \
/linux-4.19.296/fs/orangefs/
Ddevorangefs-req.c737 struct ORANGEFS_dev_map_desc32 d32; in orangefs_devreq_compat_ioctl() local
739 if (copy_from_user(&d32, (void __user *)args, sizeof(d32))) in orangefs_devreq_compat_ioctl()
742 desc.ptr = compat_ptr(d32.ptr); in orangefs_devreq_compat_ioctl()
743 desc.total_size = d32.total_size; in orangefs_devreq_compat_ioctl()
744 desc.size = d32.size; in orangefs_devreq_compat_ioctl()
745 desc.count = d32.count; in orangefs_devreq_compat_ioctl()
/linux-4.19.296/drivers/iio/frequency/
Dad9523.c295 __be32 d32; member
320 st->data[0].d32 = cpu_to_be32(AD9523_READ | in ad9523_read()
328 ret = be32_to_cpu(st->data[1].d32) & (0xFFFFFF >> in ad9523_read()
349 st->data[0].d32 = cpu_to_be32(AD9523_WRITE | in ad9523_write()
352 st->data[1].d32 = cpu_to_be32(val); in ad9523_write()
/linux-4.19.296/include/uapi/sound/
Dasequencer.h259 unsigned int d32[2]; member