Home
last modified time | relevance | path

Searched refs:wbuf (Results 1 – 20 of 20) sorted by relevance

/drivers/media/dvb/b2c2/
Dflexcop-eeprom.c17 static int eeprom_lrc_write(struct adapter *adapter, u32 addr, u32 len, u8 *wbuf, u8 *rbuf, int ret…
22 if (eeprom_write(adapter, addr, wbuf, len) == len) {
36 u8 wbuf[20];
41 memcpy(wbuf, key, len);
43 wbuf[16] = 0;
44 wbuf[17] = 0;
45 wbuf[18] = 0;
46 wbuf[19] = calc_lrc(wbuf, 19);
48 return eeprom_lrc_write(adapter, 0x3e4, 20, wbuf, rbuf, 4);
/drivers/media/dvb/dvb-usb/
Dau6610.c32 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in au6610_usb_msg() argument
40 index = wbuf[0] << 8; in au6610_usb_msg()
43 index = wbuf[0] << 8; in au6610_usb_msg()
44 index += wbuf[1]; in au6610_usb_msg()
68 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in au6610_i2c_msg() argument
79 return au6610_usb_msg(d, request, addr, wbuf, wlen, rbuf, rlen); in au6610_i2c_msg()
Ddvb-usb-urb.c11 int dvb_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, in dvb_usb_generic_rw() argument
16 if (!d || wbuf == NULL || wlen == 0) in dvb_usb_generic_rw()
28 debug_dump(wbuf,wlen,deb_xfer); in dvb_usb_generic_rw()
31 d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen, in dvb_usb_generic_rw()
Dgl861.c22 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in gl861_i2c_msg() argument
39 index = wbuf[0]; in gl861_i2c_msg()
42 index = wbuf[0]; in gl861_i2c_msg()
43 value = value + wbuf[1]; in gl861_i2c_msg()
Ddtv5100.c35 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dtv5100_i2c_msg() argument
55 value = wbuf[1]; in dtv5100_i2c_msg()
61 index = (addr << 8) + wbuf[0]; in dtv5100_i2c_msg()
Ddibusb-common.c103 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dibusb_i2c_msg() argument
113 memcpy(&sndbuf[2],wbuf,wlen); in dibusb_i2c_msg()
163 u8 wbuf[1] = { offs }; in dibusb_read_eeprom_byte() local
164 return dibusb_i2c_msg(d, 0x50, wbuf, 1, val, 1); in dibusb_read_eeprom_byte()
Daf9005.c57 static int af9005_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, in af9005_usb_generic_rw() argument
62 if (wbuf == NULL || wlen == 0) in af9005_usb_generic_rw()
69 debug_dump(wbuf, wlen, deb_xfer); in af9005_usb_generic_rw()
72 2), wbuf, wlen, in af9005_usb_generic_rw()
505 int af9005_send_command(struct dvb_usb_device *d, u8 command, u8 * wbuf, in af9005_send_command() argument
536 buf[7 + i] = wbuf[i]; in af9005_send_command()
Dttusb2.c47 u8 *wbuf, int wlen, u8 *rbuf, int rlen) in ttusb2_msg() argument
59 memcpy(&s[4],wbuf,wlen); in ttusb2_msg()
Ddigitv.c29 u8 cmd, u8 vv, u8 *wbuf, int wlen, u8 *rbuf, int rlen) in digitv_ctrl_msg() argument
40 memcpy(&sndbuf[3],wbuf,wlen); in digitv_ctrl_msg()
Dcxusb.c54 u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen) in cxusb_ctrl_msg() argument
61 memcpy(&sndbuf[1], wbuf, wlen); in cxusb_ctrl_msg()
Daf9005.h3482 u8 * wbuf, int wlen, u8 * rbuf, int rlen);
/drivers/rtc/
Drtc-m41t80.c128 u8 wbuf[1 + M41T80_DATETIME_REG_SIZE]; in m41t80_set_datetime() local
129 u8 *buf = &wbuf[1]; in m41t80_set_datetime()
150 .buf = wbuf, in m41t80_set_datetime()
160 wbuf[0] = 0; /* offset into rtc's regs */ in m41t80_set_datetime()
252 u8 wbuf[1 + M41T80_ALARM_REG_SIZE]; in m41t80_rtc_set_alarm() local
253 u8 *buf = &wbuf[1]; in m41t80_rtc_set_alarm()
275 .buf = wbuf, in m41t80_rtc_set_alarm()
289 wbuf[0] = M41T80_REG_ALARM_MON; /* offset into rtc's regs */ in m41t80_rtc_set_alarm()
/drivers/scsi/
Dadvansys.c11337 ushort *wbuf; in AscGetEEPConfig() local
11343 wbuf = (ushort *)cfg_buf; in AscGetEEPConfig()
11346 for (s_addr = 0; s_addr < 2; s_addr++, wbuf++) { in AscGetEEPConfig()
11347 *wbuf = AscReadEEPWord(iop_base, (uchar)s_addr); in AscGetEEPConfig()
11348 sum += *wbuf; in AscGetEEPConfig()
11357 for (s_addr = cfg_beg; s_addr <= (cfg_end - 1); s_addr++, wbuf++) { in AscGetEEPConfig()
11364 *wbuf = le16_to_cpu(wval); in AscGetEEPConfig()
11367 *wbuf = wval; in AscGetEEPConfig()
11375 *wbuf = AscReadEEPWord(iop_base, (uchar)s_addr); in AscGetEEPConfig()
11450 ushort *wbuf; in AscSetEEPConfigOnce() local
[all …]
/drivers/media/dvb/ttpci/
Dav7110_ca.c233 struct dvb_ringbuffer *wbuf = &av7110->ci_wbuffer; in dvb_ca_poll() local
239 poll_wait(file, &wbuf->queue, wait); in dvb_ca_poll()
244 if (dvb_ringbuffer_free(wbuf) > 1024) in dvb_ca_poll()
/drivers/usb/atm/
Dcxacru.c478 u8 *wbuf = instance->snd_buf; in cxacru_cm() local
503 memset(wbuf, 0, wbuflen); in cxacru_cm()
505 wbuf[0] = cm; in cxacru_cm()
507 wbuf[offb] = cm; in cxacru_cm()
508 memcpy(wbuf + offb + 4, wdata + offd, min_t(int, stride, wsize - offd)); in cxacru_cm()
/drivers/media/video/pvrusb2/
Dpvrusb2-i2c-core.c301 u8 wbuf[2]; in i2c_hack_cx25840() local
345 wbuf[0] = subaddr >> 8; in i2c_hack_cx25840()
346 wbuf[1] = subaddr; in i2c_hack_cx25840()
347 ret = pvr2_i2c_basic_op(hdw,i2c_addr,wbuf,2,rdata,rlen); in i2c_hack_cx25840()
/drivers/s390/char/
Draw3270.c622 static const unsigned char wbuf[] = in __raw3270_size_device() local
640 memcpy(&rp->init_data, wbuf, sizeof(wbuf)); in __raw3270_size_device()
644 rp->init_request.ccw.count = sizeof(wbuf); in __raw3270_size_device()
/drivers/media/video/saa7134/
Dsaa7134-dvb.c917 u8 wbuf[2] = { 0x1f, 00 }; in md8800_set_voltage2() local
919 struct i2c_msg msg[] = { { .addr = 0x08, .flags = 0, .buf = wbuf, .len = 1 }, in md8800_set_voltage2()
926 wbuf[1] = rbuf | 0x10; in md8800_set_voltage2()
928 wbuf[1] = rbuf & 0xef; in md8800_set_voltage2()
/drivers/mtd/onenand/
Donenand_base.c1360 u_char *wbuf = (u_char *) buf; in onenand_panic_write() local
1369 wbuf = this->page_buf; in onenand_panic_write()
1372 this->write_bufferram(mtd, ONENAND_DATARAM, wbuf, 0, mtd->writesize); in onenand_panic_write()
1496 u_char *wbuf = (u_char *) buf; in onenand_write_ops_nolock() local
1510 wbuf = this->page_buf; in onenand_write_ops_nolock()
1513 this->write_bufferram(mtd, ONENAND_DATARAM, wbuf, 0, mtd->writesize); in onenand_write_ops_nolock()
/drivers/mtd/nand/
Dnand_base.c1756 uint8_t *wbuf = buf; in nand_do_write_ops() local
1765 wbuf = chip->buffers->databuf; in nand_do_write_ops()
1771 ret = chip->write_page(mtd, chip, wbuf, page, cached, in nand_do_write_ops()