/linux-6.3-rc2/drivers/media/usb/pvrusb2/ |
A D | pvrusb2-debugifc.c | 57 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 192 if (debugifc_match_keyword(wptr,wlen,"reset")) { in pvr2_debugifc_do1cmd() 197 if (debugifc_match_keyword(wptr,wlen,"cpu")) { in pvr2_debugifc_do1cmd() 228 if (debugifc_match_keyword(wptr, wlen, in pvr2_debugifc_do1cmd() 231 } else if (debugifc_match_keyword(wptr, wlen, in pvr2_debugifc_do1cmd() 234 } else if (debugifc_match_keyword(wptr, wlen, in pvr2_debugifc_do1cmd() [all …]
|
A D | pvrusb2-i2c-core.c | 165 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() 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() 258 if (!(rlen || wlen)) { in i2c_hack_wm8775() 289 if (!(rlen || wlen)) { in i2c_hack_cx25840() 308 if (wlen == 0) { in i2c_hack_cx25840() [all …]
|
/linux-6.3-rc2/drivers/media/usb/dvb-usb-v2/ |
A D | dvb_usb_urb.c | 12 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()
|
A D | au6610.c | 15 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()
|
A D | zd1301.c | 26 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.3-rc2/drivers/media/tuners/ |
A D | si2157.c | 25 if (cmd->wlen) { in si2157_cmd_execute() 159 cmd.wlen = 1; in si2157_find_and_load_firmware() 229 cmd.wlen = 4; in si2157_init() 244 cmd.wlen = 9; in si2157_init() 274 cmd.wlen = 2; in si2157_init() 282 cmd.wlen = 1; in si2157_init() 293 cmd.wlen = 6; in si2157_init() 300 cmd.wlen = 6; in si2157_init() 307 cmd.wlen = 6; in si2157_init() 343 cmd.wlen = 2; in si2157_sleep() [all …]
|
/linux-6.3-rc2/drivers/md/ |
A D | md-autodetect.c | 237 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.3-rc2/drivers/mtd/devices/ |
A D | mchp48l640.c | 214 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.3-rc2/drivers/media/usb/dvb-usb/ |
A D | dvb-usb-urb.c | 12 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()
|
A D | dibusb-common.c | 138 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()
|
A D | dtv5100.c | 26 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()
|
A D | digitv.c | 26 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.3-rc2/tools/virtio/virtio-trace/ |
A D | trace-agent-rw.c | 106 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.3-rc2/drivers/infiniband/hw/qib/ |
A D | qib_qsfp.c | 101 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() 220 addr += wlen; in qib_qsfp_write() [all …]
|
/linux-6.3-rc2/net/sched/ |
A D | act_ctinfo.c | 32 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.3-rc2/drivers/spi/ |
A D | spi-ti-qspi.c | 246 int wlen, xfer_len; in qspi_write_msg() local 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 335 rx_wlen = wlen; in qspi_read_msg() 342 switch (wlen) { in qspi_read_msg() 358 rxlen = wlen; in qspi_read_msg() 368 switch (wlen) { in qspi_read_msg() [all …]
|
/linux-6.3-rc2/drivers/media/usb/hdpvr/ |
A D | hdpvr-i2c.c | 51 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.3-rc2/sound/soc/codecs/ |
A D | tlv320aic26.c | 70 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.3-rc2/include/linux/dsa/ |
A D | ocelot.h | 191 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.3-rc2/fs/ubifs/ |
A D | tnc_commit.c | 433 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.3-rc2/drivers/video/fbdev/omap/ |
A D | lcd_mipid.c | 55 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.3-rc2/fs/pstore/ |
A D | zone.c | 206 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() 233 if (wcnt != wlen) in psz_zone_write() 237 wlen = sizeof(struct psz_buffer); in psz_zone_write() 239 if (wcnt != wlen) in psz_zone_write() 243 wlen = zone->buffer_size + sizeof(*zone->buffer); in psz_zone_write() [all …]
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | omap3-igep0020-rev-f.dts | 16 lbep5clwmc_wlen: regulator-lbep5clwmc-wlen { 18 regulator-name = "regulator-lbep5clwmc-wlen";
|
/linux-6.3-rc2/drivers/media/dvb-frontends/ |
A D | si2168.c | 14 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.3-rc2/drivers/firmware/efi/ |
A D | efi-pstore.c | 57 unsigned long wlen, size = record_size; in efi_pstore_read_func() local 120 wlen = (ucs2_strnlen(varname, DUMP_NAME_LEN) + 1) * sizeof(efi_char16_t); in efi_pstore_read_func() 121 record->priv = kmemdup(varname, wlen, GFP_KERNEL); in efi_pstore_read_func()
|