/arch/arm/mach-tegra/ |
D | apbio.c | 70 static void apb_dma_complete(struct tegra_dma_req *req) in apb_dma_complete() argument 77 struct tegra_dma_req req; in tegra_apb_readl() local 84 req.complete = apb_dma_complete; in tegra_apb_readl() 85 req.to_memory = 1; in tegra_apb_readl() 86 req.dest_addr = tegra_apb_bb_phys; in tegra_apb_readl() 87 req.dest_bus_width = 32; in tegra_apb_readl() 88 req.dest_wrap = 1; in tegra_apb_readl() 89 req.source_addr = offset; in tegra_apb_readl() 90 req.source_bus_width = 32; in tegra_apb_readl() 91 req.source_wrap = 4; in tegra_apb_readl() [all …]
|
D | dma.c | 142 struct tegra_dma_req *req); 144 struct tegra_dma_req *req); 154 struct tegra_dma_req *req; in tegra_dma_dequeue() local 159 req = list_entry(ch->list.next, typeof(*req), node); in tegra_dma_dequeue() 161 tegra_dma_dequeue_req(ch, req); in tegra_dma_dequeue() 197 struct tegra_dma_req *req, bool is_stop_dma) in get_channel_status() argument 223 req->status = TEGRA_DMA_REQ_ERROR_ABORTED; in get_channel_status() 232 struct tegra_dma_req *req, unsigned int status) in dma_active_count() argument 249 if (req->buffer_status == TEGRA_DMA_REQ_BUF_STATUS_HALF_FULL) in dma_active_count() 262 struct tegra_dma_req *req = NULL; in tegra_dma_dequeue_req() local [all …]
|
/arch/um/drivers/ |
D | mconsole_user.c | 40 static int mconsole_reply_v0(struct mc_request *req, char *reply) in mconsole_reply_v0() argument 48 msg.msg_name = &(req->origin); in mconsole_reply_v0() 49 msg.msg_namelen = req->originlen; in mconsole_reply_v0() 56 return sendmsg(req->originating_fd, &msg, 0); in mconsole_reply_v0() 59 static struct mconsole_command *mconsole_parse(struct mc_request *req) in mconsole_parse() argument 66 if (!strncmp(req->request.data, cmd->command, in mconsole_parse() 79 int mconsole_get_request(int fd, struct mc_request *req) in mconsole_get_request() argument 83 req->originlen = sizeof(req->origin); in mconsole_get_request() 84 req->len = recvfrom(fd, &req->request, sizeof(req->request), 0, in mconsole_get_request() 85 (struct sockaddr *) req->origin, &req->originlen); in mconsole_get_request() [all …]
|
D | mconsole_kern.c | 56 struct mconsole_entry *req; in mc_work_proc() local 61 req = list_entry(mc_requests.next, struct mconsole_entry, list); in mc_work_proc() 62 list_del(&req->list); in mc_work_proc() 64 req->request.cmd->handler(&req->request); in mc_work_proc() 65 kfree(req); in mc_work_proc() 76 static struct mc_request req; /* that's OK */ in mconsole_interrupt() local 79 while (mconsole_get_request(fd, &req)) { in mconsole_interrupt() 80 if (req.cmd->context == MCONSOLE_INTR) in mconsole_interrupt() 81 (*req.cmd->handler)(&req); in mconsole_interrupt() 85 mconsole_reply(&req, "Out of memory", 1, 0); in mconsole_interrupt() [all …]
|
D | mconsole.h | 51 void (*handler)(struct mc_request *req); 72 extern int mconsole_reply_len(struct mc_request *req, const char *reply, 74 extern int mconsole_reply(struct mc_request *req, const char *str, int err, 77 extern void mconsole_version(struct mc_request *req); 78 extern void mconsole_help(struct mc_request *req); 79 extern void mconsole_halt(struct mc_request *req); 80 extern void mconsole_reboot(struct mc_request *req); 81 extern void mconsole_config(struct mc_request *req); 82 extern void mconsole_remove(struct mc_request *req); 83 extern void mconsole_sysrq(struct mc_request *req); [all …]
|
D | ubd_kern.c | 47 struct request *req; member 449 struct io_thread_req *req; in ubd_handler() local 456 n = os_read_file(thread_fd, &req, in ubd_handler() 458 if(n != sizeof(req)){ in ubd_handler() 466 blk_end_request(req->req, 0, req->length); in ubd_handler() 467 kfree(req); in ubd_handler() 1191 static void cowify_req(struct io_thread_req *req, unsigned long *bitmap, in cowify_req() argument 1194 __u64 sector = req->offset >> 9; in cowify_req() 1197 if(req->length > (sizeof(req->sector_mask) * 8) << 9) in cowify_req() 1200 if(req->op == UBD_READ) { in cowify_req() [all …]
|
D | daemon_user.c | 52 struct request_v3 req; in connect_to_switch() local 93 req.magic = SWITCH_MAGIC; in connect_to_switch() 94 req.version = SWITCH_VERSION; in connect_to_switch() 95 req.type = REQ_NEW_CONTROL; in connect_to_switch() 96 req.sock = *local_addr; in connect_to_switch() 97 n = write(pri->control, &req, sizeof(req)); in connect_to_switch() 98 if (n != sizeof(req)) { in connect_to_switch()
|
/arch/powerpc/platforms/52xx/ |
D | mpc52xx_lpbfifo.c | 53 struct mpc52xx_lpbfifo_request *req; member 63 static void mpc52xx_lpbfifo_kick(struct mpc52xx_lpbfifo_request *req) in mpc52xx_lpbfifo_kick() argument 65 size_t transfer_size = req->size - req->pos; in mpc52xx_lpbfifo_kick() 71 int dma = !(req->flags & MPC52XX_LPBFIFO_FLAG_NO_DMA); in mpc52xx_lpbfifo_kick() 72 int write = req->flags & MPC52XX_LPBFIFO_FLAG_WRITE; in mpc52xx_lpbfifo_kick() 73 int poll_dma = req->flags & MPC52XX_LPBFIFO_FLAG_POLL_DMA; in mpc52xx_lpbfifo_kick() 96 data = req->data + req->pos; in mpc52xx_lpbfifo_kick() 150 bd->data[0] = req->data_phys + req->pos; in mpc52xx_lpbfifo_kick() 164 req->offset + req->pos); in mpc52xx_lpbfifo_kick() 167 bit_fields = req->cs << 24 | 0x000008; in mpc52xx_lpbfifo_kick() [all …]
|
/arch/m68k/mac/ |
D | misc.c | 41 struct adb_request req; in cuda_read_time() local 44 if (cuda_request(&req, NULL, 2, CUDA_PACKET, CUDA_GET_TIME) < 0) in cuda_read_time() 46 while (!req.complete) in cuda_read_time() 49 time = (req.reply[3] << 24) | (req.reply[4] << 16) in cuda_read_time() 50 | (req.reply[5] << 8) | req.reply[6]; in cuda_read_time() 56 struct adb_request req; in cuda_write_time() local 58 if (cuda_request(&req, NULL, 6, CUDA_PACKET, CUDA_SET_TIME, in cuda_write_time() 62 while (!req.complete) in cuda_write_time() 68 struct adb_request req; in cuda_read_pram() local 69 if (cuda_request(&req, NULL, 4, CUDA_PACKET, CUDA_GET_PRAM, in cuda_read_pram() [all …]
|
/arch/powerpc/platforms/powermac/ |
D | time.c | 107 struct adb_request req; in cuda_get_time() local 110 if (cuda_request(&req, NULL, 2, CUDA_PACKET, CUDA_GET_TIME) < 0) in cuda_get_time() 112 while (!req.complete) in cuda_get_time() 114 if (req.reply_len != 7) in cuda_get_time() 116 req.reply_len); in cuda_get_time() 117 now = (req.reply[3] << 24) + (req.reply[4] << 16) in cuda_get_time() 118 + (req.reply[5] << 8) + req.reply[6]; in cuda_get_time() 127 struct adb_request req; in cuda_set_rtc_time() local 130 if (cuda_request(&req, NULL, 6, CUDA_PACKET, CUDA_SET_TIME, in cuda_set_rtc_time() 134 while (!req.complete) in cuda_set_rtc_time() [all …]
|
D | nvram.c | 187 static void pmu_nvram_complete(struct adb_request *req) in pmu_nvram_complete() argument 189 if (req->arg) in pmu_nvram_complete() 190 complete((struct completion *)req->arg); in pmu_nvram_complete() 195 struct adb_request req; in pmu_nvram_read_byte() local 198 req.arg = system_state == SYSTEM_RUNNING ? &req_complete : NULL; in pmu_nvram_read_byte() 199 if (pmu_request(&req, pmu_nvram_complete, 3, PMU_READ_NVRAM, in pmu_nvram_read_byte() 204 while (!req.complete) in pmu_nvram_read_byte() 206 return req.reply[0]; in pmu_nvram_read_byte() 211 struct adb_request req; in pmu_nvram_write_byte() local 214 req.arg = system_state == SYSTEM_RUNNING ? &req_complete : NULL; in pmu_nvram_write_byte() [all …]
|
/arch/powerpc/platforms/cell/ |
D | celleb_scc_sio.c | 47 struct uart_port req; in txx9_serial_init() local 63 memset(&req, 0, sizeof(req)); in txx9_serial_init() 64 req.line = i; in txx9_serial_init() 65 req.iotype = UPIO_MEM; in txx9_serial_init() 66 req.mapbase = res.start + txx9_scc_tab[i].offset; in txx9_serial_init() 68 req.membase = ioremap(req.mapbase, 0x24); in txx9_serial_init() 70 req.irq = irq_create_of_mapping(irq.controller, in txx9_serial_init() 72 req.flags |= UPF_IOREMAP | UPF_BUGGY_UART in txx9_serial_init() 74 req.uartclk = 83300000; in txx9_serial_init() 75 early_serial_txx9_setup(&req); in txx9_serial_init()
|
/arch/um/os-Linux/ |
D | aio.c | 133 static int do_not_aio(struct aio_thread_req *req) in do_not_aio() argument 139 actual = lseek64(req->io_fd, req->offset, SEEK_SET); in do_not_aio() 140 if (actual != req->offset) in do_not_aio() 143 switch (req->type) { in do_not_aio() 145 n = read(req->io_fd, req->buf, req->len); in do_not_aio() 148 n = write(req->io_fd, req->buf, req->len); in do_not_aio() 151 n = read(req->io_fd, &c, sizeof(c)); in do_not_aio() 155 req->type); in do_not_aio() 172 struct aio_thread_req req; in not_aio_thread() local 178 err = read(aio_req_fd_r, &req, sizeof(req)); in not_aio_thread() [all …]
|
/arch/x86/crypto/ |
D | ghash-clmulni-intel_glue.c | 157 static int ghash_async_init(struct ahash_request *req) in ghash_async_init() argument 159 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 161 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_init() 165 memcpy(cryptd_req, req, sizeof(*req)); in ghash_async_init() 173 desc->flags = req->base.flags; in ghash_async_init() 178 static int ghash_async_update(struct ahash_request *req) in ghash_async_update() argument 180 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_update() 183 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 187 memcpy(cryptd_req, req, sizeof(*req)); in ghash_async_update() 192 return shash_ahash_update(req, desc); in ghash_async_update() [all …]
|
D | aesni-intel_glue.c | 505 static int ablk_encrypt(struct ablkcipher_request *req) in ablk_encrypt() argument 507 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_encrypt() 512 ablkcipher_request_ctx(req); in ablk_encrypt() 513 memcpy(cryptd_req, req, sizeof(*req)); in ablk_encrypt() 519 desc.info = req->info; in ablk_encrypt() 522 &desc, req->dst, req->src, req->nbytes); in ablk_encrypt() 526 static int ablk_decrypt(struct ablkcipher_request *req) in ablk_decrypt() argument 528 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_decrypt() 533 ablkcipher_request_ctx(req); in ablk_decrypt() 534 memcpy(cryptd_req, req, sizeof(*req)); in ablk_decrypt() [all …]
|
D | serpent_sse2_glue.c | 466 struct lrw_crypt_req req = { in lrw_encrypt() local 477 ret = lrw_crypt(desc, dst, src, nbytes, &req); in lrw_encrypt() 492 struct lrw_crypt_req req = { in lrw_decrypt() local 503 ret = lrw_crypt(desc, dst, src, nbytes, &req); in lrw_decrypt() 554 struct xts_crypt_req req = { in xts_encrypt() local 566 ret = xts_crypt(desc, dst, src, nbytes, &req); in xts_encrypt() 581 struct xts_crypt_req req = { in xts_decrypt() local 593 ret = xts_crypt(desc, dst, src, nbytes, &req); in xts_decrypt() 615 static int __ablk_encrypt(struct ablkcipher_request *req) in __ablk_encrypt() argument 617 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in __ablk_encrypt() [all …]
|
/arch/ia64/hp/sim/boot/ |
D | bootloader.c | 61 struct disk_req req; in start_bootloader() local 108 req.len = sizeof(mem); in start_bootloader() 109 req.addr = (long) mem; in start_bootloader() 110 ssc(fd, 1, (long) &req, off, SSC_READ); in start_bootloader() 136 req.len = sizeof(*elf_phdr); in start_bootloader() 137 req.addr = (long) mem; in start_bootloader() 138 ssc(fd, 1, (long) &req, e_phoff, SSC_READ); in start_bootloader() 151 req.len = elf_phdr->p_filesz; in start_bootloader() 152 req.addr = __pa(elf_phdr->p_paddr); in start_bootloader() 153 ssc(fd, 1, (long) &req, elf_phdr->p_offset, SSC_READ); in start_bootloader()
|
/arch/arm/mach-tegra/include/mach/ |
D | dma.h | 90 void (*complete)(struct tegra_dma_req *req); 109 void (*threshold)(struct tegra_dma_req *req); 138 struct tegra_dma_req *req); 140 struct tegra_dma_req *req); 145 struct tegra_dma_req *req);
|
/arch/arm/mm/ |
D | proc-arm9tdmi.S | 77 .macro arm9tdmi_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req argument
|
D | proc-arm7tdmi.S | 83 .macro arm7tdmi_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, \
|
/arch/ia64/hp/sim/ |
D | simscsi.c | 129 struct disk_req req; in simscsi_sg_readwrite() local 134 req.addr = __pa(sg_virt(sl)); in simscsi_sg_readwrite() 135 req.len = sl->length; in simscsi_sg_readwrite() 138 mode == SSC_READ ? "read":"write", req.addr, offset, in simscsi_sg_readwrite() 140 ia64_ssc(stat.fd, 1, __pa(&req), offset, mode); in simscsi_sg_readwrite() 144 if (stat.count != req.len) { in simscsi_sg_readwrite() 172 struct disk_req req; in simscsi_get_disk_size() local 181 req.addr = __pa(&buf); in simscsi_get_disk_size() 182 req.len = sizeof(buf); in simscsi_get_disk_size() 183 ia64_ssc(fd, 1, __pa(&req), ((sectors | bit) - 1)*512, SSC_READ); in simscsi_get_disk_size()
|
/arch/arm/mach-rpc/ |
D | ecard.c | 117 static void ecard_task_reset(struct ecard_request *req) in ecard_task_reset() argument 119 struct expansion_card *ec = req->ec; in ecard_task_reset() 131 static void ecard_task_readbytes(struct ecard_request *req) in ecard_task_readbytes() argument 133 struct expansion_card *ec = req->ec; in ecard_task_readbytes() 134 unsigned char *buf = req->buffer; in ecard_task_readbytes() 135 unsigned int len = req->length; in ecard_task_readbytes() 136 unsigned int off = req->address; in ecard_task_readbytes() 184 if (!req->use_loader || !ec->loader) { in ecard_task_readbytes() 275 struct ecard_request *req; in ecard_task() local 279 req = xchg(&ecard_req, NULL); in ecard_task() [all …]
|
/arch/arm/lib/ |
D | csumpartial.S | 21 buf .req r0 22 len .req r1 23 sum .req r2 24 td0 .req r3 25 td1 .req r4 @ save before use 26 td2 .req r5 @ save before use 27 td3 .req lr
|
/arch/powerpc/platforms/pseries/ |
D | msi.c | 266 int req; in count_spare_msis() local 269 req = counts->request; in count_spare_msis() 273 req = 0; in count_spare_msis() 276 req = *p; in count_spare_msis() 280 req = max(req, (int)*p); in count_spare_msis() 283 if (req < counts->quota) in count_spare_msis() 284 counts->spare += counts->quota - req; in count_spare_msis() 285 else if (req > counts->quota) in count_spare_msis()
|
/arch/arm/mach-at91/ |
D | pm_slowclock.S | 42 pmc .req r0 43 sdramc .req r1 44 ramc1 .req r2 45 memctrl .req r3 46 tmp1 .req r4 47 tmp2 .req r5
|