Searched refs:buf (Results 151 - 175 of 3176) sorted by relevance

1234567891011>>

/drivers/input/mouse/
H A Dvsxxxaa.c118 unsigned char buf[BUFLEN]; member in struct:vsxxxaa
132 memmove(mouse->buf, mouse->buf + num - 1, BUFLEN - num);
147 mouse->buf[mouse->count++] = byte;
183 if (!IS_HDR_BYTE(mouse->buf[0])) {
184 DBG("vsck: len=%d, 1st=0x%02x\n", packet_len, mouse->buf[0]);
190 if (IS_HDR_BYTE(mouse->buf[i])) {
195 packet_len, i, mouse->buf[i]);
206 return mouse->count >= len && MATCH_PACKET_TYPE(mouse->buf[0], type);
212 unsigned char *buf local
268 unsigned char *buf = mouse->buf; local
320 unsigned char *buf = mouse->buf; local
390 unsigned char *buf = mouse->buf; local
[all...]
H A Dsermouse.c49 signed char buf[8]; member in struct:sermouse
65 signed char *buf = sermouse->buf; local
80 input_report_rel(dev, REL_Y, -buf[1]);
81 buf[0] = data - data / 2;
86 input_report_rel(dev, REL_X, buf[0]);
87 input_report_rel(dev, REL_Y, buf[1] - data);
88 buf[1] = data / 2;
107 signed char *buf = sermouse->buf; local
[all...]
/drivers/leds/
H A Dledtrig-timer.c23 struct device_attribute *attr, char *buf)
27 return sprintf(buf, "%lu\n", led_cdev->blink_delay_on);
31 struct device_attribute *attr, const char *buf, size_t size)
36 unsigned long state = simple_strtoul(buf, &after, 10);
37 size_t count = after - buf;
52 struct device_attribute *attr, char *buf)
56 return sprintf(buf, "%lu\n", led_cdev->blink_delay_off);
60 struct device_attribute *attr, const char *buf, size_t size)
65 unsigned long state = simple_strtoul(buf, &after, 10);
66 size_t count = after - buf;
22 led_delay_on_show(struct device *dev, struct device_attribute *attr, char *buf) argument
30 led_delay_on_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
51 led_delay_off_show(struct device *dev, struct device_attribute *attr, char *buf) argument
59 led_delay_off_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
[all...]
/drivers/net/wireless/ath/ath5k/
H A Dsysfs.c10 char *buf) \
14 return snprintf(buf, PAGE_SIZE, "%d\n", get); \
19 const char *buf, size_t count) \
25 ret = kstrtoint(buf, 10, &val); \
37 char *buf) \
41 return snprintf(buf, PAGE_SIZE, "%d\n", get); \
62 char *buf)
64 return snprintf(buf, PAGE_SIZE, "%d\n", ATH5K_ANI_MAX_NOISE_IMM_LVL);
71 char *buf)
73 return snprintf(buf, PAGE_SIZ
60 ath5k_attr_show_noise_immunity_level_max(struct device *dev, struct device_attribute *attr, char *buf) argument
69 ath5k_attr_show_firstep_level_max(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/drivers/s390/net/
H A Dqeth_l3_sys.c19 struct qeth_routing_info *route, char *buf)
23 return sprintf(buf, "%s\n", "primary router");
25 return sprintf(buf, "%s\n", "secondary router");
28 return sprintf(buf, "%s\n", "multicast router+");
30 return sprintf(buf, "%s\n", "multicast router");
33 return sprintf(buf, "%s\n", "primary connector+");
35 return sprintf(buf, "%s\n", "primary connector");
38 return sprintf(buf, "%s\n", "secondary connector+");
40 return sprintf(buf, "%s\n", "secondary connector");
42 return sprintf(buf, "
18 qeth_l3_dev_route_show(struct qeth_card *card, struct qeth_routing_info *route, char *buf) argument
46 qeth_l3_dev_route4_show(struct device *dev, struct device_attribute *attr, char *buf) argument
57 qeth_l3_dev_route_store(struct qeth_card *card, struct qeth_routing_info *route, enum qeth_prot_versions prot, const char *buf, size_t count) argument
96 qeth_l3_dev_route4_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
111 qeth_l3_dev_route6_show(struct device *dev, struct device_attribute *attr, char *buf) argument
122 qeth_l3_dev_route6_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
137 qeth_l3_dev_fake_broadcast_show(struct device *dev, struct device_attribute *attr, char *buf) argument
148 qeth_l3_dev_fake_broadcast_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
178 qeth_l3_dev_broadcast_mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument
195 qeth_l3_dev_broadcast_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
234 qeth_l3_dev_canonical_macaddr_show(struct device *dev, struct device_attribute *attr, char *buf) argument
250 qeth_l3_dev_canonical_macaddr_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
288 qeth_l3_dev_sniffer_show(struct device *dev, struct device_attribute *attr, char *buf) argument
299 qeth_l3_dev_sniffer_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
353 qeth_l3_dev_hsuid_show(struct device *dev, struct device_attribute *attr, char *buf) argument
373 qeth_l3_dev_hsuid_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
472 qeth_l3_dev_ipato_enable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
483 qeth_l3_dev_ipato_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
532 qeth_l3_dev_ipato_invert4_show(struct device *dev, struct device_attribute *attr, char *buf) argument
543 qeth_l3_dev_ipato_invert4_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
572 qeth_l3_dev_ipato_add_show(char *buf, struct qeth_card *card, enum qeth_prot_versions proto) argument
603 qeth_l3_dev_ipato_add4_show(struct device *dev, struct device_attribute *attr, char *buf) argument
614 qeth_l3_parse_ipatoe(const char *buf, enum qeth_prot_versions proto, u8 *addr, int *mask_bits) argument
641 qeth_l3_dev_ipato_add_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument
671 qeth_l3_dev_ipato_add4_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
686 qeth_l3_dev_ipato_del_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument
701 qeth_l3_dev_ipato_del4_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
715 qeth_l3_dev_ipato_invert6_show(struct device *dev, struct device_attribute *attr, char *buf) argument
726 qeth_l3_dev_ipato_invert6_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
755 qeth_l3_dev_ipato_add6_show(struct device *dev, struct device_attribute *attr, char *buf) argument
766 qeth_l3_dev_ipato_add6_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
781 qeth_l3_dev_ipato_del6_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
811 qeth_l3_dev_vipa_add_show(char *buf, struct qeth_card *card, enum qeth_prot_versions proto) argument
843 qeth_l3_dev_vipa_add4_show(struct device *dev, struct device_attribute *attr, char *buf) argument
854 qeth_l3_parse_vipae(const char *buf, enum qeth_prot_versions proto, u8 *addr) argument
863 qeth_l3_dev_vipa_add_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument
877 qeth_l3_dev_vipa_add4_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
892 qeth_l3_dev_vipa_del_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument
906 qeth_l3_dev_vipa_del4_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
920 qeth_l3_dev_vipa_add6_show(struct device *dev, struct device_attribute *attr, char *buf) argument
931 qeth_l3_dev_vipa_add6_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
946 qeth_l3_dev_vipa_del6_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
973 qeth_l3_dev_rxip_add_show(char *buf, struct qeth_card *card, enum qeth_prot_versions proto) argument
1005 qeth_l3_dev_rxip_add4_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1016 qeth_l3_parse_rxipe(const char *buf, enum qeth_prot_versions proto, u8 *addr) argument
1025 qeth_l3_dev_rxip_add_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument
1039 qeth_l3_dev_rxip_add4_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1054 qeth_l3_dev_rxip_del_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument
1068 qeth_l3_dev_rxip_del4_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1082 qeth_l3_dev_rxip_add6_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1093 qeth_l3_dev_rxip_add6_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1108 qeth_l3_dev_rxip_del6_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[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/media/dvb/dvb-usb/
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...]
H A Dvp7045.c31 u8 *buf = d->priv; local
33 buf[0] = cmd;
46 memcpy(&buf[1], out, outlen);
49 debug_dump(buf, outlen+1, deb_xfer);
55 buf, 20, 2000) != 20) {
66 buf, 12, 2000) != 12) {
73 debug_dump(buf, 12, deb_xfer);
76 memcpy(in, &buf[1], inlen);
179 static int vp7045_read_eeprom(struct dvb_usb_device *d,u8 *buf, int len, int offset) argument
186 buf[
200 u8 buf[255] = { 0 }; local
[all...]
/drivers/rtc/
H A Drtc-ab8500.c82 unsigned char buf[ARRAY_SIZE(ab8500_rtc_time_regs)]; local
115 buf[i] = value;
118 mins = (buf[0] << 16) | (buf[1] << 8) | buf[2];
120 secs = (buf[3] << 8) | buf[4];
134 unsigned char buf[ARRAY_SIZE(ab8500_rtc_time_regs)]; local
158 buf[4] = no_secs & 0xFF;
159 buf[
181 unsigned char buf[ARRAY_SIZE(ab8500_rtc_alarm_regs)]; local
226 unsigned char buf[ARRAY_SIZE(ab8500_rtc_alarm_regs)]; local
317 ab8500_sysfs_store_rtc_calibration(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
334 ab8500_sysfs_show_rtc_calibration(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
H A Drtc-m41t93.c39 u8 buf[2]; local
42 buf[0] = addr | 0x80;
43 buf[1] = data;
45 return spi_write(spi, buf, sizeof(buf));
51 u8 buf[9] = {0x80}; /* write cmd + 8 data bytes */ local
52 u8 * const data = &buf[1]; /* ptr to first data byte */
75 return spi_write(spi, buf, sizeof(buf));
83 u8 buf[ local
[all...]
/drivers/base/
H A Dcpu.c30 char *buf)
34 return sprintf(buf, "%u\n", !!cpu_online(cpu->dev.id));
39 const char *buf, size_t count)
45 switch (buf[0]) {
87 const char *buf,
90 return arch_cpu_probe(buf, count);
95 const char *buf,
98 return arch_cpu_release(buf, count);
115 char *buf)
131 rc = sprintf(buf, "
28 show_online(struct device *dev, struct device_attribute *attr, char *buf) argument
37 store_online(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
85 cpu_probe_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
93 cpu_release_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
114 show_crash_notes(struct device *dev, struct device_attribute *attr, char *buf) argument
146 show_cpus_attr(struct device *dev, struct device_attribute *attr, char *buf) argument
171 print_cpus_kernel_max(struct device *dev, struct device_attribute *attr, char *buf) argument
182 print_cpus_offline(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/drivers/mtd/
H A Dbcm63xxpart.c47 char buf[9]; local
52 (void *)buf);
53 buf[retlen] = 0;
58 if (strncmp("cfe-v", buf, 5) == 0)
63 (void *)buf);
64 buf[retlen] = 0;
66 return strncmp("CFE1CFE1", buf, 8);
75 struct bcm_tag *buf; local
93 buf = vmalloc(sizeof(struct bcm_tag));
94 if (!buf)
[all...]
/drivers/staging/keucr/
H A Dsmscsi.c104 BYTE buf[8]; local
115 buf[0] = (bl_num >> 24) & 0xff;
116 buf[1] = (bl_num >> 16) & 0xff;
117 buf[2] = (bl_num >> 8) & 0xff;
118 buf[3] = (bl_num >> 0) & 0xff;
119 buf[4] = (bl_len >> 24) & 0xff;
120 buf[5] = (bl_len >> 16) & 0xff;
121 buf[6] = (bl_len >> 8) & 0xff;
122 buf[7] = (bl_len >> 0) & 0xff;
124 usb_stor_access_xfer_buf(us, buf,
138 void *buf; local
168 void *buf; local
[all...]
/drivers/media/dvb/frontends/
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/char/
H A Dvirtio_console.c103 char *buf; member in struct:port_buffer
105 /* size of the buffer in *buf above */
110 /* offset in the buf from which to consume data */
337 static void free_buf(struct port_buffer *buf) argument
339 kfree(buf->buf);
340 kfree(buf);
345 struct port_buffer *buf; local
347 buf = kmalloc(sizeof(*buf), GFP_KERNE
367 struct port_buffer *buf; local
388 add_inbuf(struct virtqueue *vq, struct port_buffer *buf) argument
403 struct port_buffer *buf; local
480 void *buf; local
554 struct port_buffer *buf; local
672 char *buf; local
873 put_chars(u32 vtermno, const char *buf, int count) argument
894 get_chars(u32 vtermno, char *buf, int count) argument
1045 char *buf; local
1099 struct port_buffer *buf; local
1133 struct port_buffer *buf; local
1270 struct port_buffer *buf; local
1327 handle_control_message(struct ports_device *portdev, struct port_buffer *buf) argument
1462 struct port_buffer *buf; local
1670 struct port_buffer *buf; local
[all...]
/drivers/staging/rts5139/
H A Drts51x_scsi.c484 unsigned char *buf; local
500 buf = vmalloc(scsi_bufflen(srb));
501 if (buf == NULL)
522 memcpy(buf, inquiry_buf, 8);
523 memcpy(buf + 8, inquiry_string, sendbytes - 8);
525 buf[4] = 0x33; /* Additional Length */
527 memcpy(buf, inquiry_buf, sendbytes);
532 memcpy(buf + 36, formatter_inquiry_str, sendbytes - 36);
537 rts51x_set_xfer_buf(buf, scsi_bufflen(srb), srb);
538 vfree(buf);
595 ms_mode_sense(struct rts51x_chip *chip, u8 cmd, int lun, u8 *buf, int buf_len) argument
690 unsigned char pageCode, *buf; local
773 unsigned char *tmp, *buf; local
910 unsigned char *buf; local
987 unsigned char *buf; local
1058 u8 *buf; local
1099 u8 *buf; local
1160 u8 *buf; local
1198 u8 *buf; local
1260 unsigned char *buf = NULL; local
1524 u8 *buf; local
[all...]
H A Dms_mg.c84 u8 buf[6]; local
95 buf[0] = 0;
96 buf[1] = 0;
98 buf[2] = 0;
99 buf[3] = 0;
100 buf[4] = 0;
101 buf[5] = mg_entry_num;
105 NO_WAIT_INT, buf, 6);
178 u8 *buf = NULL; local
188 buf
239 u8 buf[32], tmp; local
399 u8 buf[32]; local
456 u8 *buf = NULL; local
523 u8 *buf = NULL; local
[all...]
/drivers/isdn/hisax/
H A Dq931.c1166 LogFrame(struct IsdnCardState *cs, u_char *buf, int size) argument
1178 dp += QuickHex(dp, buf, size);
1190 u_char *bend, *buf; local
1206 buf = skb->data;
1214 buf += 3;
1231 buf += 4;
1243 if (buf >= bend) {
1252 if ((0xfe & buf[0]) == PROTO_DIS_N0) { /* 1TR6 */
1254 pd = *buf++;
1255 cr_l = *buf
[all...]
/drivers/tty/
H A Dn_hdlc.c119 char buf[1]; member in struct:n_hdlc_buf
164 struct n_hdlc_buf *buf);
181 __u8 __user *buf, size_t nr);
183 const unsigned char *buf, size_t nr);
202 struct n_hdlc_buf *buf; local
204 while ((buf = n_hdlc_buf_get(&n_hdlc->rx_buf_list)))
205 n_hdlc_buf_put(&n_hdlc->rx_free_buf_list, buf);
211 struct n_hdlc_buf *buf; local
214 while ((buf = n_hdlc_buf_get(&n_hdlc->tx_buf_list)))
215 n_hdlc_buf_put(&n_hdlc->tx_free_buf_list, buf);
246 struct n_hdlc_buf *buf; local
515 register struct n_hdlc_buf *buf; local
578 n_hdlc_tty_read(struct tty_struct *tty, struct file *file, __u8 __user *buf, size_t nr) argument
849 struct n_hdlc_buf *buf; local
904 n_hdlc_buf_put(struct n_hdlc_buf_list *list, struct n_hdlc_buf *buf) argument
933 struct n_hdlc_buf *buf; local
[all...]
/drivers/media/video/ivtv/
H A Divtv-queue.h53 static inline void ivtv_buf_sync_for_cpu(struct ivtv_stream *s, struct ivtv_buffer *buf) argument
56 pci_dma_sync_single_for_cpu(s->itv->pdev, buf->dma_handle,
60 static inline void ivtv_buf_sync_for_device(struct ivtv_stream *s, struct ivtv_buffer *buf) argument
63 pci_dma_sync_single_for_device(s->itv->pdev, buf->dma_handle,
67 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src, int copybytes);
68 void ivtv_buf_swap(struct ivtv_buffer *buf);
72 void ivtv_enqueue(struct ivtv_stream *s, struct ivtv_buffer *buf, struct ivtv_queue *q);
/drivers/w1/slaves/
H A Dw1_ds2408.c45 static int _read_reg(struct w1_slave *sl, u8 address, unsigned char* buf) argument
50 sl, (unsigned int)address, buf);
52 if (!buf)
67 *buf = w1_read_8(sl->master);
77 char *buf, loff_t off, size_t count)
81 bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
84 return _read_reg(kobj_to_w1_slave(kobj), W1_F29_REG_LOGIG_STATE, buf);
90 char *buf, loff_t off, size_t count)
94 bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
98 W1_F29_REG_OUTPUT_LATCH_STATE, buf);
74 w1_f29_read_state( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
87 w1_f29_read_output( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
101 w1_f29_read_activity( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
115 w1_f29_read_cond_search_mask( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
129 w1_f29_read_cond_search_polarity( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
140 w1_f29_read_status_control( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
154 w1_f29_write_output( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
220 w1_f29_write_activity( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
251 w1_f29_write_status_control( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
[all...]
/drivers/staging/iio/adc/
H A Dadt7410.c145 char *buf)
155 return sprintf(buf, "power-down\n");
157 return sprintf(buf, "one-shot\n");
159 return sprintf(buf, "sps\n");
161 return sprintf(buf, "full\n");
167 const char *buf,
180 if (strcmp(buf, "power-down"))
182 else if (strcmp(buf, "one-shot"))
184 else if (strcmp(buf, "sps"))
203 char *buf)
143 adt7410_show_mode(struct device *dev, struct device_attribute *attr, char *buf) argument
165 adt7410_store_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument
201 adt7410_show_available_modes(struct device *dev, struct device_attribute *attr, char *buf) argument
210 adt7410_show_resolution(struct device *dev, struct device_attribute *attr, char *buf) argument
231 adt7410_store_resolution(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument
268 adt7410_show_id(struct device *dev, struct device_attribute *attr, char *buf) argument
291 adt7410_convert_temperature(struct adt7410_chip_info *chip, u16 data, char *buf) argument
318 adt7410_show_value(struct device *dev, struct device_attribute *attr, char *buf) argument
391 adt7410_show_event_mode(struct device *dev, struct device_attribute *attr, char *buf) argument
409 adt7410_set_event_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument
436 adt7410_show_available_event_modes(struct device *dev, struct device_attribute *attr, char *buf) argument
443 adt7410_show_fault_queue(struct device *dev, struct device_attribute *attr, char *buf) argument
458 adt7410_set_fault_queue(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument
488 adt7410_show_t_bound(struct device *dev, struct device_attribute *attr, u8 bound_reg, char *buf) argument
505 adt7410_set_t_bound(struct device *dev, struct device_attribute *attr, u8 bound_reg, const char *buf, size_t len) argument
576 adt7410_show_t_alarm_high(struct device *dev, struct device_attribute *attr, char *buf) argument
584 adt7410_set_t_alarm_high(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument
593 adt7410_show_t_alarm_low(struct device *dev, struct device_attribute *attr, char *buf) argument
601 adt7410_set_t_alarm_low(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument
610 adt7410_show_t_crit(struct device *dev, struct device_attribute *attr, char *buf) argument
618 adt7410_set_t_crit(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument
627 adt7410_show_t_hyst(struct device *dev, struct device_attribute *attr, char *buf) argument
643 adt7410_set_t_hyst(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument
[all...]
/drivers/block/paride/
H A Dfriq.c77 static void friq_read_block_int( PIA *pi, char * buf, int count, int regr ) argument
87 buf[k] = j44(l,h);
97 buf[k] = r0();
104 for (k=0;k<count-2;k++) buf[k] = r4();
106 buf[count-2] = r4();
107 buf[count-1] = r4();
112 for (k=0;k<(count/2)-1;k++) ((u16 *)buf)[k] = r4w();
114 buf[count-2] = r4();
115 buf[count-1] = r4();
120 for (k=0;k<(count/4)-1;k++) ((u32 *)buf)[
132 friq_read_block( PIA *pi, char * buf, int count) argument
137 friq_write_block( PIA *pi, char * buf, int count ) argument
[all...]
/drivers/media/video/
H A Dir-kbd-i2c.c68 unsigned char buf[6]; local
72 if (size != i2c_master_recv(ir->c, buf, size))
76 start = (buf[offset] >> 7) & 1;
77 range = (buf[offset] >> 6) & 1;
78 toggle = (buf[offset] >> 5) & 1;
79 dev = buf[offset] & 0x1f;
80 code = (buf[offset+1] >> 2) & 0x3f;
124 unsigned char buf[1] = { 0 }; local
132 ret = i2c_master_send(ir->c, buf, 1);
155 unsigned char buf[ local
[all...]
/drivers/net/ethernet/freescale/
H A Dgianfar_sysfs.c40 struct device_attribute *attr, char *buf)
44 return sprintf(buf, "%s\n", priv->bd_stash_en ? "on" : "off");
49 const char *buf, size_t count)
62 if (!strncmp("on", buf, count - 1) || !strncmp("1", buf, count - 1))
64 else if (!strncmp("off", buf, count - 1) ||
65 !strncmp("0", buf, count - 1))
95 struct device_attribute *attr, char *buf)
99 return sprintf(buf, "%d\n", priv->rx_stash_size);
104 const char *buf, size_
39 gfar_show_bd_stash(struct device *dev, struct device_attribute *attr, char *buf) argument
47 gfar_set_bd_stash(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
94 gfar_show_rx_stash_size(struct device *dev, struct device_attribute *attr, char *buf) argument
102 gfar_set_rx_stash_size(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
152 gfar_show_rx_stash_index(struct device *dev, struct device_attribute *attr, char *buf) argument
161 gfar_set_rx_stash_index(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
200 gfar_show_fifo_threshold(struct device *dev, struct device_attribute *attr, char *buf) argument
209 gfar_set_fifo_threshold(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
241 gfar_show_fifo_starve(struct device *dev, struct device_attribute *attr, char *buf) argument
249 gfar_set_fifo_starve(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
281 gfar_show_fifo_starve_off(struct device *dev, struct device_attribute *attr, char *buf) argument
290 gfar_set_fifo_starve_off(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]

Completed in 779 milliseconds

1234567891011>>