| /linux/drivers/net/ppp/ |
| H A D | ppp_mppe.c | 280 mppe_compress(void *arg, unsigned char *ibuf, unsigned char *obuf, in mppe_compress() argument 307 obuf[0] = PPP_ADDRESS(ibuf); in mppe_compress() 308 obuf[1] = PPP_CONTROL(ibuf); in mppe_compress() 309 put_unaligned_be16(PPP_COMP, obuf + 2); in mppe_compress() 310 obuf += PPP_HDRLEN; in mppe_compress() 316 put_unaligned_be16(state->ccount, obuf); in mppe_compress() 328 obuf[0] |= state->bits; in mppe_compress() 331 obuf += MPPE_OVHD; in mppe_compress() 335 arc4_crypt(&state->arc4, obuf, ibuf, isize); in mppe_compress() 377 mppe_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, in mppe_decompress() argument [all …]
|
| H A D | ppp_deflate.c | 47 unsigned char *obuf, 51 int isize, unsigned char *obuf, int osize); 184 static int z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, in z_compress() argument 203 wptr = obuf; in z_compress() 410 unsigned char *obuf, int osize) in z_decompress() argument 438 obuf[0] = PPP_ADDRESS(ibuf); in z_decompress() 439 obuf[1] = PPP_CONTROL(ibuf); in z_decompress() 440 obuf[2] = 0; in z_decompress() 449 state->strm.next_out = obuf + 3; in z_decompress() 469 if ((obuf[3] & 1) == 0) { in z_decompress() [all …]
|
| H A D | bsd_comp.c | 185 unsigned char *obuf, int isize, int osize); 189 unsigned char *obuf, int osize); 562 static int bsd_compress (void *state, unsigned char *rptr, unsigned char *obuf, in bsd_compress() argument 629 wptr = obuf; in bsd_compress() 827 unsigned char *obuf, int osize) in bsd_decompress() argument 892 wptr = obuf; in bsd_decompress()
|
| /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/include/linux/ |
| H A D | ppp-comp.h | 51 unsigned char *obuf, int isize, int osize); 72 unsigned char *obuf, int osize);
|
| /linux/drivers/infiniband/core/ |
| H A 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/fs/ |
| H A D | splice.c | 1720 struct pipe_buffer *ibuf, *obuf; in splice_pipe_to_pipe() local 1788 obuf = pipe_buf(opipe, o_head); in splice_pipe_to_pipe() 1794 *obuf = *ibuf; in splice_pipe_to_pipe() 1799 o_len = obuf->len; in splice_pipe_to_pipe() 1812 *obuf = *ibuf; in splice_pipe_to_pipe() 1818 obuf->flags &= ~PIPE_BUF_FLAG_GIFT; in splice_pipe_to_pipe() 1819 obuf->flags &= ~PIPE_BUF_FLAG_CAN_MERGE; in splice_pipe_to_pipe() 1821 obuf->len = len; in splice_pipe_to_pipe() 1854 struct pipe_buffer *ibuf, *obuf; in link_pipe() local 1889 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/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/usb/misc/ |
| H A D | usbio.c | 138 const void *obuf, u16 obuf_len, void *ibuf, u16 ibuf_len) in usbio_ctrl_msg() argument 163 memcpy(cpkt->data, obuf, obuf_len); in usbio_ctrl_msg() 211 const void *obuf, u16 obuf_len, void *ibuf, u16 ibuf_len) in usbio_control_msg() argument 229 ret = usbio_ctrl_msg(client->bridge, type, cmd, obuf, obuf_len, ibuf, ibuf_len); in usbio_control_msg() 256 const void *obuf, u16 obuf_len, void *ibuf, u16 ibuf_len) in usbio_bulk_msg() argument 291 memcpy(bpkt->data, obuf, obuf_len); in usbio_bulk_msg()
|
| /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/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/drivers/misc/ |
| H A D | fastrpc.c | 423 u64 size, struct fastrpc_buf **obuf) in __fastrpc_buf_alloc() argument 450 *obuf = buf; in __fastrpc_buf_alloc() 456 u64 size, struct fastrpc_buf **obuf) in fastrpc_buf_alloc() argument 461 ret = __fastrpc_buf_alloc(fl, dev, size, obuf); in fastrpc_buf_alloc() 465 buf = *obuf; in fastrpc_buf_alloc() 474 u64 size, struct fastrpc_buf **obuf) in fastrpc_remote_heap_alloc() argument 478 return __fastrpc_buf_alloc(fl, rdev, size, obuf); in fastrpc_remote_heap_alloc()
|
| /linux/drivers/net/can/usb/peak_usb/ |
| H A D | pcan_usb_fd.c | 797 struct sk_buff *skb, u8 *obuf, size_t *size) in pcan_usb_fd_encode_msg() argument 799 struct pucan_tx_msg *tx_msg = (struct pucan_tx_msg *)obuf; in pcan_usb_fd_encode_msg() 849 tx_msg = (struct pucan_tx_msg *)(obuf + tx_msg_size); in pcan_usb_fd_encode_msg()
|
| H A D | pcan_usb_pro.c | 775 struct sk_buff *skb, u8 *obuf, size_t *size) in pcan_usb_pro_encode_msg() argument 781 pcan_msg_init_empty(&usb_msg, obuf, *size); in pcan_usb_pro_encode_msg()
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | bcm3510.c | 205 static int bcm3510_do_hab_cmd(struct bcm3510_state *st, u8 cmd, u8 msgid, u8 *obuf, u8 olen, u8 *ib… in bcm3510_do_hab_cmd() argument 222 memcpy(&ob[2],obuf,olen); in bcm3510_do_hab_cmd()
|
| /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()
|