Searched refs:buf (Results 126 - 150 of 3765) sorted by relevance

1234567891011>>

/drivers/hid/
H A Dhid-roccat-common.c27 char *buf; local
30 buf = kmalloc(size, GFP_KERNEL);
31 if (buf == NULL)
38 0, buf, size, USB_CTRL_SET_TIMEOUT);
40 memcpy(data, buf, size);
41 kfree(buf);
49 char *buf; local
52 buf = kmemdup(data, size, GFP_KERNEL);
53 if (buf == NULL)
60 0, buf, siz
110 roccat_common2_send_with_status(struct usb_device *usb_dev, uint command, void const *buf, uint size) argument
133 roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) argument
157 roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) argument
[all...]
H A Dhid-cp2112.c174 u8 buf[5]; local
177 ret = hid_hw_raw_request(hdev, CP2112_GPIO_CONFIG, buf,
178 sizeof(buf), HID_FEATURE_REPORT,
180 if (ret != sizeof(buf)) {
185 buf[1] &= ~(1 << offset);
186 buf[2] = gpio_push_pull;
188 ret = hid_hw_raw_request(hdev, CP2112_GPIO_CONFIG, buf, sizeof(buf),
203 u8 buf[3]; local
206 buf[
221 u8 buf[2]; local
240 u8 buf[5]; local
273 u8 *buf; local
290 u8 *buf; local
333 u8 buf[2]; local
385 cp2112_read_req(void *buf, u8 slave_address, u16 length) argument
398 cp2112_write_read_req(void *buf, u8 slave_address, u16 length, u8 command, u8 *data, u8 data_length) argument
416 cp2112_write_req(void *buf, u8 slave_address, u8 command, u8 *data, u8 data_length) argument
432 cp2112_i2c_write_req(void *buf, u8 slave_address, u8 *data, u8 data_length) argument
452 u8 buf[64]; local
537 u8 buf[64]; local
832 pstr_store(struct device *kdev, struct device_attribute *kattr, const char *buf, size_t count) argument
864 pstr_show(struct device *kdev, struct device_attribute *kattr, char *buf) argument
933 u8 buf[2]; local
956 u8 buf[3]; local
[all...]
H A Dhid-thingm.c74 static int thingm_send(struct thingm_device *tdev, u8 buf[REPORT_SIZE]) argument
79 buf[0], buf[1], buf[2], buf[3], buf[4],
80 buf[5], buf[6], buf[7], buf[
88 thingm_recv(struct thingm_device *tdev, u8 buf[REPORT_SIZE]) argument
106 u8 buf[REPORT_SIZE] = { REPORT_ID, 'v', 0, 0, 0, 0, 0, 0, 0 }; local
125 u8 buf[REPORT_SIZE] = { REPORT_ID, 'c', 0, 0, 0, 0, 0, rgb->num, 0 }; local
[all...]
/drivers/net/wireless/ath/ath9k/
H A Ddfs_debug.c28 len += scnprintf(buf + len, size - len, "%28s : %10u\n", s, \
31 len += scnprintf(buf + len, size - len, "%28s : %10u\n", s, \
39 char *buf; local
43 buf = kzalloc(size, GFP_KERNEL);
44 if (buf == NULL)
47 len += scnprintf(buf + len, size - len, "DFS support for "
54 len += scnprintf(buf + len, size - len,
61 len += scnprintf(buf + len, size - len, "Pulse detector statistics:\n");
71 len += scnprintf(buf + len, size - len, "Radar detector statistics "
76 len += scnprintf(buf
102 char buf[32]; local
[all...]
/drivers/oprofile/
H A Doprofile_files.c30 static ssize_t timeout_read(struct file *file, char __user *buf, argument
34 buf, count, offset);
38 static ssize_t timeout_write(struct file *file, char const __user *buf, argument
47 retval = oprofilefs_ulong_from_user(&val, buf, count);
68 static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
70 return oprofilefs_ulong_to_user(oprofile_backtrace_depth, buf, count,
75 static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
86 retval = oprofilefs_ulong_from_user(&val, buf, count);
105 static ssize_t pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
107 return oprofilefs_ulong_to_user(sizeof(void *), buf, coun
117 cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
129 enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
135 enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
166 dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
[all...]
/drivers/rtc/
H A Drtc-max6902.c36 unsigned char buf[2]; local
39 buf[0] = address & 0x7f;
40 buf[1] = data;
42 return spi_write_then_read(spi, buf, 2, NULL, 0);
60 unsigned char buf[8]; local
62 buf[0] = 0xbf; /* Burst read */
64 err = spi_write_then_read(spi, buf, 1, buf, 8);
70 dt->tm_sec = bcd2bin(buf[0]);
71 dt->tm_min = bcd2bin(buf[
[all...]
H A Drtc-ds3232.c105 u8 buf[7]; local
110 ret = i2c_smbus_read_i2c_block_data(client, DS3232_REG_SECONDS, 7, buf);
117 second = buf[0];
118 minute = buf[1];
119 hour = buf[2];
120 week = buf[3];
121 day = buf[4];
122 month = buf[5];
123 year = buf[6];
161 u8 buf[ local
195 u8 buf[4]; local
241 u8 buf[4]; local
289 u8 buf[4]; local
[all...]
/drivers/scsi/fnic/
H A Dvnic_wq.c29 struct vnic_wq_buf *buf; local
45 buf = wq->bufs[i];
47 buf->index = i * VNIC_WQ_BUF_BLK_ENTRIES + j;
48 buf->desc = (u8 *)wq->ring.descs +
49 wq->ring.desc_size * buf->index;
50 if (buf->index + 1 == count) {
51 buf->next = wq->bufs[0];
54 buf->next = wq->bufs[i + 1];
56 buf->next = buf
159 vnic_wq_clean(struct vnic_wq *wq, void (*buf_clean)(struct vnic_wq *wq, struct vnic_wq_buf *buf)) argument
162 struct vnic_wq_buf *buf; local
[all...]
H A Dvnic_wq.h117 struct vnic_wq_buf *buf = wq->to_use; local
119 buf->sop = sop;
120 buf->os_buf = eop ? os_buf : NULL;
121 buf->dma_addr = dma_addr;
122 buf->len = len;
124 buf = buf->next;
132 iowrite32(buf->index, &wq->ctrl->posted_index);
134 wq->to_use = buf;
142 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, voi
139 vnic_wq_service(struct vnic_wq *wq, struct cq_desc *cq_desc, u16 completed_index, void (*buf_service)(struct vnic_wq *wq, struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), void *opaque) argument
145 struct vnic_wq_buf *buf; local
[all...]
/drivers/net/wireless/ath/carl9170/
H A Ddebug.c47 #define ADD(buf, off, max, fmt, args...) \
48 off += snprintf(&buf[off], max - off, fmt, ##args);
54 char *(*read)(struct ar9170 *ar, char *buf, size_t bufsize,
56 ssize_t (*write)(struct ar9170 *aru, const char *buf, size_t size);
67 char *buf = NULL, *res_buf = NULL; local
84 buf = vmalloc(dfops->read_bufsize);
85 if (!buf)
92 res_buf = buf;
96 res_buf = dfops->read(ar, buf, dfops->read_bufsize, &ret);
104 WARN_ON_ONCE(dfops->read_bufsize && (res_buf != buf));
117 char *buf = NULL; local
214 carl9170_debugfs_mem_usage_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument
241 carl9170_debugfs_qos_stat_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument
285 carl9170_debugfs_format_frame(struct ar9170 *ar, struct sk_buff *skb, const char *prefix, char *buf, ssize_t *off, ssize_t bufsize) argument
302 carl9170_debugfs_ampdu_state_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument
362 carl9170_debugfs_queue_dump(struct ar9170 *ar, char *buf, ssize_t *len, size_t bufsize, struct sk_buff_head *queue) argument
388 carl9170_debugfs_sta_psm_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument
404 carl9170_debugfs_tx_stuck_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument
422 carl9170_debugfs_phy_noise_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument
442 carl9170_debugfs_vif_dump_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument
554 carl9170_debugfs_hw_ioread32_write(struct ar9170 *ar, const char *buf, size_t count) argument
605 carl9170_debugfs_hw_ioread32_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *ret) argument
626 carl9170_debugfs_bug_write(struct ar9170 *ar, const char *buf, size_t count) argument
673 carl9170_debugfs_bug_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *ret) argument
701 carl9170_debugfs_erp_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *ret) argument
709 carl9170_debugfs_erp_write(struct ar9170 *ar, const char *buf, size_t count) argument
731 carl9170_debugfs_hw_iowrite32_write(struct ar9170 *ar, const char *buf, size_t count) argument
[all...]
/drivers/net/wireless/iwlegacy/
H A D4965-debug.c37 il4965_stats_flag(struct il_priv *il, char *buf, int bufsz) argument
44 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", flag);
46 p += scnprintf(buf + p, bufsz - p,
48 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n",
51 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n",
64 char *buf; local
79 buf = kzalloc(bufsz, GFP_KERNEL);
80 if (!buf) {
107 pos += il4965_stats_flag(il, buf, bufsz);
109 scnprintf(buf
476 char *buf; local
642 char *buf; local
[all...]
/drivers/media/pci/cx23885/
H A Dcx23885-vbi.c97 struct cx23885_buffer *buf)
103 VBI_LINE_LENGTH, buf->risc.dma);
141 struct cx23885_buffer *buf = container_of(vb, local
158 cx23885_risc_vbibuffer(dev->pci, &buf->risc,
169 struct cx23885_buffer *buf = container_of(vb, local
173 cx23885_free_buffer(vb->vb2_queue->drv_priv, buf);
202 struct cx23885_buffer *buf = container_of(vb, struct cx23885_buffer, vb); local
207 buf->risc.cpu[1] = cpu_to_le32(buf->risc.dma + 12);
208 buf
95 cx23885_start_vbi_dma(struct cx23885_dev *dev, struct cx23885_dmaqueue *q, struct cx23885_buffer *buf) argument
236 struct cx23885_buffer *buf = list_entry(dmaq->active.next, local
252 struct cx23885_buffer *buf = list_entry(dmaq->active.next, local
[all...]
/drivers/scsi/qla2xxx/
H A Dqla_tmpl.c109 qla27xx_insert16(uint16_t value, void *buf, ulong *len) argument
111 if (buf) {
112 buf += *len;
113 *(__le16 *)buf = cpu_to_le16(value);
119 qla27xx_insert32(uint32_t value, void *buf, ulong *len) argument
121 if (buf) {
122 buf += *len;
123 *(__le32 *)buf = cpu_to_le32(value);
129 qla27xx_insertbuf(void *mem, ulong size, void *buf, ulong *len) argument
132 if (buf
140 qla27xx_read8(void *window, void *buf, ulong *len) argument
151 qla27xx_read16(void *window, void *buf, ulong *len) argument
162 qla27xx_read32(void *window, void *buf, ulong *len) argument
181 qla27xx_read_reg(__iomem struct device_reg_24xx *reg, uint offset, void *buf, ulong *len) argument
190 qla27xx_write_reg(__iomem struct device_reg_24xx *reg, uint offset, uint32_t data, void *buf) argument
201 qla27xx_read_window(__iomem struct device_reg_24xx *reg, uint32_t addr, uint offset, uint count, uint width, void *buf, ulong *len) argument
218 qla27xx_skip_entry(struct qla27xx_fwdt_entry *ent, void *buf) argument
225 qla27xx_fwdt_entry_t0(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
236 qla27xx_fwdt_entry_t255(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
248 qla27xx_fwdt_entry_t256(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
262 qla27xx_fwdt_entry_t257(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
276 qla27xx_fwdt_entry_t258(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
291 qla27xx_fwdt_entry_t259(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
306 qla27xx_fwdt_entry_t260(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
320 qla27xx_fwdt_entry_t261(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
333 qla27xx_fwdt_entry_t262(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
384 qla27xx_fwdt_entry_t263(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
432 qla27xx_fwdt_entry_t264(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
460 qla27xx_fwdt_entry_t265(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
474 qla27xx_fwdt_entry_t266(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
486 qla27xx_fwdt_entry_t267(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
499 qla27xx_fwdt_entry_t268(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
526 qla27xx_fwdt_entry_t269(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
543 qla27xx_fwdt_entry_t270(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
564 qla27xx_fwdt_entry_t271(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
581 qla27xx_fwdt_entry_t272(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
601 qla27xx_fwdt_entry_t273(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
624 qla27xx_fwdt_entry_t274(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
670 qla27xx_fwdt_entry_t275(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
696 qla27xx_fwdt_entry_other(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) argument
763 qla27xx_walk_template(struct scsi_qla_host *vha, struct qla27xx_fwdt_template *tmp, void *buf, ulong *len) argument
834 uint32_t *buf = p; local
[all...]
/drivers/media/usb/stk1160/
H A Dstk1160-video.c77 struct stk1160_buffer *buf = NULL; local
81 WARN_ON(dev->isoc_ctl.buf);
85 buf = list_first_entry(&dev->avail_bufs,
87 list_del(&buf->list);
91 return buf;
97 struct stk1160_buffer *buf = dev->isoc_ctl.buf; local
101 buf->vb.v4l2_buf.sequence = dev->field_count >> 1;
102 buf->vb.v4l2_buf.field = V4L2_FIELD_INTERLACED;
103 buf
117 struct stk1160_buffer *buf = dev->isoc_ctl.buf; local
[all...]
/drivers/net/wireless/ath/ath10k/
H A Ddebug.c196 char *buf; local
203 buf = kzalloc(buf_len, GFP_KERNEL);
204 if (!buf)
218 len += scnprintf(buf + len, buf_len - len,
225 len += scnprintf(buf + len, buf_len - len,
230 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
234 kfree(buf);
379 char *buf = NULL; local
393 buf = kzalloc(buf_len, GFP_KERNEL);
394 if (!buf)
592 const char buf[] = local
613 char buf[32]; local
679 char buf[50]; local
715 unsigned char *buf; local
871 char buf[32]; local
924 char buf[64]; local
949 char buf[64]; local
991 char buf[32]; local
1109 char *buf; local
1258 ath10k_dbg_dump(struct ath10k *ar, enum ath10k_debug_mask mask, const char *msg, const char *prefix, const void *buf, size_t len) argument
[all...]
/drivers/firmware/
H A Ddmi_scan.c81 static void dmi_table(u8 *buf, int len, int num, argument
85 u8 *data = buf;
92 while ((i < num) && (data - buf + sizeof(struct dmi_header)) <= len) {
107 while ((data - buf < len - 1) && (data[0] || data[1]))
109 if (data - buf < len - 1)
123 u8 *buf; local
125 buf = dmi_early_remap(dmi_base, dmi_len);
126 if (buf == NULL)
129 dmi_table(buf, dmi_len, dmi_num, decode, NULL);
131 add_device_randomness(buf, dmi_le
137 dmi_checksum(const u8 *buf, u8 len) argument
423 print_filtered(char *buf, size_t len, const char *info) argument
439 dmi_format_ids(char *buf, size_t len) argument
470 dmi_present(const u8 *buf) argument
526 dmi_smbios3_present(const u8 *buf) argument
560 char buf[32]; local
894 u8 *buf; local
[all...]
/drivers/gpu/drm/gma500/
H A Dpsb_intel_modes.c32 u8 buf[2]; local
39 .buf = out_buf,
45 .buf = buf,
/drivers/infiniband/hw/ipath/
H A Dipath_sysfs.c76 static ssize_t show_version(struct device_driver *dev, char *buf) argument
79 return scnprintf(buf, PAGE_SIZE, "%s", ib_ipath_version);
82 static ssize_t show_num_units(struct device_driver *dev, char *buf) argument
84 return scnprintf(buf, PAGE_SIZE, "%d\n",
90 char *buf)
100 ret = scnprintf(buf, PAGE_SIZE, "0x%llx\n",
123 char *buf)
136 *buf = '\0';
139 if (any && strlcat(buf, " ", PAGE_SIZE) >=
143 if (strlcat(buf, ipath_status_st
88 show_status(struct device *dev, struct device_attribute *attr, char *buf) argument
121 show_status_str(struct device *dev, struct device_attribute *attr, char *buf) argument
159 show_boardversion(struct device *dev, struct device_attribute *attr, char *buf) argument
168 show_localbus_info(struct device *dev, struct device_attribute *attr, char *buf) argument
177 show_lmc(struct device *dev, struct device_attribute *attr, char *buf) argument
186 store_lmc(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
213 show_lid(struct device *dev, struct device_attribute *attr, char *buf) argument
222 store_lid(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
249 show_mlid(struct device *dev, struct device_attribute *attr, char *buf) argument
258 store_mlid(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
280 show_guid(struct device *dev, struct device_attribute *attr, char *buf) argument
295 store_guid(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
339 show_nguid(struct device *dev, struct device_attribute *attr, char *buf) argument
348 show_nports(struct device *dev, struct device_attribute *attr, char *buf) argument
358 show_serial(struct device *dev, struct device_attribute *attr, char *buf) argument
370 show_unit(struct device *dev, struct device_attribute *attr, char *buf) argument
379 show_jint_max_packets(struct device *dev, struct device_attribute *attr, char *buf) argument
388 store_jint_max_packets(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
406 show_jint_idle_ticks(struct device *dev, struct device_attribute *attr, char *buf) argument
415 store_jint_idle_ticks(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
539 store_reset(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
568 store_link_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
594 show_mtu(struct device *dev, struct device_attribute *attr, char *buf) argument
602 store_mtu(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
627 show_enabled(struct device *dev, struct device_attribute *attr, char *buf) argument
636 store_enabled(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
677 store_rx_pol_inv(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
703 store_led_override(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
720 show_logged_errs(struct device *dev, struct device_attribute *attr, char *buf) argument
747 show_hrtbt_enb(struct device *dev, struct device_attribute *attr, char *buf) argument
760 store_hrtbt_enb(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
800 show_lwid_enb(struct device *dev, struct device_attribute *attr, char *buf) argument
813 store_lwid_enb(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
840 show_lwid(struct device *dev, struct device_attribute *attr, char *buf) argument
857 show_spd_enb(struct device *dev, struct device_attribute *attr, char *buf) argument
870 store_spd_enb(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
897 show_spd(struct device *dev, struct device_attribute *attr, char *buf) argument
913 show_rx_polinv_enb(struct device *dev, struct device_attribute *attr, char *buf) argument
926 store_rx_polinv_enb(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
954 show_lanerev_enb(struct device *dev, struct device_attribute *attr, char *buf) argument
967 store_lanerev_enb(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1005 store_tempsense(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1046 show_tempsense(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/drivers/media/dvb-frontends/
H A Dtda665x.c37 static int tda665x_read(struct tda665x_state *state, u8 *buf) argument
41 struct i2c_msg msg = { .addr = config->addr, .flags = I2C_M_RD, .buf = buf, .len = 2 };
53 static int tda665x_write(struct tda665x_state *state, u8 *buf, u8 length) argument
57 struct i2c_msg msg = { .addr = config->addr, .flags = 0, .buf = buf, .len = length };
121 u8 buf[4]; local
137 buf[0] = (u8) ((frequency & 0x7f00) >> 8);
138 buf[1] = (u8) (frequency & 0x00ff) >> 0;
139 buf[
[all...]
/drivers/media/pci/mantis/
H A Dmantis_vp2033.c57 {.addr = 0x50, .flags = 0, .buf = &b, .len = 1},
58 {.addr = 0x50, .flags = I2C_M_RD, .buf = &pwm, .len = 1}
74 u8 buf[6]; local
75 struct i2c_msg msg = {.addr = 0x60, .flags = 0, .buf = buf, .len = sizeof(buf)};
83 buf[0] = (div >> 8) & 0x7f;
84 buf[1] = div & 0xff;
85 buf[2] = 0xce;
86 buf[
[all...]
H A Dmantis_vp2040.c56 u8 buf[6]; local
57 struct i2c_msg msg = {.addr = 0x60, .flags = 0, .buf = buf, .len = sizeof(buf)};
65 buf[0] = (div >> 8) & 0x7f;
66 buf[1] = div & 0xff;
67 buf[2] = 0xce;
68 buf[3] = (p->frequency < 150000000 ? 0x01 :
70 buf[4] = 0xde;
71 buf[
[all...]
/drivers/media/pci/ttpci/
H A Dav7110_av.h9 extern int av7110_record_cb(struct dvb_filter_pes2ts *p2t, u8 *buf, size_t len);
10 extern int av7110_pes_play(void *dest, struct dvb_ringbuffer *buf, int dlen);
11 extern int av7110_write_to_decoder(struct dvb_demux_feed *feed, const u8 *buf, size_t len);
22 extern void av7110_p2t_write(u8 const *buf, long int length, u16 pid, struct av7110_p2t *p);
/drivers/media/platform/vivid/
H A Dvivid-vbi-gen.h31 const struct v4l2_vbi_format *vbi_fmt, u8 *buf);
/drivers/mtd/tests/
H A Dmtd_test.h9 int mtdtest_read(struct mtd_info *mtd, loff_t addr, size_t size, void *buf);
11 const void *buf);
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_debugfs.c48 char *buf; local
55 buf = kasprintf(GFP_KERNEL, "%s: %s\n",
58 if (!buf)
61 if (count < strlen(buf)) {
62 kfree(buf);
66 len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf));
68 kfree(buf);
153 char *buf; local
160 buf
[all...]

Completed in 1107 milliseconds

1234567891011>>