/Linux-v5.10/drivers/staging/comedi/drivers/ |
D | mpc624.c | 114 unsigned int data_in = 0; in mpc624_ai_get_sample() local 135 data_in <<= 1; in mpc624_ai_get_sample() 136 data_in |= (inb(dev->iobase + MPC624_ADC) & MPC624_ADSDO) >> 4; 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() [all …]
|
/Linux-v5.10/fs/jffs2/ |
D | compr_rtime.c | 32 static int jffs2_rtime_compress(unsigned char *data_in, in jffs2_rtime_compress() argument 46 value = data_in[pos]; in jffs2_rtime_compress() 48 cpage_out[outpos++] = data_in[pos++]; in jffs2_rtime_compress() 54 (data_in[pos]==data_in[backpos++]) && (runlen<255)) { in jffs2_rtime_compress() 73 static int jffs2_rtime_decompress(unsigned char *data_in, in jffs2_rtime_decompress() argument 88 value = data_in[pos++]; in jffs2_rtime_decompress() 90 repeat = data_in[pos++]; in jffs2_rtime_decompress()
|
D | compr_zlib.c | 72 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()
|
D | compr_rubin.c | 262 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 …]
|
D | compr_lzo.c | 43 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()
|
D | compr.c | 74 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()
|
D | compr.h | 53 int (*compress)(unsigned char *data_in, unsigned char *cpage_out, 74 unsigned char *data_in, unsigned char **cpage_out,
|
/Linux-v5.10/fs/btrfs/ |
D | zlib.c | 100 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() 172 workspace->strm.next_in = data_in; in zlib_compress_pages() 282 char *data_in; in zlib_decompress_bio() local 292 data_in = kmap(pages_in[page_in_index]); in zlib_decompress_bio() 293 workspace->strm.next_in = data_in; in zlib_decompress_bio() 303 if (srclen > 2 && !(data_in[1] & PRESET_DICT) && in zlib_decompress_bio() 304 ((data_in[0] & 0x0f) == Z_DEFLATED) && in zlib_decompress_bio() [all …]
|
D | lzo.c | 120 char *data_in; in lzo_compress_pages() local 143 data_in = kmap(in_page); in lzo_compress_pages() 164 ret = lzo1x_1_compress(data_in, in_len, workspace->cbuf, in lzo_compress_pages() 251 data_in = kmap(in_page); in lzo_compress_pages() 286 char *data_in; in lzo_decompress_bio() local 308 data_in = kmap(pages_in[0]); in lzo_decompress_bio() 309 tot_len = read_compress_length(data_in); in lzo_decompress_bio() 331 in_len = read_compress_length(data_in + in_offset); in lzo_decompress_bio() 353 buf = data_in + in_offset; in lzo_decompress_bio() 365 memcpy(buf + buf_offset, data_in + in_offset, bytes); in lzo_decompress_bio() [all …]
|
D | compression.h | 87 int btrfs_decompress(int type, unsigned char *data_in, struct page *dest_page, 151 int zlib_decompress(struct list_head *ws, unsigned char *data_in, 162 int lzo_decompress(struct list_head *ws, unsigned char *data_in, 172 int zstd_decompress(struct list_head *ws, unsigned char *data_in,
|
/Linux-v5.10/drivers/input/joystick/iforce/ |
D | iforce-usb.c | 19 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()
|
D | iforce-serio.c | 21 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-v5.10/drivers/mtd/nand/raw/ |
D | ams-delta.c | 43 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() 340 priv->data_in = true; in gpio_nand_probe()
|
/Linux-v5.10/net/bpf/ |
D | test_run.c | 177 void __user *data_in = u64_to_user_ptr(kattr->test.data_in); in bpf_test_init() local 191 if (copy_from_user(data + headroom, data_in, user_size)) { in bpf_test_init() 270 if (kattr->test.data_in || kattr->test.data_out || in bpf_prog_test_run_raw_tp() 323 void __user *data_in = u64_to_user_ptr(kattr->test.ctx_in); in bpf_ctx_init() local 329 if (!data_in && !data_out) in bpf_ctx_init() 336 if (data_in) { in bpf_ctx_init() 337 err = bpf_check_uarg_tail_zero(data_in, max_size, size); in bpf_ctx_init() 344 if (copy_from_user(data, data_in, size)) { in bpf_ctx_init()
|
/Linux-v5.10/drivers/char/ipmi/ |
D | kcs_bmc.c | 108 kcs_bmc->data_in[kcs_bmc->data_in_idx++] = in kcs_bmc_handle_data() 119 kcs_bmc->data_in[kcs_bmc->data_in_idx++] = in kcs_bmc_handle_data() 291 memcpy(kcs_bmc->kbuffer, kcs_bmc->data_in, data_len); in kcs_bmc_read() 440 kcs_bmc->data_in = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL); in kcs_bmc_alloc() 447 if (!kcs_bmc->data_in || !kcs_bmc->data_out || !kcs_bmc->kbuffer || in kcs_bmc_alloc()
|
D | kcs_bmc.h | 86 u8 *data_in; member
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-mvebu.c | 314 u32 data_in, in_pol; in mvebu_gpio_get() local 317 &data_in); in mvebu_gpio_get() 320 u = data_in ^ in_pol; in mvebu_gpio_get() 532 u32 data_in, in_pol, val; in mvebu_gpio_irq_set_type() local 537 GPIO_DATA_IN_OFF + mvchip->offset, &data_in); in mvebu_gpio_irq_set_type() 542 if ((data_in ^ in_pol) & BIT(pin)) in mvebu_gpio_irq_set_type() 560 u32 cause, type, data_in, level_mask, edge_cause, edge_mask; in mvebu_gpio_irq_handler() local 568 regmap_read(mvchip->regs, GPIO_DATA_IN_OFF + mvchip->offset, &data_in); in mvebu_gpio_irq_handler() 573 cause = (data_in & level_mask) | (edge_cause & edge_mask); in mvebu_gpio_irq_handler() 848 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in mvebu_gpio_dbg_show() local [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | skb_helpers.c | 13 .data_in = &pkt_v4, in test_skb_helpers()
|
D | prog_run_xattr.c | 13 .data_in = &pkt_v4, in test_prog_run_xattr()
|
D | skb_ctx.c | 22 .data_in = &pkt_v4, in test_skb_ctx()
|
/Linux-v5.10/tools/lib/bpf/ |
D | bpf.h | 202 const void *data_in; member 258 const void *data_in; /* optional */ member
|
D | bpf.c | 684 attr.test.data_in = ptr_to_u64(data); in bpf_prog_test_run() 709 attr.test.data_in = ptr_to_u64(test_attr->data_in); in bpf_prog_test_run_xattr() 747 attr.test.data_in = ptr_to_u64(OPTS_GET(opts, data_in, NULL)); in bpf_prog_test_run_opts()
|
/Linux-v5.10/drivers/scsi/sym53c8xx_2/ |
D | sym_fw.c | 291 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-v5.10/arch/arm/plat-orion/ |
D | gpio.c | 444 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-v5.10/drivers/i2c/busses/ |
D | i2c-brcmstb.c | 82 u32 data_in[N_DATA_REGS]; /* tx data buffer*/ member 379 bsc_writel(dev, word, data_in[i]); in brcmstb_i2c_xfer_bsc_data() 414 bsc_writel(dev, *buf, data_in); in brcmstb_i2c_write_data_byte()
|