Home
last modified time | relevance | path

Searched refs:req (Results 1 – 25 of 116) sorted by relevance

12345

/arch/powerpc/platforms/52xx/
Dmpc52xx_lpbfifo.c53 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/um/drivers/
Dmconsole_user.c40 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 …]
Dmconsole_kern.c59 struct mconsole_entry *req; in mc_work_proc() local
64 req = list_entry(mc_requests.next, struct mconsole_entry, list); in mc_work_proc()
65 list_del(&req->list); in mc_work_proc()
67 req->request.cmd->handler(&req->request); in mc_work_proc()
68 kfree(req); in mc_work_proc()
79 static struct mc_request req; /* that's OK */ in mconsole_interrupt() local
82 while (mconsole_get_request(fd, &req)) { in mconsole_interrupt()
83 if (req.cmd->context == MCONSOLE_INTR) in mconsole_interrupt()
84 (*req.cmd->handler)(&req); in mconsole_interrupt()
88 mconsole_reply(&req, "Out of memory", 1, 0); in mconsole_interrupt()
[all …]
Dmconsole.h51 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 …]
Dubd_kern.c47 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 …]
/arch/m68k/mac/
Dmisc.c39 struct adb_request req; in cuda_read_time() local
42 if (cuda_request(&req, NULL, 2, CUDA_PACKET, CUDA_GET_TIME) < 0) in cuda_read_time()
44 while (!req.complete) in cuda_read_time()
47 time = (req.reply[3] << 24) | (req.reply[4] << 16) in cuda_read_time()
48 | (req.reply[5] << 8) | req.reply[6]; in cuda_read_time()
54 struct adb_request req; in cuda_write_time() local
56 if (cuda_request(&req, NULL, 6, CUDA_PACKET, CUDA_SET_TIME, in cuda_write_time()
60 while (!req.complete) in cuda_write_time()
66 struct adb_request req; in cuda_read_pram() local
67 if (cuda_request(&req, NULL, 4, CUDA_PACKET, CUDA_GET_PRAM, in cuda_read_pram()
[all …]
/arch/s390/pci/
Dpci_insn.c16 static inline u8 __mpcifc(u64 req, struct zpci_fib *fib, u8 *status) in __mpcifc() argument
24 : [cc] "=d" (cc), [req] "+d" (req), [fib] "+Q" (*fib) in __mpcifc()
26 *status = req >> 24 & 0xff; in __mpcifc()
30 int zpci_mod_fc(u64 req, struct zpci_fib *fib) in zpci_mod_fc() argument
35 cc = __mpcifc(req, fib, &status); in zpci_mod_fc()
89 static inline int __pcilg(u64 *data, u64 req, u64 offset, u8 *status) in __pcilg() argument
91 register u64 __req asm("2") = req; in __pcilg()
102 : [cc] "+d" (cc), [data] "=d" (__data), [req] "+d" (__req) in __pcilg()
112 int zpci_load(u64 *data, u64 req, u64 offset) in zpci_load() argument
118 cc = __pcilg(data, req, offset, &status); in zpci_load()
[all …]
/arch/powerpc/platforms/powermac/
Dtime.c107 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 …]
/arch/powerpc/platforms/cell/
Dcelleb_scc_sio.c47 struct uart_port req; in txx9_serial_init() local
62 memset(&req, 0, sizeof(req)); in txx9_serial_init()
63 req.line = i; in txx9_serial_init()
64 req.iotype = UPIO_MEM; in txx9_serial_init()
65 req.mapbase = res.start + txx9_scc_tab[i].offset; in txx9_serial_init()
67 req.membase = ioremap(req.mapbase, 0x24); in txx9_serial_init()
69 req.irq = irq_create_of_mapping(&irq); in txx9_serial_init()
70 req.flags |= UPF_IOREMAP | UPF_BUGGY_UART in txx9_serial_init()
72 req.uartclk = 83300000; in txx9_serial_init()
73 early_serial_txx9_setup(&req); in txx9_serial_init()
/arch/arm64/crypto/
Daes-ce-ccm-glue.c66 static int ccm_init_mac(struct aead_request *req, u8 maciv[], u32 msglen) in ccm_init_mac() argument
68 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_init_mac()
70 u32 l = req->iv[0] + 1; in ccm_init_mac()
87 memcpy(maciv, req->iv, AES_BLOCK_SIZE - l); in ccm_init_mac()
97 if (req->assoclen) in ccm_init_mac()
100 memset(&req->iv[AES_BLOCK_SIZE - l], 0, l); in ccm_init_mac()
104 static void ccm_calculate_auth_mac(struct aead_request *req, u8 mac[]) in ccm_calculate_auth_mac() argument
106 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac()
110 u32 len = req->assoclen; in ccm_calculate_auth_mac()
125 scatterwalk_start(&walk, req->assoc); in ccm_calculate_auth_mac()
[all …]
Dsha1-ce-core.S17 k0 .req v0
18 k1 .req v1
19 k2 .req v2
20 k3 .req v3
22 t0 .req v4
23 t1 .req v5
25 dga .req q6
26 dgav .req v6
27 dgb .req s7
28 dgbv .req v7
[all …]
/arch/arm64/lib/
Dstrlen.S38 srcin .req x0
39 len .req x0
42 src .req x1
43 data1 .req x2
44 data2 .req x3
45 data2a .req x4
46 has_nul1 .req x5
47 has_nul2 .req x6
48 tmp1 .req x7
49 tmp2 .req x8
[all …]
Dstrnlen.S39 srcin .req x0
40 len .req x0
41 limit .req x1
44 src .req x2
45 data1 .req x3
46 data2 .req x4
47 data2a .req x5
48 has_nul1 .req x6
49 has_nul2 .req x7
50 tmp1 .req x8
[all …]
Dmemmove.S40 dstin .req x0
41 src .req x1
42 count .req x2
43 tmp1 .req x3
44 tmp1w .req w3
45 tmp2 .req x4
46 tmp2w .req w4
47 tmp3 .req x5
48 tmp3w .req w5
49 dst .req x6
[all …]
Dcopy_template.S36 dstin .req x0
37 src .req x1
38 count .req x2
39 tmp1 .req x3
40 tmp1w .req w3
41 tmp2 .req x4
42 tmp2w .req w4
43 dst .req x6
45 A_l .req x7
46 A_h .req x8
[all …]
Dmemset.S40 dstin .req x0
41 val .req w1
42 count .req x2
43 tmp1 .req x3
44 tmp1w .req w3
45 tmp2 .req x4
46 tmp2w .req w4
47 zva_len_x .req x5
48 zva_len .req w5
49 zva_bits_x .req x6
[all …]
Dmemcmp.S41 src1 .req x0
42 src2 .req x1
43 limit .req x2
44 result .req x0
47 data1 .req x3
48 data1w .req w3
49 data2 .req x4
50 data2w .req w4
51 has_nul .req x5
52 diff .req x6
[all …]
Dstrcmp.S45 src1 .req x0
46 src2 .req x1
47 result .req x0
50 data1 .req x2
51 data1w .req w2
52 data2 .req x3
53 data2w .req w3
54 has_nul .req x4
55 diff .req x5
56 syndrome .req x6
[all …]
Dstrncmp.S45 src1 .req x0
46 src2 .req x1
47 limit .req x2
48 result .req x0
51 data1 .req x3
52 data1w .req w3
53 data2 .req x4
54 data2w .req w4
55 has_nul .req x5
56 diff .req x6
[all …]
/arch/x86/crypto/
Dghash-clmulni-intel_glue.c164 static int ghash_async_init(struct ahash_request *req) in ghash_async_init() argument
166 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init()
168 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_init()
172 memcpy(cryptd_req, req, sizeof(*req)); in ghash_async_init()
180 desc->flags = req->base.flags; in ghash_async_init()
185 static int ghash_async_update(struct ahash_request *req) in ghash_async_update() argument
187 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_update()
190 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update()
194 memcpy(cryptd_req, req, sizeof(*req)); in ghash_async_update()
199 return shash_ahash_update(req, desc); in ghash_async_update()
[all …]
Daesni-intel_glue.c593 struct lrw_crypt_req req = { in lrw_encrypt() local
606 ret = lrw_crypt(desc, dst, src, nbytes, &req); in lrw_encrypt()
617 struct lrw_crypt_req req = { in lrw_decrypt() local
630 ret = lrw_crypt(desc, dst, src, nbytes, &req); in lrw_decrypt()
744 struct xts_crypt_req req = { in xts_encrypt() local
758 ret = xts_crypt(desc, dst, src, nbytes, &req); in xts_encrypt()
769 struct xts_crypt_req req = { in xts_decrypt() local
783 ret = xts_crypt(desc, dst, src, nbytes, &req); in xts_decrypt()
823 rfc4106_set_hash_subkey_done(struct crypto_async_request *req, int err) in rfc4106_set_hash_subkey_done() argument
825 struct aesni_gcm_set_hash_subkey_result *result = req->data; in rfc4106_set_hash_subkey_done()
[all …]
/arch/um/os-Linux/
Daio.c132 static int do_not_aio(struct aio_thread_req *req) in do_not_aio() argument
138 actual = lseek64(req->io_fd, req->offset, SEEK_SET); in do_not_aio()
139 if (actual != req->offset) in do_not_aio()
142 switch (req->type) { in do_not_aio()
144 n = read(req->io_fd, req->buf, req->len); in do_not_aio()
147 n = write(req->io_fd, req->buf, req->len); in do_not_aio()
150 n = read(req->io_fd, &c, sizeof(c)); in do_not_aio()
154 req->type); in do_not_aio()
171 struct aio_thread_req req; in not_aio_thread() local
177 err = read(aio_req_fd_r, &req, sizeof(req)); in not_aio_thread()
[all …]
/arch/s390/include/asm/
Dpci_io.h35 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \
39 rc = zpci_load(&data, req, ZPCI_OFFSET(addr)); \
50 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \
53 zpci_store(data, req, ZPCI_OFFSET(addr)); \
65 static inline int zpci_write_single(u64 req, const u64 *data, u64 offset, u8 len) in zpci_write_single() argument
86 return zpci_store(val, req, offset); in zpci_write_single()
89 static inline int zpci_read_single(u64 req, u64 *dst, u64 offset, u8 len) in zpci_read_single() argument
94 cc = zpci_load(&data, req, offset); in zpci_read_single()
116 static inline int zpci_write_block(u64 req, const u64 *data, u64 offset) in zpci_write_block() argument
118 return zpci_store_block(data, req, offset); in zpci_write_block()
[all …]
/arch/arm/crypto/
Dsha2-ce-core.S18 k0 .req q7
19 k1 .req q8
20 rk .req r3
22 ta0 .req q9
23 ta1 .req q10
24 tb0 .req q10
25 tb1 .req q9
27 dga .req q11
28 dgb .req q12
30 dg0 .req q13
[all …]
/arch/ia64/hp/sim/boot/
Dbootloader.c61 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()

12345