/kernel/linux/linux-5.10/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() 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 …]
|
D | pcm_compat.c | 236 struct snd_pcm_hw_params32 __user *data32) in snd_pcm_ioctl_hw_params_compat() argument 250 if (copy_from_user(data, data32, sizeof(*data32))) { in snd_pcm_ioctl_hw_params_compat() 261 if (copy_to_user(data32, data, sizeof(*data32)) || in snd_pcm_ioctl_hw_params_compat() 262 put_user(data->fifo_size, &data32->fifo_size)) { in snd_pcm_ioctl_hw_params_compat() 287 int dir, struct snd_xferi32 __user *data32) in snd_pcm_ioctl_xferi_compat() argument 300 if (get_user(buf, &data32->buf) || in snd_pcm_ioctl_xferi_compat() 301 get_user(frames, &data32->frames)) in snd_pcm_ioctl_xferi_compat() 311 if (put_user(err, &data32->result)) in snd_pcm_ioctl_xferi_compat() 331 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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/ |
D | ast_cursor.c | 110 } srcdata32[2], data32; in update_cursor_image() local 134 data32.b[0] = srcdata32[0].b[1] | (srcdata32[0].b[0] >> 4); in update_cursor_image() 135 data32.b[1] = srcdata32[0].b[3] | (srcdata32[0].b[2] >> 4); in update_cursor_image() 136 data32.b[2] = srcdata32[1].b[1] | (srcdata32[1].b[0] >> 4); in update_cursor_image() 137 data32.b[3] = srcdata32[1].b[3] | (srcdata32[1].b[2] >> 4); in update_cursor_image() 139 writel(data32.ul, dstxor); in update_cursor_image() 140 csum += data32.ul; in update_cursor_image()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 | 94 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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
D | ixp4xx_hss.c | 277 struct { u32 data32; }; member 284 struct { u32 data32; }; 378 msg.data32 >>= 2; in hss_config_set_lut() 379 msg.data32 |= TDMMAP_HDLC << 30; in hss_config_set_lut() 399 msg.data32 = PCR_FRM_PULSE_DISABLED | PCR_MSB_ENDIAN | in hss_config() 402 msg.data32 |= PCR_SYNC_CLK_DIR_OUTPUT; in hss_config() 406 msg.data32 ^= PCR_TX_DATA_ENABLE | PCR_DCLK_EDGE_RISING; in hss_config() 413 msg.data32 = (port->loopback ? CCR_LOOPBACK : 0) | in hss_config() 421 msg.data32 = port->clock_reg; in hss_config() 449 msg.cmd != PORT_CONFIG_LOAD || msg.data32) { in hss_config() [all …]
|
/kernel/linux/linux-5.10/drivers/i2c/ |
D | i2c-dev.c | 568 struct i2c_smbus_ioctl_data32 data32; in compat_i2cdev_ioctl() local 569 if (copy_from_user(&data32, in compat_i2cdev_ioctl() 571 sizeof(data32))) in compat_i2cdev_ioctl() 573 return i2cdev_ioctl_smbus(client, data32.read_write, in compat_i2cdev_ioctl() 574 data32.command, in compat_i2cdev_ioctl() 575 data32.size, in compat_i2cdev_ioctl() 576 compat_ptr(data32.data)); in compat_i2cdev_ioctl()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | vm86_32.c | 588 int data32, pref_done; in handle_vm86_fault() local 602 data32 = 0; in handle_vm86_fault() 606 case 0x66: /* 32-bit data */ data32 = 1; break; in handle_vm86_fault() 624 if (data32) { in handle_vm86_fault() 638 if (data32) { in handle_vm86_fault() 647 if (data32) in handle_vm86_fault() 675 if (data32) { in handle_vm86_fault() 689 if (data32) { in handle_vm86_fault()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_tcp_hdr_options.h | 75 __u32 data32; member 84 __u32 data32; member
|
/kernel/linux/linux-5.10/drivers/input/tablet/ |
D | gtco.c | 213 __u32 data32 = 0; in parse_hid_report_descriptor() local 252 data32 = get_unaligned_le32(&report[i]); in parse_hid_report_descriptor() 413 indentstr, tag, maintype, size, globtype, data32); in parse_hid_report_descriptor() 496 indentstr, globtype, tag, size, data32); in parse_hid_report_descriptor() 497 globalval[tag] = data32; in parse_hid_report_descriptor() 540 indentstr, tag, globtype, size, data32); in parse_hid_report_descriptor()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-mlxbf.c | 621 u32 data32; in mlxbf_i2c_smbus_write_data() local 634 data32 = *((u32 *)(data + offset)); in mlxbf_i2c_smbus_write_data() 635 iowrite32be(data32, priv->smbus->io + addr + offset); in mlxbf_i2c_smbus_write_data() 642 u32 data32, mask; in mlxbf_i2c_smbus_read_data() local 656 data32 = ioread32be(priv->smbus->io + addr + offset); in mlxbf_i2c_smbus_read_data() 657 *((u32 *)(data + offset)) = data32; in mlxbf_i2c_smbus_read_data() 663 data32 = ioread32be(priv->smbus->io + addr + offset); in mlxbf_i2c_smbus_read_data() 666 data[offset + byte] = data32 & GENMASK(7, 0); in mlxbf_i2c_smbus_read_data() 667 data32 = ror32(data32, MLXBF_I2C_SHIFT_8); in mlxbf_i2c_smbus_read_data() 1867 u32 control32, data32; in mlxbf_smbus_irq_send() local [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 2235 u32 data32; in rtw_wx_read32() local 2263 data32 = rtw_read8(padapter, addr); in rtw_wx_read32() 2264 sprintf(extra, "0x%02X", data32); in rtw_wx_read32() 2267 data32 = rtw_read16(padapter, addr); in rtw_wx_read32() 2268 sprintf(extra, "0x%04X", data32); in rtw_wx_read32() 2271 data32 = rtw_read32(padapter, addr); in rtw_wx_read32() 2272 sprintf(extra, "0x%08X", data32); in rtw_wx_read32() 2294 u32 data32; in rtw_wx_write32() local 2300 data32 = 0; in rtw_wx_write32() 2301 sscanf(extra, "%d,%x,%x", &bytes, &addr, &data32); in rtw_wx_write32() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | header.c | 903 u32 data32; in write_clock_data() local 907 data32 = 1; in write_clock_data() 909 ret = do_write(ff, &data32, sizeof(data32)); in write_clock_data() 914 data32 = ff->ph->env.clock.clockid; in write_clock_data() 916 ret = do_write(ff, &data32, sizeof(data32)); in write_clock_data() 2826 u32 data32; in process_clock_data() local 2830 if (do_read_u32(ff, &data32)) in process_clock_data() 2833 if (data32 != 1) in process_clock_data() 2837 if (do_read_u32(ff, &data32)) in process_clock_data() 2840 ff->ph->env.clock.clockid = data32; in process_clock_data()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 1822 u32 data32; in r8711_wx_read32() local 1825 data32 = r8712_read32(padapter, addr); in r8711_wx_read32() 1826 put_user(data32, (u32 __user *)wrqu->data.pointer); in r8711_wx_read32() 1827 wrqu->data.length = (data32 & 0xffff0000) >> 16; in r8711_wx_read32() 1828 wrqu->data.flags = data32 & 0xffff; in r8711_wx_read32() 1839 u32 data32; in r8711_wx_write32() local 1842 data32 = ((u32)wrqu->data.length << 16) | (u32)wrqu->data.flags; in r8711_wx_write32() 1843 r8712_write32(padapter, addr, data32); in r8711_wx_write32()
|
/kernel/linux/linux-5.10/drivers/media/usb/as102/ |
D | as10x_cmd.h | 395 __le32 data32[DUMP_BLOCK_SIZE / sizeof(__le32)]; member
|
/kernel/linux/linux-5.10/drivers/net/ppp/ |
D | ppp_generic.c | 893 struct ppp_option_data32 data32; in ppp_compat_ioctl() local 894 if (copy_from_user(&data32, argp, sizeof(data32))) { in ppp_compat_ioctl() 898 .ptr = compat_ptr(data32.ptr), in ppp_compat_ioctl() 899 .length = data32.length, in ppp_compat_ioctl() 900 .transmit = data32.transmit in ppp_compat_ioctl()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/ |
D | atomisp-mt9m114.c | 289 __be32 *data32; in __mt9m114_buf_reg_array() local 308 data32 = (__be32 *)&ctrl->buffer.data[ctrl->index]; in __mt9m114_buf_reg_array() 309 *data32 = cpu_to_be32(next->val); in __mt9m114_buf_reg_array()
|