Home
last modified time | relevance | path

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

123

/linux/drivers/comedi/drivers/
A Dmpc624.c114 unsigned int data_in = 0; in mpc624_ai_get_sample() local
135 data_in <<= 1; in mpc624_ai_get_sample()
158 if (data_in & MPC624_EOC_BIT) in mpc624_ai_get_sample()
160 if (data_in & MPC624_DMY_BIT) in mpc624_ai_get_sample()
163 if (data_in & MPC624_SGN_BIT) { in mpc624_ai_get_sample()
170 data_in &= 0x3fffffff; in mpc624_ai_get_sample()
178 data_in |= MPC624_SGN_BIT; in mpc624_ai_get_sample()
179 data_in = ~data_in; in mpc624_ai_get_sample()
180 data_in += 1; in mpc624_ai_get_sample()
183 data_in = 0x20000000 - data_in; in mpc624_ai_get_sample()
[all …]
/linux/fs/btrfs/
A Dzlib.c100 char *data_in; in zlib_compress_pages() local
157 data_in = kmap(in_page); in zlib_compress_pages()
159 data_in, PAGE_SIZE); in zlib_compress_pages()
170 data_in = kmap(in_page); in zlib_compress_pages()
282 char *data_in; in zlib_decompress_bio() local
291 workspace->strm.next_in = data_in; in zlib_decompress_bio()
303 !(((data_in[0]<<8) + data_in[1]) % 31)) { in zlib_decompress_bio()
305 wbits = -((data_in[0] >> 4) + 8); in zlib_decompress_bio()
342 data_in = NULL; in zlib_decompress_bio()
357 if (data_in) in zlib_decompress_bio()
[all …]
A Dlzo.c233 char *data_in; in lzo_compress_pages() local
248 data_in = kmap(page_in); in lzo_compress_pages()
249 ret = lzo1x_1_compress(data_in + in lzo_compress_pages()
418 int lzo_decompress(struct list_head *ws, unsigned char *data_in, in lzo_decompress() argument
433 in_len = read_compress_length(data_in); in lzo_decompress()
436 data_in += LZO_LEN; in lzo_decompress()
438 in_len = read_compress_length(data_in); in lzo_decompress()
443 data_in += LZO_LEN; in lzo_decompress()
446 ret = lzo1x_decompress_safe(data_in, in_len, workspace->buf, &out_len); in lzo_decompress()
A Dcompression.h87 int btrfs_decompress(int type, unsigned char *data_in, struct page *dest_page,
150 int zlib_decompress(struct list_head *ws, unsigned char *data_in,
161 int lzo_decompress(struct list_head *ws, unsigned char *data_in,
171 int zstd_decompress(struct list_head *ws, unsigned char *data_in,
A Dcompression.c117 unsigned char *data_in, struct page *dest_page, in compression_decompress() argument
121 case BTRFS_COMPRESS_ZLIB: return zlib_decompress(ws, data_in, dest_page, in compression_decompress()
123 case BTRFS_COMPRESS_LZO: return lzo_decompress(ws, data_in, dest_page, in compression_decompress()
125 case BTRFS_COMPRESS_ZSTD: return zstd_decompress(ws, data_in, dest_page, in compression_decompress()
1373 int btrfs_decompress(int type, unsigned char *data_in, struct page *dest_page, in btrfs_decompress() argument
1380 ret = compression_decompress(type, workspace, data_in, dest_page, in btrfs_decompress()
/linux/fs/jffs2/
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()
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()
A Dcompr_rubin.c274 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
401 bits[c] = data_in[c]; in jffs2_dynrubin_decompress()
[all …]
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()
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()
A Dcompr.h53 int (*compress)(unsigned char *data_in, unsigned char *cpage_out,
74 unsigned char *data_in, unsigned char **cpage_out,
/linux/drivers/input/joystick/iforce/
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()
A Diforce-serio.c21 u8 data_in[IFORCE_MAX_LENGTH]; member
158 iforce_serio->data_in[iforce_serio->idx++] = data; in iforce_serio_irq()
168 iforce_serio->data_in, IFORCE_MAX_LENGTH); in iforce_serio_irq()
175 iforce_serio->data_in, in iforce_serio_irq()
/linux/drivers/char/ipmi/
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()
/linux/drivers/mtd/nand/raw/
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()
/linux/net/bpf/
A Dtest_run.c255 void __user *data_in = u64_to_user_ptr(kattr->test.data_in); in bpf_test_init() local
269 if (copy_from_user(data + headroom, data_in, user_size)) { in bpf_test_init()
348 if (kattr->test.data_in || kattr->test.data_out || in bpf_prog_test_run_raw_tp()
397 void __user *data_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_ctx_init() local
403 if (!data_in && !data_out) in bpf_ctx_init()
410 if (data_in) { in bpf_ctx_init()
411 err = bpf_check_uarg_tail_zero(USER_BPFPTR(data_in), max_size, size); in bpf_ctx_init()
418 if (copy_from_user(data, data_in, size)) { in bpf_ctx_init()
943 if (kattr->test.data_in || kattr->test.data_size_in || kattr->test.data_out || in bpf_prog_test_run_sk_lookup()
1040 if (kattr->test.data_in || kattr->test.data_out || in bpf_prog_test_run_syscall()
/linux/drivers/gpio/
A Dgpio-mvebu.c319 u32 data_in, in_pol; in mvebu_gpio_get() local
322 &data_in); in mvebu_gpio_get()
325 u = data_in ^ in_pol; in mvebu_gpio_get()
537 u32 data_in, in_pol, val; in mvebu_gpio_irq_set_type() local
542 GPIO_DATA_IN_OFF + mvchip->offset, &data_in); in mvebu_gpio_irq_set_type()
547 if ((data_in ^ in_pol) & BIT(pin)) in mvebu_gpio_irq_set_type()
565 u32 cause, type, data_in, level_mask, edge_cause, edge_mask; in mvebu_gpio_irq_handler() local
573 regmap_read(mvchip->regs, GPIO_DATA_IN_OFF + mvchip->offset, &data_in); in mvebu_gpio_irq_handler()
578 cause = (data_in & level_mask) | (edge_cause & edge_mask); in mvebu_gpio_irq_handler()
893 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in mvebu_gpio_dbg_show() local
[all …]
/linux/drivers/hwmon/
A Dsbrmi.c72 u32 data_in; member
124 byte = (msg->data_in >> i * 8) & 0xff; in rmi_mailbox_xfer()
242 msg.data_in = val; in sbrmi_write()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dcheck_mtu.c89 .data_in = &pkt_v4, in test_check_mtu_run_xdp()
149 .data_in = &pkt_v4, in test_check_mtu_run_tc()
A Dskb_helpers.c13 .data_in = &pkt_v4, in test_skb_helpers()
A Dprog_run_xattr.c32 .data_in = &pkt_v4, in test_prog_run_xattr()
/linux/tools/lib/bpf/
A Dbpf.h210 const void *data_in; member
266 const void *data_in; /* optional */ member
/linux/drivers/scsi/sym53c8xx_2/
A Dsym_fw.c291 sym_fw_fill_data(scripta0->data_in, scripta0->data_out); in sym_fw1_setup()
313 sym_fw_fill_data(scripta0->data_in, scripta0->data_out); in sym_fw2_setup()
/linux/arch/arm/plat-orion/
A Dgpio.c444 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in orion_gpio_dbg_show() local
452 data_in = readl_relaxed(GPIO_DATA_IN(ochip)); in orion_gpio_dbg_show()
474 (data_in ^ in_pol) & msk ? "hi" : "lo", in orion_gpio_dbg_show()
/linux/drivers/i2c/busses/
A Di2c-brcmstb.c81 u32 data_in[N_DATA_REGS]; /* tx data buffer*/ member
378 bsc_writel(dev, word, data_in[i]); in brcmstb_i2c_xfer_bsc_data()
413 bsc_writel(dev, *buf, data_in); in brcmstb_i2c_write_data_byte()

Completed in 38 milliseconds

123