/Linux-v5.4/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 | 493 __le32 *buf32 = (__le32 *) buf; in pdc_atapi_pkt() local 502 buf32[0] = cpu_to_le32(PDC_PKT_READ); in pdc_atapi_pkt() 504 buf32[0] = 0; in pdc_atapi_pkt() 507 buf32[0] = cpu_to_le32(PDC_PKT_NODATA); in pdc_atapi_pkt() 513 buf32[1] = cpu_to_le32(sg_table); /* S/G table addr */ in pdc_atapi_pkt() 514 buf32[2] = 0; /* no next-packet */ in pdc_atapi_pkt()
|
/Linux-v5.4/security/selinux/ss/ |
D | avtab.c | 398 __le32 buf32[ARRAY_SIZE(xperms.perms.p)]; in avtab_read_item() local 406 rc = next_entry(buf32, fp, sizeof(u32)); in avtab_read_item() 411 items2 = le32_to_cpu(buf32[0]); in avtab_read_item() 412 if (items2 > ARRAY_SIZE(buf32)) { in avtab_read_item() 417 rc = next_entry(buf32, fp, sizeof(u32)*items2); in avtab_read_item() 424 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 430 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 436 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 443 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 463 datum.u.data = le32_to_cpu(buf32[items++]); in avtab_read_item() [all …]
|
/Linux-v5.4/drivers/iio/temperature/ |
D | maxim_thermocouple.c | 121 __be32 buf32; in maxim_thermocouple_read() local 130 ret = spi_read(data->spi, (void *)&buf32, storage_bytes); in maxim_thermocouple_read() 131 *val = be32_to_cpu(buf32); in maxim_thermocouple_read()
|
/Linux-v5.4/arch/arm/mach-orion5x/ |
D | ts78xx-setup.c | 171 u32 *buf32 = (u32 *)buf; in ts78xx_ts_nand_write_buf() local 172 writesl(io_base, buf32, sz); in ts78xx_ts_nand_write_buf() 197 u32 *buf32 = (u32 *)buf; in ts78xx_ts_nand_read_buf() local 198 readsl(io_base, buf32, sz); in ts78xx_ts_nand_read_buf()
|
/Linux-v5.4/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()
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/hid/ |
D | hid-sensor-hub.c | 196 __s32 *buf32 = buffer; in sensor_hub_set_feature() local 214 (__force __s32)cpu_to_le32(*buf32)); in sensor_hub_set_feature() 215 ++buf32; in sensor_hub_set_feature() 220 memcpy(&value, (u8 *)buf32, remaining_bytes); in sensor_hub_set_feature()
|
/Linux-v5.4/drivers/mmc/host/ |
D | tmio_mmc_core.c | 312 u32 *buf32 = (u32 *)buf; in tmio_mmc_transfer_data() local 315 sd_ctrl_read32_rep(host, CTL_SD_DATA_PORT, buf32, in tmio_mmc_transfer_data() 318 sd_ctrl_write32_rep(host, CTL_SD_DATA_PORT, buf32, in tmio_mmc_transfer_data() 325 buf32 += count >> 2; in tmio_mmc_transfer_data() 330 memcpy(buf32, &data, count); in tmio_mmc_transfer_data() 332 memcpy(&data, buf32, count); in tmio_mmc_transfer_data()
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/base/regmap/ |
D | regmap-irq.c | 437 u32 *buf32 = data->status_reg_buf; in regmap_irq_thread() local 459 data->status_buf[i] = buf32[i]; in regmap_irq_thread()
|
/Linux-v5.4/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 538 union usb_reg_access *buf32 = (union usb_reg_access *)buf; in ep0_out_pio() local 545 buf32->dw = _nbu2ss_readl(&udc->p_regs->EP0_READ); in ep0_out_pio() 546 buf32++; in ep0_out_pio()
|