| /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()
|
| H A D | ppp_async.c | 69 unsigned char obuf[OBUFSIZE]; member 176 ap->optr = ap->obuf; in ppp_asynctty_open() 177 ap->olim = ap->obuf; in ppp_asynctty_open() 529 buf = ap->obuf; in ppp_async_encode() 575 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.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/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/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/drivers/usb/misc/ |
| H A D | usb-ljca.c | 304 const u8 *obuf, u8 obuf_len, u8 *ibuf, u8 ibuf_len, in ljca_send() argument 326 if (obuf) in ljca_send() 327 memcpy(header->data, obuf, obuf_len); in ljca_send() 378 int ljca_transfer(struct ljca_client *client, u8 cmd, const u8 *obuf, in ljca_transfer() argument 382 obuf, obuf_len, ibuf, ibuf_len, true, in ljca_transfer() 387 int ljca_transfer_noack(struct ljca_client *client, u8 cmd, const u8 *obuf, in ljca_transfer_noack() argument 390 return ljca_send(client->adapter, client->type, cmd, obuf, in ljca_transfer_noack()
|
| 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/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/drivers/net/can/usb/peak_usb/ |
| H A D | pcan_usb.c | 774 u8 *obuf, size_t *size) in pcan_usb_encode_msg() argument 782 obuf[0] = PCAN_USB_MSG_TX_CAN; in pcan_usb_encode_msg() 783 obuf[1] = 1; /* only one CAN frame is stored in the packet */ in pcan_usb_encode_msg() 785 pc = obuf + PCAN_USB_MSG_HEADER_LEN; in pcan_usb_encode_msg() 833 obuf[(*size)-1] = (u8)(stats->tx_packets & 0xff); in pcan_usb_encode_msg()
|
| H A D | pcan_usb_core.h | 67 u8 *obuf, size_t *size);
|
| H A D | pcan_usb_core.c | 359 u8 *obuf; in peak_usb_ndo_start_xmit() local 378 obuf = urb->transfer_buffer; in peak_usb_ndo_start_xmit() 380 err = dev->adapter->dev_encode_msg(dev, skb, obuf, &size); in peak_usb_ndo_start_xmit()
|
| H A D | pcan_usb_fd.c | 835 struct sk_buff *skb, u8 *obuf, size_t *size) in pcan_usb_fd_encode_msg() argument 837 struct pucan_tx_msg *tx_msg = (struct pucan_tx_msg *)obuf; in pcan_usb_fd_encode_msg() 887 tx_msg = (struct pucan_tx_msg *)(obuf + tx_msg_size); in pcan_usb_fd_encode_msg()
|
| H A D | pcan_usb_pro.c | 787 struct sk_buff *skb, u8 *obuf, size_t *size) in pcan_usb_pro_encode_msg() argument 793 pcan_msg_init_empty(&usb_msg, obuf, *size); in pcan_usb_pro_encode_msg()
|
| /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/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()
|