Home
last modified time | relevance | path

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

12

/openbmc/qemu/libdecnumber/dpd/
H A Ddecimal32.c175 pu=(uInt *)d32->bytes; /* overlay */ in decimal32FromNumber()
180 return d32; in decimal32FromNumber()
197 pu=(const uInt *)d32->bytes; /* overlay */ in decimal32ToNumber()
253 decimal32ToNumber(d32, &dn); in decimal32ToEngString()
417 decimal32ToNumber(d32, &dn); in decimal32IsCanonical()
433 decimal32ToNumber(d32, &dn); in decimal32Canonical()
468 void decimal32Show(const decimal32 *d32) { in decimal32Show() argument
477 d32->bytes[3]>>7, (d32->bytes[3]>>2)&0x1f, in decimal32Show()
478 ((d32->bytes[3]&0x3)<<4)| (d32->bytes[2]>>4)); in decimal32Show()
482 sprintf(&buf[j], "%02x", d32->bytes[i]); in decimal32Show()
[all …]
/openbmc/linux/drivers/iio/dac/
H A Dad5686-spi.c30 st->data[0].d32 = cpu_to_be32(AD5686_CMD(cmd) | in ad5686_spi_write()
36 st->data[0].d32 = cpu_to_be32(AD5686_CMD(cmd) | in ad5686_spi_write()
79 st->data[0].d32 = cpu_to_be32(AD5686_CMD(cmd) | in ad5686_spi_read()
81 st->data[1].d32 = cpu_to_be32(AD5686_CMD(AD5686_CMD_NOOP)); in ad5686_spi_read()
87 return be32_to_cpu(st->data[2].d32); in ad5686_spi_read()
H A Dad5758.c121 __be32 d32[3]; member
190 .tx_buf = &st->d32[0], in ad5758_spi_reg_read()
194 .tx_buf = &st->d32[1], in ad5758_spi_reg_read()
195 .rx_buf = &st->d32[2], in ad5758_spi_reg_read()
201 st->d32[0] = cpu_to_be32( in ad5758_spi_reg_read()
204 st->d32[1] = cpu_to_be32(AD5758_WR_FLAG_MSK(AD5758_NOP) << 24); in ad5758_spi_reg_read()
210 return (be32_to_cpu(st->d32[2]) >> 8) & 0xFFFF; in ad5758_spi_reg_read()
217 st->d32[0] = cpu_to_be32((AD5758_WR_FLAG_MSK(addr) << 24) | in ad5758_spi_reg_write()
220 return spi_write(st->spi, &st->d32[0], sizeof(st->d32[0])); in ad5758_spi_reg_write()
670 st->d32[0] = cpu_to_be32(mask); in ad5758_crc_disable()
[all …]
H A Dad5761.c77 __be32 d32; member
119 st->data[0].d32 = cpu_to_be32(AD5761_ADDR(addr) | val); in _ad5761_spi_write()
153 st->data[0].d32 = cpu_to_be32(AD5761_ADDR(addr)); in _ad5761_spi_read()
154 st->data[1].d32 = cpu_to_be32(AD5761_ADDR(AD5761_ADDR_NOOP)); in _ad5761_spi_read()
158 *val = be32_to_cpu(st->data[2].d32); in _ad5761_spi_read()
H A Dad5791.c96 __be32 d32; member
110 st->data[0].d32 = cpu_to_be32(AD5791_CMD_WRITE | in ad5791_spi_write()
134 st->data[0].d32 = cpu_to_be32(AD5791_CMD_READ | in ad5791_spi_read()
136 st->data[1].d32 = cpu_to_be32(AD5791_ADDR(AD5791_ADDR_NOOP)); in ad5791_spi_read()
140 *val = be32_to_cpu(st->data[2].d32); in ad5791_spi_read()
H A 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()
H A 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()
H A Dad5766.c123 u32 d32; member
150 .tx_buf = &st->data[0].d32, in __ad5766_spi_read()
155 .tx_buf = &st->data[1].d32, in __ad5766_spi_read()
156 .rx_buf = &st->data[2].d32, in __ad5766_spi_read()
162 st->data[0].d32 = AD5766_CMD_READBACK_REG(dac); in __ad5766_spi_read()
163 st->data[1].d32 = AD5766_CMD_NOP_MUX_OUT; in __ad5766_spi_read()
H A Dad5421.c79 __be32 d32; member
139 st->data[0].d32 = cpu_to_be32((reg << 16) | val); in ad5421_write_unlocked()
174 st->data[0].d32 = cpu_to_be32((1 << 23) | (reg << 16)); in ad5421_read()
178 ret = be32_to_cpu(st->data[1].d32) & 0xffff; in ad5421_read()
H A Dad5360.c86 __be32 d32; member
201 st->data[0].d32 = cpu_to_be32(val); in ad5360_write_unlocked()
237 st->data[0].d32 = cpu_to_be32(AD5360_CMD(AD5360_CMD_SPECIAL_FUNCTION) | in ad5360_read()
244 ret = be32_to_cpu(st->data[1].d32) & 0xffff; in ad5360_read()
H A Dad5755.c197 __be32 d32; member
257 st->data[0].d32 = cpu_to_be32((reg << 16) | val); in ad5755_write_unlocked()
313 st->data[0].d32 = cpu_to_be32(AD5755_READ_FLAG | (addr << 16)); in ad5755_read()
314 st->data[1].d32 = cpu_to_be32(AD5755_NOOP); in ad5755_read()
318 ret = be32_to_cpu(st->data[1].d32) & 0xffff; in ad5755_read()
H A Dad5686.h148 __be32 d32; member
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Dcn66xx_device.c353 u32 d32; in lio_cn6xxx_disable_io_queues() local
362 d32 = octeon_read_csr(oct, CN6XXX_SLI_PORT_IN_RST_IQ); in lio_cn6xxx_disable_io_queues()
363 while (((d32 & mask) != mask) && loop--) { in lio_cn6xxx_disable_io_queues()
384 d32 = octeon_read_csr(oct, CN6XXX_SLI_PORT_IN_RST_OQ); in lio_cn6xxx_disable_io_queues()
385 while (((d32 & mask) != mask) && loop--) { in lio_cn6xxx_disable_io_queues()
402 d32 = octeon_read_csr(oct, CN6XXX_SLI_PKT_CNT_INT); in lio_cn6xxx_disable_io_queues()
403 if (d32) in lio_cn6xxx_disable_io_queues()
404 octeon_write_csr(oct, CN6XXX_SLI_PKT_CNT_INT, d32); in lio_cn6xxx_disable_io_queues()
406 d32 = octeon_read_csr(oct, CN6XXX_SLI_PKT_TIME_INT); in lio_cn6xxx_disable_io_queues()
407 if (d32) in lio_cn6xxx_disable_io_queues()
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dacenv.h42 #define ACPI_DIV_64_BY_32(n_hi, n_lo, d32, q32, r32) \ argument
45 : "r"(d32), \
/openbmc/linux/drivers/iio/adc/
H A Dltc2497.c36 __be32 d32; member
53 ret = i2c_master_recv(st->client, (char *)&st->data.d32, in ltc2497_result_and_measure()
70 *val = (be32_to_cpu(st->data.d32) >> 6) in ltc2497_result_and_measure()
H A Dti-ads8688.c72 __be32 d32; member
194 st->data[0].d32 = cpu_to_be32(tmp); in ads8688_prog_write()
206 st->data[0].d32 = cpu_to_be32(tmp); in ads8688_reset()
230 st->data[0].d32 = cpu_to_be32(tmp); in ads8688_read()
234 st->data[1].d32 = cpu_to_be32(tmp); in ads8688_read()
240 return be32_to_cpu(st->data[1].d32) & 0xffff; in ads8688_read()
H A Dad7768-1.c174 __be32 d32; member
189 &st->data.d32, len); in ad7768_spi_reg_read()
193 return (be32_to_cpu(st->data.d32) >> shift); in ad7768_spi_reg_read()
/openbmc/linux/fs/orangefs/
H A 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()
/openbmc/linux/include/acpi/platform/
H A Daclinuxex.h18 #define ACPI_DIV_64_BY_32(n_hi, n_lo, d32, q32, r32) \ argument
21 (r32) = do_div ((__n), (d32)); \
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_ioc32.c593 drm_dma32_t d32; in compat_drm_dma() local
598 if (copy_from_user(&d32, argp, sizeof(d32))) in compat_drm_dma()
601 d.context = d32.context; in compat_drm_dma()
602 d.send_count = d32.send_count; in compat_drm_dma()
603 d.send_indices = compat_ptr(d32.send_indices); in compat_drm_dma()
604 d.send_sizes = compat_ptr(d32.send_sizes); in compat_drm_dma()
605 d.flags = d32.flags; in compat_drm_dma()
606 d.request_count = d32.request_count; in compat_drm_dma()
607 d.request_indices = compat_ptr(d32.request_indices); in compat_drm_dma()
608 d.request_sizes = compat_ptr(d32.request_sizes); in compat_drm_dma()
/openbmc/linux/drivers/staging/iio/impedance-analyzer/
H A Dad5933.c194 __be32 d32; in ad5933_set_freq() member
212 dat.d32 = cpu_to_be32(freqreg); in ad5933_set_freq()
271 __be32 d32; in ad5933_show_frequency() member
283 freqreg = be32_to_cpu(dat.d32) & 0xFFFFFF; in ad5933_show_frequency()
/openbmc/linux/drivers/iio/frequency/
H A Dad9523.c293 __be32 d32; member
318 st->data[0].d32 = cpu_to_be32(AD9523_READ | in ad9523_read()
326 ret = be32_to_cpu(st->data[1].d32) & (0xFFFFFF >> in ad9523_read()
347 st->data[0].d32 = cpu_to_be32(AD9523_WRITE | in ad9523_write()
350 st->data[1].d32 = cpu_to_be32(val); in ad9523_write()
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Darm,komeda.yaml22 - const: arm,mali-d32
/openbmc/linux/include/uapi/sound/
H A Dasequencer.h244 unsigned int d32[2]; member
/openbmc/qemu/fpu/
H A Dsoftfloat-parts.c.inc702 uint32_t d32, m32, r32, s32, u32; /* 32-bit computation */
772 d32 = ((uint64_t)s32 * r32) >> 32;
773 u32 = three32 - d32;
782 d32 = ((uint64_t)s32 * r32) >> 32;
783 u32 = three32 - d32;

12