Searched refs:buf (Results 176 - 200 of 3765) sorted by relevance

1234567891011>>

/drivers/media/dvb-frontends/
H A Dcxd2820r_c.c29 u8 buf[2]; local
83 buf[0] = (if_ctl >> 8) & 0x3f;
84 buf[1] = (if_ctl >> 0) & 0xff;
86 ret = cxd2820r_wr_regs(priv, 0x10042, buf, 2);
109 u8 buf[2]; local
111 ret = cxd2820r_rd_regs(priv, 0x1001a, buf, 2);
115 c->symbol_rate = 2500 * ((buf[0] & 0x0f) << 8 | buf[1]);
117 ret = cxd2820r_rd_reg(priv, 0x10019, &buf[0]);
121 switch ((buf[
158 u8 buf[3], start_ber = 0; local
193 u8 buf[2]; local
266 u8 buf[2]; local
[all...]
H A Dtda8261.c39 static int tda8261_read(struct tda8261_state *state, u8 *buf) argument
43 struct i2c_msg msg = { .addr = config->addr, .flags = I2C_M_RD,.buf = buf, .len = 1 };
51 static int tda8261_write(struct tda8261_state *state, u8 *buf) argument
55 struct i2c_msg msg = { .addr = config->addr, .flags = 0, .buf = buf, .len = 4 };
116 u8 buf[4]; local
134 buf[0] = (N >> 8) & 0xff;
135 buf[1] = N & 0xff;
136 buf[
[all...]
/drivers/media/usb/dvb-usb/
H A Daf9005.c318 u8 temp, buf[2]; local
320 buf[0] = addr; /* tuner i2c address */
321 buf[1] = values[0]; /* tuner register */
327 ret = af9005_write_tuner_registers(d, 0x00c0, buf, 2);
368 u8 buf[3]; local
374 buf[0] = i2caddr;
375 buf[1] = reg + (u8) i;
376 buf[2] = data[i];
380 buf, 3);
431 reg = *msg[0].buf;
467 u8 buf[64]; local
567 u8 buf[FW_BULKOUT_SIZE + 2]; local
723 u8 buf[FW_BULKOUT_SIZE + 2]; local
800 u8 buf[8]; local
[all...]
H A Dvp702x-fe.c45 u8 *buf; local
49 buf = dst->buf;
51 vp702x_usb_in_op(st->d, READ_STATUS, 0, 0, buf, 10);
52 st->lock = buf[4];
54 vp702x_usb_in_op(st->d, READ_TUNER_REG_REQ, 0x11, 0, buf, 1);
55 st->snr = buf[0];
57 vp702x_usb_in_op(st->d, READ_TUNER_REG_REQ, 0x15, 0, buf, 1);
58 st->sig = buf[0];
66 static u8 vp702x_chksum(u8 *buf,in argument
256 u8 *buf; local
290 u8 *buf; local
[all...]
/drivers/rtc/
H A Drtc-ds3234.c38 unsigned char buf[2]; local
41 buf[0] = address | 0x80;
42 buf[1] = data;
44 return spi_write_then_read(spi, buf, 2, NULL, 0);
60 unsigned char buf[8]; local
63 buf[0] = 0x00; /* Start address */
65 err = spi_write_then_read(spi, buf, 1, buf, 8);
70 dt->tm_sec = bcd2bin(buf[0]);
71 dt->tm_min = bcd2bin(buf[
[all...]
/drivers/usb/serial/
H A Diuu_phoenix.c63 u8 *buf; /* used for initialize speed */ member in struct:iuu_private
80 priv->buf = kzalloc(256, GFP_KERNEL);
81 if (!priv->buf) {
88 kfree(priv->buf);
101 kfree(priv->buf);
115 kfree(priv->buf);
277 static int bulk_immediate(struct usb_serial_port *port, u8 *buf, u8 count) argument
288 port->bulk_out_endpointAddress), buf,
298 static int read_immediate(struct usb_serial_port *port, u8 *buf, u8 count) argument
308 port->bulk_in_endpointAddress), buf,
322 u8 *buf; local
344 iuu_rgbf_fill_buffer(u8 *buf, u8 r1, u8 r2, u8 g1, u8 g2, u8 b1, u8 b2, u8 freq) argument
704 iuu_uart_write(struct tty_struct *tty, struct usb_serial_port *port, const u8 *buf, int count) argument
746 u8 *buf; local
776 u8 *buf; local
969 u8 *buf; local
1105 u8 *buf; local
1132 vcc_mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1141 vcc_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/drivers/media/dvb-core/
H A Ddvb_filter.c31 void (*pes_write)(u8 *buf, int count, void *data),
44 static void ts_to_pes(ipack *p, u8 *buf) // don't need count (=188)
48 if (!buf || !p ){
52 if (buf[1]&PAY_START) {
60 if (buf[3] & ADAPT_FIELD) { // adaptation field?
61 off = buf[4] + 1;
64 dvb_filter_instant_repack(buf+4+off, TS_SIZE-4-off, p);
400 u8 *buf = inbuf;
411 if (buf[7] & PTS_ONLY)
412 pts = buf
559 unsigned char *buf=p2ts->buf; local
573 unsigned char *buf=p2ts->buf; local
[all...]
/drivers/video/fbdev/omap2/dss/
H A Doverlay-sysfs.c34 static ssize_t overlay_name_show(struct omap_overlay *ovl, char *buf) argument
36 return snprintf(buf, PAGE_SIZE, "%s\n", ovl->name);
39 static ssize_t overlay_manager_show(struct omap_overlay *ovl, char *buf) argument
41 return snprintf(buf, PAGE_SIZE, "%s\n",
45 static ssize_t overlay_manager_store(struct omap_overlay *ovl, const char *buf, argument
53 if (buf[size-1] == '\n')
60 if (sysfs_streq(buf, mgr->name))
116 static ssize_t overlay_input_size_show(struct omap_overlay *ovl, char *buf) argument
122 return snprintf(buf, PAGE_SIZE, "%d,%d\n",
126 static ssize_t overlay_screen_width_show(struct omap_overlay *ovl, char *buf) argument
135 overlay_position_show(struct omap_overlay *ovl, char *buf) argument
145 overlay_position_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
174 overlay_output_size_show(struct omap_overlay *ovl, char *buf) argument
184 overlay_output_size_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
213 overlay_enabled_show(struct omap_overlay *ovl, char *buf) argument
218 overlay_enabled_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
239 overlay_global_alpha_show(struct omap_overlay *ovl, char *buf) argument
249 overlay_global_alpha_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
280 overlay_pre_mult_alpha_show(struct omap_overlay *ovl, char *buf) argument
291 overlay_pre_mult_alpha_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
322 overlay_zorder_show(struct omap_overlay *ovl, char *buf) argument
331 overlay_zorder_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
405 overlay_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument
420 overlay_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t size) argument
[all...]
H A Dmanager-sysfs.c34 static ssize_t manager_name_show(struct omap_overlay_manager *mgr, char *buf) argument
36 return snprintf(buf, PAGE_SIZE, "%s\n", mgr->name);
39 static ssize_t manager_display_show(struct omap_overlay_manager *mgr, char *buf) argument
43 return snprintf(buf, PAGE_SIZE, "%s\n", dssdev ?
55 const char *buf, size_t size)
62 if (buf[size-1] == '\n')
66 dssdev = omap_dss_find_device((void *)buf,
128 char *buf)
134 return snprintf(buf, PAGE_SIZE, "%#x\n", info.default_color);
138 const char *buf, size_
54 manager_display_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument
127 manager_default_color_show(struct omap_overlay_manager *mgr, char *buf) argument
137 manager_default_color_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument
168 manager_trans_key_type_show(struct omap_overlay_manager *mgr, char *buf) argument
182 manager_trans_key_type_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument
213 manager_trans_key_value_show(struct omap_overlay_manager *mgr, char *buf) argument
223 manager_trans_key_value_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument
249 manager_trans_key_enabled_show(struct omap_overlay_manager *mgr, char *buf) argument
259 manager_trans_key_enabled_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument
285 manager_alpha_blending_enabled_show( struct omap_overlay_manager *mgr, char *buf) argument
299 manager_alpha_blending_enabled_store( struct omap_overlay_manager *mgr, const char *buf, size_t size) argument
329 manager_cpr_enable_show(struct omap_overlay_manager *mgr, char *buf) argument
339 manager_cpr_enable_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument
371 manager_cpr_coef_show(struct omap_overlay_manager *mgr, char *buf) argument
391 manager_cpr_coef_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument
478 manager_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument
493 manager_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t size) argument
[all...]
/drivers/mtd/
H A Dbcm63xxpart.c48 char buf[9]; local
53 (void *)buf);
54 buf[retlen] = 0;
59 if (strncmp("cfe-v", buf, 5) == 0)
64 (void *)buf);
65 buf[retlen] = 0;
67 return strncmp("CFE1CFE1", buf, 8);
76 struct bcm_tag *buf; local
99 buf = vmalloc(sizeof(struct bcm_tag));
100 if (!buf)
[all...]
H A Dbcm47xxpart.c63 uint32_t *buf; local
81 buf = kzalloc(BCM47XXPART_BYTES_TO_READ, GFP_KERNEL);
82 if (!buf) {
101 &bytes_read, (uint8_t *)buf) < 0) {
108 if ((buf[0x4e0 / 4] == CFE_MAGIC && buf[0x4e4 / 4] == CFE_MAGIC) ||
109 (buf[0x400 / 4] == NVRAM_HEADER)) {
119 if (buf[0x100 / 4] == BOARD_DATA_MAGIC) {
126 if (buf[0x000 / 4] == FACTORY_MAGIC) {
133 if (buf[
[all...]
/drivers/char/
H A Dvirtio_console.c106 char *buf; member in struct:port_buffer
108 /* size of the buffer in *buf above */
113 /* offset in the buf from which to consume data */
125 /* If sgpages == 0 then buf is used */
364 static void free_buf(struct port_buffer *buf, bool can_sleep) argument
368 for (i = 0; i < buf->sgpages; i++) {
369 struct page *page = sg_page(&buf->sg[i]);
375 if (!buf->dev) {
376 kfree(buf->buf);
400 struct port_buffer *buf, *tmp; local
422 struct port_buffer *buf; local
481 struct port_buffer *buf; local
502 add_inbuf(struct virtqueue *vq, struct port_buffer *buf) argument
519 struct port_buffer *buf; local
601 struct port_buffer *buf; local
675 struct port_buffer *buf; local
817 struct port_buffer *buf; local
873 pipe_to_sg(struct pipe_inode_info *pipe, struct pipe_buffer *buf, struct splice_desc *sd) argument
924 struct port_buffer *buf; local
1127 put_chars(u32 vtermno, const char *buf, int count) argument
1150 get_chars(u32 vtermno, char *buf, int count) argument
1304 char *buf; local
1358 struct port_buffer *buf; local
1392 struct port_buffer *buf; local
1529 struct port_buffer *buf; local
1605 handle_control_message(struct ports_device *portdev, struct port_buffer *buf) argument
1742 struct port_buffer *buf; local
1956 struct port_buffer *buf; local
[all...]
/drivers/firmware/
H A Dedd.c54 #define left (PAGE_SIZE - (p - buf) - 1)
65 ssize_t(*show) (struct edd_device * edev, char *buf);
114 edd_attr_show(struct kobject * kobj, struct attribute *attr, char *buf) argument
121 ret = edd_attr->show(dev, buf);
130 edd_show_host_bus(struct edd_device *edev, char *buf) argument
133 char *p = buf;
139 if (!info || !buf)
172 return (p - buf);
176 edd_show_interface(struct edd_device *edev, char *buf) argument
179 char *p = buf;
242 edd_show_raw_data(struct edd_device *edev, char *buf) argument
264 edd_show_version(struct edd_device *edev, char *buf) argument
279 edd_show_mbr_signature(struct edd_device *edev, char *buf) argument
287 edd_show_extensions(struct edd_device *edev, char *buf) argument
313 edd_show_info_flags(struct edd_device *edev, char *buf) argument
343 edd_show_legacy_max_cylinder(struct edd_device *edev, char *buf) argument
358 edd_show_legacy_max_head(struct edd_device *edev, char *buf) argument
373 edd_show_legacy_sectors_per_track(struct edd_device *edev, char *buf) argument
388 edd_show_default_cylinders(struct edd_device *edev, char *buf) argument
403 edd_show_default_heads(struct edd_device *edev, char *buf) argument
418 edd_show_default_sectors_per_track(struct edd_device *edev, char *buf) argument
433 edd_show_sectors(struct edd_device *edev, char *buf) argument
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_hwmon.c39 nouveau_hwmon_show_temp(struct device *d, struct device_attribute *a, char *buf) argument
49 return snprintf(buf, PAGE_SIZE, "%d\n", temp * 1000);
56 struct device_attribute *a, char *buf)
58 return snprintf(buf, PAGE_SIZE, "%d\n", 100);
65 struct device_attribute *a, char *buf)
71 return snprintf(buf, PAGE_SIZE, "%d\n",
77 const char *buf, size_t count)
84 if (kstrtol(buf, 10, &value) == -EINVAL)
98 struct device_attribute *a, char *buf)
104 return snprintf(buf, PAGE_SIZ
55 nouveau_hwmon_show_temp1_auto_point1_pwm(struct device *d, struct device_attribute *a, char *buf) argument
64 nouveau_hwmon_temp1_auto_point1_temp(struct device *d, struct device_attribute *a, char *buf) argument
75 nouveau_hwmon_set_temp1_auto_point1_temp(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
97 nouveau_hwmon_temp1_auto_point1_temp_hyst(struct device *d, struct device_attribute *a, char *buf) argument
108 nouveau_hwmon_set_temp1_auto_point1_temp_hyst(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
130 nouveau_hwmon_max_temp(struct device *d, struct device_attribute *a, char *buf) argument
140 nouveau_hwmon_set_max_temp(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
160 nouveau_hwmon_max_temp_hyst(struct device *d, struct device_attribute *a, char *buf) argument
171 nouveau_hwmon_set_max_temp_hyst(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
192 nouveau_hwmon_critical_temp(struct device *d, struct device_attribute *a, char *buf) argument
203 nouveau_hwmon_set_critical_temp(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
225 nouveau_hwmon_critical_temp_hyst(struct device *d, struct device_attribute *a, char *buf) argument
236 nouveau_hwmon_set_critical_temp_hyst(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
258 nouveau_hwmon_emergency_temp(struct device *d, struct device_attribute *a, char *buf) argument
269 nouveau_hwmon_set_emergency_temp(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
291 nouveau_hwmon_emergency_temp_hyst(struct device *d, struct device_attribute *a, char *buf) argument
302 nouveau_hwmon_set_emergency_temp_hyst(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
325 nouveau_hwmon_show_name(struct device *dev, struct device_attribute *attr, char *buf) argument
333 nouveau_hwmon_show_update_rate(struct device *dev, struct device_attribute *attr, char *buf) argument
344 nouveau_hwmon_show_fan1_input(struct device *d, struct device_attribute *attr, char *buf) argument
357 nouveau_hwmon_get_pwm1_enable(struct device *d, struct device_attribute *a, char *buf) argument
373 nouveau_hwmon_set_pwm1_enable(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
397 nouveau_hwmon_get_pwm1(struct device *d, struct device_attribute *a, char *buf) argument
412 nouveau_hwmon_set_pwm1(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
436 nouveau_hwmon_get_pwm1_min(struct device *d, struct device_attribute *a, char *buf) argument
452 nouveau_hwmon_set_pwm1_min(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
476 nouveau_hwmon_get_pwm1_max(struct device *d, struct device_attribute *a, char *buf) argument
492 nouveau_hwmon_set_pwm1_max(struct device *d, struct device_attribute *a, const char *buf, size_t count) argument
[all...]
/drivers/media/pci/bt8xx/
H A Dbttv-risc.c581 bttv_dma_free(struct videobuf_queue *q,struct bttv *btv, struct bttv_buffer *buf) argument
583 struct videobuf_dmabuf *dma=videobuf_to_dma(&buf->vb);
586 videobuf_waiton(q, &buf->vb, 0, 0);
589 btcx_riscmem_free(btv->c.pci,&buf->bottom);
590 btcx_riscmem_free(btv->c.pci,&buf->top);
591 buf->vb.state = VIDEOBUF_NEEDS_INIT;
707 bttv_buffer_risc(struct bttv *btv, struct bttv_buffer *buf) argument
709 const struct bttv_tvnorm *tvnorm = bttv_tvnorms + buf->tvnorm;
710 struct videobuf_dmabuf *dma=videobuf_to_dma(&buf->vb);
713 btv->c.nr, v4l2_field_names[buf
867 bttv_overlay_risc(struct bttv *btv, struct bttv_overlay *ov, const struct bttv_format *fmt, struct bttv_buffer *buf) argument
[all...]
/drivers/hwmon/
H A Dadt7310.c52 u8 buf[3]; local
54 buf[0] = AD7310_COMMAND(reg);
55 put_unaligned_be16(data, &buf[1]);
57 return spi_write(spi, buf, sizeof(buf));
71 u8 buf[2]; local
73 buf[0] = AD7310_COMMAND(reg);
74 buf[1] = data;
76 return spi_write(spi, buf, sizeof(buf));
[all...]
/drivers/input/mouse/
H A Dvsxxxaa.c117 unsigned char buf[BUFLEN]; member in struct:vsxxxaa
131 memmove(mouse->buf, mouse->buf + num, BUFLEN - num);
146 mouse->buf[mouse->count++] = byte;
182 if (!IS_HDR_BYTE(mouse->buf[0])) {
183 DBG("vsck: len=%d, 1st=0x%02x\n", packet_len, mouse->buf[0]);
189 if (IS_HDR_BYTE(mouse->buf[i])) {
194 packet_len, i, mouse->buf[i]);
205 return mouse->count >= len && MATCH_PACKET_TYPE(mouse->buf[0], type);
211 unsigned char *buf local
267 unsigned char *buf = mouse->buf; local
319 unsigned char *buf = mouse->buf; local
389 unsigned char *buf = mouse->buf; local
[all...]
/drivers/base/
H A Dcpu.c85 const char *buf,
95 cnt = arch_cpu_probe(buf, count);
103 const char *buf,
113 cnt = arch_cpu_release(buf, count);
139 char *buf)
155 rc = sprintf(buf, "%Lx\n", addr);
162 char *buf)
166 rc = sprintf(buf, "%zu\n", sizeof(note_buf_t));
207 char *buf)
210 int n = cpulist_scnprintf(buf, PAGE_SIZ
83 cpu_probe_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
101 cpu_release_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
138 show_crash_notes(struct device *dev, struct device_attribute *attr, char *buf) argument
160 show_crash_notes_size(struct device *dev, struct device_attribute *attr, char *buf) argument
205 show_cpus_attr(struct device *dev, struct device_attribute *attr, char *buf) argument
230 print_cpus_kernel_max(struct device *dev, struct device_attribute *attr, char *buf) argument
241 print_cpus_offline(struct device *dev, struct device_attribute *attr, char *buf) argument
292 print_cpu_modalias(struct device *dev, struct device_attribute *attr, char *buf) argument
319 char *buf = kzalloc(PAGE_SIZE, GFP_KERNEL); local
[all...]
/drivers/infiniband/hw/mthca/
H A Dmthca_allocator.c195 union mthca_buf *buf, int *is_direct, struct mthca_pd *pd,
209 buf->direct.buf = dma_alloc_coherent(&dev->pdev->dev,
211 if (!buf->direct.buf)
214 dma_unmap_addr_set(&buf->direct, mapping, t);
216 memset(buf->direct.buf, 0, size);
238 buf->page_list = kmalloc(npages * sizeof *buf
194 mthca_buf_alloc(struct mthca_dev *dev, int size, int max_direct, union mthca_buf *buf, int *is_direct, struct mthca_pd *pd, int hca_write, struct mthca_mr *mr) argument
282 mthca_buf_free(struct mthca_dev *dev, int size, union mthca_buf *buf, int is_direct, struct mthca_mr *mr) argument
[all...]
/drivers/usb/gadget/function/
H A Duvc_video.c30 uvc_video_encode_header(struct uvc_video *video, struct uvc_buffer *buf, argument
36 if (buf->bytesused - video->queue.buf_used <= len - 2)
43 uvc_video_encode_data(struct uvc_video *video, struct uvc_buffer *buf, argument
51 mem = buf->mem + queue->buf_used;
52 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used);
62 struct uvc_buffer *buf)
64 void *mem = req->buf;
70 ret = uvc_video_encode_header(video, buf, mem, len);
78 ret = uvc_video_encode_data(video, buf, mem, len);
86 if (buf
61 uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video, struct uvc_buffer *buf) argument
101 uvc_video_encode_isoc(struct usb_request *req, struct uvc_video *video, struct uvc_buffer *buf) argument
166 struct uvc_buffer *buf; local
287 struct uvc_buffer *buf; local
[all...]
/drivers/char/tpm/
H A Dtpm-sysfs.c50 char *buf)
56 char *str = buf;
101 rc = str - buf;
107 char *buf)
113 char *str = buf;
131 return str - buf;
136 char *buf)
146 rc = sprintf(buf, "%d\n", !cap.perm_flags.disable);
152 char *buf)
162 rc = sprintf(buf, "
49 pubek_show(struct device *dev, struct device_attribute *attr, char *buf) argument
106 pcrs_show(struct device *dev, struct device_attribute *attr, char *buf) argument
135 enabled_show(struct device *dev, struct device_attribute *attr, char *buf) argument
151 active_show(struct device *dev, struct device_attribute *attr, char *buf) argument
167 owned_show(struct device *dev, struct device_attribute *attr, char *buf) argument
183 temp_deactivated_show(struct device *dev, struct device_attribute *attr, char *buf) argument
199 caps_show(struct device *dev, struct device_attribute *attr, char *buf) argument
241 cancel_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
253 durations_show(struct device *dev, struct device_attribute *attr, char *buf) argument
270 timeouts_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/drivers/net/wireless/ath/ath9k/
H A Ddebug_sta.c32 char *buf; local
36 buf = kzalloc(size, GFP_KERNEL);
37 if (buf == NULL)
41 len = scnprintf(buf, size, "%s\n",
46 len = scnprintf(buf, size, "Max-AMPDU: %d\n",
48 len += scnprintf(buf + len, size - len, "MPDU Density: %d\n\n",
51 len += scnprintf(buf + len, size - len,
58 len += scnprintf(buf + len, size - len,
64 len += scnprintf(buf + len, size - len,
74 len += scnprintf(buf
192 char *buf; local
[all...]
/drivers/usb/core/
H A Dsysfs.c22 struct device_attribute *attr, char *buf) \
32 rc = sprintf(buf, format_string, \
46 struct device_attribute *attr, char *buf)
56 rc = sprintf(buf, "%dmA\n", usb_get_max_power(udev, actconfig));
63 struct device_attribute *attr, char *buf)
73 rc = sprintf(buf, "%s\n", actconfig->string);
84 const char *buf, size_t count)
89 if (sscanf(buf, "%d", &config) != 1 || config < -1 || config > 255)
102 struct device_attribute *attr, char *buf) \
109 retval = sprintf(buf, "
45 bMaxPower_show(struct device *dev, struct device_attribute *attr, char *buf) argument
62 configuration_show(struct device *dev, struct device_attribute *attr, char *buf) argument
82 bConfigurationValue_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
119 speed_show(struct device *dev, struct device_attribute *attr, char *buf) argument
151 busnum_show(struct device *dev, struct device_attribute *attr, char *buf) argument
161 devnum_show(struct device *dev, struct device_attribute *attr, char *buf) argument
171 devpath_show(struct device *dev, struct device_attribute *attr, char *buf) argument
181 version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
193 maxchild_show(struct device *dev, struct device_attribute *attr, char *buf) argument
203 quirks_show(struct device *dev, struct device_attribute *attr, char *buf) argument
213 avoid_reset_quirk_show(struct device *dev, struct device_attribute *attr, char *buf) argument
222 avoid_reset_quirk_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
241 urbnum_show(struct device *dev, struct device_attribute *attr, char *buf) argument
251 removable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
274 ltm_capable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
285 persist_show(struct device *dev, struct device_attribute *attr, char *buf) argument
293 persist_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
346 connected_duration_show(struct device *dev, struct device_attribute *attr, char *buf) argument
363 active_duration_show(struct device *dev, struct device_attribute *attr, char *buf) argument
377 autosuspend_show(struct device *dev, struct device_attribute *attr, char *buf) argument
383 autosuspend_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
412 level_show(struct device *dev, struct device_attribute *attr, char *buf) argument
424 level_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
455 usb2_hardware_lpm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
469 usb2_hardware_lpm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
495 usb2_lpm_l1_timeout_show(struct device *dev, struct device_attribute *attr, char *buf) argument
503 usb2_lpm_l1_timeout_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
519 usb2_lpm_besl_show(struct device *dev, struct device_attribute *attr, char *buf) argument
526 usb2_lpm_besl_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
632 authorized_show(struct device *dev, struct device_attribute *attr, char *buf) argument
644 authorized_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
664 remove_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
763 read_descriptors(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
879 interface_show(struct device *dev, struct device_attribute *attr, char *buf) argument
893 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) argument
919 supports_autosuspend_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/drivers/iio/
H A Dkfifo_buf.c21 static inline int __iio_allocate_kfifo(struct iio_kfifo *buf, argument
27 return __kfifo_alloc((struct __kfifo *)&buf->kf, length,
34 struct iio_kfifo *buf = iio_to_kfifo(r); local
36 mutex_lock(&buf->user_lock);
37 if (buf->update_needed) {
38 kfifo_free(&buf->kf);
39 ret = __iio_allocate_kfifo(buf, buf->buffer.bytes_per_datum,
40 buf->buffer.length);
41 buf
116 iio_read_first_n_kfifo(struct iio_buffer *r, size_t n, char __user *buf) argument
[all...]
/drivers/media/usb/cx231xx/
H A Dcx231xx-vbi.c151 buffer_size-bytes_parsed);/*buf size*/
165 Vbi buf operations
190 static void free_buffer(struct videobuf_queue *vq, struct cx231xx_buffer *buf) argument
208 if (dev->vbi_mode.bulk_ctl.buf == buf)
209 dev->vbi_mode.bulk_ctl.buf = NULL;
212 videobuf_vmalloc_free(&buf->vb);
213 buf->vb.state = VIDEOBUF_NEEDS_INIT;
221 struct cx231xx_buffer *buf = local
229 buf
268 struct cx231xx_buffer *buf = local
282 struct cx231xx_buffer *buf = local
520 vbi_buffer_filled(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q, struct cx231xx_buffer *buf) argument
541 struct cx231xx_buffer *buf; local
608 get_next_vbi_buf(struct cx231xx_dmaqueue *dma_q, struct cx231xx_buffer **buf) argument
638 struct cx231xx_buffer *buf; local
659 struct cx231xx_buffer *buf; local
[all...]

Completed in 613 milliseconds

1234567891011>>