/include/media/ |
D | lirc_dev.h | 35 static inline void lirc_buffer_clear(struct lirc_buffer *buf) in lirc_buffer_clear() argument 39 if (buf->fifo_initialized) { in lirc_buffer_clear() 40 spin_lock_irqsave(&buf->fifo_lock, flags); in lirc_buffer_clear() 41 kfifo_reset(&buf->fifo); in lirc_buffer_clear() 42 spin_unlock_irqrestore(&buf->fifo_lock, flags); in lirc_buffer_clear() 48 static inline int lirc_buffer_init(struct lirc_buffer *buf, in lirc_buffer_init() argument 54 init_waitqueue_head(&buf->wait_poll); in lirc_buffer_init() 55 spin_lock_init(&buf->fifo_lock); in lirc_buffer_init() 56 buf->chunk_size = chunk_size; in lirc_buffer_init() 57 buf->size = size; in lirc_buffer_init() [all …]
|
D | v4l2-mem2mem.h | 104 v4l2_m2m_buf_done(struct vb2_buffer *buf, enum vb2_buffer_state state) in v4l2_m2m_buf_done() argument 106 vb2_buffer_done(buf, state); in v4l2_m2m_buf_done() 113 struct v4l2_buffer *buf); 116 struct v4l2_buffer *buf); 118 struct v4l2_buffer *buf); 244 struct v4l2_buffer *buf); 248 struct v4l2_buffer *buf); 250 struct v4l2_buffer *buf);
|
D | videobuf-dma-contig.h | 29 dma_addr_t videobuf_to_dma_contig(struct videobuf_buffer *buf); 31 struct videobuf_buffer *buf);
|
D | videobuf-vmalloc.h | 42 void *videobuf_to_vmalloc(struct videobuf_buffer *buf); 44 void videobuf_vmalloc_free(struct videobuf_buffer *buf);
|
/include/linux/ |
D | zutil.h | 47 typedef uLong (*check_func) (uLong check, const Byte *buf, 57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} argument 58 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument 59 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument 60 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument 61 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument 79 const Byte *buf, in zlib_adler32() argument 86 if (buf == NULL) return 1L; in zlib_adler32() 92 DO16(buf); in zlib_adler32() 93 buf += 16; in zlib_adler32() [all …]
|
D | relay.h | 66 struct rchan_buf *buf[NR_CPUS]; /* per-cpu channel buffers */ member 96 int (*subbuf_start) (struct rchan_buf *buf, 108 void (*buf_mapped)(struct rchan_buf *buf, 118 void (*buf_unmapped)(struct rchan_buf *buf, 146 struct rchan_buf *buf, 181 extern int relay_buf_full(struct rchan_buf *buf); 183 extern size_t relay_switch_subbuf(struct rchan_buf *buf, 204 struct rchan_buf *buf; in relay_write() local 207 buf = chan->buf[smp_processor_id()]; in relay_write() 208 if (unlikely(buf->offset + length > chan->subbuf_size)) in relay_write() [all …]
|
D | hdlcdrv.h | 28 unsigned short buf[HDLCDRV_HDLCBUFFER]; member 39 static inline void hdlcdrv_add_bitbuffer(struct hdlcdrv_bitbuffer *buf, in hdlcdrv_add_bitbuffer() argument 44 new = buf->shreg & 1; in hdlcdrv_add_bitbuffer() 45 buf->shreg >>= 1; in hdlcdrv_add_bitbuffer() 46 buf->shreg |= (!!bit) << 7; in hdlcdrv_add_bitbuffer() 48 buf->buffer[buf->wr] = buf->shreg; in hdlcdrv_add_bitbuffer() 49 buf->wr = (buf->wr+1) % sizeof(buf->buffer); in hdlcdrv_add_bitbuffer() 50 buf->shreg = 0x80; in hdlcdrv_add_bitbuffer() 54 static inline void hdlcdrv_add_bitbuffer_word(struct hdlcdrv_bitbuffer *buf, in hdlcdrv_add_bitbuffer_word() argument 57 buf->buffer[buf->wr] = bits & 0xff; in hdlcdrv_add_bitbuffer_word() [all …]
|
D | string_helpers.h | 14 char *buf, int len); 25 static inline int string_unescape_inplace(char *buf, unsigned int flags) in string_unescape_inplace() argument 27 return string_unescape(buf, buf, 0, flags); in string_unescape_inplace() 35 static inline int string_unescape_any_inplace(char *buf) in string_unescape_any_inplace() argument 37 return string_unescape_any(buf, buf, 0); in string_unescape_any_inplace()
|
D | of_pdt.h | 22 int (*nextprop)(phandle node, char *prev, char *buf); 26 int (*getproperty)(phandle node, const char *prop, char *buf, 34 int (*pkg2path)(phandle node, char *buf, const int buflen, int *len);
|
D | kfifo.h | 79 type buf[((size < 2) || (size & (size - 1))) ? -1 : size]; \ 88 type buf[0]; \ 143 __kfifo->mask = __is_kfifo_ptr(__tmp) ? 0 : ARRAY_SIZE(__tmp->buf) - 1;\ 144 __kfifo->esize = sizeof(*__tmp->buf); \ 145 __kfifo->data = __is_kfifo_ptr(__tmp) ? NULL : __tmp->buf; \ 165 ARRAY_SIZE((fifo).buf) - 1, \ 166 .esize = sizeof(*(fifo).buf), \ 169 (fifo).buf, \ 402 (__tmp->buf) \ 441 (__tmp->buf) \ [all …]
|
D | spmi.h | 93 u8 sid, u16 addr, u8 *buf, size_t len); 95 u8 sid, u16 addr, const u8 *buf, size_t len); 175 int spmi_register_read(struct spmi_device *sdev, u8 addr, u8 *buf); 176 int spmi_ext_register_read(struct spmi_device *sdev, u8 addr, u8 *buf, 178 int spmi_ext_register_readl(struct spmi_device *sdev, u16 addr, u8 *buf, 183 const u8 *buf, size_t len); 185 const u8 *buf, size_t len);
|
D | cryptohash.h | 8 void sha_init(__u32 *buf); 16 __u32 half_md4_transform(__u32 buf[4], __u32 const in[8]);
|
D | pstore.h | 53 char *buf; member 60 int *count, struct timespec *time, char **buf, 68 unsigned int part, const char *buf, bool compressed, 72 unsigned int part, const char __user *buf,
|
D | random.h | 16 extern void get_random_bytes(void *buf, int nbytes); 17 extern void get_random_bytes_arch(void *buf, int nbytes); 30 void prandom_bytes(void *buf, size_t nbytes); 39 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes);
|
/include/net/ |
D | if_inet6.h | 212 static inline void ipv6_eth_mc_map(const struct in6_addr *addr, char *buf) in ipv6_eth_mc_map() argument 220 buf[0]= 0x33; in ipv6_eth_mc_map() 221 buf[1]= 0x33; in ipv6_eth_mc_map() 223 memcpy(buf + 2, &addr->s6_addr32[3], sizeof(__u32)); in ipv6_eth_mc_map() 226 static inline void ipv6_arcnet_mc_map(const struct in6_addr *addr, char *buf) in ipv6_arcnet_mc_map() argument 228 buf[0] = 0x00; in ipv6_arcnet_mc_map() 232 const unsigned char *broadcast, char *buf) in ipv6_ib_mc_map() argument 236 buf[0] = 0; /* Reserved */ in ipv6_ib_mc_map() 237 buf[1] = 0xff; /* Multicast QPN */ in ipv6_ib_mc_map() 238 buf[2] = 0xff; in ipv6_ib_mc_map() [all …]
|
D | ip.h | 386 static inline void ip_eth_mc_map(__be32 naddr, char *buf) in ip_eth_mc_map() argument 389 buf[0]=0x01; in ip_eth_mc_map() 390 buf[1]=0x00; in ip_eth_mc_map() 391 buf[2]=0x5e; in ip_eth_mc_map() 392 buf[5]=addr&0xFF; in ip_eth_mc_map() 394 buf[4]=addr&0xFF; in ip_eth_mc_map() 396 buf[3]=addr&0x7F; in ip_eth_mc_map() 404 static inline void ip_ib_mc_map(__be32 naddr, const unsigned char *broadcast, char *buf) in ip_ib_mc_map() argument 409 buf[0] = 0; /* Reserved */ in ip_ib_mc_map() 410 buf[1] = 0xff; /* Multicast QPN */ in ip_ib_mc_map() [all …]
|
/include/trace/events/ |
D | v4l2.h | 72 TP_PROTO(int minor, struct v4l2_buffer *buf), \ 74 TP_ARGS(minor, buf), \ 99 __entry->index = buf->index; \ 100 __entry->type = buf->type; \ 101 __entry->bytesused = buf->bytesused; \ 102 __entry->flags = buf->flags; \ 103 __entry->field = buf->field; \ 105 timeval_to_ns(&buf->timestamp); \ 106 __entry->timecode_type = buf->timecode.type; \ 107 __entry->timecode_flags = buf->timecode.flags; \ [all …]
|
D | android_fs.h | 40 android_fstrace_get_pathname(char *buf, int buflen, struct inode *inode) in android_fstrace_get_pathname() argument 53 path = dentry_path_raw(d, buf, buflen); in android_fstrace_get_pathname() 55 strcpy(buf, "ERROR"); in android_fstrace_get_pathname() 56 path = buf; in android_fstrace_get_pathname() 60 strcpy(buf, "ERROR"); in android_fstrace_get_pathname() 61 path = buf; in android_fstrace_get_pathname()
|
/include/asm-generic/ |
D | iomap.h | 51 extern void ioread8_rep(void __iomem *port, void *buf, unsigned long count); 52 extern void ioread16_rep(void __iomem *port, void *buf, unsigned long count); 53 extern void ioread32_rep(void __iomem *port, void *buf, unsigned long count); 55 extern void iowrite8_rep(void __iomem *port, const void *buf, unsigned long count); 56 extern void iowrite16_rep(void __iomem *port, const void *buf, unsigned long count); 57 extern void iowrite32_rep(void __iomem *port, const void *buf, unsigned long count);
|
/include/net/irda/ |
D | parameters.h | 70 typedef int (*PV_HANDLER)(void *self, __u8 *buf, int len, __u8 pi, 90 int irda_param_pack(__u8 *buf, char *fmt, ...); 92 int irda_param_insert(void *self, __u8 pi, __u8 *buf, int len, 94 int irda_param_extract_all(void *self, __u8 *buf, int len, 97 #define irda_param_insert_byte(buf,pi,pv) irda_param_pack(buf,"bbb",pi,1,pv) argument
|
D | crc.h | 27 #define irda_calc_crc16(fcs, buf, len) crc_ccitt(fcs, buf, len) argument
|
/include/linux/sunrpc/ |
D | cache.h | 92 char *buf, int len); 228 extern void qword_addhex(char **bpp, int *lp, char *buf, int blen); 233 char buf[50]; in get_int() local 236 int len = qword_get(bpp, buf, sizeof(buf)); in get_int() 243 rv = simple_strtol(buf, &ep, 0); in get_int() 253 char buf[50]; in get_uint() local 254 int len = qword_get(bpp, buf, sizeof(buf)); in get_uint() 261 if (kstrtouint(buf, 0, anint)) in get_uint() 269 char buf[50]; in get_time() local 271 int len = qword_get(bpp, buf, sizeof(buf)); in get_time() [all …]
|
/include/sound/ |
D | seq_midi_event.h | 37 unsigned char *buf; /* input buffer */ member 47 long snd_midi_event_encode(struct snd_midi_event *dev, unsigned char *buf, long count, 51 long snd_midi_event_decode(struct snd_midi_event *dev, unsigned char *buf, long count,
|
/include/linux/netfilter/ |
D | nf_conntrack_h323_asn1.h | 92 int DecodeRasMessage(unsigned char *buf, size_t sz, RasMessage * ras); 93 int DecodeQ931(unsigned char *buf, size_t sz, Q931 * q931); 94 int DecodeMultimediaSystemControlMessage(unsigned char *buf, size_t sz,
|
/include/linux/mtd/ |
D | ubi.h | 211 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, 213 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, 215 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, 228 static inline int ubi_read(struct ubi_volume_desc *desc, int lnum, char *buf, in ubi_read() argument 231 return ubi_leb_read(desc, lnum, buf, offset, len, 0); in ubi_read()
|