/drivers/ata/ |
D | sata_promise.h | 33 __le32 *buf32 = (__le32 *) buf; in pdc_pkt_header() local 41 buf32[0] = cpu_to_le32(PDC_PKT_READ); in pdc_pkt_header() 43 buf32[0] = 0; in pdc_pkt_header() 47 buf32[0] = cpu_to_le32(PDC_PKT_NODATA); in pdc_pkt_header() 55 buf32[1] = cpu_to_le32(sg_table); /* S/G table addr */ in pdc_pkt_header() 56 buf32[2] = 0; /* no next-packet */ in pdc_pkt_header()
|
D | sata_sx4.c | 306 __le32 *buf32 = (__le32 *) buf; in pdc20621_ata_sg() local 312 buf32[dw] = cpu_to_le32(addr); in pdc20621_ata_sg() 313 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT); in pdc20621_ata_sg() 319 buf32[dw], buf32[dw + 1]); in pdc20621_ata_sg() 327 __le32 *buf32 = (__le32 *) buf; in pdc20621_host_sg() local 333 buf32[dw] = cpu_to_le32(addr); in pdc20621_host_sg() 334 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT); in pdc20621_host_sg() 340 buf32[dw], buf32[dw + 1]); in pdc20621_host_sg() 348 __le32 *buf32 = (__le32 *) buf; in pdc20621_ata_pkt() local 374 buf32[dw] = 0; in pdc20621_ata_pkt() [all …]
|
D | sata_promise.c | 487 __le32 *buf32 = (__le32 *) buf; in pdc_atapi_pkt() local 496 buf32[0] = cpu_to_le32(PDC_PKT_READ); in pdc_atapi_pkt() 498 buf32[0] = 0; in pdc_atapi_pkt() 501 buf32[0] = cpu_to_le32(PDC_PKT_NODATA); in pdc_atapi_pkt() 507 buf32[1] = cpu_to_le32(sg_table); /* S/G table addr */ in pdc_atapi_pkt() 508 buf32[2] = 0; /* no next-packet */ in pdc_atapi_pkt()
|
/drivers/iio/temperature/ |
D | maxim_thermocouple.c | 136 __be32 buf32; in maxim_thermocouple_read() local 145 ret = spi_read(data->spi, (void *)&buf32, storage_bytes); in maxim_thermocouple_read() 146 *val = be32_to_cpu(buf32); in maxim_thermocouple_read()
|
/drivers/fpga/ |
D | socfpga-a10.c | 151 static int socfpga_a10_fpga_encrypted(u32 *buf32, size_t buf32_size) in socfpga_a10_fpga_encrypted() argument 157 return ((buf32[RBF_ENCRYPTION_MODE_OFFSET] >> 2) & 3) != 0; in socfpga_a10_fpga_encrypted() 160 static int socfpga_a10_fpga_compressed(u32 *buf32, size_t buf32_size) in socfpga_a10_fpga_compressed() argument 166 return !((buf32[RBF_DECOMPRESS_OFFSET] >> 1) & 1); in socfpga_a10_fpga_compressed()
|
/drivers/nvmem/ |
D | stm32-romem.c | 120 u32 *buf32 = buf; in stm32_bsec_write() local 128 ret = stm32_bsec_smc(STM32_SMC_PROG_OTP, i >> 2, *buf32++, in stm32_bsec_write()
|
/drivers/mmc/host/ |
D | tmio_mmc_core.c | 353 u32 *buf32 = (u32 *)buf; in tmio_mmc_transfer_data() local 356 sd_ctrl_read32_rep(host, CTL_SD_DATA_PORT, buf32, in tmio_mmc_transfer_data() 359 sd_ctrl_write32_rep(host, CTL_SD_DATA_PORT, buf32, in tmio_mmc_transfer_data() 366 buf32 += count >> 2; in tmio_mmc_transfer_data() 371 memcpy(buf32, &data, count); in tmio_mmc_transfer_data() 373 memcpy(&data, buf32, count); in tmio_mmc_transfer_data()
|
/drivers/hid/ |
D | hid-sensor-hub.c | 195 __s32 *buf32 = buffer; in sensor_hub_set_feature() local 213 (__force __s32)cpu_to_le32(*buf32)); in sensor_hub_set_feature() 217 ++buf32; in sensor_hub_set_feature() 222 memcpy(&value, (u8 *)buf32, remaining_bytes); in sensor_hub_set_feature()
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb.c | 2490 u32 buf32, address; in sisusb_read() local 2540 address, &buf32)) in sisusb_read() 2542 else if (put_user(buf32, (u32 __user *)buffer)) in sisusb_read() 2598 if (sisusb_read_pci_config(sisusb, address, &buf32)) in sisusb_read() 2600 else if (put_user(buf32, (u32 __user *)buffer)) in sisusb_read() 2626 u32 buf32, address; in sisusb_write() local 2675 if (get_user(buf32, (u32 __user *)buffer)) in sisusb_write() 2678 SISUSB_TYPE_IO, address, buf32)) in sisusb_write() 2740 if (get_user(buf32, (u32 __user *)buffer)) in sisusb_write() 2742 else if (sisusb_write_pci_config(sisusb, address, buf32)) in sisusb_write()
|
/drivers/mtd/nand/raw/ |
D | pl35x-nand-controller.c | 341 u32 *buf32 = (u32 *)in; in pl35x_nand_read_data_op() local 353 buf32[i] = readl(nfc->io_regs + data_phase_addr); in pl35x_nand_read_data_op() 372 const u32 *buf32 = (const u32 *)out; in pl35x_nand_write_data_op() local 385 writel(buf32[i], nfc->io_regs + data_phase_addr); in pl35x_nand_write_data_op()
|
D | diskonchip.c | 324 u32 *buf32 = (u32 *)buf; in doc2000_readbuf() local 336 buf32[i] = readl(docptr + DoC_2k_CDSN_IO + i); in doc2000_readbuf()
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_pci.c | 249 u32 *buf32 = buf; in prestera_fw_evtq_read_buf() local 252 for (i = 0; i < len / 4; buf32++, i++) { in prestera_fw_evtq_read_buf() 253 *buf32 = readl_relaxed(evtq_addr + idx); in prestera_fw_evtq_read_buf()
|
/drivers/base/regmap/ |
D | regmap-irq.c | 489 u32 *buf32 = data->status_reg_buf; in regmap_irq_thread() local 511 data->status_buf[i] = buf32[i]; in regmap_irq_thread()
|
/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_dev.c | 425 struct vchiq_completion_data32 __user *buf32 = (void __user *)buf; in vchiq_put_completion() local 434 if (copy_to_user(&buf32[index], &tmp, sizeof(tmp))) in vchiq_put_completion()
|
/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 540 union usb_reg_access *buf32 = (union usb_reg_access *)buf; in ep0_out_pio() local 547 buf32->dw = _nbu2ss_readl(&udc->p_regs->EP0_READ); in ep0_out_pio() 548 buf32++; in ep0_out_pio()
|