Searched refs:buf (Results 201 - 225 of 8632) sorted by relevance

1234567891011>>

/linux-master/drivers/media/pci/cx23885/
H A Dcx23885-f300.c73 static u8 f300_xfer(struct dvb_frontend *fe, u8 *buf) argument
79 temp = buf[0];
80 for (i = 0; i < buf[0]; i++)
81 temp += buf[i + 1];
83 buf[1 + buf[0]] = temp;
98 temp = buf[0];
101 f300_send_byte(dev, buf[i]);
139 u8 buf[16]; local
141 buf[
[all...]
/linux-master/fs/squashfs/
H A Dxz_wrapper.c26 struct xz_buf buf; member in struct:squashfs_xz
129 stream->buf.in_pos = 0;
130 stream->buf.in_size = 0;
131 stream->buf.out_pos = 0;
132 stream->buf.out_size = PAGE_SIZE;
133 stream->buf.out = squashfs_first_page(output);
134 if (IS_ERR(stream->buf.out)) {
135 error = PTR_ERR(stream->buf.out);
142 if (stream->buf.in_pos == stream->buf
[all...]
/linux-master/drivers/rtc/
H A Drtc-em3027.c47 unsigned char buf[7]; local
53 .buf = &addr
59 .buf = buf
69 tm->tm_sec = bcd2bin(buf[0]);
70 tm->tm_min = bcd2bin(buf[1]);
71 tm->tm_hour = bcd2bin(buf[2]);
72 tm->tm_mday = bcd2bin(buf[3]);
73 tm->tm_wday = bcd2bin(buf[4]);
74 tm->tm_mon = bcd2bin(buf[
83 unsigned char buf[8]; local
[all...]
H A Drtc-pcf8563.c87 unsigned char length, unsigned char *buf)
93 .buf = &reg,
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/media/v4l2-core/
H A Dv4l2-cci.c23 u8 buf[8]; local
33 ret = regmap_bulk_read(map, reg, buf, len);
42 *val = buf[0];
46 *val = get_unaligned_le16(buf);
48 *val = get_unaligned_be16(buf);
52 *val = get_unaligned_le24(buf);
54 *val = get_unaligned_be24(buf);
58 *val = get_unaligned_le32(buf);
60 *val = get_unaligned_be32(buf);
64 *val = get_unaligned_le64(buf);
87 u8 buf[8]; local
[all...]
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c25 static int get_integer(const char *buf, size_t count) argument
33 memcpy(tmp, buf, count);
41 static int get_boolean(const char *buf, size_t count) argument
44 if (buf[0] == '1')
46 if (buf[0] == '0')
48 if (count >= 4 && memcmp(buf, "true", 4) == 0)
50 if (count >= 5 && memcmp(buf, "false", 5) == 0)
52 if (count >= 3 && memcmp(buf, "yes", 3) == 0)
54 if (count >= 2 && memcmp(buf, "no", 2) == 0)
56 if (count >= 2 && memcmp(buf, "o
64 b43legacy_attr_interfmode_show(struct device *dev, struct device_attribute *attr, char *buf) argument
96 b43legacy_attr_interfmode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
143 b43legacy_attr_preamble_show(struct device *dev, struct device_attribute *attr, char *buf) argument
165 b43legacy_attr_preamble_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A Ddebug.c205 char *buf; local
212 buf = kzalloc(bufsz, GFP_KERNEL);
213 if (!buf)
215 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n");
218 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n",
221 pos += scnprintf(buf + pos, bufsz - pos, "Control\n");
224 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n",
227 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n");
229 scnprintf(buf + pos, bufsz - pos, "\tcnt: %u\n",
232 scnprintf(buf
246 char buf[8]; local
266 char *buf; local
309 char *buf; local
368 char buf[64]; local
395 char *buf; local
460 char *buf; local
504 char *buf; local
581 char buf[512]; local
644 char *buf; local
720 char buf[8]; local
742 char buf[256]; local
766 char buf[8]; local
792 char buf[100]; local
819 char *buf; local
865 char buf[256]; local
922 char *buf; local
1021 char *buf; local
1089 char buf[60]; local
1114 char buf[8]; local
1140 char buf[20]; local
1153 char buf[20]; local
1165 char *buf; local
1189 char buf[12]; local
1204 char buf[8]; local
1231 char buf[300]; local
1274 char buf[8]; local
[all...]
H A D3945-debug.c15 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/tools/testing/selftests/proc/
H A Dproc-pid-vm.c161 char buf[64]; local
206 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", fd);
207 fd1 = open(buf, O_RDONLY|O_CLOEXEC);
356 char buf[256]; local
360 snprintf(buf, sizeof(buf), "/proc/%u/maps", pid);
361 fd = open(buf, O_RDONLY);
365 rv = read(fd, buf, sizeof(buf));
375 char buf[4096]; local
431 char buf[1024]; local
467 char buf[64]; local
[all...]
/linux-master/sound/usb/caiaq/
H A Dinput.c191 int axis, const unsigned char *buf,
195 (buf[offset * 2] << 8) | buf[offset * 2 + 1]);
199 const unsigned char *buf,
206 snd_caiaq_input_report_abs(cdev, ABS_X, buf, 2);
207 snd_caiaq_input_report_abs(cdev, ABS_Y, buf, 0);
208 snd_caiaq_input_report_abs(cdev, ABS_Z, buf, 1);
213 snd_caiaq_input_report_abs(cdev, ABS_X, buf, 0);
214 snd_caiaq_input_report_abs(cdev, ABS_Y, buf, 1);
215 snd_caiaq_input_report_abs(cdev, ABS_Z, buf,
190 snd_caiaq_input_report_abs(struct snd_usb_caiaqdev *cdev, int axis, const unsigned char *buf, int offset) argument
198 snd_caiaq_input_read_analog(struct snd_usb_caiaqdev *cdev, const unsigned char *buf, unsigned int len) argument
232 snd_caiaq_input_read_erp(struct snd_usb_caiaqdev *cdev, const char *buf, unsigned int len) argument
290 snd_caiaq_input_read_io(struct snd_usb_caiaqdev *cdev, unsigned char *buf, unsigned int len) argument
327 snd_usb_caiaq_tks4_dispatch(struct snd_usb_caiaqdev *cdev, const unsigned char *buf, unsigned int len) argument
473 snd_usb_caiaq_maschine_dispatch(struct snd_usb_caiaqdev *cdev, const unsigned char *buf, unsigned int len) argument
493 unsigned char *buf = urb->transfer_buffer; local
567 snd_usb_caiaq_input_dispatch(struct snd_usb_caiaqdev *cdev, char *buf, unsigned int len) argument
[all...]
/linux-master/drivers/scsi/
H A Dscsi_common.c277 * @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 Dbts.c61 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 Dqeth_core_sys.c20 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/mfd/
H A Dtps6594-spi.c30 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 Duvc_debugfs.c30 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 Dcrc32le-vx.c80 * @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/tools/perf/arch/arm64/util/
H A Dheader.c17 static int _get_cpuid(char *buf, size_t sz, struct perf_cpu_map *cpus) argument
39 if (!fgets(buf, MIDR_SIZE, file)) {
53 int get_cpuid(char *buf, size_t sz) argument
61 ret = _get_cpuid(buf, sz, cpus);
70 char *buf = NULL; local
76 buf = malloc(MIDR_SIZE);
77 if (!buf)
81 res = _get_cpuid(buf, MIDR_SIZE, pmu->cpus);
84 free(buf);
85 buf
[all...]
/linux-master/drivers/staging/media/av7110/
H A Dav7110_ipack.c25 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 Dqla_tmpl.c15 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 Dreconfig.c104 * @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 Dintel_ace2x_debugfs.c25 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 Dtda826x.c41 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/drivers/char/tpm/
H A Dtpm2-sessions.c58 * buf in the same way tpm_buf_append_auth does().
269 static void tpm_buf_append_salt(struct tpm_buf *buf, struct tpm_chip *chip) argument
279 tpm_buf_append_u16(buf, (EC_PT_SZ + 2)*2);
286 tpm_buf_append_u16(buf, EC_PT_SZ);
287 x = &buf->data[tpm_buf_length(buf)];
288 tpm_buf_append(buf, encoded_key, EC_PT_SZ);
289 tpm_buf_append_u16(buf, EC_PT_SZ);
290 y = &buf->data[tpm_buf_length(buf)];
372 tpm_buf_append_hmac_session(struct tpm_chip *chip, struct tpm_buf *buf, u8 attributes, u8 *passphrase, int passphrase_len) argument
440 tpm_buf_fill_hmac_session(struct tpm_chip *chip, struct tpm_buf *buf) argument
570 tpm2_parse_read_public(char *name, struct tpm_buf *buf) argument
596 struct tpm_buf buf; local
635 tpm_buf_append_name(struct tpm_chip *chip, struct tpm_buf *buf, u32 handle, u8 *name) argument
695 tpm_buf_check_hmac_response(struct tpm_chip *chip, struct tpm_buf *buf, int rc) argument
832 tpm2_parse_start_auth_session(struct tpm2_auth *auth, struct tpm_buf *buf) argument
905 struct tpm_buf buf; local
988 tpm2_parse_create_primary(struct tpm_chip *chip, struct tpm_buf *buf, u32 *handle, u32 hierarchy, u8 *name) argument
1169 struct tpm_buf buf; local
[all...]
/linux-master/fs/
H A Dreaddir.c186 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/arch/powerpc/boot/
H A Dstdio.h15 extern int sprintf(char *buf, const char *fmt, ...)
18 extern int vsprintf(char *buf, const char *fmt, va_list args);

Completed in 412 milliseconds

1234567891011>>