Searched refs:obuf (Results 26 - 45 of 45) sorted by relevance

12

/linux-master/drivers/gpio/
H A Dgpio-ljca.c73 u8 obuf[LJCA_GPIO_BUF_SIZE]; member in struct:ljca_gpio_dev
81 (struct ljca_gpio_packet *)ljca_gpio->obuf;
101 (struct ljca_gpio_packet *)ljca_gpio->obuf;
125 (struct ljca_gpio_packet *)ljca_gpio->obuf;
248 (struct ljca_gpio_packet *)ljca_gpio->obuf;
/linux-master/drivers/usb/misc/
H A Dusb-ljca.c293 const u8 *obuf, u8 obuf_len, u8 *ibuf, u8 ibuf_len,
315 if (obuf)
316 memcpy(header->data, obuf, obuf_len);
367 int ljca_transfer(struct ljca_client *client, u8 cmd, const u8 *obuf, argument
371 obuf, obuf_len, ibuf, ibuf_len, true,
376 int ljca_transfer_noack(struct ljca_client *client, u8 cmd, const u8 *obuf, argument
379 return ljca_send(client->adapter, client->type, cmd, obuf,
292 ljca_send(struct ljca_adapter *adap, u8 type, u8 cmd, const u8 *obuf, u8 obuf_len, u8 *ibuf, u8 ibuf_len, bool ack, unsigned long timeout) argument
/linux-master/drivers/media/usb/dvb-usb-v2/
H A Dlmedm04.c490 static u8 obuf[64], ibuf[64]; local
505 obuf[0] = gate | (read << 7);
508 obuf[1] = (read) ? 2 : msg[i].len + 1;
510 obuf[1] = msg[i].len + read + 1;
512 obuf[2] = msg[i].addr << 1;
518 memcpy(&obuf[3], msg[i].buf, msg[i].len);
519 obuf[msg[i].len+3] = msg[i+1].len;
523 memcpy(&obuf[3], msg[i].buf, msg[i].len);
527 if (lme2510_msg(d, obuf, len, ibuf, 64) < 0) {
/linux-master/drivers/usb/misc/sisusbvga/
H A Dsisusb.h111 char *obuf[NUMOBUFS], *ibuf; /* transfer buffers */ member in struct:sisusb_usb_data
H A Dsisusbvga.c66 kfree(sisusb->obuf[i]);
67 sisusb->obuf[i] = NULL;
307 * buffer "sisusb->obuf[index]" is set up with the data to send.
357 buffer = sisusb->obuf[index];
737 * that the data already is in the transfer buffer "sisusb->obuf[index]".
753 * data in obuf
756 kernbuffer = sisusb->obuf[index];
1322 memset(sisusb->obuf[i], 0, sisusb->obufsize);
2838 sisusb->obuf[i] = kmalloc(SISUSB_OBUF_SIZE, GFP_KERNEL);
2839 if (!sisusb->obuf[
[all...]
/linux-master/include/linux/dma/
H A Dti-cppi5.h473 * @obuf: Original Buffer physical address
480 dma_addr_t obuf, u32 obuf_len)
484 desc->org_buf_ptr = obuf;
489 dma_addr_t *obuf, u32 *obuf_len)
491 *obuf = desc->org_buf_ptr;
478 cppi5_hdesc_attach_buf(struct cppi5_host_desc_t *desc, dma_addr_t buf, u32 buf_data_len, dma_addr_t obuf, u32 obuf_len) argument
488 cppi5_hdesc_get_obuf(struct cppi5_host_desc_t *desc, dma_addr_t *obuf, u32 *obuf_len) argument
/linux-master/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_core.h67 u8 *obuf, size_t *size);
H A Dpcan_usb.c774 u8 *obuf, size_t *size)
782 obuf[0] = PCAN_USB_MSG_TX_CAN;
783 obuf[1] = 1; /* only one CAN frame is stored in the packet */
785 pc = obuf + PCAN_USB_MSG_HEADER_LEN;
833 obuf[(*size)-1] = (u8)(stats->tx_packets & 0xff);
773 pcan_usb_encode_msg(struct peak_usb_device *dev, struct sk_buff *skb, u8 *obuf, size_t *size) argument
H A Dpcan_usb_core.c359 u8 *obuf; local
378 obuf = urb->transfer_buffer;
380 err = dev->adapter->dev_encode_msg(dev, skb, obuf, &size);
H A Dpcan_usb_fd.c796 struct sk_buff *skb, u8 *obuf, size_t *size)
798 struct pucan_tx_msg *tx_msg = (struct pucan_tx_msg *)obuf;
848 tx_msg = (struct pucan_tx_msg *)(obuf + tx_msg_size);
795 pcan_usb_fd_encode_msg(struct peak_usb_device *dev, struct sk_buff *skb, u8 *obuf, size_t *size) argument
H A Dpcan_usb_pro.c775 struct sk_buff *skb, u8 *obuf, size_t *size)
781 pcan_msg_init_empty(&usb_msg, obuf, *size);
774 pcan_usb_pro_encode_msg(struct peak_usb_device *dev, struct sk_buff *skb, u8 *obuf, size_t *size) argument
/linux-master/drivers/net/ppp/
H A Dppp_async.c71 unsigned char obuf[OBUFSIZE]; member in struct:asyncppp
178 ap->optr = ap->obuf;
179 ap->olim = ap->obuf;
531 buf = ap->obuf;
577 buflim = ap->obuf + OBUFSIZE - 6;
/linux-master/drivers/staging/media/av7110/
H A Dav7110_av.c766 u8 obuf[TS_SIZE]; local
792 memset(obuf, 0, TS_SIZE);
795 obuf, (TS_SIZE - 4));
796 memcpy(obuf + l, buf + c, TS_SIZE - l);
800 obuf, length - c);
801 memcpy(obuf + l, buf + c, TS_SIZE - l);
804 feed->cb.ts(obuf, 188, NULL, 0, &feed->feed.ts, NULL);
/linux-master/fs/fuse/
H A Ddev.c2064 struct pipe_buffer *obuf; local
2070 obuf = &bufs[nbuf];
2073 *obuf = *ibuf;
2081 *obuf = *ibuf;
2082 obuf->flags &= ~PIPE_BUF_FLAG_GIFT;
2083 obuf->len = rem;
2084 ibuf->offset += obuf->len;
2085 ibuf->len -= obuf->len;
2088 rem -= obuf->len;
/linux-master/drivers/misc/
H A Dfastrpc.c402 u64 size, struct fastrpc_buf **obuf)
429 *obuf = buf;
435 u64 size, struct fastrpc_buf **obuf)
440 ret = __fastrpc_buf_alloc(fl, dev, size, obuf);
444 buf = *obuf;
453 u64 size, struct fastrpc_buf **obuf)
457 return __fastrpc_buf_alloc(fl, rdev, size, obuf);
401 __fastrpc_buf_alloc(struct fastrpc_user *fl, struct device *dev, u64 size, struct fastrpc_buf **obuf) argument
434 fastrpc_buf_alloc(struct fastrpc_user *fl, struct device *dev, u64 size, struct fastrpc_buf **obuf) argument
452 fastrpc_remote_heap_alloc(struct fastrpc_user *fl, struct device *dev, u64 size, struct fastrpc_buf **obuf) argument
/linux-master/drivers/input/touchscreen/
H A Datmel_mxt_ts.c2859 u8 *obuf; local
2862 obuf = kmalloc(256, GFP_KERNEL);
2863 if (!obuf)
2879 error = __mxt_read_reg(data->client, addr, size, obuf);
2883 count = mxt_show_instance(buf, count, object, j, obuf);
2888 kfree(obuf);
/linux-master/drivers/tty/serial/
H A Dcpm_uart.c1084 static int poll_wait_key(char *obuf, struct uart_cpm_port *pinfo) argument
1101 if (obuf) {
1104 *obuf++ = *cp++;
/linux-master/drivers/media/dvb-frontends/
H A Dbcm3510.c205 static int bcm3510_do_hab_cmd(struct bcm3510_state *st, u8 cmd, u8 msgid, u8 *obuf, u8 olen, u8 *ibuf, u8 ilen) argument
222 memcpy(&ob[2],obuf,olen);
/linux-master/drivers/media/tuners/
H A Dxc2028.c134 #define i2c_send_recv(priv, obuf, osize, ibuf, isize) ({ \
136 _rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, obuf, osize, \
/linux-master/drivers/scsi/bfa/
H A Dbfa_ioc.c5295 bfa_phy_ntoh32(u32 *obuf, u32 *ibuf, int sz) argument
5300 obuf[i] = be32_to_cpu(ibuf[i]);

Completed in 402 milliseconds

12