Home
last modified time | relevance | path

Searched refs:data_in (Results 1 – 25 of 131) sorted by relevance

123456

/openbmc/linux/fs/btrfs/
H A Dzlib.c100 char *data_in = NULL; in zlib_compress_pages() local
151 if (data_in) { in zlib_compress_pages()
152 kunmap_local(data_in); in zlib_compress_pages()
157 data_in = kmap_local_page(in_page); in zlib_compress_pages()
159 data_in); in zlib_compress_pages()
164 if (data_in) { in zlib_compress_pages()
165 kunmap_local(data_in); in zlib_compress_pages()
170 data_in = kmap_local_page(in_page); in zlib_compress_pages()
172 workspace->strm.next_in = data_in; in zlib_compress_pages()
263 if (data_in) { in zlib_compress_pages()
[all …]
H A Dlzo.c239 char *data_in; in lzo_compress_pages() local
254 data_in = kmap_local_page(page_in); in lzo_compress_pages()
255 ret = lzo1x_1_compress(data_in + in lzo_compress_pages()
259 kunmap_local(data_in); in lzo_compress_pages()
427 int lzo_decompress(struct list_head *ws, const u8 *data_in, in lzo_decompress() argument
442 in_len = read_compress_length(data_in); in lzo_decompress()
445 data_in += LZO_LEN; in lzo_decompress()
447 in_len = read_compress_length(data_in); in lzo_decompress()
452 data_in += LZO_LEN; in lzo_decompress()
455 ret = lzo1x_decompress_safe(data_in, in_len, workspace->buf, &out_len); in lzo_decompress()
H A Dcompression.h85 int btrfs_decompress(int type, const u8 *data_in, struct page *dest_page,
145 int zlib_decompress(struct list_head *ws, const u8 *data_in,
156 int lzo_decompress(struct list_head *ws, const u8 *data_in,
166 int zstd_decompress(struct list_head *ws, const u8 *data_in,
/openbmc/linux/drivers/comedi/drivers/
H A Dmpc624.c113 unsigned int data_in = 0; in mpc624_ai_get_sample() local
134 data_in <<= 1; in mpc624_ai_get_sample()
135 data_in |= (inb(dev->iobase + MPC624_ADC) & MPC624_ADSDO) >> 4; in mpc624_ai_get_sample()
157 if (data_in & MPC624_EOC_BIT) in mpc624_ai_get_sample()
159 if (data_in & MPC624_DMY_BIT) in mpc624_ai_get_sample()
162 if (data_in & MPC624_SGN_BIT) { in mpc624_ai_get_sample()
169 data_in &= 0x3fffffff; in mpc624_ai_get_sample()
177 data_in |= MPC624_SGN_BIT; in mpc624_ai_get_sample()
178 data_in = ~data_in; in mpc624_ai_get_sample()
179 data_in += 1; in mpc624_ai_get_sample()
[all …]
/openbmc/linux/fs/jffs2/
H A Dcompr_rtime.c32 static int jffs2_rtime_compress(unsigned char *data_in, in jffs2_rtime_compress() argument
49 value = data_in[pos]; in jffs2_rtime_compress()
51 cpage_out[outpos++] = data_in[pos++]; in jffs2_rtime_compress()
57 (data_in[pos]==data_in[backpos++]) && (runlen<255)) { in jffs2_rtime_compress()
76 static int jffs2_rtime_decompress(unsigned char *data_in, in jffs2_rtime_decompress() argument
91 value = data_in[pos++]; in jffs2_rtime_decompress()
93 repeat = data_in[pos++]; in jffs2_rtime_decompress()
H A Dcompr_zlib.c72 static int jffs2_zlib_compress(unsigned char *data_in, in jffs2_zlib_compress() argument
89 def_strm.next_in = data_in; in jffs2_zlib_compress()
141 static int jffs2_zlib_decompress(unsigned char *data_in, in jffs2_zlib_decompress() argument
150 inf_strm.next_in = data_in; in jffs2_zlib_decompress()
160 if (srclen > 2 && !(data_in[1] & PRESET_DICT) && in jffs2_zlib_decompress()
161 ((data_in[0] & 0x0f) == Z_DEFLATED) && in jffs2_zlib_decompress()
162 !(((data_in[0]<<8) + data_in[1]) % 31)) { in jffs2_zlib_decompress()
165 wbits = -((data_in[0] >> 4) + 8); in jffs2_zlib_decompress()
H A Dcompr_rubin.c262 static int rubin_do_compress(int bit_divider, int *bits, unsigned char *data_in, in rubin_do_compress() argument
274 while (pos < (*sourcelen) && !out_byte(&rs, data_in[pos])) in rubin_do_compress()
297 int jffs2_rubinmips_compress(unsigned char *data_in, unsigned char *cpage_out,
300 return rubin_do_compress(BIT_DIVIDER_MIPS, bits_mips, data_in,
304 static int jffs2_dynrubin_compress(unsigned char *data_in, in jffs2_dynrubin_compress() argument
322 histo[data_in[i]]++; in jffs2_dynrubin_compress()
350 ret = rubin_do_compress(256, bits, data_in, cpage_out+8, &mysrclen, in jffs2_dynrubin_compress()
384 static int jffs2_rubinmips_decompress(unsigned char *data_in, in jffs2_rubinmips_decompress() argument
388 rubin_do_decompress(BIT_DIVIDER_MIPS, bits_mips, data_in, in jffs2_rubinmips_decompress()
393 static int jffs2_dynrubin_decompress(unsigned char *data_in, in jffs2_dynrubin_decompress() argument
[all …]
H A Dcompr_lzo.c43 static int jffs2_lzo_compress(unsigned char *data_in, unsigned char *cpage_out, in jffs2_lzo_compress() argument
50 ret = lzo1x_1_compress(data_in, *sourcelen, lzo_compress_buf, &compress_size, lzo_mem); in jffs2_lzo_compress()
68 static int jffs2_lzo_decompress(unsigned char *data_in, unsigned char *cpage_out, in jffs2_lzo_decompress() argument
74 ret = lzo1x_decompress_safe(data_in, srclen, cpage_out, &dl); in jffs2_lzo_decompress()
H A Dcompr.c74 static int jffs2_selected_compress(u8 compr, unsigned char *data_in, in jffs2_selected_compress() argument
108 err = this->compress(data_in, output_buf, datalen, cdatalen); in jffs2_selected_compress()
149 unsigned char *data_in, unsigned char **cpage_out, in jffs2_compress() argument
168 ret = jffs2_selected_compress(0, data_in, cpage_out, datalen, in jffs2_compress()
206 compr_ret = this->compress(data_in, this->compr_buf, datalen, cdatalen); in jffs2_compress()
233 ret = jffs2_selected_compress(JFFS2_COMPR_LZO, data_in, in jffs2_compress()
237 ret = jffs2_selected_compress(JFFS2_COMPR_ZLIB, data_in, in jffs2_compress()
245 *cpage_out = data_in; in jffs2_compress()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dempty_skb.c22 const void *data_in; in test_empty_skb() member
35 .data_in = NULL, in test_empty_skb()
43 .data_in = NULL, in test_empty_skb()
57 .data_in = eth_hlen, in test_empty_skb()
71 .data_in = eth_hlen, in test_empty_skb()
82 .data_in = eth_hlen_pp, in test_empty_skb()
89 .data_in = eth_hlen_pp, in test_empty_skb()
122 tattr.data_in = tests[i].data_in; in test_empty_skb()
H A Dxdp_adjust_tail.c13 .data_in = &pkt_v4, in test_xdp_adjust_tail_shrink()
29 topts.data_in = &pkt_v6; in test_xdp_adjust_tail_shrink()
48 .data_in = &pkt_v4, in test_xdp_adjust_tail_grow()
64 topts.data_in = &pkt_v6; in test_xdp_adjust_tail_grow()
91 .data_in = &buf, in test_xdp_adjust_tail_grow2()
173 topts.data_in = buf; in test_xdp_adjust_frags_tail_shrink()
237 topts.data_in = buf; in test_xdp_adjust_frags_tail_grow()
260 topts.data_in = topts.data_out = buf; in test_xdp_adjust_frags_tail_grow()
H A Drbtree.c15 .data_in = &pkt_v4, in test_rbtree_add_nodes()
37 .data_in = &pkt_v4, in test_rbtree_add_and_remove()
59 .data_in = &pkt_v4, in test_rbtree_first_and_remove()
83 .data_in = &pkt_v4, in test_rbtree_api_release_aliasing()
H A Dlocal_kptr_stash.c12 .data_in = &pkt_v4, in test_local_kptr_stash_simple()
33 .data_in = &pkt_v4, in test_local_kptr_stash_plain()
54 .data_in = &pkt_v4, in test_local_kptr_stash_unstash()
H A Dpkt_access.c11 .data_in = &pkt_v4, in test_pkt_access()
24 topts.data_in = &pkt_v6; in test_pkt_access()
/openbmc/qemu/tests/unit/
H A Dtest-fifo.c71 uint8_t data_in[] = { 0x1, 0x2, 0x3, 0x4 }; in test_fifo8_pop_bufptr() local
81 fifo8_push_all(&fifo, data_in, sizeof(data_in)); in test_fifo8_pop_bufptr()
158 uint8_t data_in[] = { 0x1, 0x2, 0x3, 0x4 }; in test_fifo8_peek_bufptr() local
168 fifo8_push_all(&fifo, data_in, sizeof(data_in)); in test_fifo8_peek_bufptr()
238 uint8_t data_in[] = { 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8 }; in test_fifo8_pop_buf() local
248 fifo8_push_all(&fifo, data_in, sizeof(data_in)); in test_fifo8_pop_buf()
328 uint8_t data_in[] = { 0x1, 0x2, 0x3, 0x4 }; in test_fifo8_peek_buf() local
338 fifo8_push_all(&fifo, data_in, sizeof(data_in)); in test_fifo8_peek_buf()
/openbmc/u-boot/fs/jffs2/
H A Dcompr_rtime.c51 void rtime_decompress(unsigned char *data_in, unsigned char *cpage_out, in rtime_decompress() argument
68 value = data_in[pos++]; in rtime_decompress()
70 repeat = data_in[pos++]; in rtime_decompress()
H A Dcompr_rubin.c112 void dynrubin_decompress(unsigned char *data_in, unsigned char *cpage_out, in dynrubin_decompress() argument
119 bits[c] = (256 - data_in[c]); in dynrubin_decompress()
121 rubin_do_decompress(bits, data_in+8, cpage_out, dstlen); in dynrubin_decompress()
H A Dcompr_zlib.c43 long zlib_decompress(unsigned char *data_in, unsigned char *cpage_out, in zlib_decompress() argument
46 return (decompress_block(cpage_out, data_in + 2, (void *) ldr_memcpy)); in zlib_decompress()
/openbmc/u-boot/drivers/spi/
H A Dfsl_espi.c240 void *data_in, unsigned long flags) in spi_xfer() argument
279 if (data_in == NULL) in spi_xfer()
296 *(uint *)data_out, data_out, *(uint *)data_in, data_in, len); in spi_xfer()
300 if (data_in) in spi_xfer()
342 if (data_in) { in spi_xfer()
343 memcpy(data_in, buffer + 2 * cmd_len, tran_len); in spi_xfer()
345 data_in += tran_len; in spi_xfer()
H A Datcspi200_spi.c190 unsigned int bitlen, const void *data_out, void *data_in, in __atcspi200_spi_xfer() argument
217 ns->din = (u8 *)data_in; in __atcspi200_spi_xfer()
234 *(uint *)data_out, data_out, *(uint *)data_in, in __atcspi200_spi_xfer()
235 data_in, data_len); in __atcspi200_spi_xfer()
237 din = data_in; in __atcspi200_spi_xfer()
256 if ((event & RXFVE_MASK) && (data_in)) { in __atcspi200_spi_xfer()
/openbmc/u-boot/include/jffs2/
H A Djffs2.h220 void rtime_decompress(unsigned char *data_in, unsigned char *cpage_out,
224 void dynrubin_decompress(unsigned char *data_in, unsigned char *cpage_out,
226 long zlib_decompress(unsigned char *data_in, unsigned char *cpage_out,
229 int lzo_decompress(unsigned char *data_in, unsigned char *cpage_out,
/openbmc/qemu/hw/usb/
H A Ddev-mtp.c191 MTPData *data_in; member
1243 MTPData *data_in = NULL; in usb_mtp_command() local
1258 data_in = usb_mtp_get_device_info(s, c); in usb_mtp_command()
1292 data_in = usb_mtp_get_storage_ids(s, c); in usb_mtp_command()
1301 data_in = usb_mtp_get_storage_info(s, c); in usb_mtp_command()
1338 data_in = usb_mtp_get_object_handles(s, c, o); in usb_mtp_command()
1348 data_in = usb_mtp_get_object_info(s, c, o); in usb_mtp_command()
1362 data_in = usb_mtp_get_object(s, c, o); in usb_mtp_command()
1363 if (data_in == NULL) { in usb_mtp_command()
1384 data_in = usb_mtp_get_partial_object(s, c, o); in usb_mtp_command()
[all …]
/openbmc/linux/drivers/input/joystick/iforce/
H A Diforce-usb.c19 u8 data_in[IFORCE_MAX_LENGTH] ____cacheline_aligned; member
162 iforce_process_packet(iforce, iforce_usb->data_in[0], in iforce_usb_irq()
163 iforce_usb->data_in + 1, urb->actual_length - 1); in iforce_usb_irq()
230 iforce_usb->data_in, sizeof(iforce_usb->data_in), in iforce_usb_probe()
/openbmc/linux/drivers/char/ipmi/
H A Dkcs_bmc_cdev_ipmi.c82 u8 *data_in; member
154 priv->data_in[priv->data_in_idx++] = kcs_bmc_read_data(dev); in kcs_bmc_ipmi_handle_data()
164 priv->data_in[priv->data_in_idx++] = kcs_bmc_read_data(dev); in kcs_bmc_ipmi_handle_data()
338 memcpy(priv->kbuffer, priv->data_in, data_len); in kcs_bmc_ipmi_read()
488 priv->data_in = devm_kmalloc(kcs_bmc->dev, KCS_MSG_BUFSIZ, GFP_KERNEL); in kcs_bmc_ipmi_add_device()
495 if (!priv->data_in || !priv->data_out || !priv->kbuffer || !priv->miscdev.name) in kcs_bmc_ipmi_add_device()
536 devm_kfree(kcs_bmc->dev, priv->data_in); in kcs_bmc_ipmi_remove_device()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dams-delta.c43 bool data_in; member
80 priv->data_in = false; in gpio_nand_dir_output()
109 priv->data_in = true; in gpio_nand_dir_input()
116 if (len > 0 && priv->data_in) in gpio_nand_write_buf()
127 if (priv->data_gpiods && !priv->data_in) in gpio_nand_read_buf()
339 priv->data_in = true; in gpio_nand_probe()

123456