Home
last modified time | relevance | path

Searched refs:data32 (Results 1 – 25 of 36) sorted by relevance

12

/linux/sound/core/
A Dcontrol_compat.c33 if (get_user(ptr, &data32->pids)) in snd_ctl_elem_list_compat()
108 if (put_user(data->owner, &data32->owner)) in snd_ctl_elem_info_compat()
119 if (copy_to_user(&data32->value.integer64, in snd_ctl_elem_info_compat()
229 if (get_user(indirect, &data32->indirect)) in copy_ctl_value_from_user()
284 if (copy_to_user(&data32->id, &data->id, sizeof(data32->id))) in copy_ctl_value_to_user()
341 return ctl_elem_read_user(card, data32, &data32->value); in snd_ctl_elem_read_user_compat()
347 return ctl_elem_write_user(file, data32, &data32->value); in snd_ctl_elem_write_user_compat()
354 return ctl_elem_read_user(card, data32, &data32->value); in snd_ctl_elem_read_user_x32()
360 return ctl_elem_write_user(file, data32, &data32->value); in snd_ctl_elem_write_user_x32()
393 &data32->value.integer64, in snd_ctl_elem_add_compat()
[all …]
A Dpcm_compat.c236 struct snd_pcm_hw_params32 __user *data32) in snd_pcm_ioctl_hw_params_compat() argument
251 if (copy_from_user(data, data32, sizeof(*data32))) { in snd_pcm_ioctl_hw_params_compat()
262 if (copy_to_user(data32, data, sizeof(*data32)) || in snd_pcm_ioctl_hw_params_compat()
263 put_user(data->fifo_size, &data32->fifo_size)) { in snd_pcm_ioctl_hw_params_compat()
288 int dir, struct snd_xferi32 __user *data32) in snd_pcm_ioctl_xferi_compat() argument
301 if (get_user(buf, &data32->buf) || in snd_pcm_ioctl_xferi_compat()
302 get_user(frames, &data32->frames)) in snd_pcm_ioctl_xferi_compat()
312 if (put_user(err, &data32->result)) in snd_pcm_ioctl_xferi_compat()
350 if (get_user(buf, &data32->bufs) || in snd_pcm_ioctl_xfern_compat()
351 get_user(frames, &data32->frames)) in snd_pcm_ioctl_xfern_compat()
[all …]
/linux/sound/core/seq/
A Dseq_compat.c32 struct snd_seq_port_info32 __user *data32) in snd_seq_call_port_info_ioctl() argument
41 if (copy_from_user(data, data32, sizeof(*data32)) || in snd_seq_call_port_info_ioctl()
42 get_user(data->flags, &data32->flags) || in snd_seq_call_port_info_ioctl()
43 get_user(data->time_queue, &data32->time_queue)) in snd_seq_call_port_info_ioctl()
51 if (copy_to_user(data32, data, sizeof(*data32)) || in snd_seq_call_port_info_ioctl()
52 put_user(data->flags, &data32->flags) || in snd_seq_call_port_info_ioctl()
53 put_user(data->time_queue, &data32->time_queue)) in snd_seq_call_port_info_ioctl()
/linux/tools/firmware/
A Dihex2fw.c137 uint32_t data32; in process_ihex() local
234 memcpy(&data32, &record->data[0], sizeof(data32)); in process_ihex()
235 data32 = htonl(data32); in process_ihex()
236 memcpy(&record->data[0], &data32, sizeof(data32)); in process_ihex()
/linux/drivers/atm/
A Dsolos-pci.c521 uint32_t data32; in geos_gpio_store() local
529 data32 |= 1 << gattr->offset; in geos_gpio_store()
532 data32 &= ~(1 << gattr->offset); in geos_gpio_store()
546 uint32_t data32; in geos_gpio_show() local
549 data32 = (data32 >> gattr->offset) & 1; in geos_gpio_show()
551 return sprintf(buf, "%d\n", data32); in geos_gpio_show()
559 uint32_t data32; in hardware_show() local
565 data32 = data32 & 0x1F; in hardware_show()
569 data32 = (data32 >> 5) & 0x0F; in hardware_show()
1196 uint32_t data32; in fpga_probe() local
[all …]
/linux/sound/soc/codecs/
A Dwm8958-dsp2.c46 u32 data32; in wm8958_dsp2_fw() local
65 name, data32); in wm8958_dsp2_fw()
72 if ((data32 >> 24) & 0xff) { in wm8958_dsp2_fw()
74 name, (data32 >> 24) & 0xff); in wm8958_dsp2_fw()
77 if ((data32 & 0xffff) != 8958) { in wm8958_dsp2_fw()
79 name, data32 & 0xffff); in wm8958_dsp2_fw()
84 name, (data32 >> 16) & 0xff); in wm8958_dsp2_fw()
118 switch ((data32 >> 24) & 0xff) { in wm8958_dsp2_fw()
142 data32 & 0xffffff); in wm8958_dsp2_fw()
147 data32 &= 0xffffff; in wm8958_dsp2_fw()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
A Dmv88e1xxx.c150 u32 data32; in mv88e1xxx_crossover_set() local
153 MV88E1XXX_SPECIFIC_CNTRL_REGISTER, &data32); in mv88e1xxx_crossover_set()
154 data32 &= ~V_PSCR_MDI_XOVER_MODE(M_PSCR_MDI_XOVER_MODE); in mv88e1xxx_crossover_set()
155 data32 |= V_PSCR_MDI_XOVER_MODE(crossover); in mv88e1xxx_crossover_set()
157 MV88E1XXX_SPECIFIC_CNTRL_REGISTER, data32); in mv88e1xxx_crossover_set()
A Dpm3393.c94 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) in pmread() argument
96 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread()
100 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) in pmwrite() argument
102 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite()
/linux/arch/riscv/kvm/
A Dvcpu_exit.c305 u32 data32; in emulate_store() local
338 data8 = data16 = data32 = data64 = data; in emulate_store()
361 data32 = GET_RS2S(insn, &vcpu->arch.guest_context); in emulate_store()
365 data32 = GET_RS2C(insn, &vcpu->arch.guest_context); in emulate_store()
390 *((u32 *)run->mmio.data) = data32; in emulate_store()
605 u32 data32; in kvm_riscv_vcpu_mmio_return() local
634 data32 = *((u32 *)run->mmio.data); in kvm_riscv_vcpu_mmio_return()
636 (ulong)data32 << shift >> shift); in kvm_riscv_vcpu_mmio_return()
/linux/drivers/scsi/
A Da100u2w.c367 u32 data32; in orc_load_firmware() local
390 data32_ptr = (u8 *) & data32; in orc_load_firmware()
391 data32 = cpu_to_le32(0); /* Initial FW address to 0 */ in orc_load_firmware()
399 outl(le32_to_cpu(data32), host->base + ORC_FWBASEADR); /* Write FW address */ in orc_load_firmware()
404 bios_addr = (u16) le32_to_cpu(data32); /* FW code locate at BIOS address + ? */ in orc_load_firmware()
405 for (i = 0, data32_ptr = (u8 *) & data32; /* Download the code */ in orc_load_firmware()
411 outl(le32_to_cpu(data32), host->base + ORC_RISCRAM); /* Write every 4 bytes */ in orc_load_firmware()
412 data32_ptr = (u8 *) & data32; in orc_load_firmware()
420 for (i = 0, data32_ptr = (u8 *) & data32; /* Check the code */ in orc_load_firmware()
426 if (inl(host->base + ORC_RISCRAM) != le32_to_cpu(data32)) { in orc_load_firmware()
[all …]
/linux/drivers/net/wan/
A Dixp4xx_hss.c275 struct { u32 data32; }; member
282 struct { u32 data32; };
377 msg.data32 >>= 2; in hss_config_set_lut()
378 msg.data32 |= TDMMAP_HDLC << 30; in hss_config_set_lut()
401 msg.data32 |= PCR_SYNC_CLK_DIR_OUTPUT; in hss_config()
412 msg.data32 = (port->loopback ? CCR_LOOPBACK : 0) | in hss_config()
420 msg.data32 = port->clock_reg; in hss_config()
448 msg.cmd != PORT_CONFIG_LOAD || msg.data32) { in hss_config()
482 return msg.data32; in hss_get_status()
492 msg.data32 = 0; in hss_start_hdlc()
[all …]
/linux/drivers/i2c/
A Di2c-dev.c567 struct i2c_smbus_ioctl_data32 data32; in compat_i2cdev_ioctl() local
568 if (copy_from_user(&data32, in compat_i2cdev_ioctl()
570 sizeof(data32))) in compat_i2cdev_ioctl()
572 return i2cdev_ioctl_smbus(client, data32.read_write, in compat_i2cdev_ioctl()
573 data32.command, in compat_i2cdev_ioctl()
574 data32.size, in compat_i2cdev_ioctl()
575 compat_ptr(data32.data)); in compat_i2cdev_ioctl()
/linux/arch/x86/kernel/
A Dvm86_32.c554 int data32, pref_done; in handle_vm86_fault() local
568 data32 = 0; in handle_vm86_fault()
572 case 0x66: /* 32-bit data */ data32 = 1; break; in handle_vm86_fault()
590 if (data32) { in handle_vm86_fault()
604 if (data32) { in handle_vm86_fault()
613 if (data32) in handle_vm86_fault()
641 if (data32) { in handle_vm86_fault()
655 if (data32) { in handle_vm86_fault()
/linux/tools/testing/selftests/bpf/
A Dtest_tcp_hdr_options.h75 __u32 data32; member
84 __u32 data32; member
/linux/net/ipv6/
A Dioam6.c110 u32 data32; in ioam6_genl_addns() local
137 data32 = IOAM6_U32_UNAVAILABLE; in ioam6_genl_addns()
139 data32 = nla_get_u32(info->attrs[IOAM6_ATTR_NS_DATA]); in ioam6_genl_addns()
146 ns->data = cpu_to_be32(data32); in ioam6_genl_addns()
208 u32 data32; in __ioam6_genl_dumpns_element() local
215 data32 = be32_to_cpu(ns->data); in __ioam6_genl_dumpns_element()
219 (data32 != IOAM6_U32_UNAVAILABLE && in __ioam6_genl_dumpns_element()
220 nla_put_u32(skb, IOAM6_ATTR_NS_DATA, data32)) || in __ioam6_genl_dumpns_element()
/linux/drivers/i2c/busses/
A Di2c-mlxbf.c602 u32 data32; in mlxbf_i2c_smbus_write_data() local
615 data32 = *((u32 *)(data + offset)); in mlxbf_i2c_smbus_write_data()
623 u32 data32, mask; in mlxbf_i2c_smbus_read_data() local
638 *((u32 *)(data + offset)) = data32; in mlxbf_i2c_smbus_read_data()
644 data32 = ioread32be(priv->smbus->io + addr + offset); in mlxbf_i2c_smbus_read_data()
647 data[offset + byte] = data32 & GENMASK(7, 0); in mlxbf_i2c_smbus_read_data()
648 data32 = ror32(data32, MLXBF_I2C_SHIFT_8); in mlxbf_i2c_smbus_read_data()
1841 u32 control32, data32; in mlxbf_smbus_irq_send() local
1858 data32 = ioread32be(priv->smbus->io + in mlxbf_smbus_irq_send()
1864 byte = (data32 >> 8) & GENMASK(7, 0); in mlxbf_smbus_irq_send()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dtest_tcp_hdr_options.c98 write_opt.exprm.data32 = 0; in store_option()
105 write_opt.regular.data32 = 0; in store_option()
143 search_opt.exprm.data32 = 0; in load_option()
152 search_opt.regular.data32 = 0; in load_option()
/linux/drivers/pci/controller/
A Dpcie-altera.c478 u32 data32; in _altera_pcie_cfg_write() local
488 data32 = (value & 0xff) << shift; in _altera_pcie_cfg_write()
492 data32 = (value & 0xffff) << shift; in _altera_pcie_cfg_write()
496 data32 = value; in _altera_pcie_cfg_write()
502 byte_en, data32); in _altera_pcie_cfg_write()
/linux/drivers/net/ethernet/cavium/liquidio/
A Dcn23xx_pf_device.c1311 u32 data32; in setup_cn23xx_octeon_pf_device() local
1314 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_0, &data32); in setup_cn23xx_octeon_pf_device()
1315 BAR0 = (u64)(data32 & ~0xf); in setup_cn23xx_octeon_pf_device()
1316 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_1, &data32); in setup_cn23xx_octeon_pf_device()
1317 BAR0 |= ((u64)data32 << 32); in setup_cn23xx_octeon_pf_device()
1318 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_2, &data32); in setup_cn23xx_octeon_pf_device()
1319 BAR1 = (u64)(data32 & ~0xf); in setup_cn23xx_octeon_pf_device()
1320 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_3, &data32); in setup_cn23xx_octeon_pf_device()
1321 BAR1 |= ((u64)data32 << 32); in setup_cn23xx_octeon_pf_device()
/linux/drivers/staging/r8188eu/os_dep/
A Dioctl_linux.c1980 u32 data32; in rtw_wx_read32() local
1998 data32 = rtw_read8(padapter, addr); in rtw_wx_read32()
1999 sprintf(extra, "0x%02X", data32); in rtw_wx_read32()
2003 sprintf(extra, "0x%04X", data32); in rtw_wx_read32()
2007 sprintf(extra, "0x%08X", data32); in rtw_wx_read32()
2031 u32 data32; in rtw_wx_write32() local
2036 data32 = 0; in rtw_wx_write32()
2065 u32 path, addr, data32; in rtw_wx_read_rf() local
2075 sprintf(extra, "0x%05x", data32); in rtw_wx_read_rf()
2085 u32 path, addr, data32; in rtw_wx_write_rf() local
[all …]
/linux/drivers/gpu/drm/ast/
A Dast_mode.c661 } srcdata32[2], data32; in ast_update_cursor_image() local
685 data32.b[0] = srcdata32[0].b[1] | (srcdata32[0].b[0] >> 4); in ast_update_cursor_image()
686 data32.b[1] = srcdata32[0].b[3] | (srcdata32[0].b[2] >> 4); in ast_update_cursor_image()
687 data32.b[2] = srcdata32[1].b[1] | (srcdata32[1].b[0] >> 4); in ast_update_cursor_image()
688 data32.b[3] = srcdata32[1].b[3] | (srcdata32[1].b[2] >> 4); in ast_update_cursor_image()
690 writel(data32.ul, dstxor); in ast_update_cursor_image()
691 csum += data32.ul; in ast_update_cursor_image()
/linux/drivers/staging/rtl8712/
A Drtl871x_ioctl_linux.c1820 u32 data32; in r8711_wx_read32() local
1823 data32 = r8712_read32(padapter, addr); in r8711_wx_read32()
1824 put_user(data32, (u32 __user *)wrqu->data.pointer); in r8711_wx_read32()
1825 wrqu->data.length = (data32 & 0xffff0000) >> 16; in r8711_wx_read32()
1826 wrqu->data.flags = data32 & 0xffff; in r8711_wx_read32()
1837 u32 data32; in r8711_wx_write32() local
1840 data32 = ((u32)wrqu->data.length << 16) | (u32)wrqu->data.flags; in r8711_wx_write32()
1841 r8712_write32(padapter, addr, data32); in r8711_wx_write32()
/linux/tools/perf/util/
A Dheader.c907 u32 data32; in write_clock_data() local
911 data32 = 1; in write_clock_data()
913 ret = do_write(ff, &data32, sizeof(data32)); in write_clock_data()
918 data32 = ff->ph->env.clock.clockid; in write_clock_data()
920 ret = do_write(ff, &data32, sizeof(data32)); in write_clock_data()
2934 u32 data32; in process_clock_data() local
2938 if (do_read_u32(ff, &data32)) in process_clock_data()
2941 if (data32 != 1) in process_clock_data()
2945 if (do_read_u32(ff, &data32)) in process_clock_data()
2948 ff->ph->env.clock.clockid = data32; in process_clock_data()
/linux/drivers/media/usb/as102/
A Das10x_cmd.h395 __le32 data32[DUMP_BLOCK_SIZE / sizeof(__le32)]; member
/linux/drivers/net/ppp/
A Dppp_generic.c998 struct ppp_option_data32 data32; in ppp_compat_ioctl() local
999 if (copy_from_user(&data32, argp, sizeof(data32))) { in ppp_compat_ioctl()
1003 .ptr = compat_ptr(data32.ptr), in ppp_compat_ioctl()
1004 .length = data32.length, in ppp_compat_ioctl()
1005 .transmit = data32.transmit in ppp_compat_ioctl()

Completed in 98 milliseconds

12