Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c52 unsigned int wlen; in debugifc_isolate_word() local
56 wlen = 0; in debugifc_isolate_word()
64 wlen = scnt; in debugifc_isolate_word()
69 *wlenPtr = wlen; in debugifc_isolate_word()
178 unsigned int wlen; in pvr2_debugifc_do1cmd() local
181 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
186 pvr2_trace(PVR2_TRACE_DEBUGIFC,"debugifc cmd: \"%.*s\"",wlen,wptr); in pvr2_debugifc_do1cmd()
187 if (debugifc_match_keyword(wptr,wlen,"reset")) { in pvr2_debugifc_do1cmd()
188 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
192 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.12.1/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.12.1/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.12.1/drivers/md/
Dmd-autodetect.c234 int wlen; in raid_setup() local
236 wlen = (comma-str)-pos; in raid_setup()
237 else wlen = (len-1)-pos; in raid_setup()
239 if (!strncmp(str, "noautodetect", wlen)) in raid_setup()
241 if (!strncmp(str, "autodetect", wlen)) in raid_setup()
243 if (strncmp(str, "partitionable", wlen)==0) in raid_setup()
245 if (strncmp(str, "part", wlen)==0) in raid_setup()
247 pos += wlen+1; in raid_setup()
/linux-6.12.1/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.12.1/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.c139 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dibusb_i2c_msg() argument
147 len = 2 + wlen + (wo ? 0 : 2); in dibusb_i2c_msg()
153 if (4 + wlen > MAX_XFER_SIZE) { in dibusb_i2c_msg()
154 warn("i2c wr: len=%d is too big!\n", wlen); in dibusb_i2c_msg()
162 memcpy(&sndbuf[2], wbuf, wlen); in dibusb_i2c_msg()
165 sndbuf[wlen + 2] = (rlen >> 8) & 0xff; in dibusb_i2c_msg()
166 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.12.1/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.12.1/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.12.1/net/sched/
Dact_ctinfo.c32 struct sk_buff *skb, int wlen, int proto) in tcf_ctinfo_dscp_set() argument
43 if (likely(!skb_try_make_writable(skb, wlen))) { in tcf_ctinfo_dscp_set()
56 if (likely(!skb_try_make_writable(skb, wlen))) { in tcf_ctinfo_dscp_set()
90 int proto, wlen; in tcf_ctinfo_act() local
99 wlen = skb_network_offset(skb); in tcf_ctinfo_act()
102 wlen += sizeof(struct iphdr); in tcf_ctinfo_act()
103 if (!pskb_may_pull(skb, wlen)) in tcf_ctinfo_act()
109 wlen += sizeof(struct ipv6hdr); in tcf_ctinfo_act()
110 if (!pskb_may_pull(skb, wlen)) in tcf_ctinfo_act()
136 tcf_ctinfo_dscp_set(ct, ca, cp, skb, wlen, proto); in tcf_ctinfo_act()
/linux-6.12.1/drivers/spi/
Dspi-ti-qspi.c245 int wlen, xfer_len; in qspi_write_msg() local
252 wlen = t->bits_per_word >> 3; /* in bytes */ in qspi_write_msg()
253 xfer_len = wlen; in qspi_write_msg()
259 switch (wlen) { in qspi_write_msg()
283 xfer_len = wlen; in qspi_write_msg()
284 cmd |= QSPI_WLEN(wlen); in qspi_write_msg()
314 int wlen; in qspi_read_msg() local
333 wlen = t->bits_per_word >> 3; /* in bytes */ in qspi_read_msg()
334 rx_wlen = wlen; in qspi_read_msg()
341 switch (wlen) { in qspi_read_msg()
[all …]
/linux-6.12.1/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.12.1/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.12.1/include/linux/dsa/
Docelot.h193 u64 llen, wlen; in ocelot_xfh_get_len() local
196 packing(extraction, &wlen, 78, 71, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
198 *len = 60 * wlen + llen - 80; in ocelot_xfh_get_len()
/linux-6.12.1/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.12.1/drivers/video/fbdev/omap/
Dlcd_mipid.c57 int wlen, u8 *rbuf, int rlen) in mipid_transfer() argument
77 if (wlen) { in mipid_transfer()
80 x->len = wlen; in mipid_transfer()
341 int wlen; in ls041y3_esd_check_mode2() member
355 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen); in ls041y3_esd_check_mode2()
363 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen); in ls041y3_esd_check_mode2()
/linux-6.12.1/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.12.1/drivers/media/dvb-frontends/
Dsi2168.c14 static void cmd_init(struct si2168_cmd *cmd, const u8 *buf, int wlen, int rlen) in cmd_init() argument
16 memcpy(cmd->args, buf, wlen); in cmd_init()
17 cmd->wlen = wlen; in cmd_init()
30 if (cmd->wlen) { in si2168_cmd_execute()
32 ret = i2c_master_send(client, cmd->args, cmd->wlen); in si2168_cmd_execute()
35 } else if (ret != cmd->wlen) { in si2168_cmd_execute()
313 cmd.wlen = 3; in si2168_set_frontend()
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Domap3-igep0020-rev-f.dts16 lbep5clwmc_wlen: regulator-lbep5clwmc-wlen {
18 regulator-name = "regulator-lbep5clwmc-wlen";
/linux-6.12.1/drivers/firmware/efi/
Defi-pstore.c84 unsigned long wlen, size = record_size; in efi_pstore_read_func() local
147 wlen = (ucs2_strnlen(varname, DUMP_NAME_LEN) + 1) * sizeof(efi_char16_t); in efi_pstore_read_func()
148 record->priv = kmemdup(varname, wlen, GFP_KERNEL); in efi_pstore_read_func()

123