/linux-6.1.9/sound/core/ |
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() 105 if (copy_to_user(&data32->id, &data->id, sizeof(data->id)) || in snd_ctl_elem_info_compat() 106 copy_to_user(&data32->type, &data->type, 3 * sizeof(u32))) in snd_ctl_elem_info_compat() 108 if (put_user(data->owner, &data32->owner)) in snd_ctl_elem_info_compat() [all …]
|
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() 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() 332 int dir, struct snd_xfern32 __user *data32) in snd_pcm_ioctl_xfern_compat() argument 350 if (get_user(buf, &data32->bufs) || in snd_pcm_ioctl_xfern_compat() [all …]
|
/linux-6.1.9/sound/core/seq/ |
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() 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-6.1.9/tools/firmware/ |
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-6.1.9/drivers/atm/ |
D | solos-pci.c | 521 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-6.1.9/sound/soc/codecs/ |
D | wm8958-dsp2.c | 46 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-6.1.9/drivers/net/ethernet/chelsio/cxgb/ |
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()
|
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-6.1.9/arch/riscv/kvm/ |
D | vcpu_insn.c | 578 u32 data32; in kvm_riscv_vcpu_mmio_store() local 611 data8 = data16 = data32 = data64 = data; in kvm_riscv_vcpu_mmio_store() 634 data32 = GET_RS2S(insn, &vcpu->arch.guest_context); in kvm_riscv_vcpu_mmio_store() 638 data32 = GET_RS2C(insn, &vcpu->arch.guest_context); in kvm_riscv_vcpu_mmio_store() 663 *((u32 *)run->mmio.data) = data32; in kvm_riscv_vcpu_mmio_store() 704 u32 data32; in kvm_riscv_vcpu_mmio_return() local 733 data32 = *((u32 *)run->mmio.data); in kvm_riscv_vcpu_mmio_return() 735 (ulong)data32 << shift >> shift); in kvm_riscv_vcpu_mmio_return()
|
/linux-6.1.9/drivers/scsi/ |
D | a100u2w.c | 367 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-6.1.9/drivers/i2c/ |
D | i2c-dev.c | 567 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-6.1.9/arch/x86/kernel/ |
D | vm86_32.c | 554 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-6.1.9/tools/testing/selftests/bpf/ |
D | test_tcp_hdr_options.h | 75 __u32 data32; member 84 __u32 data32; member
|
/linux-6.1.9/drivers/net/wan/ |
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-6.1.9/drivers/i2c/busses/ |
D | i2c-mlxbf.c | 636 u32 data32; in mlxbf_i2c_smbus_write_data() local 649 data32 = *((u32 *)(data + offset)); in mlxbf_i2c_smbus_write_data() 651 iowrite32be(data32, priv->mst->io + addr + offset); in mlxbf_i2c_smbus_write_data() 653 iowrite32be(data32, priv->slv->io + addr + offset); in mlxbf_i2c_smbus_write_data() 661 u32 data32, mask; in mlxbf_i2c_smbus_read_data() local 676 data32 = ioread32be(priv->mst->io + addr + offset); in mlxbf_i2c_smbus_read_data() 678 data32 = ioread32be(priv->slv->io + addr + offset); in mlxbf_i2c_smbus_read_data() 679 *((u32 *)(data + offset)) = data32; in mlxbf_i2c_smbus_read_data() 686 data32 = ioread32be(priv->mst->io + addr + offset); in mlxbf_i2c_smbus_read_data() 688 data32 = ioread32be(priv->slv->io + addr + offset); in mlxbf_i2c_smbus_read_data() [all …]
|
/linux-6.1.9/net/ipv6/ |
D | ioam6.c | 112 u32 data32; in ioam6_genl_addns() local 139 data32 = IOAM6_U32_UNAVAILABLE; in ioam6_genl_addns() 141 data32 = nla_get_u32(info->attrs[IOAM6_ATTR_NS_DATA]); in ioam6_genl_addns() 148 ns->data = cpu_to_be32(data32); in ioam6_genl_addns() 210 u32 data32; in __ioam6_genl_dumpns_element() local 217 data32 = be32_to_cpu(ns->data); in __ioam6_genl_dumpns_element() 221 (data32 != IOAM6_U32_UNAVAILABLE && in __ioam6_genl_dumpns_element() 222 nla_put_u32(skb, IOAM6_ATTR_NS_DATA, data32)) || in __ioam6_genl_dumpns_element()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_tcp_hdr_options.c | 98 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-6.1.9/drivers/pci/controller/ |
D | pcie-altera.c | 478 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-6.1.9/drivers/net/ethernet/cavium/liquidio/ |
D | cn23xx_pf_device.c | 1311 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-6.1.9/drivers/net/dsa/microchip/ |
D | lan937x_main.c | 142 u32 data32; in lan937x_reset_switch() local 168 return ksz_read32(dev, REG_SW_PORT_INT_STATUS__4, &data32); in lan937x_reset_switch()
|
/linux-6.1.9/drivers/gpu/drm/ast/ |
D | ast_mode.c | 671 } srcdata32[2], data32; in ast_update_cursor_image() local 695 data32.b[0] = srcdata32[0].b[1] | (srcdata32[0].b[0] >> 4); in ast_update_cursor_image() 696 data32.b[1] = srcdata32[0].b[3] | (srcdata32[0].b[2] >> 4); in ast_update_cursor_image() 697 data32.b[2] = srcdata32[1].b[1] | (srcdata32[1].b[0] >> 4); in ast_update_cursor_image() 698 data32.b[3] = srcdata32[1].b[3] | (srcdata32[1].b[2] >> 4); in ast_update_cursor_image() 700 writel(data32.ul, dstxor); in ast_update_cursor_image() 701 csum += data32.ul; in ast_update_cursor_image()
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 1820 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-6.1.9/tools/perf/util/ |
D | header.c | 907 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() 2995 u32 data32; in process_clock_data() local 2999 if (do_read_u32(ff, &data32)) in process_clock_data() 3002 if (data32 != 1) in process_clock_data() 3006 if (do_read_u32(ff, &data32)) in process_clock_data() 3009 ff->ph->env.clock.clockid = data32; in process_clock_data()
|
/linux-6.1.9/drivers/media/usb/as102/ |
D | as10x_cmd.h | 395 __le32 data32[DUMP_BLOCK_SIZE / sizeof(__le32)]; member
|
/linux-6.1.9/drivers/net/ppp/ |
D | ppp_generic.c | 1004 struct ppp_option_data32 data32; in ppp_compat_ioctl() local 1005 if (copy_from_user(&data32, argp, sizeof(data32))) { in ppp_compat_ioctl() 1009 .ptr = compat_ptr(data32.ptr), in ppp_compat_ioctl() 1010 .length = data32.length, in ppp_compat_ioctl() 1011 .transmit = data32.transmit in ppp_compat_ioctl()
|