Searched refs:wlen (Results 1 - 25 of 69) sorted by relevance

123

/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-debugifc.c57 unsigned int wlen; local
61 wlen = 0;
69 wlen = scnt;
74 *wlenPtr = wlen;
183 unsigned int wlen; local
186 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
191 pvr2_trace(PVR2_TRACE_DEBUGIFC,"debugifc cmd: \"%.*s\"",wlen,wptr);
192 if (debugifc_match_keyword(wptr,wlen,"reset")) {
193 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
197 if (debugifc_match_keyword(wptr,wlen,"cp
[all...]
H A Dpvrusb2-i2c-core.c103 "Killing an I2C read to %u that has wlen too large (desired=%u limit=%u)",
165 u16 wlen,
170 if (!wdata) wlen = 0;
171 if (rlen || !wlen) {
172 return pvr2_i2c_read(hdw,i2c_addr,wdata,wlen,rdata,rlen);
174 return pvr2_i2c_write(hdw,i2c_addr,wdata,wlen);
186 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen)
191 if (!(rlen || wlen)) {
197 if ((wlen != 0) || (rlen == 0)) return -EIO;
256 u8 i2c_addr,u8 *wdata,u16 wlen,u
162 pvr2_i2c_basic_op(struct pvr2_hdw *hdw, u8 i2c_addr, u8 *wdata, u16 wlen, u8 *rdata, u16 rlen) argument
185 i2c_24xxx_ir(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) argument
255 i2c_hack_wm8775(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) argument
268 i2c_black_hole(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) argument
281 i2c_hack_cx25840(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) argument
[all...]
/linux-master/drivers/media/usb/dvb-usb-v2/
H A Ddvb_usb_urb.c12 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
16 if (!wbuf || !wlen || !d->props->generic_bulk_ctrl_endpoint ||
22 dev_dbg(&d->udev->dev, "%s: >>> %*ph\n", __func__, wlen, wbuf);
25 d->props->generic_bulk_ctrl_endpoint), wbuf, wlen,
32 if (actual_length != wlen) {
34 KBUILD_MODNAME, wlen, actual_length);
61 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
66 ret = dvb_usb_v2_generic_io(d, wbuf, wlen, rbuf, rlen);
86 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
88 return dvb_usb_v2_generic_io(d, wbuf, wlen, rbu
11 dvb_usb_v2_generic_io(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
60 dvb_usbv2_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
85 dvb_usbv2_generic_rw_locked(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
[all...]
H A Dau6610.c15 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
29 switch (wlen) {
38 dev_err(&d->udev->dev, "%s: wlen=%d, aborting\n",
39 KBUILD_MODNAME, wlen);
67 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
78 return au6610_usb_msg(d, request, addr, wbuf, wlen, rbuf, rlen);
14 au6610_usb_msg(struct dvb_usb_device *d, u8 operation, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
66 au6610_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
H A Dzd1301.c26 unsigned int wlen, u8 *rbuf, unsigned int rlen)
34 memcpy(&dev->buf, wbuf, wlen);
36 dev_dbg(&intf->dev, ">>> %*ph\n", wlen, dev->buf);
39 wlen, &actual_length, 1000);
25 zd1301_ctrl_msg(struct dvb_usb_device *d, const u8 *wbuf, unsigned int wlen, u8 *rbuf, unsigned int rlen) argument
H A Daf9035.h39 u8 wlen; member in struct:usb_req
/linux-master/tools/virtio/virtio-trace/
H A Dtrace-agent-rw.c106 ssize_t rlen, wlen; local
145 wlen = 0;
149 rlen - wlen,
167 wlen += ret;
168 } while (wlen < rlen);
/linux-master/drivers/media/usb/dvb-usb/
H A Ddvb-usb-urb.c12 int dvb_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, argument
17 if (!d || wbuf == NULL || wlen == 0)
29 debug_dump(wbuf,wlen,deb_xfer);
32 d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen,
36 err("bulk message failed: %d (%d/%d)",ret,wlen,actlen);
38 ret = actlen != wlen ? -1 : 0;
H A Ddibusb-common.c138 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
146 len = 2 + wlen + (wo ? 0 : 2);
152 if (4 + wlen > MAX_XFER_SIZE) {
153 warn("i2c wr: len=%d is too big!\n", wlen);
161 memcpy(&sndbuf[2], wbuf, wlen);
164 sndbuf[wlen + 2] = (rlen >> 8) & 0xff;
165 sndbuf[wlen + 3] = rlen & 0xff;
137 dibusb_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
H A Ddtv5100.c26 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
35 switch (wlen) {
53 warn("wlen = %x, aborting.", wlen);
25 dtv5100_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) argument
H A Ddigitv.c26 u8 cmd, u8 vv, u8 *wbuf, int wlen, u8 *rbuf, int rlen)
33 if (wlen > 4 || rlen > 4)
41 st->sndbuf[2] = wo ? wlen : rlen;
44 memcpy(&st->sndbuf[3], wbuf, wlen);
25 digitv_ctrl_msg(struct dvb_usb_device *d, u8 cmd, u8 vv, u8 *wbuf, int wlen, u8 *rbuf, int rlen) argument
/linux-master/drivers/media/dvb-frontends/
H A Dsi2168_priv.h49 unsigned wlen; member in struct:si2168_cmd
/linux-master/drivers/md/
H A Dmd-autodetect.c234 int wlen; local
236 wlen = (comma-str)-pos;
237 else wlen = (len-1)-pos;
239 if (!strncmp(str, "noautodetect", wlen))
241 if (!strncmp(str, "autodetect", wlen))
243 if (strncmp(str, "partitionable", wlen)==0)
245 if (strncmp(str, "part", wlen)==0)
247 pos += wlen+1;
/linux-master/drivers/mtd/devices/
H A Dmchp48l640.c214 size_t wlen = 0; local
223 while (wlen < len) {
224 ws = min((len - wlen), page_sz);
225 ret = mchp48l640_write_page(mtd, woff, ws, retlen, &buf[wlen]);
228 wlen += ws;
272 size_t wlen = 0; local
281 while (wlen < len) {
282 ws = min((len - wlen), page_sz);
283 ret = mchp48l640_read_page(mtd, woff, ws, retlen, &buf[wlen]);
286 wlen
[all...]
/linux-master/drivers/media/tuners/
H A Dsi2157.c25 if (cmd->wlen) {
27 ret = i2c_master_send(client, cmd->args, cmd->wlen);
30 } else if (ret != cmd->wlen) {
124 cmd.wlen = len;
159 cmd.wlen = 1;
229 cmd.wlen = 4;
244 cmd.wlen = 9;
248 cmd.wlen = 10;
251 cmd.wlen = 15;
261 cmd.wlen
[all...]
H A Dsi2157_priv.h65 unsigned wlen; member in struct:si2157_cmd
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_qsfp.c101 int wlen = len - cnt; local
104 if ((in_page + wlen) > QSFP_PAGESIZE)
105 wlen = QSFP_PAGESIZE - in_page;
106 ret = qib_twsi_blk_rd(dd, QSFP_DEV, addr, buff + cnt, wlen);
115 addr += wlen;
116 cnt += wlen;
209 int wlen = len - cnt; local
212 if ((in_page + wlen) > QSFP_PAGESIZE)
213 wlen = QSFP_PAGESIZE - in_page;
214 ret = qib_twsi_blk_wr(dd, QSFP_DEV, addr, buff + cnt, wlen);
[all...]
/linux-master/net/sched/
H A Dact_ctinfo.c32 struct sk_buff *skb, int wlen, int proto)
43 if (likely(!skb_try_make_writable(skb, wlen))) {
56 if (likely(!skb_try_make_writable(skb, wlen))) {
90 int proto, wlen; local
99 wlen = skb_network_offset(skb);
102 wlen += sizeof(struct iphdr);
103 if (!pskb_may_pull(skb, wlen))
109 wlen += sizeof(struct ipv6hdr);
110 if (!pskb_may_pull(skb, wlen))
136 tcf_ctinfo_dscp_set(ct, ca, cp, skb, wlen, prot
30 tcf_ctinfo_dscp_set(struct nf_conn *ct, struct tcf_ctinfo *ca, struct tcf_ctinfo_params *cp, struct sk_buff *skb, int wlen, int proto) argument
[all...]
H A Dact_skbedit.c57 int wlen = skb_network_offset(skb); local
61 wlen += sizeof(struct iphdr);
62 if (!pskb_may_pull(skb, wlen))
68 wlen += sizeof(struct ipv6hdr);
69 if (!pskb_may_pull(skb, wlen))
/linux-master/drivers/media/usb/hdpvr/
H A Dhdpvr-i2c.c51 unsigned char addr, char *wdata, int wlen,
56 if ((len > sizeof(dev->i2c_buf)) || (wlen > sizeof(dev->i2c_buf)))
59 if (wlen) {
60 memcpy(dev->i2c_buf, wdata, wlen);
64 wlen, 1000);
50 hdpvr_i2c_read(struct hdpvr_device *dev, int bus, unsigned char addr, char *wdata, int wlen, char *data, int len) argument
/linux-master/include/linux/dsa/
H A Docelot.h191 u64 llen, wlen; local
194 packing(extraction, &wlen, 78, 71, OCELOT_TAG_LEN, UNPACK, 0);
196 *len = 60 * wlen + llen - 80;
/linux-master/sound/soc/codecs/
H A Dtlv320aic26.c70 int fsref, divisor, wlen, pval, jval, dval, qval; local
94 case 8: wlen = AIC26_WLEN_16; break;
95 case 16: wlen = AIC26_WLEN_16; break;
96 case 24: wlen = AIC26_WLEN_24; break;
97 case 32: wlen = AIC26_WLEN_32; break;
128 reg = wlen | aic26->datfm | (divisor << 3) | divisor;
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-i2c.h25 u8 *wbuf, u32 wlen, u8 *rbuf, u32 rlen)
28 .buf = wbuf, .len = wlen },
24 i2c_io(struct i2c_adapter *adapter, u8 adr, u8 *wbuf, u32 wlen, u8 *rbuf, u32 rlen) argument
/linux-master/drivers/spi/
H A Dspi-ti-qspi.c245 int wlen, xfer_len; local
252 wlen = t->bits_per_word >> 3; /* in bytes */
253 xfer_len = wlen;
259 switch (wlen) {
283 xfer_len = wlen;
284 cmd |= QSPI_WLEN(wlen);
314 int wlen; local
333 wlen = t->bits_per_word >> 3; /* in bytes */
334 rx_wlen = wlen;
341 switch (wlen) {
669 int wlen; local
[all...]
/linux-master/drivers/firmware/efi/
H A Defi-pstore.c84 unsigned long wlen, size = record_size; local
147 wlen = (ucs2_strnlen(varname, DUMP_NAME_LEN) + 1) * sizeof(efi_char16_t);
148 record->priv = kmemdup(varname, wlen, GFP_KERNEL);

Completed in 185 milliseconds

123