| /linux/sound/core/ |
| H A D | control_compat.c | 23 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 in snd_ctl_elem_info_compat() 214 struct snd_ctl_elem_value32 __user *data32 = userdata; copy_ctl_value_from_user() local 259 struct snd_ctl_elem_value32 __user *data32 = userdata; copy_ctl_value_to_user() local 352 snd_ctl_elem_read_user_compat(struct snd_card * card,struct snd_ctl_elem_value32 __user * data32) snd_ctl_elem_read_user_compat() argument 358 snd_ctl_elem_write_user_compat(struct snd_ctl_file * file,struct snd_ctl_elem_value32 __user * data32) snd_ctl_elem_write_user_compat() argument 365 snd_ctl_elem_read_user_x32(struct snd_card * card,struct snd_ctl_elem_value_x32 __user * data32) snd_ctl_elem_read_user_x32() argument 371 snd_ctl_elem_write_user_x32(struct snd_ctl_file * file,struct snd_ctl_elem_value_x32 __user * data32) snd_ctl_elem_write_user_x32() argument 379 snd_ctl_elem_add_compat(struct snd_ctl_file * file,struct snd_ctl_elem_info32 __user * data32,int replace) snd_ctl_elem_add_compat() argument [all...] |
| H A D | pcm_compat.c | 236 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 in snd_pcm_ioctl_xferi_compat() 330 snd_pcm_ioctl_xfern_compat(struct snd_pcm_substream * substream,int dir,struct snd_xfern32 __user * data32) snd_pcm_ioctl_xfern_compat() argument [all...] |
| /linux/sound/core/seq/ |
| H A D | seq_compat.c | 32 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() 53 if (copy_to_user(data32, data, sizeof(*data32)) || in snd_seq_call_port_info_ioctl() 54 put_user(data->flags, &data32->flags) || in snd_seq_call_port_info_ioctl() 55 put_user(data->time_queue, &data32->time_queue)) in snd_seq_call_port_info_ioctl()
|
| /linux/tools/firmware/ |
| H A D | ihex2fw.c | 137 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/sound/soc/codecs/ |
| H A D | wm8958-dsp2.c | 47 u32 data32; in wm8958_dsp2_fw() 64 data32 = get_unaligned_be32(fw->data); in wm8958_dsp2_fw() 66 name, data32); in wm8958_dsp2_fw() 71 data32 = get_unaligned_be32(fw->data + 8); in wm8958_dsp2_fw() 73 if ((data32 >> 24) & 0xff) { in wm8958_dsp2_fw() 75 name, (data32 >> 24) & 0xff); in wm8958_dsp2_fw() 78 if ((data32 & 0xffff) != 8958) { in wm8958_dsp2_fw() 80 name, data32 & 0xffff); in wm8958_dsp2_fw() 83 if (((data32 >> 16) & 0xff) != 0xc) { in wm8958_dsp2_fw() 85 name, (data32 >> 1 in wm8958_dsp2_fw() 46 u32 data32; wm8958_dsp2_fw() local [all...] |
| /linux/drivers/net/ethernet/chelsio/cxgb/ |
| H A D | mv88e1xxx.c | 150 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 D | pm3393.c | 85 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/i2c/busses/ |
| H A D | i2c-mlxbf.c | 575 u32 data32; in mlxbf_i2c_smbus_write_data() local 588 data32 = *((u32 *)(data + offset)); in mlxbf_i2c_smbus_write_data() 590 iowrite32be(data32, priv->mst->io + addr + offset); in mlxbf_i2c_smbus_write_data() 592 iowrite32be(data32, priv->slv->io + addr + offset); in mlxbf_i2c_smbus_write_data() 600 u32 data32, mask; in mlxbf_i2c_smbus_read_data() local 615 data32 = ioread32be(priv->mst->io + addr + offset); in mlxbf_i2c_smbus_read_data() 617 data32 = ioread32be(priv->slv->io + addr + offset); in mlxbf_i2c_smbus_read_data() 618 *((u32 *)(data + offset)) = data32; in mlxbf_i2c_smbus_read_data() 625 data32 = ioread32be(priv->mst->io + addr + offset); in mlxbf_i2c_smbus_read_data() 627 data32 = ioread32be(priv->slv->io + addr + offset); in mlxbf_i2c_smbus_read_data() [all …]
|
| /linux/drivers/i2c/ |
| H A D | i2c-dev.c | 580 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 D | vm86_32.c | 553 int data32, pref_done; in handle_vm86_fault() local 567 data32 = 0; in handle_vm86_fault() 571 case 0x66: /* 32-bit data */ data32 = 1; break; in handle_vm86_fault() 589 if (data32) { in handle_vm86_fault() 603 if (data32) { in handle_vm86_fault() 612 if (data32) in handle_vm86_fault() 640 if (data32) { in handle_vm86_fault() 654 if (data32) { in handle_vm86_fault()
|
| /linux/drivers/net/wan/ |
| H A D | ixp4xx_hss.c | 291 struct { u32 data32; }; member 298 struct { u32 data32; }; 385 msg.data32 >>= 2; in hss_config_set_lut() 386 msg.data32 |= TDMMAP_HDLC << 30; in hss_config_set_lut() 406 msg.data32 = PCR_FRM_PULSE_DISABLED | PCR_MSB_ENDIAN | in hss_config() 409 msg.data32 |= PCR_SYNC_CLK_DIR_OUTPUT; in hss_config() 413 msg.data32 ^= PCR_TX_DATA_ENABLE | PCR_DCLK_EDGE_RISING; in hss_config() 420 msg.data32 = (port->loopback ? CCR_LOOPBACK : 0) | in hss_config() 428 msg.data32 = port->clock_reg; in hss_config() 456 msg.cmd != PORT_CONFIG_LOAD || msg.data32) { in hss_config() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_tcp_hdr_options.h | 76 __u32 data32; member 85 __u32 data32; member
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | cn23xx_pf_device.c | 1140 u32 data32; in setup_cn23xx_octeon_pf_device() local 1143 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_0, &data32); in setup_cn23xx_octeon_pf_device() 1144 BAR0 = (u64)(data32 & ~0xf); in setup_cn23xx_octeon_pf_device() 1145 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_1, &data32); in setup_cn23xx_octeon_pf_device() 1146 BAR0 |= ((u64)data32 << 32); in setup_cn23xx_octeon_pf_device() 1147 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_2, &data32); in setup_cn23xx_octeon_pf_device() 1148 BAR1 = (u64)(data32 & ~0xf); in setup_cn23xx_octeon_pf_device() 1149 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_3, &data32); in setup_cn23xx_octeon_pf_device() 1150 BAR1 |= ((u64)data32 << 32); in setup_cn23xx_octeon_pf_device()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tcp_hdr_options.c | 95 write_opt.exprm.data32 = 0; in store_option() 102 write_opt.regular.data32 = 0; in store_option() 140 search_opt.exprm.data32 = 0; in load_option() 149 search_opt.regular.data32 = 0; in load_option()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_ptp.c | 195 u32 data32; in ksz_ptp_enable_perout() local 209 data32 = FIELD_PREP(PTP_GPIO_INDEX, pin) | in ksz_ptp_enable_perout() 212 PTP_GPIO_INDEX | PTP_TOU_INDEX, data32); in ksz_ptp_enable_perout() 860 u32 data32; in ksz_ptp_adjfine() local 869 data32 = (u32)adj; in ksz_ptp_adjfine() 870 data32 &= PTP_SUBNANOSEC_M; in ksz_ptp_adjfine() 872 data32 |= PTP_RATE_DIR; in ksz_ptp_adjfine() 874 ret = ksz_write32(dev, regs[PTP_SUBNANOSEC_RATE], data32); in ksz_ptp_adjfine()
|
| H A D | lan937x_main.c | 365 u32 data32; in lan937x_reset_switch() local 391 return ksz_read32(dev, REG_SW_PORT_INT_STATUS__4, &data32); in lan937x_reset_switch()
|
| H A D | ksz9477.c | 357 u32 data32; in ksz9477_reset_switch() local 373 ksz_read32(dev, REG_SW_PORT_INT_STATUS__4, &data32); in ksz9477_reset_switch()
|
| /linux/drivers/pci/controller/ |
| H A D | pcie-altera.c | 633 u32 data32; in _altera_pcie_cfg_write() local 647 data32 = (value & 0xff) << shift; in _altera_pcie_cfg_write() 651 data32 = (value & 0xffff) << shift; in _altera_pcie_cfg_write() 655 data32 = value; in _altera_pcie_cfg_write() 661 byte_en, data32); in _altera_pcie_cfg_write()
|
| /linux/tools/perf/util/ |
| H A D | header.c | 1035 u32 data32; in write_bpf_prog_info() 1039 data32 = 1; in write_bpf_prog_info() 1041 ret = do_write(ff, &data32, sizeof(data32)); in write_bpf_prog_info() 1046 data32 = ff->ph->env.clock.clockid; in write_bpf_prog_info() 1048 ret = do_write(ff, &data32, sizeof(data32)); in write_bpf_prog_info() 3609 u32 data32; in process_pmu_caps() 3613 if (do_read_u32(ff, &data32)) in process_cpu_domain_info() 3616 if (data32 ! in process_cpu_domain_info() 950 u32 data32; write_clock_data() local 3246 u32 data32; process_clock_data() local [all...] |
| /linux/drivers/media/usb/as102/ |
| H A D | as10x_cmd.h | 395 __le32 data32[DUMP_BLOCK_SIZE / sizeof(__le32)]; member
|
| /linux/drivers/net/ppp/ |
| H A D | ppp_generic.c | 1020 struct ppp_option_data32 data32; in ppp_compat_ioctl() local 1021 if (copy_from_user(&data32, argp, sizeof(data32))) { in ppp_compat_ioctl() 1025 .ptr = compat_ptr(data32.ptr), in ppp_compat_ioctl() 1026 .length = data32.length, in ppp_compat_ioctl() 1027 .transmit = data32.transmit in ppp_compat_ioctl()
|
| /linux/drivers/media/pci/netup_unidvb/ |
| H A D | netup_unidvb_i2c.c | 48 __le32 data32; member
|
| /linux/drivers/video/fbdev/ |
| H A D | stifb.c | 427 #define NGLE_BINC_WRITE32(fb, data32) \ argument 428 WRITE_WORD(data32, fb, REG_23)
|
| /linux/drivers/usb/mon/ |
| H A D | mon_bin.c | 151 u32 data32; member 1157 compat_ptr(getb.data32), getb.alloc32); in mon_bin_compat_ioctl()
|
| /linux/Documentation/ABI/testing/ |
| H A D | debugfs-driver-habanalabs | 38 What: /sys/kernel/debug/accel/<parent_device>/data32
|