/include/drm/ |
H A D | drm_buffer.h | 50 static inline int drm_buffer_page(struct drm_buffer *buf) argument 52 return buf->iterator / PAGE_SIZE; 57 static inline int drm_buffer_index(struct drm_buffer *buf) argument 59 return buf->iterator & (PAGE_SIZE - 1); 64 static inline int drm_buffer_unprocessed(struct drm_buffer *buf) argument 66 return buf->size - buf->iterator; 72 static inline void drm_buffer_advance(struct drm_buffer *buf, int bytes) argument 74 buf->iterator += bytes; 80 * buf [all...] |
/include/linux/ |
H A D | zutil.h | 47 typedef uLong (*check_func) (uLong check, const Byte *buf, 57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} 58 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); 59 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); 60 #define DO8(buf, 78 zlib_adler32(uLong adler, const Byte *buf, uInt len) argument [all...] |
H A D | relay.h | 53 unsigned int cpu; /* this buf's cpu */ 69 struct rchan_buf *buf[NR_CPUS]; /* per-cpu channel buffers */ member in struct:rchan 84 * @buf: the channel buffer containing the new sub-buffer 99 int (*subbuf_start) (struct rchan_buf *buf, 106 * @buf: the channel buffer 111 void (*buf_mapped)(struct rchan_buf *buf, 116 * @buf: the channel buffer 121 void (*buf_unmapped)(struct rchan_buf *buf, 128 * @buf: the channel buffer 149 struct rchan_buf *buf, 207 struct rchan_buf *buf; local 234 struct rchan_buf *buf; local 258 struct rchan_buf *buf = chan->buf[smp_processor_id()]; local 279 subbuf_start_reserve(struct rchan_buf *buf, size_t length) argument [all...] |
H A D | cryptohash.h | 8 void sha_init(__u32 *buf); 16 __u32 half_md4_transform(__u32 buf[4], __u32 const in[8]);
|
H A D | of_pdt.h | 19 * buf should be 32 bytes; return 0 on success. 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);
|
H A D | hdlcdrv.h | 124 unsigned short buf[HDLCDRV_HDLCBUFFER]; member in struct:hdlcdrv_hdlcbuffer 135 static inline void hdlcdrv_add_bitbuffer(struct hdlcdrv_bitbuffer *buf, argument 140 new = buf->shreg & 1; 141 buf->shreg >>= 1; 142 buf->shreg |= (!!bit) << 7; 144 buf->buffer[buf->wr] = buf->shreg; 145 buf->wr = (buf 150 hdlcdrv_add_bitbuffer_word(struct hdlcdrv_bitbuffer *buf, unsigned int bits) argument [all...] |
H A D | string_helpers.h | 14 char *buf, int len);
|
H A D | wlan_plat.h | 23 int (*get_mac_addr)(unsigned char *buf);
|
H A D | switch.h | 27 ssize_t (*print_name)(struct switch_dev *sdev, char *buf); 28 ssize_t (*print_state)(struct switch_dev *sdev, char *buf);
|
H A D | i2c-pnx.h | 23 u8 * buf; /* Data buffer */ member in struct:i2c_pnx_mif
|
H A D | iscsi_boot_sysfs.h | 84 ssize_t (*show) (void *data, int type, char *buf); 112 ssize_t (*show) (void *data, int type, char *buf), 119 ssize_t (*show) (void *data, int type, char *buf), 125 ssize_t (*show) (void *data, int type, char *buf),
|
/include/media/ |
H A D | lirc_dev.h | 35 static inline void lirc_buffer_clear(struct lirc_buffer *buf) argument 39 if (buf->fifo_initialized) { 40 spin_lock_irqsave(&buf->fifo_lock, flags); 41 kfifo_reset(&buf->fifo); 42 spin_unlock_irqrestore(&buf->fifo_lock, flags); 48 static inline int lirc_buffer_init(struct lirc_buffer *buf, argument 54 init_waitqueue_head(&buf->wait_poll); 55 spin_lock_init(&buf->fifo_lock); 56 buf->chunk_size = chunk_size; 57 buf 65 lirc_buffer_free(struct lirc_buffer *buf) argument 75 lirc_buffer_len(struct lirc_buffer *buf) argument 87 lirc_buffer_full(struct lirc_buffer *buf) argument 92 lirc_buffer_empty(struct lirc_buffer *buf) argument 97 lirc_buffer_available(struct lirc_buffer *buf) argument 102 lirc_buffer_read(struct lirc_buffer *buf, unsigned char *dest) argument 114 lirc_buffer_write(struct lirc_buffer *buf, unsigned char *orig) argument [all...] |
H A D | videobuf-dma-contig.h | 29 dma_addr_t videobuf_to_dma_contig(struct videobuf_buffer *buf); 31 struct videobuf_buffer *buf);
|
H A D | videobuf-vmalloc.h | 42 void *videobuf_to_vmalloc(struct videobuf_buffer *buf); 44 void videobuf_vmalloc_free(struct videobuf_buffer *buf);
|
/include/net/ |
H A D | if_inet6.h | 198 static inline void ipv6_eth_mc_map(const struct in6_addr *addr, char *buf) argument 206 buf[0]= 0x33; 207 buf[1]= 0x33; 209 memcpy(buf + 2, &addr->s6_addr32[3], sizeof(__u32)); 212 static inline void ipv6_tr_mc_map(const struct in6_addr *addr, char *buf) argument 232 buf[0]=0xC0; 233 buf[1]=0x00; 234 buf[2]=0x01; 235 buf[3]=0x00; 236 buf[ 266 ipv6_arcnet_mc_map(const struct in6_addr *addr, char *buf) argument 271 ipv6_ib_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, char *buf) argument 289 ipv6_ipgre_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, char *buf) argument [all...] |
H A D | ip.h | 151 static inline void ip_tr_mc_map(__be32 addr, char *buf) argument 153 buf[0]=0xC0; 154 buf[1]=0x00; 155 buf[2]=0x00; 156 buf[3]=0x04; 157 buf[4]=0x00; 158 buf[5]=0x00; 299 static inline void ip_eth_mc_map(__be32 naddr, char *buf) argument 302 buf[0]=0x01; 303 buf[ 317 ip_ib_mc_map(__be32 naddr, const unsigned char *broadcast, char *buf) argument 348 ip_ipgre_mc_map(__be32 naddr, const unsigned char *broadcast, char *buf) argument [all...] |
/include/net/irda/ |
H A D | crc.h | 27 #define irda_calc_crc16(fcs, buf, len) crc_ccitt(fcs, buf, len)
|
H A D | parameters.h | 72 typedef int (*PV_HANDLER)(void *self, __u8 *buf, int len, __u8 pi, 92 int irda_param_pack(__u8 *buf, char *fmt, ...); 94 int irda_param_insert(void *self, __u8 pi, __u8 *buf, int len, 96 int irda_param_extract_all(void *self, __u8 *buf, int len, 99 #define irda_param_insert_byte(buf,pi,pv) irda_param_pack(buf,"bbb",pi,1,pv)
|
/include/linux/mtd/ |
H A D | ubi.h | 208 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, 210 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, 212 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, 224 static inline int ubi_read(struct ubi_volume_desc *desc, int lnum, char *buf, argument 227 return ubi_leb_read(desc, lnum, buf, offset, len, 0); 235 const void *buf, int offset, int len) 237 return ubi_leb_write(desc, lnum, buf, offset, len, UBI_UNKNOWN); 245 const void *buf, int len) 247 return ubi_leb_change(desc, lnum, buf, len, UBI_UNKNOWN); 234 ubi_write(struct ubi_volume_desc *desc, int lnum, const void *buf, int offset, int len) argument 244 ubi_change(struct ubi_volume_desc *desc, int lnum, const void *buf, int len) argument
|
/include/sound/ |
H A D | seq_midi_event.h | 37 unsigned char *buf; /* input buffer */ member in struct:snd_midi_event 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/scsi/ |
H A D | scsicam.h | 16 extern int scsi_partsize(unsigned char *buf, unsigned long capacity,
|
/include/asm-generic/ |
H A 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);
|
H A D | io.h | 149 u8 *buf = buffer; local 152 *buf++ = x; 162 u16 *buf = buffer; local 165 *buf++ = x; 175 u32 *buf = buffer; local 178 *buf++ = x; 188 const u8 *buf = buffer; local 190 outb(*buf++, addr); 200 const u16 *buf = buffer; local 202 outw(*buf 212 const u32 *buf = buffer; local 220 readsl(const void __iomem *addr, void *buf, int len) argument 225 readsw(const void __iomem *addr, void *buf, int len) argument 230 readsb(const void __iomem *addr, void *buf, int len) argument 235 writesl(const void __iomem *addr, const void *buf, int len) argument 240 writesw(const void __iomem *addr, const void *buf, int len) argument 245 writesb(const void __iomem *addr, const void *buf, int len) argument [all...] |
/include/linux/ceph/ |
H A D | auth.h | 37 int (*build_request)(struct ceph_auth_client *ac, void *buf, void *end); 39 void *buf, void *end); 47 void **buf, size_t *len, 81 void *buf, size_t len); 83 void *buf, size_t len,
|
/include/linux/mfd/pm8xxx/ |
H A D | core.h | 26 int (*pmic_read_buf) (const struct device *dev, u16 addr, u8 *buf, 28 int (*pmic_write_buf) (const struct device *dev, u16 addr, u8 *buf, 52 static inline int pm8xxx_read_buf(const struct device *dev, u16 addr, u8 *buf, argument 59 return dd->pmic_read_buf(dev, addr, buf, n); 62 static inline int pm8xxx_write_buf(const struct device *dev, u16 addr, u8 *buf, argument 69 return dd->pmic_write_buf(dev, addr, buf, n);
|