/Linux-v4.19/drivers/media/usb/dvb-usb/ |
D | dw2102.c | 282 u8 ibuf[MAX_XFER_SIZE], obuf[3]; in dw2102_earda_i2c_transfer() local 284 if (2 + msg[0].len != sizeof(obuf)) { in dw2102_earda_i2c_transfer() 298 obuf[0] = msg[0].addr << 1; in dw2102_earda_i2c_transfer() 299 obuf[1] = msg[0].len; in dw2102_earda_i2c_transfer() 300 obuf[2] = msg[0].buf[0]; in dw2102_earda_i2c_transfer() 302 obuf, msg[0].len + 2, DW210X_WRITE_MSG); in dw2102_earda_i2c_transfer() 314 u8 obuf[MAX_XFER_SIZE]; in dw2102_earda_i2c_transfer() local 316 if (2 + msg[0].len > sizeof(obuf)) { in dw2102_earda_i2c_transfer() 323 obuf[0] = msg[0].addr << 1; in dw2102_earda_i2c_transfer() 324 obuf[1] = msg[0].len; in dw2102_earda_i2c_transfer() [all …]
|
D | ttusb2.c | 374 static u8 obuf[60], ibuf[60]; in ttusb2_i2c_xfer() local 387 if (3 + msg[i].len > sizeof(obuf)) { in ttusb2_i2c_xfer() 403 obuf[0] = (msg[i].addr << 1) | (write_read | read); in ttusb2_i2c_xfer() 405 obuf[1] = 0; in ttusb2_i2c_xfer() 407 obuf[1] = msg[i].len; in ttusb2_i2c_xfer() 411 obuf[2] = msg[i+1].len; in ttusb2_i2c_xfer() 413 obuf[2] = msg[i].len; in ttusb2_i2c_xfer() 415 obuf[2] = 0; in ttusb2_i2c_xfer() 417 memcpy(&obuf[3], msg[i].buf, msg[i].len); in ttusb2_i2c_xfer() 419 if (ttusb2_msg(d, CMD_I2C_XFER, obuf, obuf[1]+3, ibuf, obuf[2] + 3) < 0) { in ttusb2_i2c_xfer()
|
D | cxusb.c | 177 u8 obuf[3], ibuf[MAX_XFER_SIZE]; in cxusb_i2c_xfer() local 185 obuf[0] = 0; in cxusb_i2c_xfer() 186 obuf[1] = msg[i].len; in cxusb_i2c_xfer() 187 obuf[2] = msg[i].addr; in cxusb_i2c_xfer() 189 obuf, 3, in cxusb_i2c_xfer() 198 u8 obuf[MAX_XFER_SIZE], ibuf[MAX_XFER_SIZE]; in cxusb_i2c_xfer() local 200 if (3 + msg[i].len > sizeof(obuf)) { in cxusb_i2c_xfer() 212 obuf[0] = msg[i].len; in cxusb_i2c_xfer() 213 obuf[1] = msg[i+1].len; in cxusb_i2c_xfer() 214 obuf[2] = msg[i].addr; in cxusb_i2c_xfer() [all …]
|
D | vp7045.c | 86 u8 obuf[2] = { 0 },v; in vp7045_read_reg() local 87 obuf[1] = reg; in vp7045_read_reg() 89 vp7045_usb_op(d,TUNER_REG_READ,obuf,2,&v,1,30); in vp7045_read_reg()
|
/Linux-v4.19/drivers/media/usb/dvb-usb-v2/ |
D | dvbsky.c | 35 u8 obuf[DVBSKY_BUF_LEN]; member 56 memcpy(state->obuf, wbuf, wlen); in dvbsky_usb_generic_rw() 58 ret = dvb_usbv2_generic_rw_locked(d, state->obuf, wlen, in dvbsky_usb_generic_rw() 95 u8 obuf[3], ibuf[2]; in dvbsky_gpio_ctrl() local 97 obuf[0] = 0x0e; in dvbsky_gpio_ctrl() 98 obuf[1] = gport; in dvbsky_gpio_ctrl() 99 obuf[2] = value; in dvbsky_gpio_ctrl() 100 ret = dvbsky_usb_generic_rw(d, obuf, 3, ibuf, 1); in dvbsky_gpio_ctrl() 112 u8 ibuf[64], obuf[64]; in dvbsky_i2c_xfer() local 134 obuf[0] = 0x09; in dvbsky_i2c_xfer() [all …]
|
D | lmedm04.c | 533 static u8 obuf[64], ibuf[64]; in lme2510_i2c_xfer() local 551 obuf[0] = gate | (read << 7); in lme2510_i2c_xfer() 554 obuf[1] = (read) ? 2 : msg[i].len + 1; in lme2510_i2c_xfer() 556 obuf[1] = msg[i].len + read + 1; in lme2510_i2c_xfer() 558 obuf[2] = msg[i].addr << 1; in lme2510_i2c_xfer() 564 memcpy(&obuf[3], msg[i].buf, msg[i].len); in lme2510_i2c_xfer() 565 obuf[msg[i].len+3] = msg[i+1].len; in lme2510_i2c_xfer() 569 memcpy(&obuf[3], msg[i].buf, msg[i].len); in lme2510_i2c_xfer() 573 if (lme2510_msg(d, obuf, len, ibuf, 64) < 0) { in lme2510_i2c_xfer()
|
/Linux-v4.19/drivers/crypto/ccp/ |
D | ccp-debugfs.c | 19 #define OBUFP (obuf + oboff) 52 char *obuf; in ccp5_debugfs_info_read() local 57 obuf = kmalloc(OBUFLEN, GFP_KERNEL); in ccp5_debugfs_info_read() 58 if (!obuf) in ccp5_debugfs_info_read() 91 ret = simple_read_from_buffer(ubuf, count, offp, obuf, oboff); in ccp5_debugfs_info_read() 92 kfree(obuf); in ccp5_debugfs_info_read() 115 char *obuf; in ccp5_debugfs_stats_read() local 130 obuf = kmalloc(OBUFLEN, GFP_KERNEL); in ccp5_debugfs_stats_read() 131 if (!obuf) in ccp5_debugfs_stats_read() 153 ret = simple_read_from_buffer(ubuf, count, offp, obuf, oboff); in ccp5_debugfs_stats_read() [all …]
|
/Linux-v4.19/drivers/net/ppp/ |
D | ppp_mppe.c | 365 mppe_compress(void *arg, unsigned char *ibuf, unsigned char *obuf, in mppe_compress() argument 395 obuf[0] = PPP_ADDRESS(ibuf); in mppe_compress() 396 obuf[1] = PPP_CONTROL(ibuf); in mppe_compress() 397 put_unaligned_be16(PPP_COMP, obuf + 2); in mppe_compress() 398 obuf += PPP_HDRLEN; in mppe_compress() 404 put_unaligned_be16(state->ccount, obuf); in mppe_compress() 416 obuf[0] |= state->bits; in mppe_compress() 419 obuf += MPPE_OVHD; in mppe_compress() 427 setup_sg(sg_out, obuf, osize); in mppe_compress() 479 mppe_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, in mppe_decompress() argument [all …]
|
D | ppp_deflate.c | 50 unsigned char *obuf, 54 int isize, unsigned char *obuf, int osize); 188 static int z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, in z_compress() argument 207 wptr = obuf; in z_compress() 415 unsigned char *obuf, int osize) in z_decompress() argument 443 obuf[0] = PPP_ADDRESS(ibuf); in z_decompress() 444 obuf[1] = PPP_CONTROL(ibuf); in z_decompress() 445 obuf[2] = 0; in z_decompress() 454 state->strm.next_out = obuf + 3; in z_decompress() 474 if ((obuf[3] & 1) == 0) { in z_decompress() [all …]
|
D | bsd_comp.c | 185 unsigned char *obuf, int isize, int osize); 189 unsigned char *obuf, int osize); 563 static int bsd_compress (void *state, unsigned char *rptr, unsigned char *obuf, in bsd_compress() argument 630 wptr = obuf; in bsd_compress() 828 unsigned char *obuf, int osize) in bsd_decompress() argument 893 wptr = obuf; in bsd_decompress()
|
D | ppp_async.c | 75 unsigned char obuf[OBUFSIZE]; member 181 ap->optr = ap->obuf; in ppp_asynctty_open() 182 ap->olim = ap->obuf; in ppp_asynctty_open() 540 buf = ap->obuf; in ppp_async_encode() 586 buflim = ap->obuf + OBUFSIZE - 6; in ppp_async_encode()
|
/Linux-v4.19/include/linux/mfd/ |
D | dln2.h | 65 const void *obuf, unsigned obuf_len, 99 const void *obuf, unsigned obuf_len) in dln2_transfer_tx() argument 101 return dln2_transfer(pdev, cmd, obuf, obuf_len, NULL, NULL); in dln2_transfer_tx()
|
/Linux-v4.19/drivers/usb/misc/ |
D | rio500.c | 51 char *obuf, *ibuf; /* transfer buffers */ member 282 char *obuf = rio->obuf; in write_rio() local 286 if (copy_from_user(rio->obuf, buffer, copy_size)) { in write_rio() 303 obuf, thistime, &partial, 5000); in write_rio() 319 obuf += partial; in write_rio() 463 if (!(rio->obuf = kmalloc(OBUF_SIZE, GFP_KERNEL))) { in probe_rio() 469 dev_dbg(&intf->dev, "obuf address:%p\n", rio->obuf); in probe_rio() 475 kfree(rio->obuf); in probe_rio() 507 kfree(rio->obuf); in disconnect_rio()
|
/Linux-v4.19/arch/um/drivers/ |
D | slip_common.h | 86 unsigned char obuf[ENC_BUF_SIZE]; member 95 memset(slip->obuf, 0, sizeof(slip->obuf)); in slip_proto_init()
|
D | slip_common.c | 50 actual = slip_esc(buf, slip->obuf, len); in slip_proto_write() 51 n = net_write(fd, slip->obuf, actual); in slip_proto_write()
|
/Linux-v4.19/arch/mips/boot/ |
D | elf2ecoff.c | 570 char obuf[1024]; in main() local 580 memset(obuf, 0, sizeof obuf); in main() 583 write(outfile, obuf, in main() 585 sizeof obuf ? sizeof in main() 586 obuf : gap)); in main() 610 char obuf[4096]; in main() local 611 memset(obuf, 0, sizeof obuf); in main() 612 if (write(outfile, obuf, sizeof(obuf)) != sizeof(obuf)) { in main()
|
/Linux-v4.19/drivers/media/usb/gspca/ |
D | kinect.c | 60 uint8_t obuf[0x400]; /* output buffer for control commands */ member 135 uint8_t *obuf = sd->obuf; in send_cmd() local 137 struct cam_hdr *chdr = (void *)obuf; in send_cmd() 151 memcpy(obuf+sizeof(*chdr), cmdbuf, cmd_len); in send_cmd() 153 res = kinect_write(udev, obuf, cmd_len + sizeof(*chdr)); in send_cmd()
|
/Linux-v4.19/include/linux/ |
D | ppp-comp.h | 54 unsigned char *obuf, int isize, int osize); 75 unsigned char *obuf, int osize);
|
/Linux-v4.19/fs/ |
D | splice.c | 1512 struct pipe_buffer *ibuf, *obuf; in splice_pipe_to_pipe() local 1570 obuf = opipe->bufs + nbuf; in splice_pipe_to_pipe() 1576 *obuf = *ibuf; in splice_pipe_to_pipe() 1588 *obuf = *ibuf; in splice_pipe_to_pipe() 1594 obuf->flags &= ~PIPE_BUF_FLAG_GIFT; in splice_pipe_to_pipe() 1596 obuf->len = len; in splice_pipe_to_pipe() 1598 ibuf->offset += obuf->len; in splice_pipe_to_pipe() 1599 ibuf->len -= obuf->len; in splice_pipe_to_pipe() 1601 ret += obuf->len; in splice_pipe_to_pipe() 1602 len -= obuf->len; in splice_pipe_to_pipe() [all …]
|
/Linux-v4.19/drivers/media/usb/au0828/ |
D | au0828-input.c | 62 char obuf[3]; in au8522_rc_read() local 64 .buf = obuf, .len = 2 }, in au8522_rc_read() 68 obuf[0] = 0x40 | reg >> 8; in au8522_rc_read() 69 obuf[1] = reg & 0xff; in au8522_rc_read() 71 obuf[2] = val; in au8522_rc_read()
|
/Linux-v4.19/drivers/infiniband/core/ |
D | uverbs.h | 57 void __user *obuf, in ib_uverbs_init_udata() argument 61 udata->outbuf = obuf; in ib_uverbs_init_udata() 69 void __user *obuf, in ib_uverbs_init_udata_buf_or_null() argument 73 ilen ? ibuf : NULL, olen ? obuf : NULL, in ib_uverbs_init_udata_buf_or_null()
|
/Linux-v4.19/drivers/mfd/ |
D | dln2.c | 301 static void *dln2_prep_buf(u16 handle, u16 cmd, u16 echo, const void *obuf, in dln2_prep_buf() argument 319 memcpy(buf + sizeof(*hdr), obuf, *obuf_len); in dln2_prep_buf() 327 const void *obuf, int obuf_len) in dln2_send_wait() argument 334 buf = dln2_prep_buf(handle, cmd, echo, obuf, &len, GFP_KERNEL); in dln2_send_wait() 426 const void *obuf, unsigned obuf_len, in _dln2_transfer() argument 454 ret = dln2_send_wait(dln2, handle, cmd, rx_slot, obuf, obuf_len); in _dln2_transfer() 513 const void *obuf, unsigned obuf_len, in dln2_transfer() argument 524 return _dln2_transfer(dln2, handle, cmd, obuf, obuf_len, ibuf, in dln2_transfer()
|
/Linux-v4.19/drivers/media/tuners/ |
D | tuner-i2c.h | 57 unsigned char *obuf, int olen, in tuner_i2c_xfer_send_recv() argument 61 .buf = obuf, .len = olen }, in tuner_i2c_xfer_send_recv()
|
/Linux-v4.19/drivers/net/can/usb/peak_usb/ |
D | pcan_usb.c | 730 u8 *obuf, size_t *size) in pcan_usb_encode_msg() argument 737 obuf[0] = 2; in pcan_usb_encode_msg() 738 obuf[1] = 1; in pcan_usb_encode_msg() 740 pc = obuf + PCAN_USB_MSG_HEADER_LEN; in pcan_usb_encode_msg() 767 obuf[(*size)-1] = (u8)(stats->tx_packets & 0xff); in pcan_usb_encode_msg()
|
/Linux-v4.19/drivers/ata/ |
D | pdc_adma.c | 378 static char obuf[2048]; in adma_qc_prep() 380 len += sprintf(obuf+len, "%02x ", buf[j]); in adma_qc_prep() 382 printk("%s\n", obuf); in adma_qc_prep() 387 printk("%s\n", obuf); in adma_qc_prep()
|