| /linux/drivers/net/ppp/ |
| H A D | ppp_deflate.c | 47 unsigned char *obuf, 51 int isize, unsigned char *obuf, int osize); 185 static int z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, in z_compress() argument 204 wptr = obuf; in z_compress() 411 unsigned char *obuf, int osize) in z_decompress() argument 439 obuf[0] = PPP_ADDRESS(ibuf); in z_decompress() 440 obuf[1] = PPP_CONTROL(ibuf); in z_decompress() 441 obuf[2] = 0; in z_decompress() 450 state->strm.next_out = obuf + 3; in z_decompress() 470 if ((obuf[3] & 1) == 0) { in z_decompress() [all …]
|
| H A D | ppp_async.c | 71 unsigned char obuf[OBUFSIZE]; member 178 ap->optr = ap->obuf; in ppp_asynctty_open() 179 ap->olim = ap->obuf; in ppp_asynctty_open() 531 buf = ap->obuf; in ppp_async_encode() 577 buflim = ap->obuf + OBUFSIZE - 6; in ppp_async_encode()
|
| /linux/include/linux/mfd/ |
| H A 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/arch/mips/boot/ |
| H A 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/drivers/media/usb/gspca/ |
| H A D | kinect.c | 51 uint8_t obuf[0x400]; /* output buffer for control commands */ member 126 uint8_t *obuf = sd->obuf; in send_cmd() local 128 struct cam_hdr *chdr = (void *)obuf; in send_cmd() 142 memcpy(obuf+sizeof(*chdr), cmdbuf, cmd_len); in send_cmd() 144 res = kinect_write(udev, obuf, cmd_len + sizeof(*chdr)); in send_cmd()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-ljca.c | 59 u8 obuf[LJCA_I2C_BUF_SIZE]; member 66 (struct ljca_i2c_rw_packet *)ljca_i2c->obuf; in ljca_i2c_init() 83 (struct ljca_i2c_rw_packet *)ljca_i2c->obuf; in ljca_i2c_start() 113 (struct ljca_i2c_rw_packet *)ljca_i2c->obuf; in ljca_i2c_stop() 143 (struct ljca_i2c_rw_packet *)ljca_i2c->obuf; in ljca_i2c_pure_read() 189 (struct ljca_i2c_rw_packet *)ljca_i2c->obuf; in ljca_i2c_pure_write()
|
| /linux/drivers/misc/mei/ |
| H A D | vsc-tp.c | 151 static int vsc_tp_dev_xfer(struct vsc_tp *tp, void *obuf, void *ibuf, size_t len) in vsc_tp_dev_xfer() argument 155 .tx_buf = obuf, in vsc_tp_dev_xfer() 278 int vsc_tp_xfer(struct vsc_tp *tp, u8 cmd, const void *obuf, size_t olen, in vsc_tp_xfer() argument 285 if (!obuf || !ibuf || olen > VSC_TP_MAX_MSG_SIZE) in vsc_tp_xfer() 294 memcpy(pkt->buf, obuf, olen); in vsc_tp_xfer() 319 int vsc_tp_rom_xfer(struct vsc_tp *tp, const void *obuf, void *ibuf, size_t len) in vsc_tp_rom_xfer() argument 330 cpu_to_be32_array((__be32 *)tp->tx_buf, obuf, words); in vsc_tp_rom_xfer()
|
| H A D | vsc-tp.h | 31 int vsc_tp_rom_xfer(struct vsc_tp *tp, const void *obuf, void *ibuf, 34 int vsc_tp_xfer(struct vsc_tp *tp, u8 cmd, const void *obuf, size_t olen,
|
| /linux/drivers/media/usb/au0828/ |
| H A 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/include/linux/ |
| H A D | ppp-comp.h | 51 unsigned char *obuf, int isize, int osize); 72 unsigned char *obuf, int osize);
|
| /linux/fs/ |
| H A D | splice.c | 1722 struct pipe_buffer *ibuf, *obuf; in splice_pipe_to_pipe() local 1790 obuf = pipe_buf(opipe, o_head); in splice_pipe_to_pipe() 1796 *obuf = *ibuf; in splice_pipe_to_pipe() 1801 o_len = obuf->len; in splice_pipe_to_pipe() 1814 *obuf = *ibuf; in splice_pipe_to_pipe() 1820 obuf->flags &= ~PIPE_BUF_FLAG_GIFT; in splice_pipe_to_pipe() 1821 obuf->flags &= ~PIPE_BUF_FLAG_CAN_MERGE; in splice_pipe_to_pipe() 1823 obuf->len = len; in splice_pipe_to_pipe() 1856 struct pipe_buffer *ibuf, *obuf; in link_pipe() local 1891 obuf = pipe_buf(opipe, o_head); in link_pipe() [all …]
|
| /linux/include/linux/usb/ |
| H A D | ljca.h | 128 int ljca_transfer(struct ljca_client *client, u8 cmd, const u8 *obuf, 142 int ljca_transfer_noack(struct ljca_client *client, u8 cmd, const u8 *obuf,
|
| /linux/drivers/mfd/ |
| H A D | dln2.c | 302 static void *dln2_prep_buf(u16 handle, u16 cmd, u16 echo, const void *obuf, in dln2_prep_buf() argument 320 memcpy(buf + sizeof(*hdr), obuf, *obuf_len); in dln2_prep_buf() 328 const void *obuf, int obuf_len) in dln2_send_wait() argument 335 buf = dln2_prep_buf(handle, cmd, echo, obuf, &len, GFP_KERNEL); in dln2_send_wait() 427 const void *obuf, unsigned obuf_len, in _dln2_transfer() argument 455 ret = dln2_send_wait(dln2, handle, cmd, rx_slot, obuf, obuf_len); in _dln2_transfer() 514 const void *obuf, unsigned obuf_len, in dln2_transfer() argument 525 return _dln2_transfer(dln2, handle, cmd, obuf, obuf_len, ibuf, in dln2_transfer()
|
| /linux/drivers/usb/misc/ |
| H A D | usb-ljca.c | 305 const u8 *obuf, u8 obuf_len, u8 *ibuf, u8 ibuf_len, in ljca_send() argument 327 if (obuf) in ljca_send() 328 memcpy(header->data, obuf, obuf_len); in ljca_send() 379 int ljca_transfer(struct ljca_client *client, u8 cmd, const u8 *obuf, in ljca_transfer() argument 383 obuf, obuf_len, ibuf, ibuf_len, true, in ljca_transfer() 388 int ljca_transfer_noack(struct ljca_client *client, u8 cmd, const u8 *obuf, in ljca_transfer_noack() argument 391 return ljca_send(client->adapter, client->type, cmd, obuf, in ljca_transfer_noack()
|
| /linux/drivers/gpio/ |
| H A D | gpio-ljca.c | 73 u8 obuf[LJCA_GPIO_BUF_SIZE]; member 81 (struct ljca_gpio_packet *)ljca_gpio->obuf; in ljca_gpio_config() 101 (struct ljca_gpio_packet *)ljca_gpio->obuf; in ljca_gpio_read() 125 (struct ljca_gpio_packet *)ljca_gpio->obuf; in ljca_gpio_write() 253 (struct ljca_gpio_packet *)ljca_gpio->obuf; in ljca_enable_irq()
|
| /linux/drivers/media/usb/dvb-usb-v2/ |
| H A D | lmedm04.c | 500 static u8 obuf[64], ibuf[64]; in lme2510_i2c_xfer() local 515 obuf[0] = gate | (read << 7); in lme2510_i2c_xfer() 518 obuf[1] = (read) ? 2 : msg[i].len + 1; in lme2510_i2c_xfer() 520 obuf[1] = msg[i].len + read + 1; in lme2510_i2c_xfer() 522 obuf[2] = msg[i].addr << 1; in lme2510_i2c_xfer() 528 memcpy(&obuf[3], msg[i].buf, msg[i].len); in lme2510_i2c_xfer() 529 obuf[msg[i].len+3] = msg[i+1].len; in lme2510_i2c_xfer() 533 memcpy(&obuf[3], msg[i].buf, msg[i].len); in lme2510_i2c_xfer() 537 if (lme2510_msg(d, obuf, len, ibuf, 64) < 0) { in lme2510_i2c_xfer()
|
| /linux/drivers/media/tuners/ |
| H A D | tuner-i2c.h | 45 unsigned char *obuf, int olen, in tuner_i2c_xfer_send_recv() argument 49 .buf = obuf, .len = olen }, in tuner_i2c_xfer_send_recv()
|
| /linux/include/linux/dma/ |
| H A D | ti-cppi5.h | 480 dma_addr_t obuf, u32 obuf_len) in cppi5_hdesc_attach_buf() argument 484 desc->org_buf_ptr = obuf; in cppi5_hdesc_attach_buf() 489 dma_addr_t *obuf, u32 *obuf_len) in cppi5_hdesc_get_obuf() argument 491 *obuf = desc->org_buf_ptr; in cppi5_hdesc_get_obuf()
|
| /linux/drivers/staging/media/av7110/ |
| H A D | av7110_av.c | 770 u8 obuf[TS_SIZE]; in p_to_t() local 796 memset(obuf, 0, TS_SIZE); in p_to_t() 799 obuf, (TS_SIZE - 4)); in p_to_t() 800 memcpy(obuf + l, buf + c, TS_SIZE - l); in p_to_t() 804 obuf, length - c); in p_to_t() 805 memcpy(obuf + l, buf + c, TS_SIZE - l); in p_to_t() 808 feed->cb.ts(obuf, 188, NULL, 0, &feed->feed.ts, NULL); in p_to_t()
|
| /linux/drivers/usb/misc/sisusbvga/ |
| H A D | sisusb.h | 111 char *obuf[NUMOBUFS], *ibuf; /* transfer buffers */ member
|
| H A D | sisusbvga.c | 66 kfree(sisusb->obuf[i]); in sisusb_free_buffers() 67 sisusb->obuf[i] = NULL; in sisusb_free_buffers() 357 buffer = sisusb->obuf[index]; in sisusb_send_bulk_msg() 756 kernbuffer = sisusb->obuf[index]; in sisusb_write_mem_bulk() 1322 memset(sisusb->obuf[i], 0, sisusb->obufsize); in sisusb_clear_vram() 2838 sisusb->obuf[i] = kmalloc(SISUSB_OBUF_SIZE, GFP_KERNEL); in sisusb_probe() 2839 if (!sisusb->obuf[i]) { in sisusb_probe()
|
| /linux/fs/fuse/ |
| H A D | dev.c | 2332 struct pipe_buffer *obuf; in fuse_dev_splice_write() local 2338 obuf = &bufs[nbuf]; in fuse_dev_splice_write() 2341 *obuf = *ibuf; in fuse_dev_splice_write() 2349 *obuf = *ibuf; in fuse_dev_splice_write() 2350 obuf->flags &= ~PIPE_BUF_FLAG_GIFT; in fuse_dev_splice_write() 2351 obuf->len = rem; in fuse_dev_splice_write() 2352 ibuf->offset += obuf->len; in fuse_dev_splice_write() 2353 ibuf->len -= obuf->len; in fuse_dev_splice_write() 2356 rem -= obuf->len; in fuse_dev_splice_write()
|
| /linux/drivers/misc/ |
| H A D | fastrpc.c | 397 u64 size, struct fastrpc_buf **obuf) in __fastrpc_buf_alloc() argument 424 *obuf = buf; in __fastrpc_buf_alloc() 430 u64 size, struct fastrpc_buf **obuf) in fastrpc_buf_alloc() argument 435 ret = __fastrpc_buf_alloc(fl, dev, size, obuf); in fastrpc_buf_alloc() 439 buf = *obuf; in fastrpc_buf_alloc() 448 u64 size, struct fastrpc_buf **obuf) in fastrpc_remote_heap_alloc() argument 452 return __fastrpc_buf_alloc(fl, rdev, size, obuf); in fastrpc_remote_heap_alloc()
|
| /linux/drivers/tty/serial/ |
| H A D | cpm_uart.c | 1084 static int poll_wait_key(char *obuf, struct uart_cpm_port *pinfo) in poll_wait_key() argument 1101 if (obuf) { in poll_wait_key() 1104 *obuf++ = *cp++; in poll_wait_key()
|