Searched refs:buf (Results 276 - 300 of 3176) sorted by relevance

<<11121314151617181920>>

/drivers/media/video/tm6000/
H A Dtm6000-i2c.c46 __u8 reg, char *buf, int len)
54 if (!buf)
66 addr | reg << 8, 0, buf, len);
79 __u8 reg, char *buf, int len)
88 if (!buf)
108 *buf = b[1];
111 REQ_16_SET_GET_I2C_WR1_RDN, addr | reg << 8, 0, buf, len);
123 __u16 reg, char *buf, int len)
128 if (!buf || len != 2)
145 reg, 0, buf, le
45 tm6000_i2c_send_regs(struct tm6000_core *dev, unsigned char addr, __u8 reg, char *buf, int len) argument
78 tm6000_i2c_recv_regs(struct tm6000_core *dev, unsigned char addr, __u8 reg, char *buf, int len) argument
122 tm6000_i2c_recv_regs16(struct tm6000_core *dev, unsigned char addr, __u16 reg, char *buf, int len) argument
[all...]
H A Dtm6000-usb-isoc.h2 * tm6000-buf.c - driver for TM5600/TM6000/TM6010 USB video capture devices
49 struct tm6000_buffer *buf; member in struct:usb_isoc_ctl
/drivers/scsi/qla2xxx/
H A Dqla_attr.c21 char *buf, loff_t off, size_t count)
33 rval = memory_read_from_buffer(buf, count,
38 rval = memory_read_from_buffer(buf, count,
42 return memory_read_from_buffer(buf, count, &off, ha->fw_dump,
49 char *buf, loff_t off, size_t count)
59 reading = simple_strtol(buf, NULL, 10);
126 char *buf, loff_t off, size_t count)
138 return memory_read_from_buffer(buf, count, &off, ha->nvram,
145 char *buf, loff_t off, size_t count)
161 iter = (uint32_t *)buf;
19 qla2x00_sysfs_read_fw_dump(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
47 qla2x00_sysfs_write_fw_dump(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
124 qla2x00_sysfs_read_nvram(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
143 qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
211 qla2x00_sysfs_read_optrom(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
227 qla2x00_sysfs_write_optrom(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
258 qla2x00_sysfs_write_optrom_ctl(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
422 qla2x00_sysfs_read_vpd(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
443 qla2x00_sysfs_write_vpd(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
496 qla2x00_sysfs_read_sfp(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
557 qla2x00_sysfs_write_reset(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
631 qla2x00_sysfs_read_xgmac_stats(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
683 qla2x00_sysfs_read_dcbx_tlv(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
804 qla2x00_drvr_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
811 qla2x00_fw_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
823 qla2x00_serial_num_show(struct device *dev, struct device_attribute *attr, char *buf) argument
841 qla2x00_isp_name_show(struct device *dev, struct device_attribute *attr, char *buf) argument
849 qla2x00_isp_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument
860 qla2x00_model_name_show(struct device *dev, struct device_attribute *attr, char *buf) argument
868 qla2x00_model_desc_show(struct device *dev, struct device_attribute *attr, char *buf) argument
877 qla2x00_pci_info_show(struct device *dev, struct device_attribute *attr, char *buf) argument
888 qla2x00_link_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
928 qla2x00_zio_show(struct device *dev, struct device_attribute *attr, char *buf) argument
946 qla2x00_zio_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
974 qla2x00_zio_timer_show(struct device *dev, struct device_attribute *attr, char *buf) argument
983 qla2x00_zio_timer_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1002 qla2x00_beacon_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1016 qla2x00_beacon_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1048 qla2x00_optrom_bios_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1058 qla2x00_optrom_efi_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1068 qla2x00_optrom_fcode_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1078 qla2x00_optrom_fw_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1089 qla2x00_optrom_gold_fw_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1104 qla2x00_total_isp_aborts_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1114 qla24xx_84xx_fw_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1136 qla2x00_mpi_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1151 qla2x00_phy_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1165 qla2x00_flash_block_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1175 qla2x00_vlan_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1187 qla2x00_vn_port_mac_address_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1202 qla2x00_fabric_param_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1211 qla2x00_thermal_temp_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1234 qla2x00_fw_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/drivers/video/omap2/dss/
H A Doverlay.c43 static ssize_t overlay_name_show(struct omap_overlay *ovl, char *buf) argument
45 return snprintf(buf, PAGE_SIZE, "%s\n", ovl->name);
48 static ssize_t overlay_manager_show(struct omap_overlay *ovl, char *buf) argument
50 return snprintf(buf, PAGE_SIZE, "%s\n",
54 static ssize_t overlay_manager_store(struct omap_overlay *ovl, const char *buf, argument
62 if (buf[size-1] == '\n')
69 if (sysfs_streq(buf, mgr->name))
125 static ssize_t overlay_input_size_show(struct omap_overlay *ovl, char *buf) argument
131 return snprintf(buf, PAGE_SIZE, "%d,%d\n",
135 static ssize_t overlay_screen_width_show(struct omap_overlay *ovl, char *buf) argument
144 overlay_position_show(struct omap_overlay *ovl, char *buf) argument
154 overlay_position_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
183 overlay_output_size_show(struct omap_overlay *ovl, char *buf) argument
193 overlay_output_size_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
222 overlay_enabled_show(struct omap_overlay *ovl, char *buf) argument
227 overlay_enabled_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
248 overlay_global_alpha_show(struct omap_overlay *ovl, char *buf) argument
258 overlay_global_alpha_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
289 overlay_pre_mult_alpha_show(struct omap_overlay *ovl, char *buf) argument
300 overlay_pre_mult_alpha_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
331 overlay_zorder_show(struct omap_overlay *ovl, char *buf) argument
340 overlay_zorder_store(struct omap_overlay *ovl, const char *buf, size_t size) argument
414 overlay_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument
429 overlay_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t size) argument
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_drm_buf.h39 struct exynos_drm_gem_buf *buf,
/drivers/i2c/busses/
H A Di2c-puv3.c51 static int xfer_read(struct i2c_adapter *adap, unsigned char *buf, int length) argument
53 int i2c_reg = *buf;
77 /* read the data to buf */
78 *buf = (readl(I2C_DATACMD) & I2C_DATACMD_DAT_MASK);
79 buf++;
85 static int xfer_write(struct i2c_adapter *adap, unsigned char *buf, int length) argument
87 int i2c_reg = *buf;
98 buf++;
105 writel(*buf | I2C_DATACMD_WRITE, I2C_DATACMD);
110 /* read the data to buf */
[all...]
/drivers/isdn/gigaset/
H A Dproc.c19 struct device_attribute *attr, char *buf)
23 return sprintf(buf, "%u\n", cs->cidmode);
27 const char *buf, size_t count)
33 value = simple_strtol(buf, &end, 0);
18 show_cidmode(struct device *dev, struct device_attribute *attr, char *buf) argument
26 set_cidmode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
/drivers/media/dvb/ngene/
H A Dngene-dvb.c50 static ssize_t ts_write(struct file *file, const char *buf, argument
62 dvb_ringbuffer_write(&dev->tsout_rbuf, buf, count);
67 static ssize_t ts_read(struct file *file, char *buf, argument
84 dvb_ringbuffer_read_user(&dev->tsin_rbuf, buf, avail);
86 buf += avail;
131 void *tsin_exchange(void *priv, void *buf, u32 len, u32 clock, u32 flags) argument
138 swap_buffer(buf, len);
142 if (memcmp(buf, fill_ts, sizeof fill_ts) != 0) {
144 dvb_ringbuffer_write(&dev->tsin_rbuf, buf, 188);
162 buf
174 tsout_exchange(void *priv, void *buf, u32 len, u32 clock, u32 flags) argument
[all...]
/drivers/media/video/cx18/
H A Dcx18-fileops.h26 ssize_t cx18_v4l2_read(struct file *filp, char __user *buf, size_t count,
28 ssize_t cx18_v4l2_write(struct file *filp, const char __user *buf, size_t count,
/drivers/media/video/ivtv/
H A Divtv-vbi.h27 void ivtv_process_vbi_data(struct ivtv *itv, struct ivtv_buffer *buf,
/drivers/media/video/pvrusb2/
H A Dpvrusb2-ioread.h35 int pvr2_ioread_read(struct pvr2_ioread *,void __user *buf,unsigned int cnt);
/drivers/mfd/
H A Dwm831x-otp.c46 struct device_attribute *attr, char *buf)
58 ret += sprintf(&buf[ret], "%02x", buf[i]);
60 ret += sprintf(&buf[ret], "\n");
45 wm831x_unique_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument
/drivers/mtd/
H A Dmtdblock_ro.c29 unsigned long block, char *buf)
33 if (mtd_read(dev->mtd, (block * 512), 512, &retlen, buf))
39 unsigned long block, char *buf)
43 if (mtd_write(dev->mtd, (block * 512), 512, &retlen, buf))
28 mtdblock_readsect(struct mtd_blktrans_dev *dev, unsigned long block, char *buf) argument
38 mtdblock_writesect(struct mtd_blktrans_dev *dev, unsigned long block, char *buf) argument
/drivers/net/usb/
H A Dcx82310_eth.c69 u8 *buf = kzalloc(CMD_PACKET_SIZE, GFP_KERNEL); local
71 if (!buf)
75 buf[0] = cmd;
77 memcpy(buf + 4, wdata, min_t(int, wlen, CMD_PACKET_SIZE - 4));
80 ret = usb_bulk_msg(udev, usb_sndbulkpipe(udev, CMD_EP), buf,
92 buf, CMD_PACKET_SIZE, &actual_len,
108 if (buf[0] != cmd) {
111 buf[0], cmd);
115 if (buf[1] != STATUS_SUCCESS) {
117 cmd, buf[
137 char buf[15]; local
[all...]
/drivers/net/wireless/bcmdhd/include/
H A Dhndrte_cons.h36 uint32 buf; /* Can't be pointer on (64-bit) hosts */ member in struct:__anon3317
/drivers/net/wireless/brcm80211/brcmsmac/
H A Dsrom.h27 uint byteoff, uint nbytes, u16 *buf, bool check_crc);
/drivers/net/wireless/orinoco/
H A Dscan.h17 unsigned char *buf,
/drivers/scsi/be2iscsi/
H A Dbe_iscsi.h53 char *buf);
56 enum iscsi_host_param param, char *buf);
58 int beiscsi_get_macaddr(char *buf, struct beiscsi_hba *phba);
61 enum iscsi_param param, char *buf, int buflen);
/drivers/sh/intc/
H A Duserimask.c24 struct device_attribute *attr, char *buf)
26 return sprintf(buf, "%d\n", (__raw_readl(uimask) >> 4) & 0xf);
32 const char *buf, size_t count)
36 level = simple_strtoul(buf, NULL, 10);
23 show_intc_userimask(struct device *dev, struct device_attribute *attr, char *buf) argument
30 store_intc_userimask(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
/drivers/tty/hvc/
H A Dhvc_bfin_jtag.c41 static int hvc_bfin_put_chars(uint32_t vt, const char *buf, int count) argument
57 memcpy(&emudat, buf, ret);
65 static int hvc_bfin_get_chars(uint32_t vt, char *buf, int count) argument
81 memcpy(buf, &emudat, ret);
H A Dhvc_dcc.c62 static int hvc_dcc_put_chars(uint32_t vt, const char *buf, int count) argument
70 __dcc_putchar(buf[i]);
76 static int hvc_dcc_get_chars(uint32_t vt, char *buf, int count) argument
82 buf[i] = __dcc_getchar();
H A Dhvc_rtas.c47 static inline int hvc_rtas_write_console(uint32_t vtermno, const char *buf, argument
53 if (rtas_call(rtascons_put_char_token, 1, 1, NULL, buf[i]))
60 static int hvc_rtas_read_console(uint32_t vtermno, char *buf, int count) argument
68 buf[i] = c;
H A Dhvc_udbg.c35 static int hvc_udbg_put(uint32_t vtermno, const char *buf, int count) argument
40 udbg_putc(buf[i]);
45 static int hvc_udbg_get(uint32_t vtermno, char *buf, int count) argument
55 buf[i] = c;
/drivers/usb/serial/
H A Dpl2303.c159 struct usb_serial *serial, unsigned char *buf)
163 value, index, buf, 1, 100);
165 VENDOR_READ_REQUEST, value, index, res, buf[0]);
184 unsigned char *buf; local
187 buf = kmalloc(10, GFP_KERNEL);
188 if (buf == NULL)
211 pl2303_vendor_read(0x8484, 0, serial, buf);
213 pl2303_vendor_read(0x8484, 0, serial, buf);
214 pl2303_vendor_read(0x8383, 0, serial, buf);
215 pl2303_vendor_read(0x8484, 0, serial, buf);
158 pl2303_vendor_read(__u16 value, __u16 index, struct usb_serial *serial, unsigned char *buf) argument
257 unsigned char *buf; local
[all...]
/drivers/uwb/
H A Ddriver.c79 char *buf)
81 return scnprintf(buf, PAGE_SIZE, "%lu\n", beacon_timeout_ms);
87 const char *buf, size_t size)
91 result = sscanf(buf, "%lu", &bt);
77 beacon_timeout_ms_show(struct class *class, struct class_attribute *attr, char *buf) argument
85 beacon_timeout_ms_store(struct class *class, struct class_attribute *attr, const char *buf, size_t size) argument

Completed in 1915 milliseconds

<<11121314151617181920>>