Home
last modified time | relevance | path

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

12

/linux/sound/core/
H A Dcontrol_compat.c23 struct snd_ctl_elem_list32 __user *data32) in snd_ctl_elem_list_compat() argument
30 if (copy_from_user(&data, data32, 4 * sizeof(u32))) in snd_ctl_elem_list_compat()
33 if (get_user(ptr, &data32->pids)) in snd_ctl_elem_list_compat()
40 if (copy_to_user(data32, &data, 4 * sizeof(u32))) in snd_ctl_elem_list_compat()
80 struct snd_ctl_elem_info32 __user *data32) in snd_ctl_elem_info_compat() argument
91 if (copy_from_user(&data->id, &data32->id, sizeof(data->id))) in snd_ctl_elem_info_compat()
96 if (get_user(data->value.enumerated.item, &data32->value.enumerated.item)) in snd_ctl_elem_info_compat()
108 if (copy_to_user(&data32->id, &data->id, sizeof(data->id)) || in snd_ctl_elem_info_compat()
109 copy_to_user(&data32->type, &data->type, 3 * sizeof(u32))) in snd_ctl_elem_info_compat()
111 if (put_user(data->owner, &data32->owner)) in snd_ctl_elem_info_compat()
[all …]
H 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()
264 if (copy_to_user(data32, data, sizeof(*data32)) || in snd_pcm_ioctl_hw_params_compat()
265 put_user(data->fifo_size, &data32->fifo_size)) in snd_pcm_ioctl_hw_params_compat()
286 int dir, struct snd_xferi32 __user *data32) in snd_pcm_ioctl_xferi_compat() argument
299 if (get_user(buf, &data32->buf) || in snd_pcm_ioctl_xferi_compat()
300 get_user(frames, &data32->frames)) in snd_pcm_ioctl_xferi_compat()
310 if (put_user(err, &data32->result)) in snd_pcm_ioctl_xferi_compat()
330 int dir, struct snd_xfern32 __user *data32) in snd_pcm_ioctl_xfern_compat() argument
348 if (get_user(buf, &data32->bufs) || in snd_pcm_ioctl_xfern_compat()
[all …]
/linux/sound/core/seq/
H 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/
H 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/
H A Dsolos-pci.c521 uint32_t data32; in geos_gpio_store() local
527 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_store()
529 data32 |= 1 << gattr->offset; in geos_gpio_store()
530 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
532 data32 &= ~(1 << gattr->offset); in geos_gpio_store()
533 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
546 uint32_t data32; in geos_gpio_show() local
548 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_show()
549 data32 = (data32 >> gattr->offset) & 1; in geos_gpio_show()
551 return sprintf(buf, "%d\n", data32); in geos_gpio_show()
[all …]
/linux/sound/soc/codecs/
H A Dwm8958-dsp2.c46 u32 data32; in wm8958_dsp2_fw() local
63 data32 = get_unaligned_be32(fw->data); in wm8958_dsp2_fw()
65 name, data32); in wm8958_dsp2_fw()
70 data32 = get_unaligned_be32(fw->data + 8); 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()
82 if (((data32 >> 16) & 0xff) != 0xc) { in wm8958_dsp2_fw()
84 name, (data32 >> 16) & 0xff); in wm8958_dsp2_fw()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
H 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()
H A Dpm3393.c85 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) in pmread() argument
87 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread()
91 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) in pmwrite() argument
93 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite()
/linux/drivers/scsi/
H 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/arch/riscv/kvm/
H A Dvcpu_insn.c609 u32 data32; in kvm_riscv_vcpu_mmio_store() local
642 data8 = data16 = data32 = data64 = data; in kvm_riscv_vcpu_mmio_store()
665 data32 = GET_RS2S(insn, &vcpu->arch.guest_context); in kvm_riscv_vcpu_mmio_store()
669 data32 = GET_RS2C(insn, &vcpu->arch.guest_context); in kvm_riscv_vcpu_mmio_store()
694 *((u32 *)run->mmio.data) = data32; in kvm_riscv_vcpu_mmio_store()
735 u32 data32; in kvm_riscv_vcpu_mmio_return() local
764 data32 = *((u32 *)run->mmio.data); in kvm_riscv_vcpu_mmio_return()
766 (ulong)data32 << shift >> shift); in kvm_riscv_vcpu_mmio_return()
/linux/drivers/i2c/
H A Di2c-dev.c580 struct i2c_smbus_ioctl_data32 data32; in compat_i2cdev_ioctl() local
581 if (copy_from_user(&data32, in compat_i2cdev_ioctl()
583 sizeof(data32))) in compat_i2cdev_ioctl()
585 return i2cdev_ioctl_smbus(client, data32.read_write, in compat_i2cdev_ioctl()
586 data32.command, in compat_i2cdev_ioctl()
587 data32.size, in compat_i2cdev_ioctl()
588 compat_ptr(data32.data)); in compat_i2cdev_ioctl()
/linux/arch/x86/kernel/
H 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/
H A Dtest_tcp_hdr_options.h76 __u32 data32; member
85 __u32 data32; member
/linux/tools/testing/selftests/bpf/progs/
H 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/net/dsa/microchip/
H A Dksz_ptp.c186 u32 data32; in ksz_ptp_enable_perout() local
200 data32 = FIELD_PREP(PTP_GPIO_INDEX, pin) | in ksz_ptp_enable_perout()
203 PTP_GPIO_INDEX | PTP_TOU_INDEX, data32); in ksz_ptp_enable_perout()
734 u32 data32; in ksz_ptp_adjfine() local
743 data32 = (u32)adj; in ksz_ptp_adjfine()
744 data32 &= PTP_SUBNANOSEC_M; in ksz_ptp_adjfine()
746 data32 |= PTP_RATE_DIR; in ksz_ptp_adjfine()
748 ret = ksz_write32(dev, REG_PTP_SUBNANOSEC_RATE, data32); in ksz_ptp_adjfine()
H A Dksz9477.c167 u32 data32; in ksz9477_reset_switch() local
183 ksz_read32(dev, REG_SW_PORT_INT_STATUS__4, &data32); in ksz9477_reset_switch()
/linux/drivers/gpu/drm/ast/
H A Dast_mode.c768 } srcdata32[2], data32; in ast_update_cursor_image() local
792 data32.b[0] = srcdata32[0].b[1] | (srcdata32[0].b[0] >> 4); in ast_update_cursor_image()
793 data32.b[1] = srcdata32[0].b[3] | (srcdata32[0].b[2] >> 4); in ast_update_cursor_image()
794 data32.b[2] = srcdata32[1].b[1] | (srcdata32[1].b[0] >> 4); in ast_update_cursor_image()
795 data32.b[3] = srcdata32[1].b[3] | (srcdata32[1].b[2] >> 4); in ast_update_cursor_image()
797 writel(data32.ul, dstxor); in ast_update_cursor_image()
798 csum += data32.ul; in ast_update_cursor_image()
/linux/tools/perf/util/
H A Dheader.c932 u32 data32; in write_clock_data()
936 data32 = 1; in write_clock_data()
938 ret = do_write(ff, &data32, sizeof(data32)); in write_clock_data()
943 data32 = ff->ph->env.clock.clockid; in write_hybrid_topology()
945 ret = do_write(ff, &data32, sizeof(data32)); in write_hybrid_topology()
3017 u32 data32; in process_mem_topology()
3021 if (do_read_u32(ff, &data32)) in process_mem_topology()
3024 if (data32 ! in process_mem_topology()
911 u32 data32; write_clock_data() local
3047 u32 data32; process_clock_data() local
[all...]
/linux/drivers/media/usb/as102/
H A Das10x_cmd.h395 __le32 data32[DUMP_BLOCK_SIZE / sizeof(__le32)]; member
/linux/drivers/net/ppp/
H A Dppp_generic.c1021 struct ppp_option_data32 data32; in ppp_compat_ioctl() local
1022 if (copy_from_user(&data32, argp, sizeof(data32))) { in ppp_compat_ioctl()
1026 .ptr = compat_ptr(data32.ptr), in ppp_compat_ioctl()
1027 .length = data32.length, in ppp_compat_ioctl()
1028 .transmit = data32.transmit in ppp_compat_ioctl()
/linux/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb_i2c.c48 __le32 data32; member
/linux/drivers/video/fbdev/
H A Dstifb.c427 #define NGLE_BINC_WRITE32(fb, data32) \ argument
428 WRITE_WORD(data32, fb, REG_23)
/linux/drivers/i2c/busses/
H A Di2c-tegra.c352 u32 *data32 = data; in i2c_writesl_vi() local
361 i2c_writel(i2c_dev, *data32++, reg); in i2c_writesl_vi()
/linux/Documentation/staging/
H A Dstatic-keys.rst269 ffffffff81044235: 66 66 2e 0f 1f 84 00 data32 nopw %cs:0x0(%rax,%rax,1)
/linux/sound/pci/rme9652/
H A Drme9652.c1398 uswitch->value.data32[0] = 0; in snd_rme9652_get_tc_value()
1432 uswitch->value.data32[0] = value; in snd_rme9652_get_tc_value()

12