Searched defs:len (Results 1 - 25 of 2919) sorted by relevance

1234567891011>>

/drivers/gpu/drm/nouveau/core/include/core/
H A Doption.h6 const char *nouveau_stropt(const char *optstr, const char *opt, int *len);
13 strncasecmpz(const char *str, const char *cmp, size_t len) argument
15 if (strlen(cmp) != len)
16 return len;
17 return strncasecmp(str, cmp, len);
/drivers/hsi/
H A Dhsi_boardinfo.c37 * @len: Length of the array
48 unsigned int len)
52 cl_info = kzalloc(sizeof(*cl_info) * len, GFP_KERNEL);
56 for (; len; len--, info++, cl_info++) {
47 hsi_register_board_info(struct hsi_board_info const *info, unsigned int len) argument
/drivers/usb/gadget/
H A Du_f.c17 struct usb_request *alloc_ep_req(struct usb_ep *ep, int len, int default_len) argument
23 req->length = len ?: default_len;
H A Dusbstring.c43 int len; local
62 len = min ((size_t) 126, strlen (s->s));
63 len = utf8s_to_utf16s(s->s, len, UTF16_LITTLE_ENDIAN,
65 if (len < 0)
67 buf [0] = (len + 1) * 2;
/drivers/media/usb/dvb-usb/
H A Daf9005-script.h13 u8 len; member in struct:__anon2388
/drivers/media/usb/gspca/
H A Dsn9c2028.h28 unsigned char *m, int len)
34 for (i = 0; i < len; i++) {
41 len, i + 1);
27 sn9c2028_find_sof(struct gspca_dev *gspca_dev, unsigned char *m, int len) argument
H A Dpac_common.h75 unsigned char *m, int len)
80 for (i = 0; i < len; i++) {
117 len, i + 1);
74 pac_find_sof(struct gspca_dev *gspca_dev, u8 *sof_read, unsigned char *m, int len) argument
/drivers/s390/char/
H A Dctrlchar.c33 * @param len Length of valid data in buffer.
41 ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty) argument
43 if ((len < 2) || (len > 3))
53 if (len == 3 && buf[1] == '-') {
60 if (len != 2)
/drivers/video/fbdev/via/
H A Dvia_aux_vt1631.c38 const u8 id[] = {0x06, 0x11, 0x91, 0x31}, len = ARRAY_SIZE(id); local
39 u8 tmp[len];
41 if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len))
H A Dvia_aux_vt1636.c38 const u8 id[] = {0x06, 0x11, 0x45, 0x33}, len = ARRAY_SIZE(id); local
39 u8 tmp[len];
41 if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len))
H A Dvia_aux_sii164.c38 const u8 id[] = {0x01, 0x00, 0x06, 0x00}, len = ARRAY_SIZE(id); local
39 u8 tmp[len];
41 if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len))
/drivers/gpu/host1x/
H A Ddebug.h27 void (*fn)(void *ctx, const char *str, size_t len);
32 static inline void write_to_seqfile(void *ctx, const char *str, size_t len) argument
34 seq_write((struct seq_file *)ctx, str, len);
37 static inline void write_to_printk(void *ctx, const char *str, size_t len) argument
/drivers/i2c/
H A Di2c-boardinfo.c41 * @len: how many descriptors in the vector; may be zero to reserve
61 struct i2c_board_info const *info, unsigned len)
71 for (status = 0; len; len--, info++) {
60 i2c_register_board_info(int busnum, struct i2c_board_info const *info, unsigned len) argument
/drivers/isdn/hardware/eicon/
H A Ddebuglib.c81 int len; local
92 len = strlen(drvName);
94 (len < sizeof(myDriverDebugHandle.drvName)) ?
95 len : sizeof(myDriverDebugHandle.drvName) - 1);
96 len = strlen(drvTag);
98 (len < sizeof(myDriverDebugHandle.drvTag)) ?
99 len : sizeof(myDriverDebugHandle.drvTag) - 1);
/drivers/media/common/
H A Dcypress_firmware.h19 u8 len; member in struct:hexline
/drivers/misc/mic/common/
H A Dmic_dev.h29 * @len: Size of the memory window.
34 resource_size_t len; member in struct:mic_mw
/drivers/misc/vmw_vmci/
H A Dvmci_datagram.h43 u32 len; member in struct:vmci_datagram_snd_rcv_info
/drivers/net/ethernet/qualcomm/
H A Dqca_framing.c31 __le16 len; local
36 len = cpu_to_le16(length);
42 buf[4] = len & 0xff;
43 buf[5] = (len >> 8) & 0xff;
76 u16 len; local
119 len = handle->offset;
120 if (len > buf_len || len < QCAFRM_ETHMINLEN) {
124 handle->state = (enum qcafrm_state)(len + 1);
/drivers/net/wireless/ath/ath10k/
H A Dtestmode.h25 void *data, int len);
41 void *data, int len)
39 ath10k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, void *data, int len) argument
/drivers/net/wireless/ath/ath6kl/
H A Dtestmode.h24 void *data, int len);
35 void *data, int len)
33 ath6kl_tm_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, void *data, int len) argument
/drivers/net/wireless/orinoco/
H A Dmain.h38 static inline u8 *orinoco_get_wpa_ie(u8 *data, size_t len) argument
41 while ((p + 2 + WPA_SELECTOR_LEN) < (data + len)) {
/drivers/pci/
H A Dvpd.c11 int pci_vpd_find_tag(const u8 *buf, unsigned int off, unsigned int len, u8 rdt) argument
15 for (i = off; i < len; ) {
20 if (i + PCI_VPD_LRDT_TAG_SIZE > len)
47 unsigned int len, const char *kw)
51 for (i = off; i + PCI_VPD_INFO_FLD_HDR_SIZE <= off + len;) {
46 pci_vpd_find_info_keyword(const u8 *buf, unsigned int off, unsigned int len, const char *kw) argument
/drivers/scsi/pcmcia/
H A Dnsp_message.c16 int ret, len; local
25 len = 0;
38 data->MsgBuffer[len] = data_reg; len++;
47 } while (ret > 0 && MSGBUF_SIZE > len);
49 data->MsgLen = len;
57 int len = data->MsgLen; local
74 } while (ret > 0 && len-- > 0);
/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd_lib-linux.h68 static inline __u32 ksocknal_csum(__u32 crc, unsigned char const *p, size_t len) argument
71 return crc32_le(crc, p, len);
73 while (len-- > 0)
/drivers/staging/lustre/lustre/ptlrpc/
H A Dpers.c66 int pageoffset, int len)
72 kiov->kiov_len = len;
65 ptlrpc_add_bulk_page(struct ptlrpc_bulk_desc *desc, struct page *page, int pageoffset, int len) argument

Completed in 1305 milliseconds

1234567891011>>