/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-debugifc.c | 71 unsigned int wlen; local 75 wlen = 0; 83 wlen = scnt; 88 *wlenPtr = wlen; 199 unsigned int wlen; local 202 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); 207 pvr2_trace(PVR2_TRACE_DEBUGIFC,"debugifc cmd: \"%.*s\"",wlen,wptr); 208 if (debugifc_match_keyword(wptr,wlen,"reset")) { 209 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); 213 if (debugifc_match_keyword(wptr,wlen,"cp [all...] |
H A D | pvrusb2-i2c-core.c | 119 "Killing an I2C read to %u that has wlen too large" 184 u16 wlen, 189 if (!wdata) wlen = 0; 190 if (rlen || !wlen) { 191 return pvr2_i2c_read(hdw,i2c_addr,wdata,wlen,rdata,rlen); 193 return pvr2_i2c_write(hdw,i2c_addr,wdata,wlen); 205 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) 210 if (!(rlen || wlen)) { 216 if ((wlen != 0) || (rlen == 0)) return -EIO; 275 u8 i2c_addr,u8 *wdata,u16 wlen,u 181 pvr2_i2c_basic_op(struct pvr2_hdw *hdw, u8 i2c_addr, u8 *wdata, u16 wlen, u8 *rdata, u16 rlen) argument 204 i2c_24xxx_ir(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) argument 274 i2c_hack_wm8775(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) argument 287 i2c_black_hole(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) argument 300 i2c_hack_cx25840(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) argument [all...] |
/drivers/media/usb/dvb-usb-v2/ |
H A D | dvb_usb_urb.c | 25 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) 29 if (!wbuf || !wlen || !d->props->generic_bulk_ctrl_endpoint || 35 dev_dbg(&d->udev->dev, "%s: >>> %*ph\n", __func__, wlen, wbuf); 38 d->props->generic_bulk_ctrl_endpoint), wbuf, wlen, 44 ret = actual_length != wlen ? -EIO : 0; 69 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) 74 ret = dvb_usb_v2_generic_io(d, wbuf, wlen, rbuf, rlen); 94 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) 96 return dvb_usb_v2_generic_io(d, wbuf, wlen, rbuf, rlen); 24 dvb_usb_v2_generic_io(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument 68 dvb_usbv2_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument 93 dvb_usbv2_generic_rw_locked(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
|
H A D | au6610.c | 28 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) 42 switch (wlen) { 51 dev_err(&d->udev->dev, "%s: wlen=%d, aborting\n", 52 KBUILD_MODNAME, wlen); 80 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) 91 return au6610_usb_msg(d, request, addr, wbuf, wlen, rbuf, rlen); 27 au6610_usb_msg(struct dvb_usb_device *d, u8 operation, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument 79 au6610_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
|
H A D | gl861.c | 17 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) 32 switch (wlen) { 41 dev_err(&d->udev->dev, "%s: wlen=%d, aborting\n", 42 KBUILD_MODNAME, wlen); 16 gl861_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
|
H A D | af9035.h | 51 u8 wlen; member in struct:usb_req
|
H A D | lmedm04.c | 171 u8 *wbuf, int wlen, u8 *rbuf, int rlen) 192 memcpy(buff, wbuf, (wlen < 64) ? wlen : 64); 194 ret |= lme2510_bulk_write(d->udev, buff, wlen , 0x01); 450 u8 *wbuf, int wlen, u8 *rbuf, int rlen) 457 ret = lme2510_usb_talk(d, wbuf, wlen, rbuf, rlen); 526 lme2510_usb_talk(d, wbuf, wlen, rbuf, rlen); 553 lme2510_usb_talk(d, wbuf, wlen, rbuf, rlen); 581 lme2510_usb_talk(d, wbuf, wlen, rbuf, rlen); 599 lme2510_usb_talk(d, wbuf, wlen, rbu 170 lme2510_usb_talk(struct dvb_usb_device *d, u8 *wbuf, int wlen, u8 *rbuf, int rlen) argument 449 lme2510_msg(struct dvb_usb_device *d, u8 *wbuf, int wlen, u8 *rbuf, int rlen) argument 734 u16 j, wlen, len_in, start, end; local [all...] |
H A D | dvbsky.c | 45 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) 51 if (wlen != 0) 52 memcpy(state->obuf, wbuf, wlen); 54 ret = dvb_usbv2_generic_rw_locked(d, state->obuf, wlen, 44 dvbsky_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
|
H A D | mxl111sf.h | 107 u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen);
|
/drivers/media/tuners/ |
H A D | si2157_priv.h | 37 unsigned wlen; member in struct:si2157_cmd
|
H A D | si2157.c | 29 if (cmd->wlen) { 31 ret = i2c_master_send(s->client, cmd->args, cmd->wlen); 34 } else if (ret != cmd->wlen) { 97 cmd.wlen = 15; 105 cmd.wlen = 1; 161 cmd.wlen = len; 178 cmd.wlen = 2; 210 cmd.wlen = 2; 269 cmd.wlen = 6; 276 cmd.wlen [all...] |
/drivers/media/dvb-frontends/ |
H A D | si2168_priv.h | 47 unsigned wlen; member in struct:si2168_cmd
|
H A D | si2168.c | 29 if (cmd->wlen) { 31 ret = i2c_master_send(s->client, cmd->args, cmd->wlen); 34 } else if (ret != cmd->wlen) { 98 cmd.wlen = 2; 103 cmd.wlen = 2; 108 cmd.wlen = 2; 218 cmd.wlen = 5; 231 cmd.wlen = 6; 242 cmd.wlen = 3; 250 cmd.wlen [all...] |
/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-urb.c | 11 int dvb_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, argument 16 if (!d || wbuf == NULL || wlen == 0) 28 debug_dump(wbuf,wlen,deb_xfer); 31 d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen, 35 err("bulk message failed: %d (%d/%d)",ret,wlen,actlen); 37 ret = actlen != wlen ? -1 : 0;
|
H A D | dtv5100.c | 35 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) 42 switch (wlen) { 58 warn("wlen = %x, aborting.", wlen); 34 dtv5100_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
|
H A D | friio.c | 34 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) 42 wbuf[1], wbuf[0], wlen - 1); 44 if (wo && wlen >= 2) { 50 &wbuf[1], wlen - 1, 2000); 60 * register address can be 16bit (wbuf[2]<<8 | wbuf[0]) if wlen==3 63 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) 74 return gl861_i2c_ctrlmsg_data(d, addr, wbuf, wlen, rbuf, rlen); 86 switch (wlen) { 100 deb_xfer("wlen = %x, aborting.", wlen); 33 gl861_i2c_ctrlmsg_data(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument 62 gl861_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument [all...] |
H A D | dibusb-common.c | 109 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) 111 u8 sndbuf[MAX_XFER_SIZE]; /* lead(1) devaddr,direction(1) addr(2) data(wlen) (len(2) (when reading)) */ 114 len = 2 + wlen + (wo ? 0 : 2); 116 if (4 + wlen > sizeof(sndbuf)) { 117 warn("i2c wr: len=%d is too big!\n", wlen); 124 memcpy(&sndbuf[2],wbuf,wlen); 127 sndbuf[wlen+2] = (rlen >> 8) & 0xff; 128 sndbuf[wlen+3] = rlen & 0xff; 108 dibusb_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
|
H A D | digitv.c | 29 u8 cmd, u8 vv, u8 *wbuf, int wlen, u8 *rbuf, int rlen) 37 sndbuf[2] = wo ? wlen : rlen; 40 memcpy(&sndbuf[3],wbuf,wlen); 28 digitv_ctrl_msg(struct dvb_usb_device *d, u8 cmd, u8 vv, u8 *wbuf, int wlen, u8 *rbuf, int rlen) argument
|
H A D | af9005.c | 462 int wlen, u8 * rbuf, int rlen) 470 if (wlen < 0) { 471 err("send command, wlen less than 0 bytes. Makes no sense."); 474 if (wlen > 54) { 475 err("send command, wlen more than 54 bytes. Not supported."); 482 packet_len = wlen + 5; 487 buf[3] = wlen + 3; 490 buf[6] = wlen; 491 for (i = 0; i < wlen; i++) 493 ret = dvb_usb_generic_rw(d, buf, wlen 461 af9005_send_command(struct dvb_usb_device *d, u8 command, u8 * wbuf, int wlen, u8 * rbuf, int rlen) argument [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_qsfp.c | 101 int wlen = len - cnt; local 103 if ((in_page + wlen) > QSFP_PAGESIZE) 104 wlen = QSFP_PAGESIZE - in_page; 105 ret = qib_twsi_blk_rd(dd, QSFP_DEV, addr, buff + cnt, wlen); 114 addr += wlen; 115 cnt += wlen; 208 int wlen = len - cnt; local 210 if ((in_page + wlen) > QSFP_PAGESIZE) 211 wlen = QSFP_PAGESIZE - in_page; 212 ret = qib_twsi_blk_wr(dd, QSFP_DEV, addr, buff + cnt, wlen); [all...] |
/drivers/media/usb/hdpvr/ |
H A D | hdpvr-i2c.c | 67 unsigned char addr, char *wdata, int wlen, 72 if ((len > sizeof(dev->i2c_buf)) || (wlen > sizeof(dev->i2c_buf))) 75 if (wlen) { 76 memcpy(&dev->i2c_buf, wdata, wlen); 80 wlen, 1000); 66 hdpvr_i2c_read(struct hdpvr_device *dev, int bus, unsigned char addr, char *wdata, int wlen, char *data, int len) argument
|
/drivers/spi/ |
H A D | spi-ti-qspi.c | 204 int wlen, count, ret; local 211 wlen = t->bits_per_word >> 3; /* in bytes */ 214 switch (wlen) { 239 txbuf += wlen; 240 count -= wlen; 248 int wlen, count, ret; local 266 wlen = t->bits_per_word >> 3; /* in bytes */ 277 switch (wlen) { 288 rxbuf += wlen; 289 count -= wlen; [all...] |
/drivers/acpi/ |
H A D | ec.c | 117 u8 wlen; member in struct:transaction 216 if (t->wlen > t->wi) { 233 } else if (t->wlen == t->wi && 352 if (!ec || (!t) || (t->wlen && !t->wdata) || (t->rlen && !t->rdata)) 400 .wlen = 0, .rlen = 1}; 409 .wlen = 0, .rlen = 0}; 421 .wlen = 1, .rlen = 1}; 433 .wlen = 2, .rlen = 0}; 475 .wlen = wdata_len, .rlen = rdata_len}; 560 .wlen [all...] |
/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 876 unsigned int tlen, wlen = 0, clen = 0; local 886 wlen = ALIGN(clen, 4); 943 if (wlen > tlen - 4) { 967 tbuf += wlen + 4; 968 tlen -= wlen + 4; 984 "data:%d, rx:%d, pending:%d ]\n", clen, wlen, tlen,
|
/drivers/video/fbdev/omap/ |
H A D | lcd_mipid.c | 69 int wlen, u8 *rbuf, int rlen) 89 if (wlen) { 92 x->len = wlen; 353 int wlen; member in struct:__anon7172 367 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen); 375 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen); 68 mipid_transfer(struct mipid_device *md, int cmd, const u8 *wbuf, int wlen, u8 *rbuf, int rlen) argument
|