/openbmc/u-boot/drivers/mmc/ |
H A D | ftsdc010_mci.c | 236 int wlen; in ftsdc010_request() local 244 for (wlen = 0; wlen < len && wlen < chip->fifo; ) { in ftsdc010_request() 247 wlen += 4; in ftsdc010_request() 250 len -= wlen; in ftsdc010_request()
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H 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()
|
H 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()
|
H A D | af9005.c | 454 int wlen, u8 * rbuf, int rlen) in af9005_send_command() argument 461 if (wlen < 0) { in af9005_send_command() 465 if (wlen > 54) { in af9005_send_command() 473 packet_len = wlen + 5; in af9005_send_command() 481 st->data[3] = wlen + 3; in af9005_send_command() 484 st->data[6] = wlen; in af9005_send_command() 485 for (i = 0; i < wlen; i++) in af9005_send_command() 487 ret = dvb_usb_generic_rw(d, st->data, wlen + 7, st->data, rlen + 7, 0); in af9005_send_command()
|
H A D | ttusb2.c | 72 u8 *wbuf, int wlen, u8 *rbuf, int rlen) in ttusb2_msg() argument 81 s = kzalloc(wlen+4, GFP_KERNEL); in ttusb2_msg() 94 s[3] = wlen; in ttusb2_msg() 95 memcpy(&s[4],wbuf,wlen); in ttusb2_msg() 97 ret = dvb_usb_generic_rw(d, s, wlen+4, r, 64, 0); in ttusb2_msg()
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-igep0020-rev-f.dts | 16 lbep5clwmc_wlen: regulator-lbep5clwmc-wlen { 18 regulator-name = "regulator-lbep5clwmc-wlen";
|
H A D | omap3-igep0030-rev-g.dts | 16 lbep5clwmc_wlen: regulator-lbep5clwmc-wlen { 18 regulator-name = "regulator-lbep5clwmc-wlen";
|
/openbmc/linux/drivers/video/fbdev/omap/ |
H A D | lcd_mipid.c | 57 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()
|
/openbmc/linux/fs/ubifs/ |
H 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()
|
H A D | lpt_commit.c | 402 wlen = offs - from; in write_cnodes() 403 if (wlen) { in write_cnodes() 404 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 462 wlen = offs - from; in write_cnodes() 463 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 488 wlen = offs - from; in write_cnodes() 489 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 511 wlen = offs - from; in write_cnodes() 512 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 513 memset(buf + offs, 0xff, alen - wlen); in write_cnodes() [all …]
|
/openbmc/linux/fs/pstore/ |
H 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 …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H 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()
|
H A D | si2168_priv.h | 49 unsigned wlen; member
|
/openbmc/linux/drivers/firmware/efi/ |
H 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()
|
/openbmc/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-i2c.h | 25 u8 *wbuf, u32 wlen, u8 *rbuf, u32 rlen) in i2c_io() argument 28 .buf = wbuf, .len = wlen }, in i2c_io()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-list.c | 82 int wlen = strcspn(s, " \t\n"); in wordwrap() local 84 if ((column + wlen >= max && column > start) || saw_newline) { in wordwrap() 88 n = printf("%s%.*s", column > start ? " " : "", wlen, s); in wordwrap() 91 saw_newline = s[wlen] == '\n'; in wordwrap() 92 s += wlen; in wordwrap()
|
/openbmc/linux/net/sched/ |
H A D | act_skbedit.c | 57 int wlen = skb_network_offset(skb); in tcf_skbedit_act() local 61 wlen += sizeof(struct iphdr); in tcf_skbedit_act() 62 if (!pskb_may_pull(skb, wlen)) in tcf_skbedit_act() 68 wlen += sizeof(struct ipv6hdr); in tcf_skbedit_act() 69 if (!pskb_may_pull(skb, wlen)) in tcf_skbedit_act()
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | lmedm04.c | 141 u8 *wbuf, int wlen, u8 *rbuf, int rlen) in lme2510_usb_talk() argument 146 if (max(wlen, rlen) > sizeof(st->usb_buffer)) in lme2510_usb_talk() 153 memcpy(st->usb_buffer, wbuf, wlen); in lme2510_usb_talk() 155 ret = dvb_usbv2_generic_rw_locked(d, st->usb_buffer, wlen, in lme2510_usb_talk() 476 u8 *wbuf, int wlen, u8 *rbuf, int rlen) in lme2510_msg() argument 482 return lme2510_usb_talk(d, wbuf, wlen, rbuf, rlen); in lme2510_msg() 600 u16 j, wlen, len_in, start, end; in lme2510_download_firmware() local 630 wlen = (u8) dlen + 4; in lme2510_download_firmware() 631 data[wlen-1] = check_sum(fw_data, dlen+1); in lme2510_download_firmware() 634 lme2510_usb_talk(d, data, wlen, data, len_in); in lme2510_download_firmware()
|
H A D | af9035.c | 40 int ret, wlen, rlen; in af9035_ctrl_msg() local 49 req->wlen, req->rlen); in af9035_ctrl_msg() 58 memcpy(&state->buf[REQ_HDR_LEN], req->wbuf, req->wlen); in af9035_ctrl_msg() 60 wlen = REQ_HDR_LEN + req->wlen + CHECKSUM_LEN; in af9035_ctrl_msg() 73 state->buf, wlen, state->buf, rlen); in af9035_ctrl_msg() 349 req.wlen = 3 + msg[0].len; in af9035_i2c_master_xfer() 370 req.wlen = 5; in af9035_i2c_master_xfer() 408 req.wlen = 3 + msg[0].len; in af9035_i2c_master_xfer() 441 req.wlen = 3; in af9035_i2c_master_xfer() 650 req_fw_dl.wlen = len; in af9035_download_firmware_old() [all …]
|
/openbmc/linux/fs/orangefs/ |
H A D | inode.c | 26 size_t len, wlen; in orangefs_writepage_locked() local 38 wlen = len - off; in orangefs_writepage_locked() 40 wlen = wr->len; in orangefs_writepage_locked() 45 wlen = len - off; in orangefs_writepage_locked() 47 wlen = PAGE_SIZE; in orangefs_writepage_locked() 50 WARN_ON(off == len || off + wlen > len); in orangefs_writepage_locked() 52 WARN_ON(wlen == 0); in orangefs_writepage_locked() 53 bvec_set_page(&bv, page, wlen, off % PAGE_SIZE); in orangefs_writepage_locked() 54 iov_iter_bvec(&iter, ITER_SOURCE, &bv, 1, wlen); in orangefs_writepage_locked() 56 ret = wait_for_direct_io(ORANGEFS_IO_WRITE, inode, &off, &iter, wlen, in orangefs_writepage_locked()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | lpt_commit.c | 410 wlen = offs - from; in write_cnodes() 411 if (wlen) { in write_cnodes() 412 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 470 wlen = offs - from; in write_cnodes() 471 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 496 wlen = offs - from; in write_cnodes() 497 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 519 wlen = offs - from; in write_cnodes() 520 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 521 memset(buf + offs, 0xff, alen - wlen); in write_cnodes() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 877 unsigned int tlen, wlen = 0, clen = 0; in carl9170_rx_stream() local 887 wlen = ALIGN(clen, 4); in carl9170_rx_stream() 944 if (wlen > tlen - 4) { in carl9170_rx_stream() 968 tbuf += wlen + 4; in carl9170_rx_stream() 969 tlen -= wlen + 4; in carl9170_rx_stream() 985 "data:%d, rx:%d, pending:%d ]\n", clen, wlen, tlen, in carl9170_rx_stream()
|
/openbmc/u-boot/scripts/kconfig/lxdialog/ |
H A D | util.c | 372 int prompt_len, room, wlen; in print_autowrap() local 399 wlen = strlen(word); in print_autowrap() 400 if (wlen > room || in print_autowrap() 401 (newl && wlen < 4 && sp in print_autowrap() 402 && wlen + 1 + strlen(sp) > room in print_autowrap() 404 || wlen + 1 + (sp2 - sp) > room))) { in print_autowrap()
|
/openbmc/linux/scripts/kconfig/lxdialog/ |
H A D | util.c | 372 int prompt_len, room, wlen; in print_autowrap() local 399 wlen = strlen(word); in print_autowrap() 400 if (wlen > room || in print_autowrap() 401 (newl && wlen < 4 && sp in print_autowrap() 402 && wlen + 1 + strlen(sp) > room in print_autowrap() 404 || wlen + 1 + (sp2 - sp) > room))) { in print_autowrap()
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-sony-acx565akm.c | 76 const u8 *wbuf, int wlen, u8 *rbuf, int rlen) in acx565akm_transfer() argument 92 if (rlen > 1 && wlen == 0) { in acx565akm_transfer() 103 if (wlen) { in acx565akm_transfer() 106 x->len = wlen; in acx565akm_transfer()
|