Home
last modified time | relevance | path

Searched refs:obuf (Results 1 – 25 of 39) sorted by relevance

12

/linux/drivers/media/usb/dvb-usb/
A Ddw2102.c353 u8 obuf[2]; in dw2102_earda_i2c_transfer() local
391 u8 obuf[2]; in dw2104_i2c_transfer() local
425 u8 obuf[19]; in dw2104_i2c_transfer() local
579 u8 obuf[2]; in s6x0_i2c_transfer() local
581 obuf[0] = 1; in s6x0_i2c_transfer()
585 obuf[0] = 3; in s6x0_i2c_transfer()
592 u8 obuf[2]; in s6x0_i2c_transfer() local
594 obuf[0] = 5; in s6x0_i2c_transfer()
857 .buf = obuf, in s6x0_read_mac_address()
868 obuf[0] = i; in s6x0_read_mac_address()
[all …]
A Dttusb2.c371 static u8 obuf[60], ibuf[60]; in ttusb2_i2c_xfer() local
384 if (3 + msg[i].len > sizeof(obuf)) { in ttusb2_i2c_xfer()
400 obuf[0] = (msg[i].addr << 1) | (write_read | read); in ttusb2_i2c_xfer()
402 obuf[1] = 0; in ttusb2_i2c_xfer()
404 obuf[1] = msg[i].len; in ttusb2_i2c_xfer()
408 obuf[2] = msg[i+1].len; in ttusb2_i2c_xfer()
410 obuf[2] = msg[i].len; in ttusb2_i2c_xfer()
412 obuf[2] = 0; in ttusb2_i2c_xfer()
414 memcpy(&obuf[3], msg[i].buf, msg[i].len); in ttusb2_i2c_xfer()
416 if (ttusb2_msg(d, CMD_I2C_XFER, obuf, obuf[1]+3, ibuf, obuf[2] + 3) < 0) { in ttusb2_i2c_xfer()
A Dcxusb.c210 obuf[0] = 0; in cxusb_i2c_xfer()
211 obuf[1] = msg[i].len; in cxusb_i2c_xfer()
212 obuf[2] = msg[i].addr; in cxusb_i2c_xfer()
214 obuf, 3, in cxusb_i2c_xfer()
237 obuf[0] = msg[i].len; in cxusb_i2c_xfer()
238 obuf[1] = msg[i + 1].len; in cxusb_i2c_xfer()
239 obuf[2] = msg[i].addr; in cxusb_i2c_xfer()
243 obuf, 3 + msg[i].len, in cxusb_i2c_xfer()
255 u8 obuf[MAX_XFER_SIZE], ibuf; in cxusb_i2c_xfer() local
263 obuf[0] = msg[i].addr; in cxusb_i2c_xfer()
[all …]
A Dvp7045.c83 u8 obuf[2] = { 0 },v; in vp7045_read_reg() local
84 obuf[1] = reg; in vp7045_read_reg()
86 vp7045_usb_op(d,TUNER_REG_READ,obuf,2,&v,1,30); in vp7045_read_reg()
/linux/drivers/media/usb/dvb-usb-v2/
A Ddvbsky.c26 u8 obuf[DVBSKY_BUF_LEN]; member
89 u8 obuf[3], ibuf[2]; in dvbsky_gpio_ctrl() local
91 obuf[0] = 0x0e; in dvbsky_gpio_ctrl()
92 obuf[1] = gport; in dvbsky_gpio_ctrl()
93 obuf[2] = value; in dvbsky_gpio_ctrl()
126 obuf[0] = 0x09; in dvbsky_i2c_xfer()
127 obuf[1] = 0; in dvbsky_i2c_xfer()
136 obuf[0] = 0x08; in dvbsky_i2c_xfer()
152 obuf[0] = 0x09; in dvbsky_i2c_xfer()
185 obuf[0] = 0x10; in dvbsky_rc_query()
[all …]
A Dlmedm04.c487 static u8 obuf[64], ibuf[64]; in lme2510_i2c_xfer() local
502 obuf[0] = gate | (read << 7); in lme2510_i2c_xfer()
505 obuf[1] = (read) ? 2 : msg[i].len + 1; in lme2510_i2c_xfer()
507 obuf[1] = msg[i].len + read + 1; in lme2510_i2c_xfer()
509 obuf[2] = msg[i].addr << 1; in lme2510_i2c_xfer()
515 memcpy(&obuf[3], msg[i].buf, msg[i].len); in lme2510_i2c_xfer()
516 obuf[msg[i].len+3] = msg[i+1].len; in lme2510_i2c_xfer()
520 memcpy(&obuf[3], msg[i].buf, msg[i].len); in lme2510_i2c_xfer()
524 if (lme2510_msg(d, obuf, len, ibuf, 64) < 0) { in lme2510_i2c_xfer()
/linux/drivers/crypto/ccp/
A Dccp-debugfs.c16 #define OBUFP (obuf + oboff)
49 char *obuf; in ccp5_debugfs_info_read() local
54 obuf = kmalloc(OBUFLEN, GFP_KERNEL); in ccp5_debugfs_info_read()
55 if (!obuf) in ccp5_debugfs_info_read()
89 kfree(obuf); in ccp5_debugfs_info_read()
112 char *obuf; in ccp5_debugfs_stats_read() local
128 if (!obuf) in ccp5_debugfs_stats_read()
151 kfree(obuf); in ccp5_debugfs_stats_read()
198 char *obuf; in ccp5_debugfs_queue_read() local
204 if (!obuf) in ccp5_debugfs_queue_read()
[all …]
/linux/drivers/net/ppp/
A Dppp_mppe.c364 obuf[0] = PPP_ADDRESS(ibuf); in mppe_compress()
365 obuf[1] = PPP_CONTROL(ibuf); in mppe_compress()
367 obuf += PPP_HDRLEN; in mppe_compress()
385 obuf[0] |= state->bits; in mppe_compress()
388 obuf += MPPE_OVHD; in mppe_compress()
555 obuf[0] = PPP_ADDRESS(ibuf); /* +1 */ in mppe_decompress()
557 obuf += 2; in mppe_decompress()
573 if ((obuf[0] & 0x01) != 0) { in mppe_decompress()
574 obuf[1] = obuf[0]; in mppe_decompress()
575 obuf[0] = 0; in mppe_decompress()
[all …]
A Dppp_deflate.c47 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 …]
A Dbsd_comp.c185 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()
A Dppp_async.c71 unsigned char obuf[OBUFSIZE]; member
177 ap->optr = ap->obuf; in ppp_asynctty_open()
178 ap->olim = ap->obuf; in ppp_asynctty_open()
536 buf = ap->obuf; in ppp_async_encode()
582 buflim = ap->obuf + OBUFSIZE - 6; in ppp_async_encode()
/linux/include/linux/mfd/
A Ddln2.h65 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/
A Delf2ecoff.c570 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/arch/um/drivers/
A Dslip_common.h86 unsigned char obuf[ENC_BUF_SIZE]; member
95 memset(slip->obuf, 0, sizeof(slip->obuf)); in slip_proto_init()
A Dslip_common.c50 actual = slip_esc(buf, slip->obuf, len); in slip_proto_write()
51 n = net_write(fd, slip->obuf, actual); in slip_proto_write()
/linux/fs/
A Dsplice.c1441 struct pipe_buffer *ibuf, *obuf; in splice_pipe_to_pipe() local
1518 *obuf = *ibuf; in splice_pipe_to_pipe()
1523 o_len = obuf->len; in splice_pipe_to_pipe()
1536 *obuf = *ibuf; in splice_pipe_to_pipe()
1545 obuf->len = len; in splice_pipe_to_pipe()
1578 struct pipe_buffer *ibuf, *obuf; in link_pipe() local
1628 *obuf = *ibuf; in link_pipe()
1637 if (obuf->len > len) in link_pipe()
1638 obuf->len = len; in link_pipe()
1639 ret += obuf->len; in link_pipe()
[all …]
/linux/drivers/media/usb/gspca/
A Dkinect.c51 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/infiniband/core/
A Duverbs.h57 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/drivers/media/usb/au0828/
A Dau0828-input.c62 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/
A Dppp-comp.h51 unsigned char *obuf, int isize, int osize);
72 unsigned char *obuf, int osize);
/linux/drivers/mfd/
A Ddln2.c308 static void *dln2_prep_buf(u16 handle, u16 cmd, u16 echo, const void *obuf, in dln2_prep_buf() argument
326 memcpy(buf + sizeof(*hdr), obuf, *obuf_len); in dln2_prep_buf()
334 const void *obuf, int obuf_len) in dln2_send_wait() argument
341 buf = dln2_prep_buf(handle, cmd, echo, obuf, &len, GFP_KERNEL); in dln2_send_wait()
433 const void *obuf, unsigned obuf_len, in _dln2_transfer() argument
461 ret = dln2_send_wait(dln2, handle, cmd, rx_slot, obuf, obuf_len); in _dln2_transfer()
520 const void *obuf, unsigned obuf_len, in dln2_transfer() argument
531 return _dln2_transfer(dln2, handle, cmd, obuf, obuf_len, ibuf, in dln2_transfer()
/linux/drivers/media/tuners/
A Dtuner-i2c.h45 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/
A Dti-cppi5.h480 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/ata/
A Dpdc_adma.c362 static char obuf[2048]; in adma_qc_prep()
364 len += sprintf(obuf+len, "%02x ", buf[j]); in adma_qc_prep()
366 printk("%s\n", obuf); in adma_qc_prep()
371 printk("%s\n", obuf); in adma_qc_prep()
/linux/drivers/net/can/usb/peak_usb/
A Dpcan_usb.c753 u8 *obuf, size_t *size) in pcan_usb_encode_msg() argument
761 obuf[0] = PCAN_USB_MSG_TX_CAN; in pcan_usb_encode_msg()
762 obuf[1] = 1; /* only one CAN frame is stored in the packet */ in pcan_usb_encode_msg()
764 pc = obuf + PCAN_USB_MSG_HEADER_LEN; in pcan_usb_encode_msg()
812 obuf[(*size)-1] = (u8)(stats->tx_packets & 0xff); in pcan_usb_encode_msg()

Completed in 84 milliseconds

12