/linux-master/drivers/scsi/ |
H A D | scsi_common.c | 277 * @buf: Where to build sense data 283 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) argument 286 buf[0] = 0x72; /* descriptor, current */ 287 buf[1] = key; 288 buf[2] = asc; 289 buf[3] = ascq; 290 buf[7] = 0; 292 buf[0] = 0x70; /* fixed, current */ 293 buf[2] = key; 294 buf[ 311 scsi_set_sense_information(u8 *buf, int buf_len, u64 info) argument 361 scsi_set_sense_field_pointer(u8 *buf, int buf_len, u16 fp, u8 bp, bool cd) argument [all...] |
/linux-master/arch/x86/events/intel/ |
H A D | bts.c | 61 struct bts_phys buf[]; member in struct:bts_buffer 83 struct bts_buffer *buf; local 104 buf = kzalloc_node(offsetof(struct bts_buffer, buf[nbuf]), GFP_KERNEL, node); 105 if (!buf) 108 buf->nr_pages = nr_pages; 109 buf->nr_bufs = nbuf; 110 buf->snapshot = overwrite; 111 buf->data_pages = pages; 112 buf 138 bts_buffer_offset(struct bts_buffer *buf, unsigned int idx) argument 144 bts_config_buffer(struct bts_buffer *buf) argument 187 struct bts_buffer *buf = perf_get_aux(&bts->handle); local 235 struct bts_buffer *buf = perf_get_aux(&bts->handle); local 264 struct bts_buffer *buf; local 309 struct bts_buffer *buf = NULL; local 375 bts_buffer_reset(struct bts_buffer *buf, struct perf_output_handle *handle) argument 455 struct bts_buffer *buf; local [all...] |
/linux-master/drivers/s390/net/ |
H A D | qeth_core_sys.c | 20 struct device_attribute *attr, char *buf) 26 return sysfs_emit(buf, "DOWN\n"); 29 return sysfs_emit(buf, "UP (LAN %s)\n", 32 return sysfs_emit(buf, "SOFTSETUP\n"); 34 return sysfs_emit(buf, "UNKNOWN\n"); 41 struct device_attribute *attr, char *buf) 45 return sysfs_emit(buf, "%02X\n", card->info.chpid); 51 struct device_attribute *attr, char *buf) 55 return sysfs_emit(buf, "%s\n", netdev_name(card->dev)); 61 struct device_attribute *attr, char *buf) 19 qeth_dev_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument 40 qeth_dev_chpid_show(struct device *dev, struct device_attribute *attr, char *buf) argument 50 qeth_dev_if_name_show(struct device *dev, struct device_attribute *attr, char *buf) argument 60 qeth_dev_card_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument 84 qeth_dev_inbuf_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument 94 qeth_dev_portno_show(struct device *dev, struct device_attribute *attr, char *buf) argument 102 qeth_dev_portno_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 134 qeth_dev_portname_show(struct device *dev, struct device_attribute *attr, char *buf) argument 140 qeth_dev_portname_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 153 qeth_dev_prioqing_show(struct device *dev, struct device_attribute *attr, char *buf) argument 175 qeth_dev_prioqing_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 240 qeth_dev_bufcnt_show(struct device *dev, struct device_attribute *attr, char *buf) argument 248 qeth_dev_bufcnt_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 276 qeth_dev_recover_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 298 qeth_dev_performance_stats_show(struct device *dev, struct device_attribute *attr, char *buf) argument 304 qeth_dev_performance_stats_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 333 qeth_dev_layer2_show(struct device *dev, struct device_attribute *attr, char *buf) argument 341 qeth_dev_layer2_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 406 qeth_dev_isolation_show(struct device *dev, struct device_attribute *attr, char *buf) argument 423 qeth_dev_isolation_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 465 qeth_dev_switch_attrs_show(struct device *dev, struct device_attribute *attr, char *buf) argument 499 qeth_hw_trap_show(struct device *dev, struct device_attribute *attr, char *buf) argument 510 qeth_hw_trap_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 551 qeth_dev_blkt_store(struct qeth_card *card, const char *buf, size_t count, int *value, int max_value) argument 573 qeth_dev_blkt_total_show(struct device *dev, struct device_attribute *attr, char *buf) argument 581 qeth_dev_blkt_total_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 593 qeth_dev_blkt_inter_show(struct device *dev, struct device_attribute *attr, char *buf) argument 601 qeth_dev_blkt_inter_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 613 qeth_dev_blkt_inter_jumbo_show(struct device *dev, struct device_attribute *attr, char *buf) argument 621 qeth_dev_blkt_inter_jumbo_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument [all...] |
/linux-master/drivers/rtc/ |
H A D | rtc-pcf8563.c | 87 unsigned char length, unsigned char *buf) 93 .buf = ®, 99 .buf = buf 113 unsigned char *buf) 118 unsigned char data[2] = { reg + i, buf[i] }; 134 unsigned char buf; local 137 err = pcf8563_read_block_data(client, PCF8563_REG_ST2, 1, &buf); 142 buf |= PCF8563_BIT_AIE; 144 buf 86 pcf8563_read_block_data(struct i2c_client *client, unsigned char reg, unsigned char length, unsigned char *buf) argument 111 pcf8563_write_block_data(struct i2c_client *client, unsigned char reg, unsigned char length, unsigned char *buf) argument 160 unsigned char buf; local 202 unsigned char buf[9]; local 248 unsigned char buf[9]; local 298 unsigned char buf[4]; local 330 unsigned char buf[4]; local 370 unsigned char buf; local 397 unsigned char buf; local 421 unsigned char buf; local 450 unsigned char buf; local 475 unsigned char buf; local 516 unsigned char buf; local [all...] |
/linux-master/drivers/mfd/ |
H A D | tps6594-spi.c | 30 u8 buf[4] = { 0 }; local 34 buf[0] = reg; 35 buf[1] = TPS6594_REG_TO_PAGE(reg) << TPS6594_SPI_PAGE_SHIFT | TPS6594_SPI_READ_BIT; 40 ret = spi_write_then_read(spi, buf, 2, buf + 2, count_rx); 44 if (tps->use_crc && buf[3] != crc8(tps6594_spi_crc_table, buf, 3, CRC8_INIT_VALUE)) 47 *val = buf[2]; 56 u8 buf[4] = { 0 }; local 59 buf[ [all...] |
/linux-master/drivers/media/usb/uvc/ |
H A D | uvc_debugfs.c | 30 struct uvc_debugfs_buffer *buf; local 32 buf = kmalloc(sizeof(*buf), GFP_KERNEL); 33 if (buf == NULL) 36 buf->count = uvc_video_stats_dump(stream, buf->data, sizeof(buf->data)); 38 file->private_data = buf; 45 struct uvc_debugfs_buffer *buf = file->private_data; local 47 return simple_read_from_buffer(user_buf, nbytes, ppos, buf [all...] |
/linux-master/arch/s390/crypto/ |
H A D | crc32le-vx.c | 80 * @buf: Input buffer pointer, performance might be improved if the 92 static u32 crc32_le_vgfm_generic(u32 crc, unsigned char const *buf, size_t size, unsigned long *constants) argument 108 fpu_vlm(1, 4, buf); 115 buf += 64; 119 fpu_vlm(5, 8, buf); 135 buf += 64; 149 fpu_vl(2, buf); 152 buf += 16; 232 u32 crc32_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size) argument 234 return crc32_le_vgfm_generic(crc, buf, siz 237 crc32c_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size) argument [all...] |
/linux-master/drivers/char/tpm/ |
H A D | tpm2-cmd.c | 166 struct tpm_buf buf; local 186 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_PCR_READ); 192 tpm_buf_append_u32(&buf, 1); 193 tpm_buf_append_u16(&buf, digest->alg_id); 194 tpm_buf_append_u8(&buf, TPM2_PCR_SELECT_MIN); 195 tpm_buf_append(&buf, (const unsigned char *)pcr_select, 198 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to read a pcr value"); 202 out = (struct tpm2_pcr_read_out *)&buf.data[TPM_HEADER_SIZE]; 215 tpm_buf_destroy(&buf); 238 struct tpm_buf buf; local 291 struct tpm_buf buf; local 350 struct tpm_buf buf; local 390 struct tpm_buf buf; local 431 struct tpm_buf buf; local 457 struct tpm_buf buf; local 495 struct tpm_buf buf; local 551 struct tpm_buf buf; local 629 struct tpm_buf buf; local 709 struct tpm_buf buf; local [all...] |
/linux-master/drivers/staging/media/av7110/ |
H A D | av7110_ipack.c | 25 void (*func)(u8 *buf, int size, void *priv)) 27 if (!(p->buf = vmalloc(size))) { 41 vfree(p->buf); 58 p->buf[3] = p->cid; 59 p->buf[4] = (u8)(((p->count - 6) & 0xff00) >> 8); 60 p->buf[5] = (u8)((p->count - 6) & 0x00ff); 62 off = 9 + p->buf[8]; 63 streamid = p->buf[off]; 66 ac3_off = ((p->buf[off + 2] << 8)| 67 p->buf[of 24 av7110_ipack_init(struct ipack *p, int size, void (*func)(u8 *buf, int size, void *priv)) argument 146 av7110_ipack_instant_repack(const u8 *buf, int count, struct ipack *p) argument [all...] |
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_tmpl.c | 15 qla27xx_insert16(uint16_t value, void *buf, ulong *len) argument 17 if (buf) { 18 buf += *len; 19 *(__le16 *)buf = cpu_to_le16(value); 25 qla27xx_insert32(uint32_t value, void *buf, ulong *len) argument 27 if (buf) { 28 buf += *len; 29 *(__le32 *)buf = cpu_to_le32(value); 35 qla27xx_insertbuf(void *mem, ulong size, void *buf, ulong *len) argument 37 if (buf 45 qla27xx_read8(void __iomem *window, void *buf, ulong *len) argument 56 qla27xx_read16(void __iomem *window, void *buf, ulong *len) argument 67 qla27xx_read32(void __iomem *window, void *buf, ulong *len) argument 86 qla27xx_read_reg(__iomem struct device_reg_24xx *reg, uint offset, void *buf, ulong *len) argument 95 qla27xx_write_reg(__iomem struct device_reg_24xx *reg, uint offset, uint32_t data, void *buf) argument 106 qla27xx_read_window(__iomem struct device_reg_24xx *reg, uint32_t addr, uint offset, uint count, uint width, void *buf, ulong *len) argument 123 qla27xx_skip_entry(struct qla27xx_fwdt_entry *ent, void *buf) argument 136 qla27xx_fwdt_entry_t0(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 147 qla27xx_fwdt_entry_t255(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 159 qla27xx_fwdt_entry_t256(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 169 qla27xx_read_window(ISPREG(vha), addr, offset, count, width, buf, len); local 175 qla27xx_fwdt_entry_t257(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 184 qla27xx_write_reg(ISPREG(vha), IOBASE(vha), addr, buf); local 185 qla27xx_write_reg(ISPREG(vha), offset, data, buf); local 191 qla27xx_fwdt_entry_t258(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 203 qla27xx_write_reg(ISPREG(vha), banksel, bank, buf); local 204 qla27xx_read_window(ISPREG(vha), addr, offset, count, width, buf, len); local 210 qla27xx_fwdt_entry_t259(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 221 qla27xx_write_reg(ISPREG(vha), IOBASE(vha), addr, buf); local 222 qla27xx_write_reg(ISPREG(vha), banksel, bank, buf); local 223 qla27xx_write_reg(ISPREG(vha), offset, data, buf); local 229 qla27xx_fwdt_entry_t260(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 237 qla27xx_read_reg(ISPREG(vha), offset, buf, len); local 243 qla27xx_fwdt_entry_t261(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 251 qla27xx_write_reg(ISPREG(vha), offset, data, buf); local 257 qla27xx_fwdt_entry_t262(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 326 qla27xx_fwdt_entry_t263(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 393 qla27xx_fwdt_entry_t264(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 421 qla27xx_fwdt_entry_t265(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 433 qla27xx_fwdt_entry_t266(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 450 qla27xx_fwdt_entry_t267(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 458 qla27xx_write_reg(ISPREG(vha), offset, data, buf); local 464 qla27xx_fwdt_entry_t268(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 534 qla27xx_fwdt_entry_t269(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 551 qla27xx_fwdt_entry_t270(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 559 qla27xx_write_reg(ISPREG(vha), IOBASE_ADDR, 0x40, buf); local 561 qla27xx_write_reg(ISPREG(vha), 0xc0, addr|0x80000000, buf); local 563 qla27xx_read_reg(ISPREG(vha), 0xc4, buf, len); local 571 qla27xx_fwdt_entry_t271(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 579 qla27xx_write_reg(ISPREG(vha), IOBASE(vha), 0x40, buf); local 580 qla27xx_write_reg(ISPREG(vha), 0xc4, data, buf); local 581 qla27xx_write_reg(ISPREG(vha), 0xc0, addr, buf); local 587 qla27xx_fwdt_entry_t272(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 607 qla27xx_fwdt_entry_t273(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 630 qla27xx_fwdt_entry_t274(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 692 qla27xx_fwdt_entry_t275(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 721 qla27xx_fwdt_entry_t276(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 746 qla27xx_fwdt_entry_t277(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 756 qla27xx_write_reg(ISPREG(vha), cmd_addr, wr_cmd_data, buf); local 757 qla27xx_read_reg(ISPREG(vha), data_addr, buf, len); local 763 qla27xx_fwdt_entry_t278(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 773 qla27xx_write_reg(ISPREG(vha), data_addr, wr_data, buf); local 774 qla27xx_write_reg(ISPREG(vha), cmd_addr, wr_cmd_data, buf); local 780 qla27xx_fwdt_entry_other(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument 838 qla27xx_walk_template(struct scsi_qla_host *vha, struct qla27xx_fwdt_template *tmp, void *buf, ulong *len) argument 920 __le32 *buf = p; local 947 qla27xx_execute_fwdt_template(struct scsi_qla_host *vha, struct qla27xx_fwdt_template *tmp, void *buf) argument 1017 void *buf = vha->hw->mpi_fw_dump; local 1075 void *buf = vha->hw->fw_dump; local [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | reconfig.c | 104 * @buf: input buffer, must be nul-terminated 106 * @name: return value; set to property name in buf 108 * @value: return value; set to the property value in buf 112 * is set to the next name in buf, or NULL on error. 114 static char * parse_next_property(char *buf, char *end, char **name, int *length, argument 119 *name = buf; 121 tmp = strchr(buf, ' '); 194 static int do_add_node(char *buf, size_t bufsize) argument 202 end = buf + bufsize; 203 path = buf; 240 do_remove_node(char *buf) argument 252 parse_node(char *buf, size_t bufsize, struct device_node **npp) argument 272 do_add_property(char *buf, size_t bufsize) argument 297 do_remove_property(char *buf, size_t bufsize) argument 316 do_update_property(char *buf, size_t bufsize) argument 358 ofdt_write(struct file *file, const char __user *buf, size_t count, loff_t *off) argument [all...] |
/linux-master/drivers/soundwire/ |
H A D | intel_ace2x_debugfs.c | 25 char *buf, size_t pos, unsigned int reg) 34 return scnprintf(buf + pos, RD_BUF - pos, "%4x\t%4x\n", reg, value); 45 char *buf; local 48 buf = kzalloc(RD_BUF, GFP_KERNEL); 49 if (!buf) 52 ret = scnprintf(buf, RD_BUF, "Register Value\n"); 53 ret += scnprintf(buf + ret, RD_BUF - ret, "\nShim\n"); 55 ret += intel_sprintf(s, true, buf, ret, SDW_SHIM2_LECAP); 56 ret += intel_sprintf(s, false, buf, ret, SDW_SHIM2_PCMSCAP); 62 ret += intel_sprintf(s, false, buf, re 24 intel_sprintf(void __iomem *mem, bool l, char *buf, size_t pos, unsigned int reg) argument [all...] |
/linux-master/drivers/media/dvb-frontends/ |
H A D | tda826x.c | 41 u8 buf [] = { 0x00, 0x8d }; local 42 struct i2c_msg msg = { .addr = priv->i2c_address, .flags = 0, .buf = buf, .len = 2 }; 47 buf[1] = 0xad; 68 u8 buf [11]; local 69 struct i2c_msg msg = { .addr = priv->i2c_address, .flags = 0, .buf = buf, .len = 11 }; 84 buf[0] = 0x00; // subaddress 85 buf[1] = 0x09; // powerdown RSSI + the magic value 1 87 buf[ [all...] |
/linux-master/fs/ |
H A D | readdir.c | 186 struct readdir_callback *buf = local 191 if (buf->result) 193 buf->result = verify_dirent_name(name, namlen); 194 if (buf->result) 198 buf->result = -EOVERFLOW; 201 buf->result++; 202 dirent = buf->dirent; 216 buf->result = -EFAULT; 225 struct readdir_callback buf = { local 233 error = iterate_dir(f.file, &buf 266 struct getdents_callback *buf = local 315 struct getdents_callback buf = { local 354 struct getdents_callback64 *buf = local 398 struct getdents_callback64 buf = { local 444 struct compat_readdir_callback *buf = local 483 struct compat_readdir_callback buf = { local 518 struct compat_getdents_callback *buf = local 566 struct compat_getdents_callback buf = { local [all...] |
/linux-master/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945-debug.c | 15 il3945_stats_flag(struct il_priv *il, char *buf, int bufsz) argument 19 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", 22 p += scnprintf(buf + p, bufsz - p, 24 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", 27 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", 39 char *buf; local 52 buf = kzalloc(bufsz, GFP_KERNEL); 53 if (!buf) { 76 pos += il3945_stats_flag(il, buf, bufsz); 78 scnprintf(buf 304 char *buf; local 394 char *buf; local [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | stdio.h | 15 extern int sprintf(char *buf, const char *fmt, ...) 18 extern int vsprintf(char *buf, const char *fmt, va_list args);
|
H A D | ofconsole.c | 34 static void of_console_write(const char *buf, int len) argument 36 of_call_prom("write", 3, 1, of_stdout_handle, buf, len);
|
/linux-master/drivers/net/wireless/ath/ath6kl/ |
H A D | testmode.h | 22 void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len); 28 static inline void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, argument
|
/linux-master/arch/um/drivers/ |
H A D | slirp.h | 30 extern int slirp_user_read(int fd, void *buf, int len, struct slirp_data *pri); 31 extern int slirp_user_write(int fd, void *buf, int len,
|
H A D | slip.h | 18 extern int slip_user_read(int fd, void *buf, int len, struct slip_data *pri); 19 extern int slip_user_write(int fd, void *buf, int len, struct slip_data *pri);
|
H A D | vde.h | 29 extern int vde_user_read(void *conn, void *buf, int len); 30 extern int vde_user_write(void *conn, void *buf, int len);
|
/linux-master/tools/testing/selftests/proc/ |
H A D | setns-dcache.c | 93 char buf[64]; local 94 snprintf(buf, sizeof(buf), "/proc/%u/ns/net", pid); 95 nsfd = open(buf, O_RDONLY); 112 char buf[4096]; local 122 rv = read(fd, buf, sizeof(buf)); 125 assert(memcmp(buf, S, strlen(S)) == 0);
|
/linux-master/drivers/media/pci/tw5864/ |
H A D | tw5864-h264.c | 25 u8 *buf; /* pointer to buffer beginning */ member in struct:bs 31 static void bs_init(struct bs *s, void *buf, int size) argument 33 s->buf = buf; 34 s->ptr = buf; 41 return s->ptr - s->buf; 101 static int tw5864_h264_gen_sps_rbsp(u8 *buf, size_t size, int width, int height) argument 106 bs_init(s, buf, size); 130 static int tw5864_h264_gen_pps_rbsp(u8 *buf, size_t size, int qp) argument 135 bs_init(s, buf, siz 155 tw5864_h264_gen_slice_head(u8 *buf, size_t size, unsigned int idr_pic_id, unsigned int frame_gop_seqno, int *tail_nb_bits, u8 *tail) argument 197 tw5864_h264_put_stream_header(u8 **buf, size_t *space_left, int qp, int width, int height) argument 229 tw5864_h264_put_slice_header(u8 **buf, size_t *space_left, unsigned int idr_pic_id, unsigned int frame_gop_seqno, int *tail_nb_bits, u8 *tail) argument [all...] |
/linux-master/tools/lib/ |
H A D | vsprintf.c | 6 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) argument 8 int i = vsnprintf(buf, size, fmt, args); 14 int scnprintf(char * buf, size_t size, const char * fmt, ...) argument 21 i = vsnprintf(buf, size, fmt, args); 27 int scnprintf_pad(char * buf, size_t size, const char * fmt, ...) argument 34 i = vscnprintf(buf, size, fmt, args); 39 buf[i] = ' '; 40 buf[i] = 0x0;
|
/linux-master/drivers/mtd/parsers/ |
H A D | parser_imagetag.c | 29 loff_t tag_offset, struct bcm_tag *buf) 35 ret = mtd_read(master, tag_offset, sizeof(*buf), &retlen, (void *)buf); 39 if (retlen != sizeof(*buf)) 42 computed_crc = crc32_le(IMAGETAG_CRC_START, (u8 *)buf, 44 if (computed_crc == buf->header_crc) { 45 STR_NULL_TERMINATE(buf->board_id); 46 STR_NULL_TERMINATE(buf->tag_version); 49 name, tag_offset, buf->tag_version, buf 28 bcm963xx_read_imagetag(struct mtd_info *master, const char *name, loff_t tag_offset, struct bcm_tag *buf) argument 65 struct bcm_tag *buf = NULL; local [all...] |