Home
last modified time | relevance | path

Searched refs:wlen (Results 1 – 25 of 70) sorted by relevance

123

/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c57 unsigned int wlen; in debugifc_isolate_word() local
61 wlen = 0; in debugifc_isolate_word()
69 wlen = scnt; in debugifc_isolate_word()
74 *wlenPtr = wlen; in debugifc_isolate_word()
183 unsigned int wlen; in pvr2_debugifc_do1cmd() local
186 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
191 pvr2_trace(PVR2_TRACE_DEBUGIFC,"debugifc cmd: \"%.*s\"",wlen,wptr); in pvr2_debugifc_do1cmd()
192 if (debugifc_match_keyword(wptr,wlen,"reset")) { in pvr2_debugifc_do1cmd()
193 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
197 if (debugifc_match_keyword(wptr,wlen,"cpu")) { in pvr2_debugifc_do1cmd()
[all …]
Dpvrusb2-i2c-core.c165 u16 wlen, in pvr2_i2c_basic_op() argument
170 if (!wdata) wlen = 0; in pvr2_i2c_basic_op()
171 if (rlen || !wlen) { in pvr2_i2c_basic_op()
172 return pvr2_i2c_read(hdw,i2c_addr,wdata,wlen,rdata,rlen); in pvr2_i2c_basic_op()
174 return pvr2_i2c_write(hdw,i2c_addr,wdata,wlen); in pvr2_i2c_basic_op()
186 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_24xxx_ir() argument
191 if (!(rlen || wlen)) { in i2c_24xxx_ir()
197 if ((wlen != 0) || (rlen == 0)) return -EIO; in i2c_24xxx_ir()
256 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_hack_wm8775() argument
258 if (!(rlen || wlen)) { in i2c_hack_wm8775()
[all …]
/linux-6.1.9/drivers/media/usb/dvb-usb-v2/
Ddvb_usb_urb.c12 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dvb_usb_v2_generic_io() argument
16 if (!wbuf || !wlen || !d->props->generic_bulk_ctrl_endpoint || in dvb_usb_v2_generic_io()
22 dev_dbg(&d->udev->dev, "%s: >>> %*ph\n", __func__, wlen, wbuf); in dvb_usb_v2_generic_io()
25 d->props->generic_bulk_ctrl_endpoint), wbuf, wlen, in dvb_usb_v2_generic_io()
32 if (actual_length != wlen) { in dvb_usb_v2_generic_io()
34 KBUILD_MODNAME, wlen, actual_length); in dvb_usb_v2_generic_io()
61 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dvb_usbv2_generic_rw() argument
66 ret = dvb_usb_v2_generic_io(d, wbuf, wlen, rbuf, rlen); in dvb_usbv2_generic_rw()
86 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dvb_usbv2_generic_rw_locked() argument
88 return dvb_usb_v2_generic_io(d, wbuf, wlen, rbuf, rlen); in dvb_usbv2_generic_rw_locked()
Dau6610.c15 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in au6610_usb_msg() argument
29 switch (wlen) { in au6610_usb_msg()
39 KBUILD_MODNAME, wlen); in au6610_usb_msg()
67 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in au6610_i2c_msg() argument
78 return au6610_usb_msg(d, request, addr, wbuf, wlen, rbuf, rlen); in au6610_i2c_msg()
Dzd1301.c26 unsigned int wlen, u8 *rbuf, unsigned int rlen) in zd1301_ctrl_msg() argument
34 memcpy(&dev->buf, wbuf, wlen); in zd1301_ctrl_msg()
36 dev_dbg(&intf->dev, ">>> %*ph\n", wlen, dev->buf); in zd1301_ctrl_msg()
39 wlen, &actual_length, 1000); in zd1301_ctrl_msg()
/linux-6.1.9/drivers/media/tuners/
Dsi2157.c25 if (cmd->wlen) { in si2157_cmd_execute()
27 ret = i2c_master_send(client, cmd->args, cmd->wlen); in si2157_cmd_execute()
30 } else if (ret != cmd->wlen) { in si2157_cmd_execute()
124 cmd.wlen = len; in si2157_load_firmware()
159 cmd.wlen = 1; in si2157_find_and_load_firmware()
229 cmd.wlen = 4; in si2157_init()
244 cmd.wlen = 9; in si2157_init()
248 cmd.wlen = 10; in si2157_init()
251 cmd.wlen = 15; in si2157_init()
261 cmd.wlen = 7; in si2157_init()
[all …]
/linux-6.1.9/drivers/md/
Dmd-autodetect.c237 int wlen; in raid_setup() local
239 wlen = (comma-str)-pos; in raid_setup()
240 else wlen = (len-1)-pos; in raid_setup()
242 if (!strncmp(str, "noautodetect", wlen)) in raid_setup()
244 if (!strncmp(str, "autodetect", wlen)) in raid_setup()
246 if (strncmp(str, "partitionable", wlen)==0) in raid_setup()
248 if (strncmp(str, "part", wlen)==0) in raid_setup()
250 pos += wlen+1; in raid_setup()
/linux-6.1.9/drivers/mtd/devices/
Dmchp48l640.c214 size_t wlen = 0; in mchp48l640_write() local
223 while (wlen < len) { in mchp48l640_write()
224 ws = min((len - wlen), page_sz); in mchp48l640_write()
225 ret = mchp48l640_write_page(mtd, woff, ws, retlen, &buf[wlen]); in mchp48l640_write()
228 wlen += ws; in mchp48l640_write()
272 size_t wlen = 0; in mchp48l640_read() local
281 while (wlen < len) { in mchp48l640_read()
282 ws = min((len - wlen), page_sz); in mchp48l640_read()
283 ret = mchp48l640_read_page(mtd, woff, ws, retlen, &buf[wlen]); in mchp48l640_read()
286 wlen += ws; in mchp48l640_read()
/linux-6.1.9/drivers/media/usb/dvb-usb/
Ddvb-usb-urb.c12 int dvb_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, in dvb_usb_generic_rw() argument
17 if (!d || wbuf == NULL || wlen == 0) in dvb_usb_generic_rw()
29 debug_dump(wbuf,wlen,deb_xfer); in dvb_usb_generic_rw()
32 d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen, in dvb_usb_generic_rw()
36 err("bulk message failed: %d (%d/%d)",ret,wlen,actlen); in dvb_usb_generic_rw()
38 ret = actlen != wlen ? -1 : 0; in dvb_usb_generic_rw()
Ddibusb-common.c138 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dibusb_i2c_msg() argument
146 len = 2 + wlen + (wo ? 0 : 2); in dibusb_i2c_msg()
152 if (4 + wlen > MAX_XFER_SIZE) { in dibusb_i2c_msg()
153 warn("i2c wr: len=%d is too big!\n", wlen); in dibusb_i2c_msg()
161 memcpy(&sndbuf[2], wbuf, wlen); in dibusb_i2c_msg()
164 sndbuf[wlen + 2] = (rlen >> 8) & 0xff; in dibusb_i2c_msg()
165 sndbuf[wlen + 3] = rlen & 0xff; in dibusb_i2c_msg()
Ddtv5100.c26 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dtv5100_i2c_msg() argument
35 switch (wlen) { in dtv5100_i2c_msg()
53 warn("wlen = %x, aborting.", wlen); in dtv5100_i2c_msg()
Ddigitv.c26 u8 cmd, u8 vv, u8 *wbuf, int wlen, u8 *rbuf, int rlen) in digitv_ctrl_msg() argument
33 if (wlen > 4 || rlen > 4) in digitv_ctrl_msg()
41 st->sndbuf[2] = wo ? wlen : rlen; in digitv_ctrl_msg()
44 memcpy(&st->sndbuf[3], wbuf, wlen); in digitv_ctrl_msg()
/linux-6.1.9/tools/virtio/virtio-trace/
Dtrace-agent-rw.c106 ssize_t rlen, wlen; in rw_thread_main() local
145 wlen = 0; in rw_thread_main()
149 rlen - wlen, in rw_thread_main()
167 wlen += ret; in rw_thread_main()
168 } while (wlen < rlen); in rw_thread_main()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_qsfp.c101 int wlen = len - cnt; in qsfp_read() local
104 if ((in_page + wlen) > QSFP_PAGESIZE) in qsfp_read()
105 wlen = QSFP_PAGESIZE - in_page; in qsfp_read()
106 ret = qib_twsi_blk_rd(dd, QSFP_DEV, addr, buff + cnt, wlen); in qsfp_read()
115 addr += wlen; in qsfp_read()
116 cnt += wlen; in qsfp_read()
209 int wlen = len - cnt; in qib_qsfp_write() local
212 if ((in_page + wlen) > QSFP_PAGESIZE) in qib_qsfp_write()
213 wlen = QSFP_PAGESIZE - in_page; in qib_qsfp_write()
214 ret = qib_twsi_blk_wr(dd, QSFP_DEV, addr, buff + cnt, wlen); in qib_qsfp_write()
[all …]
/linux-6.1.9/net/sched/
Dact_ctinfo.c31 struct sk_buff *skb, int wlen, int proto) in tcf_ctinfo_dscp_set() argument
42 if (likely(!skb_try_make_writable(skb, wlen))) { in tcf_ctinfo_dscp_set()
55 if (likely(!skb_try_make_writable(skb, wlen))) { in tcf_ctinfo_dscp_set()
88 int proto, wlen; in tcf_ctinfo_act() local
97 wlen = skb_network_offset(skb); in tcf_ctinfo_act()
100 wlen += sizeof(struct iphdr); in tcf_ctinfo_act()
101 if (!pskb_may_pull(skb, wlen)) in tcf_ctinfo_act()
107 wlen += sizeof(struct ipv6hdr); in tcf_ctinfo_act()
108 if (!pskb_may_pull(skb, wlen)) in tcf_ctinfo_act()
134 tcf_ctinfo_dscp_set(ct, ca, cp, skb, wlen, proto); in tcf_ctinfo_act()
Dsch_dsmark.c208 int wlen = skb_network_offset(skb); in dsmark_enqueue() local
212 wlen += sizeof(struct iphdr); in dsmark_enqueue()
213 if (!pskb_may_pull(skb, wlen) || in dsmark_enqueue()
214 skb_try_make_writable(skb, wlen)) in dsmark_enqueue()
222 wlen += sizeof(struct ipv6hdr); in dsmark_enqueue()
223 if (!pskb_may_pull(skb, wlen) || in dsmark_enqueue()
224 skb_try_make_writable(skb, wlen)) in dsmark_enqueue()
/linux-6.1.9/drivers/spi/
Dspi-ti-qspi.c246 int wlen, xfer_len; in qspi_write_msg() local
253 wlen = t->bits_per_word >> 3; /* in bytes */ in qspi_write_msg()
254 xfer_len = wlen; in qspi_write_msg()
260 switch (wlen) { in qspi_write_msg()
284 xfer_len = wlen; in qspi_write_msg()
285 cmd |= QSPI_WLEN(wlen); in qspi_write_msg()
315 int wlen; in qspi_read_msg() local
334 wlen = t->bits_per_word >> 3; /* in bytes */ in qspi_read_msg()
335 rx_wlen = wlen; in qspi_read_msg()
342 switch (wlen) { in qspi_read_msg()
[all …]
/linux-6.1.9/drivers/media/usb/hdpvr/
Dhdpvr-i2c.c51 unsigned char addr, char *wdata, int wlen, in hdpvr_i2c_read() argument
56 if ((len > sizeof(dev->i2c_buf)) || (wlen > sizeof(dev->i2c_buf))) in hdpvr_i2c_read()
59 if (wlen) { in hdpvr_i2c_read()
60 memcpy(dev->i2c_buf, wdata, wlen); in hdpvr_i2c_read()
64 wlen, 1000); in hdpvr_i2c_read()
/linux-6.1.9/sound/soc/codecs/
Dtlv320aic26.c70 int fsref, divisor, wlen, pval, jval, dval, qval; in aic26_hw_params() local
94 case 8: wlen = AIC26_WLEN_16; break; in aic26_hw_params()
95 case 16: wlen = AIC26_WLEN_16; break; in aic26_hw_params()
96 case 24: wlen = AIC26_WLEN_24; break; in aic26_hw_params()
97 case 32: wlen = AIC26_WLEN_32; break; in aic26_hw_params()
128 reg = wlen | aic26->datfm | (divisor << 3) | divisor; in aic26_hw_params()
/linux-6.1.9/include/linux/dsa/
Docelot.h191 u64 llen, wlen; in ocelot_xfh_get_len() local
194 packing(extraction, &wlen, 78, 71, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
196 *len = 60 * wlen + llen - 80; in ocelot_xfh_get_len()
/linux-6.1.9/fs/ubifs/
Dtnc_commit.c433 int wlen, blen, err; in layout_in_empty_space() local
510 wlen = used + len; in layout_in_empty_space()
523 blen = ALIGN(wlen, c->min_io_size); in layout_in_empty_space()
829 int avail, wlen, err, lnum_pos = 0, blen, nxt_offs; in write_index() local
966 wlen = used + len; in write_index()
986 wlen = ALIGN(wlen, 8); in write_index()
987 blen = ALIGN(wlen, c->min_io_size); in write_index()
988 ubifs_pad(c, c->cbuf + wlen, blen - wlen); in write_index()
/linux-6.1.9/drivers/video/fbdev/omap/
Dlcd_mipid.c55 int wlen, u8 *rbuf, int rlen) in mipid_transfer() argument
75 if (wlen) { in mipid_transfer()
78 x->len = wlen; in mipid_transfer()
339 int wlen; in ls041y3_esd_check_mode2() member
353 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen); in ls041y3_esd_check_mode2()
361 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen); in ls041y3_esd_check_mode2()
/linux-6.1.9/fs/pstore/
Dzone.c206 size_t wlen; in psz_zone_write() local
211 wlen = min_t(size_t, len, zone->buffer_size - off); in psz_zone_write()
212 if (buf && wlen) { in psz_zone_write()
213 memcpy(zone->buffer->data + off, buf, wlen); in psz_zone_write()
214 atomic_set(&zone->buffer->datalen, wlen + off); in psz_zone_write()
227 if (unlikely(buf && wlen)) in psz_zone_write()
231 wcnt = writeop((const char *)zone->buffer->data + off, wlen, in psz_zone_write()
233 if (wcnt != wlen) in psz_zone_write()
237 wlen = sizeof(struct psz_buffer); in psz_zone_write()
238 wcnt = writeop((const char *)zone->buffer, wlen, zone->off); in psz_zone_write()
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Domap3-igep0020-rev-f.dts16 lbep5clwmc_wlen: regulator-lbep5clwmc-wlen {
18 regulator-name = "regulator-lbep5clwmc-wlen";
/linux-6.1.9/drivers/firmware/efi/
Defi-pstore.c55 unsigned long wlen, size = EFIVARS_DATA_SIZE_MAX; in efi_pstore_read_func() local
118 wlen = (ucs2_strnlen(varname, DUMP_NAME_LEN) + 1) * sizeof(efi_char16_t); in efi_pstore_read_func()
119 record->priv = kmemdup(varname, wlen, GFP_KERNEL); in efi_pstore_read_func()

123