Home
last modified time | relevance | path

Searched refs:nbyte (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/net/sched/
H A Dem_nbyte.c25 struct tcf_em_nbyte *nbyte = data; in em_nbyte_change() local
27 if (data_len < sizeof(*nbyte) || in em_nbyte_change()
28 data_len < (sizeof(*nbyte) + nbyte->len)) in em_nbyte_change()
31 em->datalen = sizeof(*nbyte) + nbyte->len; in em_nbyte_change()
42 struct nbyte_data *nbyte = (struct nbyte_data *) em->data; in em_nbyte_match() local
43 unsigned char *ptr = tcf_get_base_ptr(skb, nbyte->hdr.layer); in em_nbyte_match()
45 ptr += nbyte->hdr.off; in em_nbyte_match()
47 if (!tcf_valid_offset(skb, ptr, nbyte->hdr.len)) in em_nbyte_match()
50 return !memcmp(ptr, nbyte->pattern, nbyte->hdr.len); in em_nbyte_match()
/openbmc/u-boot/drivers/spi/
H A Dsh_qspi.c149 u32 nbyte, chunk; in sh_qspi_xfer_common() local
166 nbyte = bitlen / 8; in sh_qspi_xfer_common()
176 writel(nbyte, spbmul0); in sh_qspi_xfer_common()
184 while (nbyte > 0) { in sh_qspi_xfer_common()
189 chunk = (nbyte >= 32) ? 32 : 1; in sh_qspi_xfer_common()
216 nbyte -= chunk; in sh_qspi_xfer_common()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffsfs.h90 int yaffs_read(int fd, void *buf, unsigned int nbyte) ;
91 int yaffs_write(int fd, const void *buf, unsigned int nbyte) ;
93 int yaffs_pread(int fd, void *buf, unsigned int nbyte, loff_t offset);
94 int yaffs_pwrite(int fd, const void *buf, unsigned int nbyte, loff_t offset);
H A Dyaffsfs.c1113 nbyte = maxRead; in yaffsfs_do_read()
1123 nbyte = 0; in yaffsfs_do_read()
1126 while (nbyte > 0) { in yaffsfs_do_read()
1130 nToRead = nbyte; in yaffsfs_do_read()
1149 nbyte -= nRead; in yaffsfs_do_read()
1153 if (nbyte > 0) { in yaffsfs_do_read()
1236 nbyte = 0; in yaffsfs_do_write()
1239 while (nbyte > 0) { in yaffsfs_do_write()
1244 nToWrite = nbyte; in yaffsfs_do_write()
1266 nbyte = 0; in yaffsfs_do_write()
[all …]
/openbmc/qemu/bsd-user/
H A Delfload.c236 abi_ulong nbyte; in padzero() local
260 nbyte = elf_bss & (qemu_host_page_size - 1); in padzero()
261 if (nbyte) { in padzero()
262 nbyte = qemu_host_page_size - nbyte; in padzero()
267 } while (--nbyte); in padzero()
/openbmc/linux/fs/
H A Dbinfmt_elf.c139 unsigned long nbyte; in padzero() local
141 nbyte = ELF_PAGEOFFSET(elf_bss); in padzero()
142 if (nbyte) { in padzero()
143 nbyte = ELF_MIN_ALIGN - nbyte; in padzero()
1044 unsigned long nbyte; in load_elf_binary() local
1054 nbyte = ELF_PAGEOFFSET(elf_bss); in load_elf_binary()
1055 if (nbyte) { in load_elf_binary()
1056 nbyte = ELF_MIN_ALIGN - nbyte; in load_elf_binary()
1057 if (nbyte > elf_brk - elf_bss) in load_elf_binary()
1058 nbyte = elf_brk - elf_bss; in load_elf_binary()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/include/
H A Dbrcmu_utils.h47 #define MAXNBVAL(nbyte) MAXBITVAL((nbyte) * 8) argument
/openbmc/linux/drivers/input/touchscreen/
H A Dcyttsp5.c269 int nbyte; in cyttsp5_get_touch_axis() local
271 for (nbyte = 0, *axis = 0; nbyte < size; nbyte++) in cyttsp5_get_touch_axis()
272 *axis += ((xy_data[nbyte] >> bofs) << (nbyte * 8)); in cyttsp5_get_touch_axis()
H A Dcyttsp4_core.c781 int nbyte; in cyttsp4_get_touch_axis() local
784 for (nbyte = 0, *axis = 0, next = 0; nbyte < size; nbyte++) { in cyttsp4_get_touch_axis()
/openbmc/linux/drivers/firmware/tegra/
H A Dbpmp-debugfs.c43 static int seqbuf_read(struct seqbuf *seqbuf, void *buf, size_t nbyte) in seqbuf_read() argument
45 nbyte = min(nbyte, seqbuf_avail(seqbuf)); in seqbuf_read()
46 memcpy(buf, seqbuf->buf + seqbuf->pos, nbyte); in seqbuf_read()
47 seqbuf->pos += nbyte; in seqbuf_read()
/openbmc/libmctp/
H A Dserial.c52 static ssize_t mctp_serial_write(int fildes, const void *buf, size_t nbyte) in mctp_serial_write() argument
56 return ((wrote = write(fildes, buf, nbyte)) < 0) ? -errno : wrote; in mctp_serial_write()
/openbmc/linux/drivers/media/platform/allegro-dvt/
H A Dallegro-core.c832 u32 *dst, size_t nbyte) in allegro_mbox_read() argument
855 if (size > nbyte) in allegro_mbox_read()