Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 200 of 5011) sorted by relevance

12345678910>>...26

/linux-4.4.14/net/bridge/
Dbr_sysfs_br.c32 const char *buf, size_t len, in store_bridge_parm()
53 struct device_attribute *attr, char *buf) in forward_delay_show()
61 const char *buf, size_t len) in forward_delay_store()
68 char *buf) in hello_time_show()
75 struct device_attribute *attr, const char *buf, in hello_time_store()
83 char *buf) in max_age_show()
90 const char *buf, size_t len) in max_age_store()
97 struct device_attribute *attr, char *buf) in ageing_time_show()
118 const char *buf, size_t len) in ageing_time_store()
125 struct device_attribute *attr, char *buf) in stp_state_show()
[all …]
Dbr_sysfs_if.c69 static ssize_t show_path_cost(struct net_bridge_port *p, char *buf) in show_path_cost()
77 static ssize_t show_priority(struct net_bridge_port *p, char *buf) in show_priority()
85 static ssize_t show_designated_root(struct net_bridge_port *p, char *buf) in show_designated_root()
91 static ssize_t show_designated_bridge(struct net_bridge_port *p, char *buf) in show_designated_bridge()
97 static ssize_t show_designated_port(struct net_bridge_port *p, char *buf) in show_designated_port()
103 static ssize_t show_designated_cost(struct net_bridge_port *p, char *buf) in show_designated_cost()
109 static ssize_t show_port_id(struct net_bridge_port *p, char *buf) in show_port_id()
115 static ssize_t show_port_no(struct net_bridge_port *p, char *buf) in show_port_no()
122 static ssize_t show_change_ack(struct net_bridge_port *p, char *buf) in show_change_ack()
128 static ssize_t show_config_pending(struct net_bridge_port *p, char *buf) in show_config_pending()
[all …]
/linux-4.4.14/fs/nilfs2/
Dsysfs.c31 #define NILFS_SHOW_TIME(time_t_val, buf) ({ \ argument
120 struct nilfs_root *root, char *buf) in nilfs_snapshot_inodes_count_show()
128 struct nilfs_root *root, char *buf) in nilfs_snapshot_blocks_count_show()
141 struct nilfs_root *root, char *buf) in nilfs_snapshot_README_show()
158 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show()
170 const char *buf, size_t len) in nilfs_snapshot_attr_store()
242 struct the_nilfs *nilfs, char *buf) in nilfs_mounted_snapshots_README_show()
265 char *buf) in nilfs_checkpoints_checkpoints_number_show()
288 char *buf) in nilfs_checkpoints_snapshots_number_show()
311 char *buf) in nilfs_checkpoints_last_seg_checkpoint_show()
[all …]
/linux-4.4.14/drivers/net/wireless/cw1200/
Dwsm.c30 #define WSM_SKIP(buf, size) \ argument
37 #define WSM_GET(buf, ptr, size) \ argument
45 #define __WSM_GET(buf, type, type2, cvt) \ argument
55 #define WSM_GET8(buf) __WSM_GET(buf, u8, u8, (u8)) argument
56 #define WSM_GET16(buf) __WSM_GET(buf, u16, __le16, __le16_to_cpu) argument
57 #define WSM_GET32(buf) __WSM_GET(buf, u32, __le32, __le32_to_cpu) argument
59 #define WSM_PUT(buf, ptr, size) \ argument
68 #define __WSM_PUT(buf, val, type, type2, cvt) \ argument
77 #define WSM_PUT8(buf, val) __WSM_PUT(buf, val, u8, u8, (u8)) argument
78 #define WSM_PUT16(buf, val) __WSM_PUT(buf, val, u16, __le16, __cpu_to_le16) argument
[all …]
Dhwio.c34 void *buf, size_t buf_len, int buf_id) in __cw1200_reg_read()
55 const void *buf, size_t buf_len, int buf_id) in __cw1200_reg_write()
101 int cw1200_reg_read(struct cw1200_common *priv, u16 addr, void *buf, in cw1200_reg_read()
111 int cw1200_reg_write(struct cw1200_common *priv, u16 addr, const void *buf, in cw1200_reg_write()
121 int cw1200_data_read(struct cw1200_common *priv, void *buf, size_t buf_len) in cw1200_data_read()
147 int cw1200_data_write(struct cw1200_common *priv, const void *buf, in cw1200_data_write()
174 int cw1200_indirect_read(struct cw1200_common *priv, u32 addr, void *buf, in cw1200_indirect_read()
238 int cw1200_apb_write(struct cw1200_common *priv, u32 addr, const void *buf, in cw1200_apb_write()
/linux-4.4.14/drivers/s390/net/
Dqeth_l3_sys.c17 struct qeth_routing_info *route, char *buf) in qeth_l3_dev_route_show()
45 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show()
57 const char *buf, size_t count) in qeth_l3_dev_route_store()
94 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store()
109 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show()
120 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store()
135 struct device_attribute *attr, char *buf) in qeth_l3_dev_fake_broadcast_show()
146 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_fake_broadcast_store()
176 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show()
187 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_sniffer_store()
[all …]
Dqeth_core_sys.c19 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
47 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
59 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
70 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
96 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
108 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
118 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store()
154 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
160 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store()
173 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
[all …]
Dctcm_sysfs.c24 struct device_attribute *attr, char *buf) in ctcm_buffer_show()
34 struct device_attribute *attr, const char *buf, size_t count) in ctcm_buffer_write()
113 struct device_attribute *attr, char *buf) in stats_show()
125 const char *buf, size_t count) in stats_write()
137 struct device_attribute *attr, char *buf) in ctcm_proto_show()
147 struct device_attribute *attr, const char *buf, size_t count) in ctcm_proto_store()
177 struct device_attribute *attr, char *buf) in ctcm_type_show()
Dqeth_l2_sys.c15 struct device_attribute *attr, char *buf, in qeth_bridge_port_role_state_show()
64 struct device_attribute *attr, char *buf) in qeth_bridge_port_role_show()
70 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridge_port_role_store()
107 struct device_attribute *attr, char *buf) in qeth_bridge_port_state_show()
116 struct device_attribute *attr, char *buf) in qeth_bridgeport_hostnotification_show()
130 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridgeport_hostnotification_store()
165 struct device_attribute *attr, char *buf) in qeth_bridgeport_reflect_show()
185 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridgeport_reflect_store()
/linux-4.4.14/arch/mips/include/asm/
Duasm.h200 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument
201 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument
202 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument
203 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
204 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument
205 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument
206 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument
207 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument
208 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument
209 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument
[all …]
/linux-4.4.14/drivers/base/power/
Dsysfs.c102 char *buf) in control_show()
109 const char * buf, size_t n) in control_store()
131 struct device_attribute *attr, char *buf) in rtpm_active_time_show()
144 struct device_attribute *attr, char *buf) in rtpm_suspended_time_show()
158 struct device_attribute *attr, char *buf) in rtpm_status_show()
190 struct device_attribute *attr, char *buf) in autosuspend_delay_ms_show()
198 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store()
219 char *buf) in pm_qos_resume_latency_show()
226 const char *buf, size_t n) in pm_qos_resume_latency_store()
247 char *buf) in pm_qos_latency_tolerance_show()
[all …]
/linux-4.4.14/drivers/usb/gadget/
Du_os_desc.h38 static inline u8 *__usb_ext_prop_ptr(u8 *buf, size_t offset) in __usb_ext_prop_ptr()
43 static inline u8 *usb_ext_prop_size_ptr(u8 *buf) in usb_ext_prop_size_ptr()
48 static inline u8 *usb_ext_prop_type_ptr(u8 *buf) in usb_ext_prop_type_ptr()
53 static inline u8 *usb_ext_prop_name_len_ptr(u8 *buf) in usb_ext_prop_name_len_ptr()
58 static inline u8 *usb_ext_prop_name_ptr(u8 *buf) in usb_ext_prop_name_ptr()
63 static inline u8 *usb_ext_prop_data_len_ptr(u8 *buf, size_t off) in usb_ext_prop_data_len_ptr()
69 static inline u8 *usb_ext_prop_data_ptr(u8 *buf, size_t off) in usb_ext_prop_data_ptr()
74 static inline void usb_ext_prop_put_size(u8 *buf, int dw_size) in usb_ext_prop_put_size()
79 static inline void usb_ext_prop_put_type(u8 *buf, int type) in usb_ext_prop_put_type()
84 static inline int usb_ext_prop_put_name(u8 *buf, const char *name, int pnl) in usb_ext_prop_put_name()
[all …]
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_sysfs.c76 static ssize_t show_version(struct device_driver *dev, char *buf) in show_version()
82 static ssize_t show_num_units(struct device_driver *dev, char *buf) in show_num_units()
90 char *buf) in show_status()
123 char *buf) in show_status_str()
161 char *buf) in show_boardversion()
170 char *buf) in show_localbus_info()
179 char *buf) in show_lmc()
188 const char *buf, in store_lmc()
215 char *buf) in show_lid()
224 const char *buf, in store_lid()
[all …]
/linux-4.4.14/drivers/hwtracing/coresight/
Dcoresight-etm4x.c316 char *buf) in nr_pe_cmp_show()
328 char *buf) in nr_addr_cmp_show()
340 char *buf) in nr_cntr_show()
352 char *buf) in nr_ext_inp_show()
364 char *buf) in numcidc_show()
376 char *buf) in numvmidc_show()
388 char *buf) in nrseqstate_show()
400 char *buf) in nr_resource_show()
412 char *buf) in nr_ss_cmp_show()
424 const char *buf, size_t size) in reset_store()
[all …]
Dcoresight-etm3x.c434 struct device_attribute *attr, char *buf) in nr_addr_cmp_show()
445 struct device_attribute *attr, char *buf) in nr_cntr_show()
455 struct device_attribute *attr, char *buf) in nr_ctxid_cmp_show()
466 struct device_attribute *attr, char *buf) in etmsr_show()
487 const char *buf, size_t size) in reset_store()
520 struct device_attribute *attr, char *buf) in mode_show()
531 const char *buf, size_t size) in mode_store()
589 struct device_attribute *attr, char *buf) in trigger_event_show()
600 const char *buf, size_t size) in trigger_event_store()
617 struct device_attribute *attr, char *buf) in enable_event_show()
[all …]
/linux-4.4.14/drivers/net/bonding/
Dbond_sysfs.c53 char *buf) in bonding_show_bonds()
178 struct device_attribute *attr, char *buf) in bonding_show_slaves()
211 struct device_attribute *attr, char *buf) in bonding_show_mode()
226 char *buf) in bonding_show_xmit_hash()
241 char *buf) in bonding_show_arp_validate()
257 char *buf) in bonding_show_arp_all_targets()
273 char *buf) in bonding_show_fail_over_mac()
289 char *buf) in bonding_show_arp_interval()
301 char *buf) in bonding_show_arp_targets()
322 char *buf) in bonding_show_downdelay()
[all …]
Dbond_sysfs_slave.c31 static ssize_t state_show(struct slave *slave, char *buf) in state_show()
44 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show()
50 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show()
56 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf) in perm_hwaddr_show()
62 static ssize_t queue_id_show(struct slave *slave, char *buf) in queue_id_show()
68 static ssize_t ad_aggregator_id_show(struct slave *slave, char *buf) in ad_aggregator_id_show()
83 static ssize_t ad_actor_oper_port_state_show(struct slave *slave, char *buf) in ad_actor_oper_port_state_show()
98 static ssize_t ad_partner_oper_port_state_show(struct slave *slave, char *buf) in ad_partner_oper_port_state_show()
129 struct attribute *attr, char *buf) in slave_show()
/linux-4.4.14/kernel/
Dksysfs.c34 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
43 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
49 const char *buf, size_t count) in uevent_helper_store()
64 struct kobj_attribute *attr, char *buf) in profiling_show()
70 const char *buf, size_t count) in profiling_store()
95 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
102 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
109 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
115 const char *buf, size_t count) in kexec_crash_size_store()
129 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
Drelay.c35 struct rchan_buf *buf = vma->vm_private_data; in relay_file_mmap_close() local
45 struct rchan_buf *buf = vma->vm_private_data; in relay_buf_fault() local
96 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf()
123 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf()
164 struct rchan_buf *buf; in relay_create_buf() local
206 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf()
233 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local
243 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty()
254 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full()
273 static int subbuf_start_default_callback (struct rchan_buf *buf, in subbuf_start_default_callback()
[all …]
/linux-4.4.14/kernel/power/
Dmain.c52 char *buf) in pm_async_show()
58 const char *buf, size_t n) in pm_async_store()
87 char *buf) in pm_test_show()
108 const char *buf, size_t n) in pm_test_store()
248 struct kobj_attribute *attr, char *buf) in pm_print_times_show()
255 const char *buf, size_t n) in pm_print_times_store()
278 char *buf) in pm_wakeup_irq_show()
285 const char *buf, size_t n) in pm_wakeup_irq_store()
308 char *buf) in state_show()
327 static suspend_state_t decode_state(const char *buf, size_t n) in decode_state()
[all …]
/linux-4.4.14/drivers/misc/mic/cosm/
Dcosm_sysfs.c67 family_show(struct device *dev, struct device_attribute *attr, char *buf) in family_show()
79 stepping_show(struct device *dev, struct device_attribute *attr, char *buf) in stepping_show()
91 state_show(struct device *dev, struct device_attribute *attr, char *buf) in state_show()
104 const char *buf, size_t count) in state_store()
134 struct device_attribute *attr, char *buf) in shutdown_status_show()
148 struct device_attribute *attr, char *buf) in heartbeat_enable_show()
161 const char *buf, size_t count) in heartbeat_enable_store()
187 cmdline_show(struct device *dev, struct device_attribute *attr, char *buf) in cmdline_show()
204 const char *buf, size_t count) in cmdline_store()
233 firmware_show(struct device *dev, struct device_attribute *attr, char *buf) in firmware_show()
[all …]
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Doverlay-sysfs.c34 static ssize_t overlay_name_show(struct omap_overlay *ovl, char *buf) in overlay_name_show()
39 static ssize_t overlay_manager_show(struct omap_overlay *ovl, char *buf) in overlay_manager_show()
45 static ssize_t overlay_manager_store(struct omap_overlay *ovl, const char *buf, in overlay_manager_store()
116 static ssize_t overlay_input_size_show(struct omap_overlay *ovl, char *buf) in overlay_input_size_show()
126 static ssize_t overlay_screen_width_show(struct omap_overlay *ovl, char *buf) in overlay_screen_width_show()
135 static ssize_t overlay_position_show(struct omap_overlay *ovl, char *buf) in overlay_position_show()
146 const char *buf, size_t size) in overlay_position_store()
174 static ssize_t overlay_output_size_show(struct omap_overlay *ovl, char *buf) in overlay_output_size_show()
185 const char *buf, size_t size) in overlay_output_size_store()
213 static ssize_t overlay_enabled_show(struct omap_overlay *ovl, char *buf) in overlay_enabled_show()
[all …]
Dmanager-sysfs.c34 static ssize_t manager_name_show(struct omap_overlay_manager *mgr, char *buf) in manager_name_show()
39 static ssize_t manager_display_show(struct omap_overlay_manager *mgr, char *buf) in manager_display_show()
55 const char *buf, size_t size) in manager_display_store()
128 char *buf) in manager_default_color_show()
138 const char *buf, size_t size) in manager_default_color_store()
169 char *buf) in manager_trans_key_type_show()
183 const char *buf, size_t size) in manager_trans_key_type_store()
214 char *buf) in manager_trans_key_value_show()
224 const char *buf, size_t size) in manager_trans_key_value_store()
250 char *buf) in manager_trans_key_enabled_show()
[all …]
Ddisplay-sysfs.c31 static ssize_t display_name_show(struct omap_dss_device *dssdev, char *buf) in display_name_show()
38 static ssize_t display_enabled_show(struct omap_dss_device *dssdev, char *buf) in display_enabled_show()
45 const char *buf, size_t size) in display_enabled_store()
71 static ssize_t display_tear_show(struct omap_dss_device *dssdev, char *buf) in display_tear_show()
79 const char *buf, size_t size) in display_tear_store()
98 static ssize_t display_timings_show(struct omap_dss_device *dssdev, char *buf) in display_timings_show()
114 const char *buf, size_t size) in display_timings_store()
151 static ssize_t display_rotate_show(struct omap_dss_device *dssdev, char *buf) in display_rotate_show()
161 const char *buf, size_t size) in display_rotate_store()
179 static ssize_t display_mirror_show(struct omap_dss_device *dssdev, char *buf) in display_mirror_show()
[all …]
/linux-4.4.14/drivers/staging/dgnc/
Ddgnc_sysfs.c28 static ssize_t dgnc_driver_version_show(struct device_driver *ddp, char *buf) in dgnc_driver_version_show()
34 static ssize_t dgnc_driver_boards_show(struct device_driver *ddp, char *buf) in dgnc_driver_boards_show()
40 static ssize_t dgnc_driver_maxboards_show(struct device_driver *ddp, char *buf) in dgnc_driver_maxboards_show()
46 static ssize_t dgnc_driver_pollrate_show(struct device_driver *ddp, char *buf) in dgnc_driver_pollrate_show()
52 const char *buf, size_t count) in dgnc_driver_pollrate_store()
107 char *buf) in dgnc_vpd_show()
129 struct device_attribute *attr, char *buf) in dgnc_serial_number_show()
146 struct device_attribute *attr, char *buf) in dgnc_ports_state_show()
164 struct device_attribute *attr, char *buf) in dgnc_ports_baud_show()
183 char *buf) in dgnc_ports_msignals_show()
[all …]
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_tmpl.c109 qla27xx_insert16(uint16_t value, void *buf, ulong *len) in qla27xx_insert16()
119 qla27xx_insert32(uint32_t value, void *buf, ulong *len) in qla27xx_insert32()
129 qla27xx_insertbuf(void *mem, ulong size, void *buf, ulong *len) in qla27xx_insertbuf()
140 qla27xx_read8(void __iomem *window, void *buf, ulong *len) in qla27xx_read8()
151 qla27xx_read16(void __iomem *window, void *buf, ulong *len) in qla27xx_read16()
162 qla27xx_read32(void __iomem *window, void *buf, ulong *len) in qla27xx_read32()
182 uint offset, void *buf, ulong *len) in qla27xx_read_reg()
191 uint offset, uint32_t data, void *buf) in qla27xx_write_reg()
202 uint32_t addr, uint offset, uint count, uint width, void *buf, in qla27xx_read_window()
218 qla27xx_skip_entry(struct qla27xx_fwdt_entry *ent, void *buf) in qla27xx_skip_entry()
[all …]
Dqla_attr.c22 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_fw_dump()
55 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_fw_dump()
152 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_fw_dump_template()
170 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_fw_dump_template()
238 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_nvram()
257 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_nvram()
325 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_optrom()
346 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_optrom()
379 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_optrom_ctl()
560 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_vpd()
[all …]
/linux-4.4.14/drivers/usb/core/
Dsysfs.c46 struct device_attribute *attr, char *buf) in bMaxPower_show()
63 struct device_attribute *attr, char *buf) in configuration_show()
84 const char *buf, size_t count) in bConfigurationValue_store()
120 char *buf) in speed_show()
152 char *buf) in busnum_show()
162 char *buf) in devnum_show()
172 char *buf) in devpath_show()
182 char *buf) in version_show()
194 char *buf) in maxchild_show()
204 char *buf) in quirks_show()
[all …]
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_attr.c14 struct bin_attribute *ba, char *buf, loff_t off, in qla4_8xxx_sysfs_read_fw_dump()
32 struct bin_attribute *ba, char *buf, loff_t off, in qla4_8xxx_sysfs_write_fw_dump()
155 struct device_attribute *attr, char *buf) in qla4xxx_fw_version_show()
171 char *buf) in qla4xxx_serial_num_show()
179 char *buf) in qla4xxx_iscsi_version_show()
188 char *buf) in qla4xxx_optrom_version_show()
198 char *buf) in qla4xxx_board_id_show()
206 char *buf) in qla4xxx_fw_state_show()
217 char *buf) in qla4xxx_phy_port_cnt_show()
229 char *buf) in qla4xxx_phy_port_num_show()
[all …]
/linux-4.4.14/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c73 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt()
96 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip()
119 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr()
129 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs()
153 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb()
176 static int intel_pt_get_tma(const unsigned char *buf, size_t len, in intel_pt_get_tma()
194 static int intel_pt_get_mnt(const unsigned char *buf, size_t len, in intel_pt_get_mnt()
205 static int intel_pt_get_3byte(const unsigned char *buf, size_t len, in intel_pt_get_3byte()
219 static int intel_pt_get_ext(const unsigned char *buf, size_t len, in intel_pt_get_ext()
269 static int intel_pt_get_cyc(unsigned int byte, const unsigned char *buf, in intel_pt_get_cyc()
[all …]
/linux-4.4.14/drivers/video/fbdev/core/
Dfbsysfs.c105 static int mode_string(char *buf, unsigned int offset, in mode_string()
128 const char *buf, size_t count) in store_mode()
159 char *buf) in show_mode()
171 const char *buf, size_t count) in store_modes()
202 char *buf) in show_modes()
220 const char *buf, size_t count) in store_bpp()
235 char *buf) in show_bpp()
243 const char *buf, size_t count) in store_rotate()
261 struct device_attribute *attr, char *buf) in show_rotate()
270 const char *buf, size_t count) in store_virtual()
[all …]
/linux-4.4.14/fs/gfs2/
Dsys.c39 char *buf) in gfs2_attr_show()
47 const char *buf, size_t len) in gfs2_attr_store()
62 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) in id_show()
68 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
84 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
94 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
102 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
132 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
138 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
157 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store()
[all …]
/linux-4.4.14/arch/powerpc/platforms/cell/
Dcbe_thermal.c101 char *buf) in spu_show_temp()
113 static ssize_t show_throttle(struct cbe_pmd_regs __iomem *pmd_regs, char *buf, int pos) in show_throttle()
125 static ssize_t store_throttle(struct cbe_pmd_regs __iomem *pmd_regs, const char *buf, size_t size, … in store_throttle()
151 struct device_attribute *attr, char *buf) in spu_show_throttle_end()
157 struct device_attribute *attr, char *buf) in spu_show_throttle_begin()
163 struct device_attribute *attr, char *buf) in spu_show_throttle_full_stop()
169 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_end()
175 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_begin()
181 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_full_stop()
186 static ssize_t ppe_show_temp(struct device *dev, char *buf, int pos) in ppe_show_temp()
[all …]
/linux-4.4.14/drivers/misc/cxl/
Dsysfs.c23 char *buf) in caia_version_show()
33 char *buf) in psl_revision_show()
42 char *buf) in base_image_show()
51 char *buf) in image_loaded_show()
62 const char *buf, size_t count) in reset_adapter_store()
79 char *buf) in load_image_on_perst_show()
93 const char *buf, size_t count) in load_image_on_perst_store()
117 char *buf) in perst_reloads_same_image_show()
126 const char *buf, size_t count) in perst_reloads_same_image_store()
155 char *buf) in mmio_size_show_master()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_hwmon.c39 nouveau_hwmon_show_temp(struct device *d, struct device_attribute *a, char *buf) in nouveau_hwmon_show_temp()
56 struct device_attribute *a, char *buf) in nouveau_hwmon_show_temp1_auto_point1_pwm()
65 struct device_attribute *a, char *buf) in nouveau_hwmon_temp1_auto_point1_temp()
77 const char *buf, size_t count) in nouveau_hwmon_set_temp1_auto_point1_temp()
98 struct device_attribute *a, char *buf) in nouveau_hwmon_temp1_auto_point1_temp_hyst()
110 const char *buf, size_t count) in nouveau_hwmon_set_temp1_auto_point1_temp_hyst()
130 nouveau_hwmon_max_temp(struct device *d, struct device_attribute *a, char *buf) in nouveau_hwmon_max_temp()
141 const char *buf, size_t count) in nouveau_hwmon_set_max_temp()
161 char *buf) in nouveau_hwmon_max_temp_hyst()
172 const char *buf, size_t count) in nouveau_hwmon_set_max_temp_hyst()
[all …]
/linux-4.4.14/drivers/scsi/pcmcia/
Dnsp_io.h69 void *buf, in nsp_multi_read_1()
76 void *buf, in nsp_fifo8_read()
88 void *buf, in nsp_multi_read_2()
95 void *buf, in nsp_fifo16_read()
107 void *buf, in nsp_multi_read_4()
114 void *buf, in nsp_fifo32_read()
126 void *buf, in nsp_multi_write_1()
133 void *buf, in nsp_fifo8_write()
144 void *buf, in nsp_multi_write_2()
151 void *buf, in nsp_fifo16_write()
[all …]
/linux-4.4.14/drivers/pcmcia/
Dsocket_sysfs.c37 char *buf) in pccard_show_type()
50 char *buf) in pccard_show_voltage()
64 char *buf) in pccard_show_vpp()
74 char *buf) in pccard_show_vcc()
85 const char *buf, size_t count) in pccard_store_insert()
101 char *buf) in pccard_show_card_pm_state()
109 const char *buf, size_t count) in pccard_store_card_pm_state()
132 const char *buf, size_t count) in pccard_store_eject()
148 char *buf) in pccard_show_irq_mask()
156 const char *buf, size_t count) in pccard_store_irq_mask()
[all …]
/linux-4.4.14/sound/firewire/bebob/
Dbebob_command.c14 u8 *buf; in avc_audio_set_selector() local
50 u8 *buf; in avc_audio_get_selector() local
89 avc_bridgeco_fill_extension_addr(u8 *buf, u8 *addr) in avc_bridgeco_fill_extension_addr()
96 avc_bridgeco_fill_plug_info_extension_command(u8 *buf, u8 *addr, in avc_bridgeco_fill_plug_info_extension_command()
110 u8 *buf; in avc_bridgeco_get_plug_type() local
143 u8 *buf, unsigned int len) in avc_bridgeco_get_plug_ch_pos()
175 u8 *buf; in avc_bridgeco_get_plug_section_type() local
212 u8 *buf; in avc_bridgeco_get_plug_input() local
243 u8 addr[AVC_BRIDGECO_ADDR_BYTES], u8 *buf, in avc_bridgeco_get_plug_strm_fmt()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_pt.c90 char *buf) in pt_cap_show()
297 static void pt_config_buffer(void *buf, unsigned int topa_idx, in pt_config_buffer()
388 static void topa_insert_table(struct pt_buffer *buf, struct topa *topa) in topa_insert_table()
434 static int topa_insert_pages(struct pt_buffer *buf, gfp_t gfp) in topa_insert_pages()
471 static void pt_topa_dump(struct pt_buffer *buf) in pt_topa_dump()
503 static void pt_buffer_advance(struct pt_buffer *buf) in pt_buffer_advance()
526 struct pt_buffer *buf = perf_get_aux(&pt->handle); in pt_update_head() local
552 static void *pt_buffer_region(struct pt_buffer *buf) in pt_buffer_region()
561 static size_t pt_buffer_region_size(struct pt_buffer *buf) in pt_buffer_region_size()
572 struct pt_buffer *buf = perf_get_aux(&pt->handle); in pt_handle_status() local
[all …]
/linux-4.4.14/drivers/staging/iio/addac/
Dadt7316.c221 char *buf) in adt7316_show_enabled()
252 const char *buf, in adt7316_store_enabled()
277 char *buf) in adt7316_show_select_ex_temp()
290 const char *buf, in adt7316_store_select_ex_temp()
321 char *buf) in adt7316_show_mode()
334 const char *buf, in adt7316_store_mode()
362 char *buf) in adt7316_show_all_modes()
371 char *buf) in adt7316_show_ad_channel()
409 const char *buf, in adt7316_store_ad_channel()
456 char *buf) in adt7316_show_all_ad_channels()
[all …]
/linux-4.4.14/net/sunrpc/
Daddr.c28 char *buf, const int buflen) in rpc_ntop6_noscopeid()
66 char *buf, const size_t buflen) in rpc_ntop6()
98 char *buf, const int buflen) in rpc_ntop6_noscopeid()
104 char *buf, const size_t buflen) in rpc_ntop6()
112 char *buf, const size_t buflen) in rpc_ntop4()
128 size_t rpc_ntop(const struct sockaddr *sap, char *buf, const size_t buflen) in rpc_ntop()
141 static size_t rpc_pton4(const char *buf, const size_t buflen, in rpc_pton4()
160 static int rpc_parse_scope_id(struct net *net, const char *buf, in rpc_parse_scope_id()
202 static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen, in rpc_pton6()
225 static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen, in rpc_pton6()
[all …]
Dxdr.c121 xdr_terminate_string(struct xdr_buf *buf, const u32 len) in xdr_terminate_string()
137 char *buf = (char *)head->iov_base; in xdr_inline_pages() local
316 xdr_shrink_bufhead(struct xdr_buf *buf, size_t len) in xdr_shrink_bufhead()
392 xdr_shrink_pagelen(struct xdr_buf *buf, size_t len) in xdr_shrink_pagelen()
431 xdr_shift_buf(struct xdr_buf *buf, size_t len) in xdr_shift_buf()
460 void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p) in xdr_init_encode()
605 struct xdr_buf *buf = xdr->buf; in xdr_truncate_encode() local
668 struct xdr_buf *buf = xdr->buf; in xdr_restrict_buflen() local
694 struct xdr_buf *buf = xdr->buf; in xdr_write_pages() local
790 void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p) in xdr_init_decode()
[all …]
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_sysfs.c43 static ssize_t show_hrtbt_enb(struct qib_pportdata *ppd, char *buf) in show_hrtbt_enb()
53 static ssize_t store_hrtbt_enb(struct qib_pportdata *ppd, const char *buf, in store_hrtbt_enb()
77 static ssize_t store_loopback(struct qib_pportdata *ppd, const char *buf, in store_loopback()
90 static ssize_t store_led_override(struct qib_pportdata *ppd, const char *buf, in store_led_override()
107 static ssize_t show_status(struct qib_pportdata *ppd, char *buf) in show_status()
137 static ssize_t show_status_str(struct qib_pportdata *ppd, char *buf) in show_status_str()
213 char *buf, loff_t pos, size_t count) in read_cc_table_bin()
263 char *buf, loff_t pos, size_t count) in read_cc_setting_bin()
297 struct attribute *attr, char *buf) in qib_portattr_show()
308 struct attribute *attr, const char *buf, size_t len) in qib_portattr_store()
[all …]
/linux-4.4.14/drivers/misc/genwqe/
Dcard_sysfs.c48 char *buf) in status_show()
58 char *buf) in appid_show()
69 char *buf) in version_show()
82 char *buf) in type_show()
94 char *buf) in tempsens_show()
106 char *buf) in freerunning_timer_show()
118 char *buf) in queue_working_time_show()
130 char *buf) in base_clock_show()
157 struct device_attribute *attr, char *buf) in curr_bitstream_show()
173 struct device_attribute *attr, char *buf) in next_bitstream_show()
[all …]
/linux-4.4.14/drivers/media/v4l2-core/
Dvideobuf2-vmalloc.c39 struct vb2_vmalloc_buf *buf; in vb2_vmalloc_alloc() local
64 struct vb2_vmalloc_buf *buf = buf_priv; in vb2_vmalloc_put() local
76 struct vb2_vmalloc_buf *buf; in vb2_vmalloc_get_userptr() local
124 struct vb2_vmalloc_buf *buf = buf_priv; in vb2_vmalloc_put_userptr() local
147 struct vb2_vmalloc_buf *buf = buf_priv; in vb2_vmalloc_vaddr() local
160 struct vb2_vmalloc_buf *buf = buf_priv; in vb2_vmalloc_num_users() local
166 struct vb2_vmalloc_buf *buf = buf_priv; in vb2_vmalloc_mmap() local
210 struct vb2_vmalloc_buf *buf = dbuf->priv; in vb2_vmalloc_dmabuf_ops_attach() local
319 struct vb2_vmalloc_buf *buf = dbuf->priv; in vb2_vmalloc_dmabuf_ops_kmap() local
326 struct vb2_vmalloc_buf *buf = dbuf->priv; in vb2_vmalloc_dmabuf_ops_vmap() local
[all …]
Dvideobuf2-dma-contig.c72 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_cookie() local
79 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_vaddr() local
89 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_num_users() local
96 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_prepare() local
109 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_finish() local
125 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_put() local
144 struct vb2_dc_buf *buf; in vb2_dc_alloc() local
174 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_mmap() local
225 struct vb2_dc_buf *buf = dbuf->priv; in vb2_dc_dmabuf_ops_attach() local
330 struct vb2_dc_buf *buf = dbuf->priv; in vb2_dc_dmabuf_ops_kmap() local
[all …]
Dvideobuf2-dma-sg.c61 static int vb2_dma_sg_alloc_compacted(struct vb2_dma_sg_buf *buf, in vb2_dma_sg_alloc_compacted()
106 struct vb2_dma_sg_buf *buf; in vb2_dma_sg_alloc() local
181 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_put() local
206 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_prepare() local
219 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_finish() local
234 struct vb2_dma_sg_buf *buf; in vb2_dma_sg_get_userptr() local
291 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_put_userptr() local
315 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_vaddr() local
333 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_num_users() local
340 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_mmap() local
[all …]
/linux-4.4.14/drivers/pci/
Dpci-sysfs.c58 char *buf) in broken_parity_status_show()
66 const char *buf, size_t count) in broken_parity_status_store()
81 struct device_attribute *attr, char *buf) in pci_dev_show_local_cpu()
95 struct device_attribute *attr, char *buf) in local_cpus_show()
102 struct device_attribute *attr, char *buf) in local_cpulist_show()
112 struct device_attribute *attr, char *buf) in cpuaffinity_show()
121 struct device_attribute *attr, char *buf) in cpulistaffinity_show()
131 char *buf) in resource_show()
157 char *buf) in modalias_show()
170 const char *buf, size_t count) in enable_store()
[all …]
/linux-4.4.14/drivers/acpi/
Ddevice_sysfs.c29 static ssize_t acpi_object_path(acpi_handle handle, char *buf) in acpi_object_path()
53 static ssize_t data_node_show_path(struct acpi_data_node *dn, char *buf) in data_node_show_path()
69 struct attribute *attr, char *buf) in acpi_data_node_attr_show()
199 struct acpi_buffer buf = { ACPI_ALLOCATE_BUFFER }; in create_of_modalias() local
290 static int __acpi_device_modalias(struct acpi_device *adev, char *buf, int size) in __acpi_device_modalias()
329 int acpi_device_modalias(struct device *dev, char *buf, int size) in acpi_device_modalias()
336 acpi_device_modalias_show(struct device *dev, struct device_attribute *attr, char *buf) { in acpi_device_modalias_show()
342 struct device_attribute *attr, char *buf) in real_power_state_show()
358 struct device_attribute *attr, char *buf) in power_state_show()
369 const char *buf, size_t count) in acpi_eject_store()
[all …]
Dbgrt.c20 struct device_attribute *attr, char *buf) in show_version()
27 struct device_attribute *attr, char *buf) in show_status()
34 struct device_attribute *attr, char *buf) in show_type()
41 struct device_attribute *attr, char *buf) in show_xoffset()
48 struct device_attribute *attr, char *buf) in show_yoffset()
55 struct bin_attribute *attr, char *buf, loff_t off, size_t count) in image_read()
/linux-4.4.14/drivers/media/pci/saa7164/
Dsaa7164-buffer.c69 void saa7164_buffer_display(struct saa7164_buffer *buf) in saa7164_buffer_display()
96 struct saa7164_buffer *buf = NULL; in saa7164_buffer_alloc() local
165 int saa7164_buffer_dealloc(struct saa7164_buffer *buf) in saa7164_buffer_dealloc()
202 int saa7164_buffer_activate(struct saa7164_buffer *buf, int i) in saa7164_buffer_activate()
239 struct saa7164_buffer *buf; in saa7164_buffer_cfg_port() local
289 struct saa7164_user_buffer *buf; in saa7164_buffer_alloc_user() local
312 void saa7164_buffer_dealloc_user(struct saa7164_user_buffer *buf) in saa7164_buffer_dealloc_user()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs.c73 static ssize_t iwl_dbgfs_tx_flush_write(struct iwl_mvm *mvm, char *buf, in iwl_dbgfs_tx_flush_write()
94 static ssize_t iwl_dbgfs_sta_drain_write(struct iwl_mvm *mvm, char *buf, in iwl_dbgfs_sta_drain_write()
159 static ssize_t iwl_dbgfs_sram_write(struct iwl_mvm *mvm, char *buf, in iwl_dbgfs_sram_write()
195 char buf[16]; in iwl_dbgfs_set_nic_temperature_read() local
214 char *buf, size_t count, in iwl_dbgfs_set_nic_temperature_write()
262 char buf[16]; in iwl_dbgfs_nic_temp_read() local
285 char buf[400]; in iwl_dbgfs_stations_read() local
314 char buf[64]; in iwl_dbgfs_disable_power_off_read() local
326 static ssize_t iwl_dbgfs_disable_power_off_write(struct iwl_mvm *mvm, char *buf, in iwl_dbgfs_disable_power_off_write()
366 int iwl_mvm_coex_dump_mbox(struct iwl_bt_coex_profile_notif *notif, char *buf, in iwl_mvm_coex_dump_mbox()
[all …]
Ddebugfs-vif.c131 static ssize_t iwl_dbgfs_pm_params_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_pm_params_write()
199 char buf[64]; in iwl_dbgfs_tx_pwr_lmt_read() local
216 char buf[512]; in iwl_dbgfs_pm_params_read() local
234 char buf[512]; in iwl_dbgfs_mac_params_read() local
355 static ssize_t iwl_dbgfs_bf_params_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_bf_params_write()
458 char buf[256]; in iwl_dbgfs_bf_params_read() local
501 static inline char *iwl_dbgfs_is_match(char *name, char *buf) in iwl_dbgfs_is_match()
509 char *buf, in iwl_dbgfs_tof_enable_write()
574 char buf[256]; in iwl_dbgfs_tof_enable_read() local
598 char *buf, in iwl_dbgfs_tof_responder_params_write()
[all …]
/linux-4.4.14/sound/pci/hda/
Dhda_sysfs.c31 char *buf) in power_on_acct_show()
40 char *buf) in power_off_acct_show()
81 char *buf) in pin_configs_show()
96 char *buf) in init_pin_configs_show()
104 char *buf) in driver_pin_configs_show()
217 char *buf) in init_verbs_show()
232 static int parse_init_verbs(struct hda_codec *codec, const char *buf) in parse_init_verbs()
256 const char *buf, size_t count) in init_verbs_store()
267 char *buf) in hints_show()
308 static int parse_hints(struct hda_codec *codec, const char *buf) in parse_hints()
[all …]
/linux-4.4.14/drivers/target/
Dtarget_core_spc.c41 static void spc_fill_alua_data(struct se_lun *lun, unsigned char *buf) in spc_fill_alua_data()
64 spc_emulate_inquiry_std(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_inquiry_std()
125 spc_emulate_evpd_80(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_80()
139 unsigned char *buf) in spc_parse_naa_6h_vendor_specific()
174 spc_emulate_evpd_83(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_83()
442 spc_emulate_evpd_86(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_86()
484 spc_emulate_evpd_b0(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_b0()
578 spc_emulate_evpd_b1(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_b1()
591 spc_emulate_evpd_b2(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_b2()
643 spc_emulate_evpd_b3(struct se_cmd *cmd, unsigned char *buf) in spc_emulate_evpd_b3()
[all …]
Dtarget_core_fabric_lib.c50 unsigned char *buf) in sas_get_pr_transport_id()
67 unsigned char *buf) in fc_get_pr_transport_id()
99 unsigned char *buf) in sbp_get_pr_transport_id()
115 unsigned char *buf) in srp_get_pr_transport_id()
144 unsigned char *buf) in iscsi_get_pr_transport_id()
276 const char *buf, in iscsi_parse_pr_out_transport_id()
387 unsigned char *buf) in target_get_pr_transport_id()
408 const char *buf, u32 *out_tid_len, char **port_nexus_ptr) in target_parse_pr_out_transport_id()
/linux-4.4.14/drivers/ide/
Dide-sysfs.c23 char *buf) in media_show()
31 char *buf) in drivename_show()
39 char *buf) in modalias_show()
47 char *buf) in model_show()
55 char *buf) in firmware_show()
63 char *buf) in serial_show()
94 const char *buf, size_t n) in store_delete_devices()
110 const char *buf, size_t n) in store_scan()
/linux-4.4.14/drivers/video/backlight/
Dadp5520_bl.c144 static ssize_t adp5520_show(struct device *dev, char *buf, int reg) in adp5520_show()
160 static ssize_t adp5520_store(struct device *dev, const char *buf, in adp5520_store()
179 struct device_attribute *attr, char *buf) in adp5520_bl_dark_max_show()
186 const char *buf, size_t count) in adp5520_bl_dark_max_store()
194 struct device_attribute *attr, char *buf) in adp5520_bl_office_max_show()
201 const char *buf, size_t count) in adp5520_bl_office_max_store()
209 struct device_attribute *attr, char *buf) in adp5520_bl_daylight_max_show()
216 const char *buf, size_t count) in adp5520_bl_daylight_max_store()
231 struct device_attribute *attr, char *buf) in adp5520_bl_dark_dim_show()
238 const char *buf, size_t count) in adp5520_bl_dark_dim_store()
[all …]
Dadp8870_bl.c551 static ssize_t adp8870_show(struct device *dev, char *buf, int reg) in adp8870_show()
567 static ssize_t adp8870_store(struct device *dev, const char *buf, in adp8870_store()
586 struct device_attribute *attr, char *buf) in adp8870_bl_l5_dark_max_show()
592 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l5_dark_max_store()
601 struct device_attribute *attr, char *buf) in adp8870_bl_l4_indoor_max_show()
607 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l4_indoor_max_store()
616 struct device_attribute *attr, char *buf) in adp8870_bl_l3_office_max_show()
622 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l3_office_max_store()
631 struct device_attribute *attr, char *buf) in adp8870_bl_l2_bright_max_show()
637 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l2_bright_max_store()
[all …]
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-queue.c25 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src,… in ivtv_buf_copy_from_user()
36 void ivtv_buf_swap(struct ivtv_buffer *buf) in ivtv_buf_swap()
52 void ivtv_enqueue(struct ivtv_stream *s, struct ivtv_buffer *buf, struct ivtv_queue *q) in ivtv_enqueue()
73 struct ivtv_buffer *buf = NULL; in ivtv_dequeue() local
91 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list); in ivtv_queue_move_buf() local
145 struct ivtv_buffer *buf = list_entry(steal->list.prev, struct ivtv_buffer, list); in ivtv_queue_move() local
240 struct ivtv_buffer *buf = kzalloc(sizeof(struct ivtv_buffer), in ivtv_stream_alloc() local
267 struct ivtv_buffer *buf; in ivtv_stream_free() local
/linux-4.4.14/drivers/oprofile/
Doprofile_files.c30 static ssize_t timeout_read(struct file *file, char __user *buf, in timeout_read()
38 static ssize_t timeout_write(struct file *file, char const __user *buf, in timeout_write()
68 static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in depth_read()
75 static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in depth_write()
105 static ssize_t pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in pointer_size_read()
117 static ssize_t cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in cpu_type_read()
129 static ssize_t enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in enable_read()
135 static ssize_t enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in enable_write()
166 static ssize_t dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in dump_write()
/linux-4.4.14/net/core/
Dnet-sysfs.c44 struct device_attribute *attr, char *buf, in netdev_show() argument
80 const char *buf, size_t len, in netdev_store()
116 char *buf) in iflink_show()
124 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
131 char *buf) in name_assign_type_show()
145 char *buf) in address_show()
159 struct device_attribute *attr, char *buf) in broadcast_show()
176 const char *buf, size_t len) in carrier_store()
182 struct device_attribute *attr, char *buf) in carrier_show()
193 struct device_attribute *attr, char *buf) in speed_show()
[all …]
/linux-4.4.14/drivers/scsi/arcmsr/
Darcmsr_attr.c66 char *buf, loff_t off, in arcmsr_sysfs_iop_message_read()
113 char *buf, loff_t off, in arcmsr_sysfs_iop_message_write()
161 char *buf, loff_t off, in arcmsr_sysfs_iop_message_clear()
261 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_version()
270 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_posted_cmd()
282 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_reset()
294 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_abort()
306 char *buf) in arcmsr_attr_host_fw_model()
318 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_version()
331 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_request_len()
[all …]
/linux-4.4.14/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c32 static unsigned int debugifc_count_whitespace(const char *buf, in debugifc_count_whitespace()
49 static unsigned int debugifc_count_nonwhitespace(const char *buf, in debugifc_count_nonwhitespace()
65 static unsigned int debugifc_isolate_word(const char *buf,unsigned int count, in debugifc_isolate_word()
93 static int debugifc_parse_unsigned_number(const char *buf,unsigned int count, in debugifc_parse_unsigned_number()
119 static int debugifc_match_keyword(const char *buf,unsigned int count, in debugifc_match_keyword()
130 int pvr2_debugifc_print_info(struct pvr2_hdw *hdw,char *buf,unsigned int acnt) in pvr2_debugifc_print_info()
147 char *buf,unsigned int acnt) in pvr2_debugifc_print_status()
195 static int pvr2_debugifc_do1cmd(struct pvr2_hdw *hdw,const char *buf, in pvr2_debugifc_do1cmd()
305 int pvr2_debugifc_docmd(struct pvr2_hdw *hdw,const char *buf, in pvr2_debugifc_docmd()
Dpvrusb2-sysfs.c89 char *buf) in show_name()
103 char *buf) in show_type()
125 char *buf) in show_min()
138 char *buf) in show_max()
151 char *buf) in show_def()
170 char *buf) in show_val_norm()
189 char *buf) in show_val_custom()
208 char *buf) in show_enum()
232 char *buf) in show_bits()
256 const char *buf,unsigned int count) in store_val_any()
[all …]
/linux-4.4.14/drivers/char/tpm/
Dtpm-sysfs.c31 char *buf) in pubek_show()
88 char *buf) in pcrs_show()
117 char *buf) in enabled_show()
133 char *buf) in active_show()
149 char *buf) in owned_show()
165 struct device_attribute *attr, char *buf) in temp_deactivated_show()
181 char *buf) in caps_show()
223 const char *buf, size_t count) in cancel_store()
235 char *buf) in durations_show()
252 char *buf) in timeouts_show()
Dtpm_ppi.c54 struct device_attribute *attr, char *buf) in tpm_show_ppi_version()
62 struct device_attribute *attr, char *buf) in tpm_show_ppi_request()
96 const char *buf, size_t count) in tpm_store_ppi_request()
149 char *buf) in tpm_show_ppi_transition_action()
195 char *buf) in tpm_show_ppi_response()
254 static ssize_t show_ppi_operations(acpi_handle dev_handle, char *buf, u32 start, in show_ppi_operations()
297 char *buf) in tpm_show_ppi_tcg_operations()
307 char *buf) in tpm_show_ppi_vs_operations()
/linux-4.4.14/drivers/tty/
Dtty_audit.c28 struct tty_audit_buf *buf; in tty_audit_buf_alloc() local
50 static void tty_audit_buf_free(struct tty_audit_buf *buf) in tty_audit_buf_free()
57 static void tty_audit_buf_put(struct tty_audit_buf *buf) in tty_audit_buf_put()
94 static void tty_audit_buf_push(struct tty_audit_buf *buf) in tty_audit_buf_push()
114 struct tty_audit_buf *buf; in tty_audit_exit() local
144 struct tty_audit_buf *buf; in tty_audit_tiocsti() local
183 struct tty_audit_buf *buf = ERR_PTR(-EPERM); in tty_audit_push_current() local
222 struct tty_audit_buf *buf, *buf2; in tty_audit_buf_get() local
271 struct tty_audit_buf *buf; in tty_audit_add_data() local
327 struct tty_audit_buf *buf; in tty_audit_push() local
Dtty_buffer.c57 struct tty_bufhead *buf = &port->buf; in tty_buffer_lock_exclusive() local
66 struct tty_bufhead *buf = &port->buf; in tty_buffer_unlock_exclusive() local
117 struct tty_bufhead *buf = &port->buf; in tty_buffer_free_all() local
190 struct tty_bufhead *buf = &port->buf; in tty_buffer_free() local
216 struct tty_bufhead *buf = &port->buf; in tty_buffer_flush() local
254 struct tty_bufhead *buf = &port->buf; in __tty_buffer_request_room() local
375 struct tty_bufhead *buf = &port->buf; in tty_schedule_flip() local
450 struct tty_bufhead *buf = &port->buf; in flush_to_ldisc() local
528 struct tty_bufhead *buf = &port->buf; in tty_buffer_init() local
/linux-4.4.14/net/mac80211/
Ddebugfs_netdev.c33 char buf[70]; in ieee80211_if_read() local
52 char buf[64]; in ieee80211_if_write() local
183 char *buf, int buflen) in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz()
199 char *buf, int buflen) in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_5ghz()
221 char *buf, int buflen) in ieee80211_if_fmt_hw_queues()
282 char *buf, int buflen) in ieee80211_if_fmt_smps()
296 const char *buf, int buflen) in ieee80211_if_parse_smps()
314 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_tkip_mic_test()
381 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_beacon_loss()
393 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_uapsd_queues()
[all …]
Ddebugfs_key.c76 char buf[15]; in key_algorithm_read() local
125 char buf[20]; in key_tx_spec_read() local
163 char buf[14*IEEE80211_NUM_TIDS+1], *p = buf; in key_rx_spec_read() local
231 char buf[20]; in key_replays_read() local
264 char buf[20]; in key_icverrors_read() local
289 char buf[20]; in key_mic_failures_read() local
306 char *buf = kmalloc(bufsize, GFP_KERNEL); in key_key_read() local
332 char buf[100]; in ieee80211_debugfs_key_add() local
380 char buf[50]; in ieee80211_debugfs_key_update_default() local
415 char buf[50]; in ieee80211_debugfs_key_add_mgmt_default() local
/linux-4.4.14/drivers/infiniband/core/
Dsysfs.c71 struct attribute *attr, char *buf) in port_attr_show()
88 char *buf) in state_show()
112 char *buf) in lid_show()
126 char *buf) in lid_mask_count_show()
139 char *buf) in sm_lid_show()
152 char *buf) in sm_sl_show()
165 char *buf) in cap_mask_show()
178 char *buf) in rate_show()
226 char *buf) in phys_state_show()
249 char *buf) in link_layer_show()
[all …]
/linux-4.4.14/drivers/pps/
Dsysfs.c33 char *buf) in assert_show()
47 char *buf) in clear_show()
61 char *buf) in mode_show()
70 char *buf) in echo_show()
79 char *buf) in name_show()
88 char *buf) in path_show()
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Ddebugfs.c100 char *buf; in iwl_dbgfs_sram_read() local
190 char buf[64]; in iwl_dbgfs_sram_write() local
233 char *buf; in iwl_dbgfs_stations_read() local
292 char *buf; in iwl_dbgfs_nvm_read() local
329 char *buf; in iwl_dbgfs_channels_read() local
392 char buf[512]; in iwl_dbgfs_status_read() local
429 char *buf; in iwl_dbgfs_rx_handlers_read() local
456 char buf[8]; in iwl_dbgfs_rx_handlers_write() local
479 char buf[256 * NUM_IWL_RXON_CTX]; in iwl_dbgfs_qos_read() local
507 char buf[100]; in iwl_dbgfs_thermal_throttling_read() local
[all …]
/linux-4.4.14/drivers/parisc/
Dpdc_stable.c234 pdcspath_hwpath_read(struct pdcspath_entry *entry, char *buf) in pdcspath_hwpath_read()
277 pdcspath_hwpath_write(struct pdcspath_entry *entry, const char *buf, size_t count) in pdcspath_hwpath_write()
355 pdcspath_layer_read(struct pdcspath_entry *entry, char *buf) in pdcspath_layer_read()
393 pdcspath_layer_write(struct pdcspath_entry *entry, const char *buf, size_t count) in pdcspath_layer_write()
448 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show()
469 const char *buf, size_t count) in pdcspath_attr_store()
530 char *buf) in pdcs_size_read()
550 char *buf, int knob) in pdcs_auto_read()
574 struct kobj_attribute *attr, char *buf) in pdcs_autoboot_read()
584 struct kobj_attribute *attr, char *buf) in pdcs_autosearch_read()
[all …]
Deisa_enumerator.c80 static int configure_memory(const unsigned char *buf, in configure_memory()
120 static int configure_irq(const unsigned char *buf) in configure_irq()
151 static int configure_dma(const unsigned char *buf) in configure_dma()
172 static int configure_port(const unsigned char *buf, struct resource *io_parent, in configure_port()
214 static int configure_port_init(const unsigned char *buf) in configure_port_init()
279 static int configure_choise(const unsigned char *buf, u_int8_t *info) in configure_choise()
293 static int configure_type_string(const unsigned char *buf) in configure_type_string()
306 static int configure_function(const unsigned char *buf, int *more) in configure_function()
318 const unsigned char *buf, in parse_slot_config()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_sysfs.c70 show_rc6_mask(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6_mask()
77 show_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6_ms()
85 show_rc6p_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6p_ms()
93 show_rc6pp_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6pp_ms()
101 show_media_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_media_rc6_ms()
163 struct bin_attribute *attr, char *buf, in i915_l3_read()
199 struct bin_attribute *attr, char *buf, in i915_l3_write()
274 struct device_attribute *attr, char *buf) in gt_act_freq_mhz_show()
308 struct device_attribute *attr, char *buf) in gt_cur_freq_mhz_show()
329 struct device_attribute *attr, char *buf) in vlv_rpe_freq_mhz_show()
[all …]
/linux-4.4.14/drivers/media/dvb-frontends/
Dnxt200x.c72 static int i2c_writebytes (struct nxt200x_state* state, u8 addr, u8 *buf, u8 len) in i2c_writebytes()
85 static int i2c_readbytes(struct nxt200x_state *state, u8 addr, u8 *buf, u8 len) in i2c_readbytes()
99 const u8 *buf, u8 len) in nxt200x_writebytes()
122 static int nxt200x_readbytes(struct nxt200x_state *state, u8 reg, u8 *buf, u8 len) in nxt200x_readbytes()
157 u8 attr, len2, buf; in nxt200x_writereg_multibyte() local
218 u8 buf, len2, attr; in nxt200x_readreg_multibyte() local
265 u8 buf, stopval, counter = 0; in nxt200x_microcontroller_stop() local
299 u8 buf; in nxt200x_microcontroller_start() local
308 u8 buf[9]; in nxt2004_microcontroller_init() local
339 u8 buf, count = 0; in nxt200x_writetuner() local
[all …]
Dcxd2820r_t2.c31 u8 buf[3], bw_param; in cxd2820r_set_frontend_t2() local
177 u8 buf[2]; in cxd2820r_get_frontend_t2() local
291 u8 buf[1]; in cxd2820r_read_status_t2() local
320 u8 buf[4]; in cxd2820r_read_ber_t2() local
348 u8 buf[2]; in cxd2820r_read_signal_strength_t2() local
371 u8 buf[2]; in cxd2820r_read_snr_t2() local
/linux-4.4.14/drivers/firmware/
Ddcdbas.c82 void *buf; in smi_data_buf_realloc() local
121 char *buf) in smi_data_buf_phys_addr_show()
128 char *buf) in smi_data_buf_size_show()
135 const char *buf, size_t count) in smi_data_buf_size_store()
154 char *buf, loff_t pos, size_t count) in smi_data_read()
167 char *buf, loff_t pos, size_t count) in smi_data_write()
189 char *buf) in host_control_action_show()
196 const char *buf, size_t count) in host_control_action_store()
213 char *buf) in host_control_smi_type_show()
220 const char *buf, size_t count) in host_control_smi_type_store()
[all …]
Dedd.c114 edd_attr_show(struct kobject * kobj, struct attribute *attr, char *buf) in edd_attr_show()
130 edd_show_host_bus(struct edd_device *edev, char *buf) in edd_show_host_bus()
176 edd_show_interface(struct edd_device *edev, char *buf) in edd_show_interface()
242 edd_show_raw_data(struct edd_device *edev, char *buf) in edd_show_raw_data()
264 edd_show_version(struct edd_device *edev, char *buf) in edd_show_version()
279 edd_show_mbr_signature(struct edd_device *edev, char *buf) in edd_show_mbr_signature()
287 edd_show_extensions(struct edd_device *edev, char *buf) in edd_show_extensions()
313 edd_show_info_flags(struct edd_device *edev, char *buf) in edd_show_info_flags()
343 edd_show_legacy_max_cylinder(struct edd_device *edev, char *buf) in edd_show_legacy_max_cylinder()
358 edd_show_legacy_max_head(struct edd_device *edev, char *buf) in edd_show_legacy_max_head()
[all …]
/linux-4.4.14/fs/xfs/
Dxfs_sysfs.c62 char *buf) in xfs_sysfs_object_show()
73 const char *buf, in xfs_sysfs_object_store()
92 const char *buf, in log_recovery_delay_store()
113 char *buf) in log_recovery_delay_show()
145 char *buf) in stats_show()
156 const char *buf, in stats_clear_store()
200 char *buf) in log_head_lsn_show()
218 char *buf) in log_tail_lsn_show()
232 char *buf) in reserve_grant_head_show()
247 char *buf) in write_grant_head_show()
/linux-4.4.14/drivers/usb/gadget/function/
Dstorage_common.c322 ssize_t fsg_show_ro(struct fsg_lun *curlun, char *buf) in fsg_show_ro()
330 ssize_t fsg_show_nofua(struct fsg_lun *curlun, char *buf) in fsg_show_nofua()
337 char *buf) in fsg_show_file()
362 ssize_t fsg_show_cdrom(struct fsg_lun *curlun, char *buf) in fsg_show_cdrom()
368 ssize_t fsg_show_removable(struct fsg_lun *curlun, char *buf) in fsg_show_removable()
392 const char *buf, size_t count) in fsg_store_ro()
415 ssize_t fsg_store_nofua(struct fsg_lun *curlun, const char *buf, size_t count) in fsg_store_nofua()
435 const char *buf, size_t count) in fsg_store_file()
466 const char *buf, size_t count) in fsg_store_cdrom()
488 ssize_t fsg_store_removable(struct fsg_lun *curlun, const char *buf, in fsg_store_removable()
Duvc_queue.c65 struct uvc_buffer *buf = container_of(vbuf, struct uvc_buffer, buf); in uvc_buffer_prepare() local
91 struct uvc_buffer *buf = container_of(vbuf, struct uvc_buffer, buf); in uvc_buffer_queue() local
163 int uvcg_query_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf) in uvcg_query_buffer()
168 int uvcg_queue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf) in uvcg_queue_buffer()
188 int uvcg_dequeue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf, in uvcg_dequeue_buffer()
238 struct uvc_buffer *buf; in uvcg_queue_cancel() local
312 struct uvc_buffer *buf) in uvcg_queue_next_buffer()
342 struct uvc_buffer *buf = NULL; in uvcg_queue_head() local
Duvc_video.c31 uvc_video_encode_header(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_header()
44 uvc_video_encode_data(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_data()
63 struct uvc_buffer *buf) in uvc_video_encode_bulk()
103 struct uvc_buffer *buf) in uvc_video_encode_isoc()
167 struct uvc_buffer *buf; in uvc_video_complete() local
288 struct uvc_buffer *buf; in uvcg_video_pump() local
/linux-4.4.14/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c50 char *buf) in usnic_ib_show_fw_ver()
65 char *buf) in usnic_ib_show_board()
83 char *buf) in usnic_ib_show_config()
146 char *buf) in usnic_ib_show_iface()
158 char *buf) in usnic_ib_show_max_vf()
170 char *buf) in usnic_ib_show_qp_per_vf()
185 char *buf) in usnic_ib_show_cq_per_vf()
222 usnic_ib_qpn_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in usnic_ib_qpn_attr_show()
240 static ssize_t context_show(struct usnic_ib_qp_grp *qp_grp, char *buf) in context_show()
245 static ssize_t summary_show(struct usnic_ib_qp_grp *qp_grp, char *buf) in summary_show()
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-queue.c31 void cx18_buf_swap(struct cx18_buffer *buf) in cx18_buf_swap()
41 struct cx18_buffer *buf; in _cx18_mdl_swap() local
106 struct cx18_buffer *buf; in _cx18_mdl_update_bufs_for_cpu() local
126 struct cx18_buffer *buf; in cx18_mdl_update_bufs_for_cpu() local
250 struct cx18_buffer *buf; in cx18_unload_queues() local
281 struct cx18_buffer *buf; in cx18_load_queues() local
340 struct cx18_buffer *buf; in _cx18_mdl_sync_for_device() local
377 struct cx18_buffer *buf; in cx18_stream_alloc() local
421 struct cx18_buffer *buf; in cx18_stream_free() local
/linux-4.4.14/drivers/rtc/
Drtc-sysfs.c28 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show()
35 date_show(struct device *dev, struct device_attribute *attr, char *buf) in date_show()
51 time_show(struct device *dev, struct device_attribute *attr, char *buf) in time_show()
67 since_epoch_show(struct device *dev, struct device_attribute *attr, char *buf) in since_epoch_show()
84 max_user_freq_show(struct device *dev, struct device_attribute *attr, char *buf) in max_user_freq_show()
91 const char *buf, size_t n) in max_user_freq_store()
112 hctosys_show(struct device *dev, struct device_attribute *attr, char *buf) in hctosys_show()
126 wakealarm_show(struct device *dev, struct device_attribute *attr, char *buf) in wakealarm_show()
151 const char *buf, size_t n) in wakealarm_store()
Drtc-pcf8563.c93 unsigned char length, unsigned char *buf) in pcf8563_read_block_data()
119 unsigned char *buf) in pcf8563_write_block_data()
140 unsigned char buf; in pcf8563_set_alarm_mode() local
166 unsigned char buf; in pcf8563_get_alarm_mode() local
207 unsigned char buf[9]; in pcf8563_get_datetime() local
255 unsigned char buf[9]; in pcf8563_set_datetime() local
335 unsigned char buf[4]; in pcf8563_rtc_read_alarm() local
370 unsigned char buf[4]; in pcf8563_rtc_set_alarm() local
423 unsigned char buf; in pcf8563_clkout_recalc_rate() local
450 unsigned char buf; in pcf8563_clkout_set_rate() local
[all …]
/linux-4.4.14/include/linux/
Dzutil.h57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} argument
58 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument
59 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument
60 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument
61 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument
79 const Byte *buf, in zlib_adler32()
/linux-4.4.14/drivers/net/
Dnetconsole.c258 static ssize_t enabled_show(struct config_item *item, char *buf) in enabled_show()
263 static ssize_t extended_show(struct config_item *item, char *buf) in extended_show()
268 static ssize_t dev_name_show(struct config_item *item, char *buf) in dev_name_show()
273 static ssize_t local_port_show(struct config_item *item, char *buf) in local_port_show()
278 static ssize_t remote_port_show(struct config_item *item, char *buf) in remote_port_show()
283 static ssize_t local_ip_show(struct config_item *item, char *buf) in local_ip_show()
293 static ssize_t remote_ip_show(struct config_item *item, char *buf) in remote_ip_show()
303 static ssize_t local_mac_show(struct config_item *item, char *buf) in local_mac_show()
311 static ssize_t remote_mac_show(struct config_item *item, char *buf) in remote_mac_show()
324 const char *buf, size_t count) in enabled_store()
[all …]
/linux-4.4.14/net/ieee802154/
Dheader_ops.c23 ieee802154_hdr_push_addr(u8 *buf, const struct ieee802154_addr *addr, in ieee802154_hdr_push_addr()
55 ieee802154_hdr_push_sechdr(u8 *buf, const struct ieee802154_sechdr *hdr) in ieee802154_hdr_push_sechdr()
88 u8 buf[IEEE802154_MAX_HEADER_LEN]; in ieee802154_hdr_push() local
132 ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan, in ieee802154_hdr_get_addr()
169 ieee802154_hdr_get_sechdr(const u8 *buf, struct ieee802154_sechdr *hdr) in ieee802154_hdr_get_sechdr()
226 ieee802154_hdr_get_addrs(const u8 *buf, struct ieee802154_hdr *hdr) in ieee802154_hdr_get_addrs()
274 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek_addrs() local
294 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek() local
/linux-4.4.14/drivers/input/tablet/
Daiptek.c905 u8 *buf; in aiptek_command() local
935 u8 *buf; in aiptek_query() local
1052 static ssize_t show_tabletSize(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletSize()
1080 static ssize_t show_tabletPointerMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletPointerMode()
1090 store_tabletPointerMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t … in store_tabletPointerMode()
1117 …tic ssize_t show_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletCoordinateMode()
1127 store_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, const char *buf, size… in store_tabletCoordinateMode()
1159 static ssize_t show_tabletToolMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletToolMode()
1169 store_tabletToolMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t cou… in store_tabletToolMode()
1189 static ssize_t show_tabletXtilt(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletXtilt()
[all …]
/linux-4.4.14/fs/nfsd/
Dnfsctl.c94 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
115 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
254 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
293 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
350 static ssize_t write_filehandle(struct file *file, char *buf, size_t size) in write_filehandle()
432 static ssize_t write_threads(struct file *file, char *buf, size_t size) in write_threads()
476 static ssize_t write_pool_threads(struct file *file, char *buf, size_t size) in write_pool_threads()
542 static ssize_t __write_versions(struct file *file, char *buf, size_t size) in __write_versions()
672 static ssize_t write_versions(struct file *file, char *buf, size_t size) in write_versions()
686 static ssize_t __write_ports_names(char *buf, struct net *net) in __write_ports_names()
[all …]
/linux-4.4.14/drivers/hwmon/
Dvt8231.c196 char *buf) in show_in()
206 char *buf) in show_in_min()
216 char *buf) in show_in_max()
226 const char *buf, size_t count) in set_in_min()
246 const char *buf, size_t count) in set_in_max()
267 char *buf) in show_in5()
276 char *buf) in show_in5_min()
285 char *buf) in show_in5_max()
294 const char *buf, size_t count) in set_in5_min()
313 const char *buf, size_t count) in set_in5_max()
[all …]
Dadm1026.c479 char *buf) in show_in()
487 char *buf) in show_in_min()
495 const char *buf, size_t count) in set_in_min()
515 char *buf) in show_in_max()
523 const char *buf, size_t count) in set_in_max()
570 char *buf) in show_in16()
577 char *buf) in show_in16_min()
584 const char *buf, size_t count) in set_in16_min()
602 char *buf) in show_in16_max()
609 const char *buf, size_t count) in set_in16_max()
[all …]
Dpc87360.c258 struct device_attribute *devattr, char *buf) in show_fan_input()
266 struct device_attribute *devattr, char *buf) in show_fan_min()
274 struct device_attribute *devattr, char *buf) in show_fan_div()
282 struct device_attribute *devattr, char *buf) in show_fan_status()
290 struct device_attribute *devattr, const char *buf, in set_fan_min()
357 char *buf) in show_pwm()
367 const char *buf, size_t count) in set_pwm()
406 struct device_attribute *devattr, char *buf) in show_in_input()
414 struct device_attribute *devattr, char *buf) in show_in_min()
422 struct device_attribute *devattr, char *buf) in show_in_max()
[all …]
Dda9052-hwmon.c76 struct device_attribute *devattr, char *buf) in da9052_read_vddout()
108 struct device_attribute *devattr, char *buf) in da9052_read_ich()
122 struct device_attribute *devattr, char *buf) in da9052_read_tbat()
130 struct device_attribute *devattr, char *buf) in da9052_read_vbat()
144 char *buf) in da9052_read_misc_channel()
158 struct device_attribute *devattr, char *buf) in da9052_read_tjunc()
180 struct device_attribute *devattr, char *buf) in da9052_read_vbbat()
193 struct device_attribute *devattr, char *buf) in show_label()
Dasc7621.c178 char *buf) in show_u8()
186 const char *buf, size_t count) in store_u8()
207 struct device_attribute *attr, char *buf) in show_bitmask()
218 const char *buf, size_t count) in store_bitmask()
247 struct device_attribute *attr, char *buf) in show_fan16()
262 struct device_attribute *attr, const char *buf, in store_fan16()
308 char *buf) in show_in10()
326 char *buf) in show_in8()
337 const char *buf, size_t count) in store_in8()
361 struct device_attribute *attr, char *buf) in show_temp8()
[all …]
Dgl520sm.c204 char *buf) in get_cpu_vid()
218 char *buf) in get_in_input()
231 char *buf) in get_in_min()
244 char *buf) in get_in_max()
257 const char *buf, size_t count) in set_in_min()
291 const char *buf, size_t count) in set_in_max()
356 char *buf) in get_fan_input()
366 char *buf) in get_fan_min()
376 char *buf) in get_fan_div()
385 char *buf) in get_fan_off()
[all …]
Dadt7470.c400 char *buf) in show_auto_update_interval()
408 const char *buf, in set_auto_update_interval()
428 char *buf) in show_num_temp_sensors()
436 const char *buf, in set_num_temp_sensors()
458 char *buf) in show_temp_min()
467 const char *buf, in set_temp_min()
492 char *buf) in show_temp_max()
501 const char *buf, in set_temp_max()
525 char *buf) in show_temp()
534 char *buf) in show_alarm_mask()
[all …]
Dabx500.c125 char *buf) in show_name()
133 struct device_attribute *devattr, char *buf) in show_label()
141 struct device_attribute *devattr, char *buf) in show_input()
157 const char *buf, size_t count) in set_min()
177 const char *buf, size_t count) in set_max()
198 const char *buf, size_t count) in set_max_hyst()
219 struct device_attribute *devattr, char *buf) in show_min()
228 struct device_attribute *devattr, char *buf) in show_max()
237 struct device_attribute *devattr, char *buf) in show_max_hyst()
246 struct device_attribute *devattr, char *buf) in show_min_alarm()
[all …]
Dlm87.c280 char *buf) in show_in_input()
290 struct device_attribute *attr, char *buf) in show_in_min()
300 struct device_attribute *attr, char *buf) in show_in_max()
310 const char *buf, size_t count) in set_in_min()
331 const char *buf, size_t count) in set_in_max()
368 struct device_attribute *attr, char *buf) in show_temp_input()
377 struct device_attribute *attr, char *buf) in show_temp_low()
387 struct device_attribute *attr, char *buf) in show_temp_high()
397 const char *buf, size_t count) in set_temp_low()
417 const char *buf, size_t count) in set_temp_high()
[all …]
Df71805f.c427 char *buf) in show_in0()
437 *devattr, char *buf) in show_in0_max()
447 *devattr, char *buf) in show_in0_min()
457 *devattr, const char *buf, size_t count) in set_in0_max()
478 *devattr, const char *buf, size_t count) in set_in0_min()
499 char *buf) in show_in()
509 *devattr, char *buf) in show_in_max()
519 *devattr, char *buf) in show_in_min()
529 *devattr, const char *buf, size_t count) in set_in_max()
550 *devattr, const char *buf, size_t count) in set_in_min()
[all …]
Dlm85.c558 char *buf) in show_fan()
566 char *buf) in show_fan_min()
574 const char *buf, size_t count) in set_fan_min()
607 char *buf) in show_vid_reg()
626 char *buf) in show_vrm_reg()
633 const char *buf, size_t count) in store_vrm_reg()
653 *attr, char *buf) in show_alarms_reg()
662 char *buf) in show_alarm()
690 char *buf) in show_pwm()
698 const char *buf, size_t count) in set_pwm()
[all …]
Dlm93.c1115 char *buf) in show_in()
1141 struct device_attribute *attr, char *buf) in show_in_min()
1158 const char *buf, size_t count) in store_in_min()
1222 struct device_attribute *attr, char *buf) in show_in_max()
1239 const char *buf, size_t count) in store_in_max()
1303 struct device_attribute *attr, char *buf) in show_temp()
1315 struct device_attribute *attr, char *buf) in show_temp_min()
1323 const char *buf, size_t count) in store_temp_min()
1350 struct device_attribute *attr, char *buf) in show_temp_max()
1358 const char *buf, size_t count) in store_temp_max()
[all …]
Df71882fg.c1385 char *buf) in show_fan()
1398 struct device_attribute *devattr, char *buf) in show_fan_full_speed()
1408 const char *buf, size_t count) in store_fan_full_speed()
1430 *devattr, char *buf) in show_fan_beep()
1442 *devattr, const char *buf, size_t count) in store_fan_beep()
1466 *devattr, char *buf) in show_fan_alarm()
1478 char *buf) in show_in()
1487 *devattr, char *buf) in show_in_max()
1495 *devattr, const char *buf, size_t count) in store_in_max()
1520 *devattr, char *buf) in show_in_beep()
[all …]
Dadm1025.c177 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in()
186 show_in_min(struct device *dev, struct device_attribute *attr, char *buf) in show_in_min()
195 show_in_max(struct device *dev, struct device_attribute *attr, char *buf) in show_in_max()
204 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp()
212 show_temp_min(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_min()
220 show_temp_max(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_max()
228 const char *buf, size_t count) in set_in_min()
249 const char *buf, size_t count) in set_in_max()
284 const char *buf, size_t count) in set_temp_min()
305 const char *buf, size_t count) in set_temp_max()
[all …]
Dsmsc47m192.c182 char *buf) in show_in()
191 char *buf) in show_in_min()
200 char *buf) in show_in_max()
209 const char *buf, size_t count) in set_in_min()
231 const char *buf, size_t count) in set_in_max()
271 char *buf) in show_temp()
280 char *buf) in show_temp_min()
289 char *buf) in show_temp_max()
298 const char *buf, size_t count) in set_temp_min()
320 const char *buf, size_t count) in set_temp_max()
[all …]
Demc2103.c188 show_temp(struct device *dev, struct device_attribute *da, char *buf) in show_temp()
198 show_temp_min(struct device *dev, struct device_attribute *da, char *buf) in show_temp_min()
207 show_temp_max(struct device *dev, struct device_attribute *da, char *buf) in show_temp_max()
216 show_temp_fault(struct device *dev, struct device_attribute *da, char *buf) in show_temp_fault()
225 show_temp_min_alarm(struct device *dev, struct device_attribute *da, char *buf) in show_temp_min_alarm()
234 show_temp_max_alarm(struct device *dev, struct device_attribute *da, char *buf) in show_temp_max_alarm()
243 const char *buf, size_t count) in set_temp_min()
265 const char *buf, size_t count) in set_temp_max()
287 show_fan(struct device *dev, struct device_attribute *da, char *buf) in show_fan()
297 show_fan_div(struct device *dev, struct device_attribute *da, char *buf) in show_fan_div()
[all …]
Dadm9240.c263 char *buf) in show_temp()
270 char *buf) in show_max()
278 const char *buf, size_t count) in set_max()
306 char *buf) in show_in()
315 struct device_attribute *devattr, char *buf) in show_in_min()
324 struct device_attribute *devattr, char *buf) in show_in_max()
334 const char *buf, size_t count) in set_in_min()
356 const char *buf, size_t count) in set_in_max()
393 struct device_attribute *devattr, char *buf) in show_fan()
402 struct device_attribute *devattr, char *buf) in show_fan_min()
[all …]
Dabituguru.c389 u8 bank_addr, u8 sensor_addr, u8 *buf, int count, int retries) in abituguru_read()
421 u8 bank_addr, u8 sensor_addr, u8 *buf, int count) in abituguru_write()
488 u8 val, test_flag, buf[3]; in abituguru_detect_bank1_sensor_type() local
801 struct device_attribute *devattr, char *buf) in show_bank1_value()
812 struct device_attribute *devattr, char *buf) in show_bank1_setting()
822 struct device_attribute *devattr, char *buf) in show_bank2_value()
833 struct device_attribute *devattr, char *buf) in show_bank2_setting()
843 *devattr, const char *buf, size_t count) in store_bank1_setting()
876 *devattr, const char *buf, size_t count) in store_bank2_setting()
911 struct device_attribute *devattr, char *buf) in show_bank1_alarm()
[all …]
Dadt7462.c789 char *buf) in show_temp_min()
802 const char *buf, in set_temp_min()
827 char *buf) in show_temp_max()
840 const char *buf, in set_temp_max()
864 char *buf) in show_temp()
879 char *buf) in show_temp_label()
889 char *buf) in show_volt_max()
903 const char *buf, in set_volt_max()
931 char *buf) in show_volt_min()
945 const char *buf, in set_volt_min()
[all …]
Dw83627hf.c485 show_in_input(struct device *dev, struct device_attribute *devattr, char *buf) in show_in_input()
492 show_in_min(struct device *dev, struct device_attribute *devattr, char *buf) in show_in_min()
499 show_in_max(struct device *dev, struct device_attribute *devattr, char *buf) in show_in_max()
507 const char *buf, size_t count) in store_in_min()
526 const char *buf, size_t count) in store_in_max()
561 static ssize_t show_in_0(struct w83627hf_data *data, char *buf, u8 reg) in show_in_0()
578 static ssize_t show_regs_in_0(struct device *dev, struct device_attribute *attr, char *buf) in show_regs_in_0()
584 static ssize_t show_regs_in_min0(struct device *dev, struct device_attribute *attr, char *buf) in show_regs_in_min0()
590 static ssize_t show_regs_in_max0(struct device *dev, struct device_attribute *attr, char *buf) in show_regs_in_max0()
597 const char *buf, size_t count) in store_regs_in_min0()
[all …]
Dadm1031.c335 struct device_attribute *attr, char *buf) in show_fan_auto_channel()
344 const char *buf, size_t count) in set_fan_auto_channel()
402 struct device_attribute *attr, char *buf) in show_auto_temp_off()
410 struct device_attribute *attr, char *buf) in show_auto_temp_min()
419 const char *buf, size_t count) in set_auto_temp_min()
440 struct device_attribute *attr, char *buf) in show_auto_temp_max()
449 const char *buf, size_t count) in set_auto_temp_max()
485 struct device_attribute *attr, char *buf) in show_pwm()
492 const char *buf, size_t count) in set_pwm()
577 struct device_attribute *attr, char *buf) in show_fan()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Ddebug.c47 #define ADD(buf, off, max, fmt, args...) \ argument
67 char *buf = NULL, *res_buf = NULL; in carl9170_debugfs_read() local
117 char *buf = NULL; in carl9170_debugfs_write() local
214 static char *carl9170_debugfs_mem_usage_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_mem_usage_read()
237 static char *carl9170_debugfs_qos_stat_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_qos_stat_read()
282 struct sk_buff *skb, const char *prefix, char *buf, in carl9170_debugfs_format_frame()
298 static char *carl9170_debugfs_ampdu_state_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_ampdu_state_read()
354 static void carl9170_debugfs_queue_dump(struct ar9170 *ar, char *buf, in carl9170_debugfs_queue_dump()
380 static char *carl9170_debugfs_sta_psm_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_sta_psm_read()
396 static char *carl9170_debugfs_tx_stuck_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_tx_stuck_read()
[all …]
/linux-4.4.14/drivers/scsi/pm8001/
Dpm8001_ctl.c55 struct device_attribute *attr, char *buf) in pm8001_ctl_mpi_interface_rev_show()
80 struct device_attribute *attr, char *buf) in pm8001_ctl_fw_version_show()
109 struct device_attribute *attr, char *buf) in pm8001_ctl_max_out_io_show()
132 struct device_attribute *attr, char *buf) in pm8001_ctl_max_devices_show()
158 struct device_attribute *attr, char *buf) in pm8001_ctl_max_sg_list_show()
181 show_sas_spec_support_status(unsigned int mode, char *buf) in show_sas_spec_support_status()
202 struct device_attribute *attr, char *buf) in pm8001_ctl_sas_spec_support_show()
231 struct device_attribute *attr, char *buf) in pm8001_ctl_host_sas_address_show()
250 struct device_attribute *attr, char *buf) in pm8001_ctl_logging_level_show()
259 struct device_attribute *attr, const char *buf, size_t count) in pm8001_ctl_logging_level_store()
[all …]
/linux-4.4.14/arch/s390/oprofile/
Dinit.c124 static ssize_t hwsampler_read(struct file *file, char __user *buf, in hwsampler_read()
130 static ssize_t hwsampler_write(struct file *file, char const __user *buf, in hwsampler_write()
172 static ssize_t hw_interval_read(struct file *file, char __user *buf, in hw_interval_read()
179 static ssize_t hw_interval_write(struct file *file, char const __user *buf, in hw_interval_write()
215 static ssize_t hwsampler_zero_read(struct file *file, char __user *buf, in hwsampler_zero_read()
221 static ssize_t hwsampler_zero_write(struct file *file, char const __user *buf, in hwsampler_zero_write()
245 static ssize_t hwsampler_kernel_read(struct file *file, char __user *buf, in hwsampler_kernel_read()
252 static ssize_t hwsampler_kernel_write(struct file *file, char const __user *buf, in hwsampler_kernel_write()
280 static ssize_t hwsampler_user_read(struct file *file, char __user *buf, in hwsampler_user_read()
287 static ssize_t hwsampler_user_write(struct file *file, char const __user *buf, in hwsampler_user_write()
[all …]
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_sysfs.c91 char *buf) in zfcp_sysfs_port_failed_show()
103 const char *buf, size_t count) in zfcp_sysfs_port_failed_store()
123 char *buf) in zfcp_sysfs_unit_failed_show()
141 const char *buf, size_t count) in zfcp_sysfs_unit_failed_store()
167 char *buf) in zfcp_sysfs_adapter_failed_show()
187 const char *buf, size_t count) in zfcp_sysfs_adapter_failed_store()
216 const char *buf, size_t count) in zfcp_sysfs_port_rescan_store()
242 const char *buf, size_t count) in zfcp_sysfs_port_remove_store()
308 const char *buf, size_t count) in zfcp_sysfs_unit_add_store()
327 const char *buf, size_t count) in zfcp_sysfs_unit_remove_store()
[all …]
/linux-4.4.14/drivers/misc/
Dspear13xx_pcie_gadget.c231 static ssize_t pcie_gadget_link_show(struct config_item *item, char *buf) in pcie_gadget_link_show()
242 const char *buf, size_t count) in pcie_gadget_link_store()
258 static ssize_t pcie_gadget_int_type_show(struct config_item *item, char *buf) in pcie_gadget_int_type_show()
264 const char *buf, size_t count) in pcie_gadget_int_type_store()
294 static ssize_t pcie_gadget_no_of_msi_show(struct config_item *item, char *buf) in pcie_gadget_no_of_msi_show()
319 const char *buf, size_t count) in pcie_gadget_no_of_msi_store()
334 const char *buf, size_t count) in pcie_gadget_inta_store()
355 const char *buf, size_t count) in pcie_gadget_send_msi_store()
391 static ssize_t pcie_gadget_vendor_id_show(struct config_item *item, char *buf) in pcie_gadget_vendor_id_show()
401 const char *buf, size_t count) in pcie_gadget_vendor_id_store()
[all …]
Denclosure.c431 struct device_attribute *attr, char *buf) in components_show()
441 char *buf) in id_show()
483 struct device_attribute *attr, char *buf) in get_component_fault()
495 const char *buf, size_t count) in set_component_fault()
507 struct device_attribute *attr,char *buf) in get_component_status()
519 const char *buf, size_t count) in set_component_status()
541 struct device_attribute *attr, char *buf) in get_component_active()
553 const char *buf, size_t count) in set_component_active()
565 struct device_attribute *attr, char *buf) in get_component_locate()
577 const char *buf, size_t count) in set_component_locate()
[all …]
Dbh1770glc.c648 const char *buf, size_t count) in bh1770_power_state_store()
690 struct device_attribute *attr, char *buf) in bh1770_power_state_show()
696 struct device_attribute *attr, char *buf) in bh1770_lux_result_show()
719 struct device_attribute *attr, char *buf) in bh1770_lux_range_show()
726 const char *buf, size_t count) in bh1770_prox_enable_store()
757 struct device_attribute *attr, char *buf) in bh1770_prox_enable_show()
769 struct device_attribute *attr, char *buf) in bh1770_prox_result_show()
784 struct device_attribute *attr, char *buf) in bh1770_prox_range_show()
790 struct device_attribute *attr, char *buf) in bh1770_get_prox_rate_avail()
801 struct device_attribute *attr, char *buf) in bh1770_get_prox_rate_above()
[all …]
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes.c845 static ssize_t nes_show_adapter(struct device_driver *ddp, char *buf) in nes_show_adapter()
865 const char *buf, size_t count) in nes_store_adapter()
873 static ssize_t nes_show_ee_cmd(struct device_driver *ddp, char *buf) in nes_show_ee_cmd()
890 const char *buf, size_t count) in nes_store_ee_cmd()
910 static ssize_t nes_show_ee_data(struct device_driver *ddp, char *buf) in nes_show_ee_data()
928 const char *buf, size_t count) in nes_store_ee_data()
948 static ssize_t nes_show_flash_cmd(struct device_driver *ddp, char *buf) in nes_show_flash_cmd()
966 const char *buf, size_t count) in nes_store_flash_cmd()
986 static ssize_t nes_show_flash_data(struct device_driver *ddp, char *buf) in nes_show_flash_data()
1004 const char *buf, size_t count) in nes_store_flash_data()
[all …]
/linux-4.4.14/drivers/mtd/
Dmtdcore.c112 struct device_attribute *attr, char *buf) in mtd_type_show()
151 struct device_attribute *attr, char *buf) in mtd_flags_show()
161 struct device_attribute *attr, char *buf) in mtd_size_show()
172 struct device_attribute *attr, char *buf) in mtd_erasesize_show()
182 struct device_attribute *attr, char *buf) in mtd_writesize_show()
192 struct device_attribute *attr, char *buf) in mtd_subpagesize_show()
203 struct device_attribute *attr, char *buf) in mtd_oobsize_show()
213 struct device_attribute *attr, char *buf) in mtd_numeraseregions_show()
224 struct device_attribute *attr, char *buf) in mtd_name_show()
234 struct device_attribute *attr, char *buf) in mtd_ecc_strength_show()
[all …]
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_attr.c104 char *buf) in lpfc_drvr_version_show()
119 char *buf) in lpfc_enable_fip_show()
133 char *buf) in lpfc_bg_info_show()
152 char *buf) in lpfc_bg_guard_err_show()
164 char *buf) in lpfc_bg_apptag_err_show()
176 char *buf) in lpfc_bg_reftag_err_show()
196 char *buf) in lpfc_info_show()
213 char *buf) in lpfc_serialnum_show()
236 char *buf) in lpfc_temp_sensor_show()
254 char *buf) in lpfc_modeldesc_show()
[all …]
/linux-4.4.14/block/
Dpartition-generic.c34 char *disk_name(struct gendisk *hd, int partno, char *buf) in disk_name()
46 const char *bdevname(struct block_device *bdev, char *buf) in bdevname()
68 struct device_attribute *attr, char *buf) in part_partition_show()
76 struct device_attribute *attr, char *buf) in part_start_show()
84 struct device_attribute *attr, char *buf) in part_size_show()
91 struct device_attribute *attr, char *buf) in part_ro_show()
98 struct device_attribute *attr, char *buf) in part_alignment_offset_show()
105 struct device_attribute *attr, char *buf) in part_discard_alignment_show()
112 struct device_attribute *attr, char *buf) in part_stat_show()
139 struct device_attribute *attr, char *buf) in part_inflight_show()
[all …]
/linux-4.4.14/drivers/scsi/
Dscsi_sysfs.c152 const char *buf, size_t count) in store_scan()
166 const char *buf, size_t count) in store_shost_state()
189 show_shost_state(struct device *dev, struct device_attribute *attr, char *buf) in show_shost_state()
205 show_shost_mode(unsigned int mode, char *buf) in show_shost_mode()
222 char *buf) in show_shost_supported_mode()
238 struct device_attribute *attr, char *buf) in show_shost_active_mode()
262 const char *buf, size_t count) in store_host_reset()
286 struct device_attribute *attr, char *buf) in show_shost_eh_deadline()
297 const char *buf, size_t count) in store_shost_eh_deadline()
348 show_host_busy(struct device *dev, struct device_attribute *attr, char *buf) in show_host_busy()
[all …]
/linux-4.4.14/net/irda/
Dparameters.c78 static int irda_insert_no_value(void *self, __u8 *buf, int len, __u8 pi, in irda_insert_no_value()
105 static int irda_extract_no_value(void *self, __u8 *buf, int len, __u8 pi, in irda_extract_no_value()
126 static int irda_insert_integer(void *self, __u8 *buf, int len, __u8 pi, in irda_insert_integer()
202 static int irda_extract_integer(void *self, __u8 *buf, int len, __u8 pi, in irda_extract_integer()
286 static int irda_extract_string(void *self, __u8 *buf, int len, __u8 pi, in irda_extract_string()
331 static int irda_extract_octseq(void *self, __u8 *buf, int len, __u8 pi, in irda_extract_octseq()
359 int irda_param_pack(__u8 *buf, char *fmt, ...) in irda_param_pack()
402 static int irda_param_unpack(__u8 *buf, char *fmt, ...) in irda_param_unpack()
449 int irda_param_insert(void *self, __u8 pi, __u8 *buf, int len, in irda_param_insert()
504 static int irda_param_extract(void *self, __u8 *buf, int len, in irda_param_extract()
[all …]
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dsysfs.c66 char *buf, loff_t pos, size_t count) in read_cc_table_bin()
119 char *buf, loff_t pos, size_t count) in read_cc_setting_bin()
237 char *buf) in sc2vl_attr_show()
343 char *buf) in sl2sc_attr_show()
417 char *buf) in vl2mtu_attr_show()
446 char *buf) in show_rev()
455 char *buf) in show_hfi()
470 struct device_attribute *attr, char *buf) in show_boardversion()
482 struct device_attribute *attr, char *buf) in show_nctxts()
500 struct device_attribute *attr, char *buf) in show_nfreectxts()
[all …]
/linux-4.4.14/arch/m68k/include/asm/
Draw_io.h114 static inline void raw_insb(volatile u8 __iomem *port, u8 *buf, unsigned int len) in raw_insb()
122 static inline void raw_outsb(volatile u8 __iomem *port, const u8 *buf, in raw_outsb()
131 static inline void raw_insw(volatile u16 __iomem *port, u16 *buf, unsigned int nr) in raw_insw()
170 static inline void raw_outsw(volatile u16 __iomem *port, const u16 *buf, in raw_outsw()
210 static inline void raw_insl(volatile u32 __iomem *port, u32 *buf, unsigned int nr) in raw_insl()
249 static inline void raw_outsl(volatile u32 __iomem *port, const u32 *buf, in raw_outsl()
290 static inline void raw_insw_swapw(volatile u16 __iomem *port, u16 *buf, in raw_insw_swapw()
343 static inline void raw_outsw_swapw(volatile u16 __iomem *port, const u16 *buf, in raw_outsw_swapw()
398 static inline void raw_rom_insb(volatile u8 __iomem *port, u8 *buf, unsigned int len) in raw_rom_insb()
406 static inline void raw_rom_outsb(volatile u8 __iomem *port, const u8 *buf, in raw_rom_outsb()
[all …]
/linux-4.4.14/drivers/s390/block/
Ddasd_devmap.c713 char *buf) in dasd_ff_show()
727 const char *buf, size_t count) in dasd_ff_store()
758 dasd_ro_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_ro_show()
773 const char *buf, size_t count) in dasd_ro_store()
810 dasd_erplog_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_erplog_show()
825 const char *buf, size_t count) in dasd_erplog_store()
857 dasd_use_diag_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_use_diag_show()
872 const char *buf, size_t count) in dasd_use_diag_store()
908 dasd_use_raw_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_use_raw_show()
923 const char *buf, size_t count) in dasd_use_raw_store()
[all …]
/linux-4.4.14/include/media/
Dlirc_dev.h34 static inline void lirc_buffer_clear(struct lirc_buffer *buf) in lirc_buffer_clear()
47 static inline int lirc_buffer_init(struct lirc_buffer *buf, in lirc_buffer_init()
62 static inline void lirc_buffer_free(struct lirc_buffer *buf) in lirc_buffer_free()
71 static inline int lirc_buffer_len(struct lirc_buffer *buf) in lirc_buffer_len()
83 static inline int lirc_buffer_full(struct lirc_buffer *buf) in lirc_buffer_full()
88 static inline int lirc_buffer_empty(struct lirc_buffer *buf) in lirc_buffer_empty()
93 static inline int lirc_buffer_available(struct lirc_buffer *buf) in lirc_buffer_available()
98 static inline unsigned int lirc_buffer_read(struct lirc_buffer *buf, in lirc_buffer_read()
110 static inline unsigned int lirc_buffer_write(struct lirc_buffer *buf, in lirc_buffer_write()
/linux-4.4.14/drivers/usb/host/
Duhci-debug.c26 static void lprintk(char *buf) in lprintk()
42 static int uhci_show_td(struct uhci_hcd *uhci, struct uhci_td *td, char *buf, in uhci_show_td()
100 char *buf, int len, int space) in uhci_show_urbp()
165 struct uhci_qh *qh, char *buf, int len, int space) in uhci_show_qh()
261 static int uhci_show_sc(int port, unsigned short status, char *buf) in uhci_show_sc()
278 static int uhci_show_root_hub_state(struct uhci_hcd *uhci, char *buf) in uhci_show_root_hub_state()
304 static int uhci_show_status(struct uhci_hcd *uhci, char *buf, int len) in uhci_show_status()
373 static int uhci_sprint_schedule(struct uhci_hcd *uhci, char *buf, int len) in uhci_sprint_schedule()
610 static ssize_t uhci_debug_read(struct file *file, char __user *buf, in uhci_debug_read()
640 static inline void lprintk(char *buf) in lprintk()
[all …]
Dehci-dbg.c45 char buf [46], tmp [7], byte; in dbg_hcs_params() local
179 dbg_status_buf (char *buf, unsigned len, const char *label, u32 status) in dbg_status_buf()
199 dbg_intr_buf (char *buf, unsigned len, const char *label, u32 enable) in dbg_intr_buf()
218 dbg_command_buf (char *buf, unsigned len, const char *label, u32 command) in dbg_command_buf()
243 dbg_port_buf (char *buf, unsigned len, const char *label, int port, u32 status) in dbg_port_buf()
289 dbg_status_buf (char *buf, unsigned len, const char *label, u32 status) in dbg_status_buf()
293 dbg_command_buf (char *buf, unsigned len, const char *label, u32 command) in dbg_command_buf()
297 dbg_intr_buf (char *buf, unsigned len, const char *label, u32 enable) in dbg_intr_buf()
301 dbg_port_buf (char *buf, unsigned len, const char *label, int port, u32 status) in dbg_port_buf()
497 static ssize_t fill_async_buffer(struct debug_buffer *buf) in fill_async_buffer()
[all …]
/linux-4.4.14/drivers/staging/vt6655/
Drxtx.c511 struct vnt_tx_datahead_g *buf = pTxDataHead; in s_uFillDataHead() local
545 struct vnt_tx_datahead_g_fb *buf = pTxDataHead; in s_uFillDataHead() local
571 struct vnt_tx_datahead_a_fb *buf = pTxDataHead; in s_uFillDataHead() local
586 struct vnt_tx_datahead_ab *buf = pTxDataHead; in s_uFillDataHead() local
608 struct vnt_tx_datahead_ab *buf = pTxDataHead; in s_uFillDataHead() local
662 struct vnt_rts_g *buf = pvRTS; in s_vFillRTSHead() local
697 struct vnt_rts_g_fb *buf = pvRTS; in s_vFillRTSHead() local
753 struct vnt_rts_ab *buf = pvRTS; in s_vFillRTSHead() local
773 struct vnt_rts_a_fb *buf = pvRTS; in s_vFillRTSHead() local
804 struct vnt_rts_ab *buf = pvRTS; in s_vFillRTSHead() local
[all …]
/linux-4.4.14/lib/
Dvsprintf.c174 char *put_dec_trunc8(char *buf, unsigned r) in put_dec_trunc8()
216 char *put_dec_full8(char *buf, unsigned r) in put_dec_full8()
242 char *put_dec(char *buf, unsigned long long n) in put_dec()
256 put_dec_full4(char *buf, unsigned r) in put_dec_full4()
276 unsigned put_dec_helper4(char *buf, unsigned x) in put_dec_helper4()
290 char *put_dec(char *buf, unsigned long long n) in put_dec()
331 int num_to_str(char *buf, int size, unsigned long long num) in num_to_str()
392 char *number(char *buf, char *end, unsigned long long num, in number()
511 char *string(char *buf, char *end, const char *s, struct printf_spec spec) in string()
541 static void widen(char *buf, char *end, unsigned len, unsigned spaces) in widen()
[all …]
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-i2c.c50 static int em2800_i2c_send_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len) in em2800_i2c_send_bytes()
104 static int em2800_i2c_recv_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len) in em2800_i2c_recv_bytes()
167 u8 buf; in em2800_i2c_check_for_device() local
179 static int em28xx_i2c_send_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em28xx_i2c_send_bytes()
247 static int em28xx_i2c_recv_bytes(struct em28xx *dev, u16 addr, u8 *buf, u16 len) in em28xx_i2c_recv_bytes()
310 u8 buf; in em28xx_i2c_check_for_device() local
322 static int em25xx_bus_B_send_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em25xx_bus_B_send_bytes()
374 static int em25xx_bus_B_recv_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em25xx_bus_B_recv_bytes()
431 u8 buf; in em25xx_bus_B_check_for_device() local
590 static inline unsigned long em28xx_hash_mem(char *buf, int length, int bits) in em28xx_hash_mem()
[all …]
/linux-4.4.14/sound/hda/
Dhdac_sysfs.c49 char *buf) in modalias_show()
109 char *buf) in widget_attr_show()
125 const char *buf, size_t count) in widget_attr_store()
161 struct widget_attribute *attr, char *buf) in caps_show()
167 struct widget_attribute *attr, char *buf) in pin_caps_show()
176 struct widget_attribute *attr, char *buf) in pin_cfg_show()
201 struct widget_attribute *attr, char *buf) in pcm_caps_show()
210 struct widget_attribute *attr, char *buf) in pcm_formats_show()
219 struct widget_attribute *attr, char *buf) in amp_in_caps_show()
228 struct widget_attribute *attr, char *buf) in amp_out_caps_show()
[all …]
/linux-4.4.14/fs/quota/
Dquota_tree.c45 char *buf = kmalloc(size, GFP_NOFS); in getdqbuf() local
52 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk()
61 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk()
79 char *buf = getdqbuf(info->dqi_usable_bs); in get_free_dqblk() local
108 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk()
125 static int remove_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in remove_free_dqentry()
172 static int insert_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in insert_free_dqentry()
223 char *buf = getdqbuf(info->dqi_usable_bs); in find_free_dqentry() local
294 char *buf = getdqbuf(info->dqi_usable_bs); in do_insert_tree() local
410 char *buf = getdqbuf(info->dqi_usable_bs); in free_dqentry() local
[all …]
/linux-4.4.14/drivers/regulator/
Dvirtual.c112 struct device_attribute *attr, char *buf) in show_min_uV()
119 const char *buf, size_t count) in set_min_uV()
138 struct device_attribute *attr, char *buf) in show_max_uV()
145 const char *buf, size_t count) in set_max_uV()
164 struct device_attribute *attr, char *buf) in show_min_uA()
171 const char *buf, size_t count) in set_min_uA()
190 struct device_attribute *attr, char *buf) in show_max_uA()
197 const char *buf, size_t count) in set_max_uA()
216 struct device_attribute *attr, char *buf) in show_mode()
235 const char *buf, size_t count) in set_mode()
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb-sysfs.c38 struct device_attribute *attr, char *buf) in show_rotate_type()
48 const char *buf, size_t count) in store_rotate_type()
93 struct device_attribute *attr, char *buf) in show_mirror()
103 const char *buf, size_t count) in store_mirror()
144 struct device_attribute *attr, char *buf) in show_overlays()
194 const char *buf, size_t count) in store_overlays()
336 struct device_attribute *attr, char *buf) in show_overlays_rotate()
359 struct device_attribute *attr, const char *buf, size_t count) in store_overlays_rotate()
430 struct device_attribute *attr, char *buf) in show_size()
439 const char *buf, size_t count) in store_size()
[all …]
/linux-4.4.14/drivers/dio/
Ddio-sysfs.c20 static ssize_t dio_show_id(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_id()
29 static ssize_t dio_show_ipl(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_ipl()
38 static ssize_t dio_show_secid(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_secid()
47 static ssize_t dio_show_name(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_name()
56 static ssize_t dio_show_resource(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_resource()
/linux-4.4.14/drivers/pwm/
Dsysfs.c45 char *buf) in period_show()
54 const char *buf, size_t size) in period_store()
71 char *buf) in duty_cycle_show()
80 const char *buf, size_t size) in duty_cycle_store()
97 char *buf) in enable_show()
106 const char *buf, size_t size) in enable_store()
132 char *buf) in polarity_show()
152 const char *buf, size_t size) in polarity_store()
249 const char *buf, size_t len) in export_store()
277 const char *buf, size_t len) in unexport_store()
[all …]
/linux-4.4.14/drivers/media/pci/solo6x10/
Dsolo6x10-core.c168 const char *buf, size_t count) in eeprom_store()
198 char *buf) in eeprom_show()
214 char *buf) in p2m_timeouts_show()
224 char *buf) in sdram_size_show()
234 char *buf) in tw28xx_show()
247 char *buf) in input_map_show()
282 const char *buf, size_t count) in p2m_timeout_store()
298 char *buf) in p2m_timeout_show()
308 char *buf) in intervals_show()
327 char *buf) in sdram_offsets_show()
[all …]
/linux-4.4.14/drivers/char/
Dtlclk.c244 static ssize_t tlclk_read(struct file *filp, char __user *buf, size_t count, in tlclk_read()
281 struct device_attribute *attr, char *buf) in show_current_ref()
297 struct device_attribute *attr, char *buf) in show_telclock_version()
313 struct device_attribute *attr, char *buf) in show_alarms()
328 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3a()
350 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3b()
372 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3b_output()
393 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3a_output()
414 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb1_output()
436 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clka1_output()
[all …]
/linux-4.4.14/fs/ocfs2/dlm/
Ddlmdebug.c100 char buf[DLM_LOCKID_NAME_MAX]; in __dlm_print_one_lock_resource() local
251 static int stringify_lockname(const char *lockname, int locklen, char *buf, in stringify_lockname()
272 char *buf, int len) in stringify_nodemap()
283 static int dump_mle(struct dlm_master_list_entry *mle, char *buf, int len) in dump_mle()
330 char *buf; in dlm_print_one_mle() local
376 static ssize_t debug_read(struct file *file, char __user *buf, in debug_read()
385 static int debug_purgelist_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_purgelist_print()
417 char *buf = NULL; in debug_purgelist_open() local
441 static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_mle_print()
474 char *buf = NULL; in debug_mle_open() local
[all …]
/linux-4.4.14/drivers/net/wireless/b43legacy/
Dsysfs.c38 static int get_integer(const char *buf, size_t count) in get_integer()
52 static int get_boolean(const char *buf, size_t count) in get_boolean()
77 char *buf) in b43legacy_attr_interfmode_show()
111 const char *buf, size_t count) in b43legacy_attr_interfmode_store()
159 char *buf) in b43legacy_attr_preamble_show()
183 const char *buf, size_t count) in b43legacy_attr_preamble_store()
/linux-4.4.14/arch/avr32/kernel/
Dcpu.c30 struct device_attribute *attr, char *buf) in show_pc0event()
38 struct device_attribute *attr, const char *buf, in store_pc0event()
54 struct device_attribute *attr, char *buf) in show_pc0count()
63 const char *buf, size_t count) in store_pc0count()
77 struct device_attribute *attr, char *buf) in show_pc1event()
85 struct device_attribute *attr, const char *buf, in store_pc1event()
101 struct device_attribute *attr, char *buf) in show_pc1count()
109 struct device_attribute *attr, const char *buf, in store_pc1count()
124 struct device_attribute *attr, char *buf) in show_pccycles()
132 struct device_attribute *attr, const char *buf, in store_pccycles()
[all …]
/linux-4.4.14/drivers/net/wireless/b43/
Ddebugfs.c80 char *buf, size_t bufsize) in shm16read__read_file()
99 const char *buf, size_t count) in shm16read__write_file()
123 const char *buf, size_t count) in shm16write__write_file()
156 char *buf, size_t bufsize) in shm32read__read_file()
175 const char *buf, size_t count) in shm32read__write_file()
199 const char *buf, size_t count) in shm32write__write_file()
235 char *buf, size_t bufsize) in mmio16read__read_file()
252 const char *buf, size_t count) in mmio16read__write_file()
271 const char *buf, size_t count) in mmio16write__write_file()
299 char *buf, size_t bufsize) in mmio32read__read_file()
[all …]
/linux-4.4.14/drivers/rapidio/
Drio-sysfs.c41 static ssize_t routes_show(struct device *dev, struct device_attribute *attr, char *buf) in routes_show()
61 struct device_attribute *attr, char *buf) in lprev_show()
71 struct device_attribute *attr, char *buf) in lnext_show()
92 struct device_attribute *attr, char *buf) in modalias_show()
126 char *buf, loff_t off, size_t count) in rio_read_config()
198 char *buf, loff_t off, size_t count) in rio_write_config()
305 static ssize_t bus_scan_store(struct bus_type *bus, const char *buf, in bus_scan_store()
347 char *buf) in port_destid_show()
359 char *buf) in sys_size_show()
/linux-4.4.14/drivers/hid/
Dhid-ntrig.c97 static int ntrig_version_string(unsigned char *raw, char *buf) in ntrig_version_string()
147 char buf[20]; in ntrig_report_version() local
174 char *buf) in show_phys_width()
186 char *buf) in show_phys_height()
198 char *buf) in show_log_width()
210 char *buf) in show_log_height()
222 char *buf) in show_min_width()
234 const char *buf, size_t count) in set_min_width()
257 char *buf) in show_min_height()
269 const char *buf, size_t count) in set_min_height()
[all …]
Dhid-roccat-kovaplus.c74 struct kovaplus_profile_settings *buf, uint number) in kovaplus_get_profile_settings()
88 struct kovaplus_profile_buttons *buf, int number) in kovaplus_get_profile_buttons()
104 struct kovaplus_actual_profile buf; in kovaplus_get_actual_profile() local
116 struct kovaplus_actual_profile buf; in kovaplus_set_actual_profile() local
128 char *buf, loff_t off, size_t count, in kovaplus_sysfs_read()
154 void const *buf, loff_t off, size_t count, in kovaplus_sysfs_write()
221 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_settings()
240 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_buttons()
278 struct device_attribute *attr, char *buf) in kovaplus_sysfs_show_actual_profile()
286 struct device_attribute *attr, char const *buf, size_t size) in kovaplus_sysfs_set_actual_profile()
[all …]
Dhid-roccat-kone.c59 char *buf; in kone_receive() local
79 char *buf; in kone_send() local
152 struct kone_settings *buf) in kone_get_settings()
182 struct kone_profile *buf, int number) in kone_get_profile()
270 struct bin_attribute *attr, char *buf, in kone_sysfs_read_settings()
295 struct bin_attribute *attr, char *buf, in kone_sysfs_write_settings()
334 char *buf, loff_t off, size_t count) { in kone_sysfs_read_profilex()
355 char *buf, loff_t off, size_t count) { in kone_sysfs_write_profilex()
400 struct device_attribute *attr, char *buf) in kone_sysfs_show_actual_profile()
409 struct device_attribute *attr, char *buf) in kone_sysfs_show_actual_dpi()
[all …]
/linux-4.4.14/fs/ncpfs/
Dncpsign_kernel.c23 #define BVAL(buf,pos) (((const __u8 *)(buf))[pos]) argument
24 #define PVAL(buf,pos) ((unsigned)BVAL(buf,pos)) argument
25 #define BSET(buf,pos,val) (((__u8 *)(buf))[pos] = (val)) argument
28 WVAL_LH(const __u8 * buf, int pos) in WVAL_LH()
33 DVAL_LH(const __u8 * buf, int pos) in DVAL_LH()
38 WSET_LH(__u8 * buf, int pos, __u16 val) in WSET_LH()
44 DSET_LH(__u8 * buf, int pos, __u32 val) in DSET_LH()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
Ddebug.c236 char *buf; in il_dbgfs_tx_stats_read() local
277 char buf[8]; in il_dbgfs_clear_traffic_stats_write() local
297 char *buf; in il_dbgfs_rx_stats_read() local
340 char *buf; in il_dbgfs_sram_read() local
399 char buf[64]; in il_dbgfs_sram_write() local
426 char *buf; in il_dbgfs_stations_read() local
491 char *buf; in il_dbgfs_nvm_read() local
535 char *buf; in il_dbgfs_channels_read() local
612 char buf[512]; in il_dbgfs_status_read() local
675 char *buf; in il_dbgfs_interrupt_read() local
[all …]
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft-io.c7 int fbtft_write_spi(struct fbtft_par *par, void *buf, size_t len) in fbtft_write_spi()
43 int fbtft_write_spi_emulate_9(struct fbtft_par *par, void *buf, size_t len) in fbtft_write_spi_emulate_9()
88 int fbtft_read_spi(struct fbtft_par *par, void *buf, size_t len) in fbtft_read_spi()
132 int fbtft_write_gpio8_wr(struct fbtft_par *par, void *buf, size_t len) in fbtft_write_gpio8_wr()
182 int fbtft_write_gpio16_wr(struct fbtft_par *par, void *buf, size_t len) in fbtft_write_gpio16_wr()
233 int fbtft_write_gpio16_wr_latched(struct fbtft_par *par, void *buf, size_t len) in fbtft_write_gpio16_wr_latched()
/linux-4.4.14/drivers/staging/speakup/
Dkobjects.c29 struct kobj_attribute *attr, char *buf) in chars_chartab_show()
89 char buf[80]; in report_char_chartab_status() local
109 struct kobj_attribute *attr, const char *buf, size_t count) in chars_chartab_store()
225 char *buf) in keymap_show()
261 const char *buf, size_t count) in keymap_store()
328 const char *buf, size_t count) in silent_store()
367 char *buf) in synth_show()
382 const char *buf, size_t count) in synth_store()
408 struct kobj_attribute *attr, const char *buf, size_t count) in synth_direct_store()
435 char *buf) in version_show()
[all …]
/linux-4.4.14/drivers/usb/wusbcore/
Dwusbhc.c59 char *buf) in wusb_trust_timeout_show()
68 const char *buf, size_t size) in wusb_trust_timeout_store()
94 struct device_attribute *attr, char *buf) in wusb_chid_show()
121 const char *buf, size_t size) in wusb_chid_store()
153 char *buf) in wusb_phy_rate_show()
162 const char *buf, size_t size) in wusb_phy_rate_store()
182 char *buf) in wusb_dnts_show()
192 const char *buf, size_t size) in wusb_dnts_store()
212 char *buf) in wusb_retry_count_show()
221 const char *buf, size_t size) in wusb_retry_count_store()
/linux-4.4.14/drivers/w1/slaves/
Dw1_ds2408.c46 static int _read_reg(struct w1_slave *sl, u8 address, unsigned char* buf) in _read_reg()
76 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read()
88 struct bin_attribute *bin_attr, char *buf, in output_read()
101 struct bin_attribute *bin_attr, char *buf, in activity_read()
114 struct bin_attribute *bin_attr, char *buf, in cond_search_mask_read()
129 char *buf, loff_t off, size_t count) in cond_search_polarity_read()
138 struct bin_attribute *bin_attr, char *buf, in status_control_read()
148 struct bin_attribute *bin_attr, char *buf, in output_write()
219 struct bin_attribute *bin_attr, char *buf, in activity_write()
249 struct bin_attribute *bin_attr, char *buf, in status_control_write()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_erl0.c75 unsigned char *buf) in iscsit_dataout_within_command_recovery_check()
141 unsigned char *buf) in iscsit_dataout_check_unsolicited_sequence()
216 unsigned char *buf) in iscsit_dataout_check_sequence()
345 unsigned char *buf) in iscsit_dataout_check_datasn()
396 unsigned char *buf) in iscsit_dataout_pre_datapduinorder_yes()
458 unsigned char *buf) in iscsit_dataout_pre_datapduinorder_no()
542 unsigned char *buf) in iscsit_dataout_post_crc_passed()
653 unsigned char *buf) in iscsit_dataout_post_crc_failed()
691 unsigned char *buf) in iscsit_check_pre_dataout()
729 unsigned char *buf, in iscsit_check_post_dataout()
/linux-4.4.14/drivers/net/wireless/libertas/
Dmesh.c157 struct device_attribute *attr, char * buf) in lbs_anycast_get()
180 struct device_attribute *attr, const char * buf, size_t count) in lbs_anycast_set()
205 struct device_attribute *attr, char *buf) in lbs_prb_rsp_limit_get()
232 struct device_attribute *attr, const char *buf, size_t count) in lbs_prb_rsp_limit_set()
264 struct device_attribute *attr, char * buf) in lbs_mesh_get()
278 struct device_attribute *attr, const char * buf, size_t count) in lbs_mesh_set()
356 struct device_attribute *attr, char *buf) in bootflag_get()
377 const char *buf, size_t count) in bootflag_set()
406 struct device_attribute *attr, char *buf) in boottime_get()
427 struct device_attribute *attr, const char *buf, size_t count) in boottime_set()
[all …]
/linux-4.4.14/arch/x86/kernel/fpu/
Dsignal.c20 static inline int check_for_xstate(struct fxregs_state __user *buf, in check_for_xstate()
54 static inline int save_fsave_header(struct task_struct *tsk, void __user *buf) in save_fsave_header()
77 static inline int save_xstate_epilog(void __user *buf, int ia32_frame) in save_xstate_epilog()
117 static inline int copy_fpregs_to_sigframe(struct xregs_state __user *buf) in copy_fpregs_to_sigframe()
153 int copy_fpstate_to_sigframe(void __user *buf, void __user *buf_fx, int size) in copy_fpstate_to_sigframe()
229 static inline int copy_user_to_fpregs_zeroing(void __user *buf, u64 xbv, int fx_only) in copy_user_to_fpregs_zeroing()
248 static int __fpu__restore_sig(void __user *buf, void __user *buf_fx, int size) in __fpu__restore_sig()
350 int fpu__restore_sig(void __user *buf, int ia32_frame) in fpu__restore_sig()
/linux-4.4.14/drivers/usb/misc/
Dcytherm.c71 void *buf, int size) in vendor_command()
86 static ssize_t show_brightness(struct device *dev, struct device_attribute *attr, char *buf) in show_brightness()
94 static ssize_t set_brightness(struct device *dev, struct device_attribute *attr, const char *buf, in set_brightness()
139 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp()
175 static ssize_t set_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t … in set_temp()
185 static ssize_t show_button(struct device *dev, struct device_attribute *attr, char *buf) in show_button()
216 static ssize_t set_button(struct device *dev, struct device_attribute *attr, const char *buf, size_… in set_button()
224 static ssize_t show_port0(struct device *dev, struct device_attribute *attr, char *buf) in show_port0()
250 static ssize_t set_port0(struct device *dev, struct device_attribute *attr, const char *buf, size_t… in set_port0()
284 static ssize_t show_port1(struct device *dev, struct device_attribute *attr, char *buf) in show_port1()
[all …]
/linux-4.4.14/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c49 gss_krb5_add_padding(struct xdr_buf *buf, int offset, int blocksize) in gss_krb5_add_padding()
66 gss_krb5_remove_padding(struct xdr_buf *buf, int blocksize) in gss_krb5_remove_padding()
159 struct xdr_buf *buf, struct page **pages) in gss_wrap_kerberos_v1()
266 gss_unwrap_kerberos_v1(struct krb5_ctx *kctx, int offset, struct xdr_buf *buf) in gss_unwrap_kerberos_v1()
401 static void rotate_buf_a_little(struct xdr_buf *buf, unsigned int shift) in rotate_buf_a_little()
418 static void _rotate_left(struct xdr_buf *buf, unsigned int shift) in _rotate_left()
431 static void rotate_left(u32 base, struct xdr_buf *buf, unsigned int shift) in rotate_left()
441 struct xdr_buf *buf, struct page **pages) in gss_wrap_kerberos_v2()
495 gss_unwrap_kerberos_v2(struct krb5_ctx *kctx, int offset, struct xdr_buf *buf) in gss_unwrap_kerberos_v2()
592 struct xdr_buf *buf, struct page **pages) in gss_wrap_kerberos()
[all …]
/linux-4.4.14/drivers/w1/
Dw1.c105 static ssize_t name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show()
114 struct device_attribute *attr, char *buf) in id_show()
134 struct bin_attribute *bin_attr, char *buf, loff_t off, in rw_write()
153 struct bin_attribute *bin_attr, char *buf, loff_t off, in rw_read()
225 …ssize_t w1_master_attribute_show_name(struct device *dev, struct device_attribute *attr, char *buf) in w1_master_attribute_show_name()
239 const char * buf, size_t count) in w1_master_attribute_store_search()
261 char *buf) in w1_master_attribute_show_search()
275 const char *buf, size_t count) in w1_master_attribute_store_pullup()
294 char *buf) in w1_master_attribute_show_pullup()
306 …ze_t w1_master_attribute_show_pointer(struct device *dev, struct device_attribute *attr, char *buf) in w1_master_attribute_show_pointer()
[all …]
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pm.c51 char *buf) in amdgpu_get_dpm_state()
64 const char *buf, in amdgpu_set_dpm_state()
94 char *buf) in amdgpu_get_dpm_forced_performance_level()
107 const char *buf, in amdgpu_set_dpm_forced_performance_level()
148 char *buf) in amdgpu_hwmon_show_temp()
163 char *buf) in amdgpu_hwmon_show_temp_thresh()
179 char *buf) in amdgpu_hwmon_get_pwm1_enable()
193 const char *buf, in amdgpu_hwmon_set_pwm1_enable()
221 char *buf) in amdgpu_hwmon_get_pwm1_min()
228 char *buf) in amdgpu_hwmon_get_pwm1_max()
[all …]
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-vbi.c48 struct cx88_buffer *buf) in cx8800_start_vbi_dma()
96 struct cx88_buffer *buf; in cx8800_restart_vbi_queue() local
130 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_prepare() local
155 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_finish() local
167 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_queue() local
196 struct cx88_buffer *buf = list_entry(dmaq->active.next, in start_streaming() local
215 struct cx88_buffer *buf = list_entry(dmaq->active.next, in stop_streaming() local
/linux-4.4.14/drivers/leds/trigger/
Dledtrig-oneshot.c30 struct device_attribute *attr, const char *buf, size_t size) in led_shot()
43 struct device_attribute *attr, char *buf) in led_invert_show()
52 struct device_attribute *attr, const char *buf, size_t size) in led_invert_store()
74 struct device_attribute *attr, char *buf) in led_delay_on_show()
82 struct device_attribute *attr, const char *buf, size_t size) in led_delay_on_store()
97 struct device_attribute *attr, char *buf) in led_delay_off_show()
105 struct device_attribute *attr, const char *buf, size_t size) in led_delay_off_store()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c38 const char *buf, size_t len) in qlcnic_store_bridged_mode()
62 char *buf) in qlcnic_show_bridged_mode()
75 const char *buf, size_t len) in qlcnic_store_diag_mode()
90 struct device_attribute *attr, char *buf) in qlcnic_show_diag_mode()
118 const char *buf, size_t len) in qlcnic_83xx_store_beacon()
158 const char *buf, size_t len) in qlcnic_82xx_store_beacon()
217 const char *buf, size_t len) in qlcnic_store_beacon()
239 struct device_attribute *attr, char *buf) in qlcnic_show_beacon()
269 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_read_crb()
286 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_write_crb()
[all …]
/linux-4.4.14/drivers/scsi/snic/
Dsnic_attrs.c26 char *buf) in snic_show_sym_name()
36 char *buf) in snic_show_state()
47 char *buf) in snic_show_drv_version()
55 char *buf) in snic_show_link_state()
/linux-4.4.14/drivers/ssb/
Dhost_soc.c51 u8 *buf = buffer; in ssb_host_soc_block_read() local
61 __le16 *buf = buffer; in ssb_host_soc_block_read() local
72 __le32 *buf = buffer; in ssb_host_soc_block_read() local
124 const u8 *buf = buffer; in ssb_host_soc_block_write() local
134 const __le16 *buf = buffer; in ssb_host_soc_block_write() local
145 const __le32 *buf = buffer; in ssb_host_soc_block_write() local
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dio.h58 void *buf, size_t len, in wlcore_raw_write()
76 void *buf, size_t len, in wlcore_raw_read()
94 void *buf, size_t len, in wlcore_raw_read_data()
101 void *buf, size_t len, in wlcore_raw_write_data()
132 void *buf, size_t len, bool fixed) in wlcore_read()
142 void *buf, size_t len, bool fixed) in wlcore_write()
152 void *buf, size_t len, in wlcore_write_data()
159 void *buf, size_t len, in wlcore_read_data()
166 void *buf, size_t len, in wlcore_read_hwaddr()
/linux-4.4.14/arch/powerpc/kernel/
Dio.c31 void _insb(const volatile u8 __iomem *port, void *buf, long count) in _insb()
48 void _outsb(volatile u8 __iomem *port, const void *buf, long count) in _outsb()
62 void _insw_ns(const volatile u16 __iomem *port, void *buf, long count) in _insw_ns()
79 void _outsw_ns(volatile u16 __iomem *port, const void *buf, long count) in _outsw_ns()
93 void _insl_ns(const volatile u32 __iomem *port, void *buf, long count) in _insl_ns()
110 void _outsl_ns(volatile u32 __iomem *port, const void *buf, long count) in _outsl_ns()
Dsysfs.c42 const char *buf, in store_smt_snooze_delay()
59 char *buf) in show_smt_snooze_delay()
116 struct device_attribute *attr, char *buf) in show_pw20_state()
145 const char *buf, size_t count) in store_pw20_state()
162 struct device_attribute *attr, char *buf) in show_pw20_wait_time()
212 const char *buf, size_t count) in store_pw20_wait_time()
238 struct device_attribute *attr, char *buf) in show_altivec_idle()
267 const char *buf, size_t count) in store_altivec_idle()
284 struct device_attribute *attr, char *buf) in show_altivec_idle_wait_time()
334 const char *buf, size_t count) in store_altivec_idle_wait_time()
[all …]
/linux-4.4.14/drivers/hv/
Dvmbus_drv.c158 char *buf) in id_show()
169 char *buf) in state_show()
180 struct device_attribute *dev_attr, char *buf) in monitor_id_show()
191 struct device_attribute *dev_attr, char *buf) in class_id_show()
203 struct device_attribute *dev_attr, char *buf) in device_id_show()
215 struct device_attribute *dev_attr, char *buf) in modalias_show()
227 char *buf) in server_monitor_pending_show()
241 char *buf) in client_monitor_pending_show()
255 char *buf) in server_monitor_latency_show()
269 char *buf) in client_monitor_latency_show()
[all …]
/linux-4.4.14/fs/
Dstatfs.c49 static int statfs_by_dentry(struct dentry *dentry, struct kstatfs *buf) in statfs_by_dentry()
66 int vfs_statfs(struct path *path, struct kstatfs *buf) in vfs_statfs()
108 struct statfs buf; in do_statfs_native() local
150 struct statfs64 buf; in do_statfs64() local
172 SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument
181 SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument
193 SYSCALL_DEFINE2(fstatfs, unsigned int, fd, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument
202 SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dreconfig.c119 static char * parse_next_property(char *buf, char *end, char **name, int *length, in parse_next_property()
199 static int do_add_node(char *buf, size_t bufsize) in do_add_node()
245 static int do_remove_node(char *buf) in do_remove_node()
257 static char *parse_node(char *buf, size_t bufsize, struct device_node **npp) in parse_node()
277 static int do_add_property(char *buf, size_t bufsize) in do_add_property()
302 static int do_remove_property(char *buf, size_t bufsize) in do_remove_property()
324 static int do_update_property(char *buf, size_t bufsize) in do_update_property()
366 static ssize_t ofdt_write(struct file *file, const char __user *buf, size_t count, in ofdt_write()
/linux-4.4.14/tools/perf/util/
Dtrace-event-read.c45 static int __do_read(int fd, void *buf, int size) in __do_read()
90 char buf[BUFSIZ]; in skip() local
120 char buf[BUFSIZ]; in read_string() local
188 char *buf; in read_ftrace_printk() local
214 char buf[BUFSIZ]; in read_header_files() local
263 char *buf; in read_ftrace_file() local
282 char *buf; in read_event_file() local
346 char buf[BUFSIZ]; in trace_report() local
/linux-4.4.14/arch/sh/drivers/dma/
Ddma-sysfs.c27 struct device_attribute *attr, char *buf) in dma_show_devices()
62 struct device_attribute *attr, char *buf) in dma_show_dev_id()
70 const char *buf, size_t count) in dma_store_dev_id()
81 const char *buf, size_t count) in dma_store_config()
95 struct device_attribute *attr, char *buf) in dma_show_mode()
103 const char *buf, size_t count) in dma_store_mode()
/linux-4.4.14/drivers/gpu/drm/radeon/
Ddrm_buffer.c44 int drm_buffer_alloc(struct drm_buffer **buf, int size) in drm_buffer_alloc()
97 int drm_buffer_copy_from_user(struct drm_buffer *buf, in drm_buffer_copy_from_user()
129 void drm_buffer_free(struct drm_buffer *buf) in drm_buffer_free()
155 void *drm_buffer_read_object(struct drm_buffer *buf, in drm_buffer_read_object()
Ddrm_buffer.h50 static inline int drm_buffer_page(struct drm_buffer *buf) in drm_buffer_page()
57 static inline int drm_buffer_index(struct drm_buffer *buf) in drm_buffer_index()
64 static inline int drm_buffer_unprocessed(struct drm_buffer *buf) in drm_buffer_unprocessed()
72 static inline void drm_buffer_advance(struct drm_buffer *buf, int bytes) in drm_buffer_advance()
/linux-4.4.14/drivers/xen/
Dxen-selfballoon.c260 const char *buf, in store_selfballooning()
291 const char *buf, in store_selfballoon_interval()
315 const char *buf, in store_selfballoon_downhys()
340 const char *buf, in store_selfballoon_uphys()
365 const char *buf, in store_selfballoon_min_usable_mb()
391 const char *buf, in store_selfballoon_reserved_mb()
418 const char *buf, in store_frontswap_selfshrinking()
448 const char *buf, in store_frontswap_inertia()
473 const char *buf, in store_frontswap_hysteresis()
/linux-4.4.14/arch/mips/mm/
Dpage.c106 pg_addiu(u32 **buf, unsigned int reg1, unsigned int reg2, unsigned int off) in pg_addiu()
225 static void build_clear_store(u32 **buf, int off) in build_clear_store()
234 static inline void build_clear_pref(u32 **buf, int off) in build_clear_pref()
269 u32 *buf = &__clear_page_start; in build_clear_page() local
359 static void build_copy_load(u32 **buf, int reg, int off) in build_copy_load()
368 static void build_copy_store(u32 **buf, int reg, int off) in build_copy_store()
377 static inline void build_copy_load_pref(u32 **buf, int off) in build_copy_load_pref()
386 static inline void build_copy_store_pref(u32 **buf, int off) in build_copy_store_pref()
416 u32 *buf = &__copy_page_start; in build_copy_page() local
/linux-4.4.14/drivers/base/
Dcpu.c86 const char *buf, in cpu_probe_store()
104 const char *buf, in cpu_release_store()
140 char *buf) in show_crash_notes()
163 char *buf) in show_crash_notes_size()
208 char *buf) in show_cpus_attr()
229 struct device_attribute *attr, char *buf) in print_cpus_kernel_max()
240 struct device_attribute *attr, char *buf) in print_cpus_offline()
270 struct device_attribute *attr, char *buf) in print_cpus_isolated()
282 struct device_attribute *attr, char *buf) in print_cpus_nohz_full()
315 char *buf) in print_cpu_modalias()
[all …]
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dsysfs.c47 struct device_attribute *attr, char *buf) in show_admin_alias_guid()
70 const char *buf, size_t count) in store_admin_alias_guid()
113 char *buf) in show_port_gid()
140 char *buf) in show_phys_port_pkey()
166 char *buf), in create_sysfs_entry()
169 const char *buf, size_t count) in create_sysfs_entry()
402 struct attribute *attr, char *buf) in port_attr_show()
415 const char *buf, size_t size) in port_attr_store()
443 char *buf) in show_port_pkey()
460 const char *buf, size_t count) in store_port_pkey()
[all …]
/linux-4.4.14/drivers/platform/x86/
Dmsi-laptop.c159 u8 buf[2]; in set_lcd_level() local
216 static ssize_t set_device_state(const char *buf, size_t count, u8 mask) in set_device_state()
321 struct device_attribute *attr, char *buf) in show_wlan()
339 struct device_attribute *attr, const char *buf, size_t count) in store_wlan()
345 struct device_attribute *attr, char *buf) in show_bluetooth()
363 struct device_attribute *attr, const char *buf, size_t count) in store_bluetooth()
369 struct device_attribute *attr, char *buf) in show_threeg()
386 struct device_attribute *attr, const char *buf, size_t count) in store_threeg()
392 struct device_attribute *attr, char *buf) in show_lcd_level()
405 struct device_attribute *attr, const char *buf, size_t count) in store_lcd_level()
[all …]
/linux-4.4.14/drivers/mtd/nand/
Dnand_bbt.c95 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td) in check_pattern_no_oob()
112 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) in check_pattern()
133 static int check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) in check_short_pattern()
171 static int read_bbt(struct mtd_info *mtd, uint8_t *buf, int page, int num, in read_bbt()
264 static int read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) in read_abs_bbt()
290 static int scan_read_data(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_data()
314 static int scan_read_oob(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_oob()
344 static int scan_read(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read()
355 uint8_t *buf, uint8_t *oob) in scan_write_bbt()
388 static void read_abs_bbts(struct mtd_info *mtd, uint8_t *buf, in read_abs_bbts()
[all …]
/linux-4.4.14/drivers/staging/iio/light/
Dtsl2583.c200 u8 buf[5]; in taos_get_lux() local
485 struct device_attribute *attr, char *buf) in taos_power_state_show()
494 struct device_attribute *attr, const char *buf, size_t len) in taos_power_state_store()
511 struct device_attribute *attr, char *buf) in taos_gain_show()
536 struct device_attribute *attr, const char *buf, size_t len) in taos_gain_store()
567 struct device_attribute *attr, char *buf) in taos_gain_available_show()
573 struct device_attribute *attr, char *buf) in taos_als_time_show()
582 struct device_attribute *attr, const char *buf, size_t len) in taos_als_time_store()
603 struct device_attribute *attr, char *buf) in taos_als_time_available_show()
610 struct device_attribute *attr, char *buf) in taos_als_trim_show()
[all …]
/linux-4.4.14/arch/s390/kernel/
Dtime.c1162 char *buf) in etr_stepping_port_show()
1171 char *buf) in etr_stepping_mode_show()
1199 char *buf) in etr_online_show()
1209 const char *buf, size_t count) in etr_online_store()
1249 char *buf) in etr_stepping_control_show()
1258 struct device_attribute *attr, char *buf) in etr_mode_code_show()
1270 struct device_attribute *attr, char *buf) in etr_untuned_show()
1282 struct device_attribute *attr, char *buf) in etr_network_id_show()
1294 struct device_attribute *attr, char *buf) in etr_id_show()
1306 struct device_attribute *attr, char *buf) in etr_port_number_show()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dlproc_llite.c52 char *buf) in blocksize_show()
70 char *buf) in kbytestotal_show()
95 char *buf) in kbytesfree_show()
120 char *buf) in kbytesavail_show()
145 char *buf) in filestotal_show()
163 char *buf) in filesfree_show()
181 char *buf) in client_type_show()
192 char *buf) in fstype_show()
202 char *buf) in uuid_show()
225 struct attribute *attr, char *buf) in max_read_ahead_mb_show()
[all …]
/linux-4.4.14/security/selinux/ss/
Dpolicydb.c995 __le32 buf[2]; in mls_read_range_helper() local
1056 __le32 buf[3]; in context_read_and_validate() local
1117 __le32 buf[2]; in perm_read() local
1150 __le32 buf[4]; in common_read() local
1199 __le32 buf[1]; in type_set_read() local
1222 __le32 buf[3]; in read_cons_helper() local
1316 __le32 buf[6]; in class_read() local
1411 __le32 buf[3]; in role_read() local
1468 __le32 buf[4]; in type_read() local
1518 __le32 buf[1]; in mls_read_level() local
[all …]
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_dmabuf.c46 struct vmw_dma_buffer *buf, in vmw_dmabuf_pin_in_placement()
89 struct vmw_dma_buffer *buf, in vmw_dmabuf_pin_in_vram_or_gmr()
136 struct vmw_dma_buffer *buf, in vmw_dmabuf_pin_in_vram()
157 struct vmw_dma_buffer *buf, in vmw_dmabuf_pin_in_start_of_vram()
218 struct vmw_dma_buffer *buf, in vmw_dmabuf_unpin()
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.c2414 char *buf) in _ctl_version_fw_show()
2436 char *buf) in _ctl_version_bios_show()
2460 char *buf) in _ctl_version_mpi_show()
2479 char *buf) in _ctl_version_product_show()
2497 struct device_attribute *attr, char *buf) in _ctl_version_nvdata_persistent_show()
2517 *attr, char *buf) in _ctl_version_nvdata_default_show()
2537 char *buf) in _ctl_board_name_show()
2555 char *buf) in _ctl_board_assembly_show()
2573 char *buf) in _ctl_board_tracer_show()
2594 char *buf) in _ctl_io_delay_show()
[all …]
/linux-4.4.14/drivers/bluetooth/
Dbtmrvl_debugfs.c38 char buf[16]; in btmrvl_hscfgcmd_write() local
64 char buf[16]; in btmrvl_hscfgcmd_read() local
84 char buf[16]; in btmrvl_pscmd_write() local
111 char buf[16]; in btmrvl_pscmd_read() local
130 char buf[16]; in btmrvl_hscmd_write() local
155 char buf[16]; in btmrvl_hscmd_read() local
174 char buf[16]; in btmrvl_fwdump_write() local
/linux-4.4.14/net/atm/
Datm_sysfs.c14 struct device_attribute *attr, char *buf) in show_type()
22 struct device_attribute *attr, char *buf) in show_address()
30 struct device_attribute *attr, char *buf) in show_atmaddress()
59 struct device_attribute *attr, char *buf) in show_atmindex()
67 struct device_attribute *attr, char *buf) in show_carrier()
76 struct device_attribute *attr, char *buf) in show_link_rate()
/linux-4.4.14/drivers/media/common/b2c2/
Dflexcop-eeprom.c97 static u8 calc_lrc(u8 *buf, int len) in calc_lrc()
107 flexcop_access_op_t op, u16 addr, u8 *buf, u16 len, int retries) in flexcop_eeprom_request()
121 u8 *buf, u16 len, int retries) in flexcop_eeprom_lrc_read()
134 u8 buf[8]; in flexcop_eeprom_check_mac_addr() local
/linux-4.4.14/drivers/platform/mips/
Dcpu_hwmon.c49 struct device_attribute *attr, char *buf) in get_hwmon_name()
81 struct device_attribute *attr, char *buf) in cpu0_temp_label()
87 struct device_attribute *attr, char *buf) in cpu1_temp_label()
93 struct device_attribute *attr, char *buf) in get_cpu0_temp()
100 struct device_attribute *attr, char *buf) in get_cpu1_temp()
/linux-4.4.14/drivers/staging/iio/adc/
Dad7816.c62 __be16 buf; in ad7816_spi_read() local
113 char *buf) in ad7816_show_mode()
125 const char *buf, in ad7816_store_mode()
149 char *buf) in ad7816_show_available_modes()
159 char *buf) in ad7816_show_channel()
169 const char *buf, in ad7816_store_channel()
207 char *buf) in ad7816_show_value()
262 char *buf) in ad7816_show_oti()
282 const char *buf, in ad7816_set_oti()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c190 static void free_buffer(struct videobuf_queue *vq, struct cx231xx_buffer *buf) in free_buffer()
220 struct cx231xx_buffer *buf = in vbi_buffer_prepare() local
267 struct cx231xx_buffer *buf = in vbi_buffer_queue() local
281 struct cx231xx_buffer *buf = in vbi_buffer_release() local
525 struct cx231xx_buffer *buf) in vbi_buffer_filled()
544 struct cx231xx_buffer *buf; in cx231xx_copy_vbi_line() local
612 struct cx231xx_buffer **buf) in get_next_vbi_buf()
641 struct cx231xx_buffer *buf; in cx231xx_reset_vbi_buffer() local
662 struct cx231xx_buffer *buf; in cx231xx_do_vbi_copy() local
/linux-4.4.14/sound/core/seq/
Dseq_midi_event.c216 long snd_midi_event_encode(struct snd_midi_event *dev, unsigned char *buf, long count, in snd_midi_event_encode()
357 long snd_midi_event_decode(struct snd_midi_event *dev, unsigned char *buf, long count, in snd_midi_event_decode()
414 static void note_decode(struct snd_seq_event *ev, unsigned char *buf) in note_decode()
421 static void one_param_decode(struct snd_seq_event *ev, unsigned char *buf) in one_param_decode()
427 static void pitchbend_decode(struct snd_seq_event *ev, unsigned char *buf) in pitchbend_decode()
435 static void two_param_decode(struct snd_seq_event *ev, unsigned char *buf) in two_param_decode()
442 static void songpos_decode(struct snd_seq_event *ev, unsigned char *buf) in songpos_decode()
449 static int extra_decode_ctrl14(struct snd_midi_event *dev, unsigned char *buf, in extra_decode_ctrl14()
487 static int extra_decode_xrpn(struct snd_midi_event *dev, unsigned char *buf, in extra_decode_xrpn()

12345678910>>...26