Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 3982) sorted by relevance

12345678910>>...160

/drivers/net/wireless/st/cw1200/
Dwsm.c27 #define WSM_SKIP(buf, size) \ argument
34 #define WSM_GET(buf, ptr, size) \ argument
42 #define __WSM_GET(buf, type, type2, cvt) \ argument
52 #define WSM_GET8(buf) __WSM_GET(buf, u8, u8, (u8)) argument
53 #define WSM_GET16(buf) __WSM_GET(buf, u16, __le16, __le16_to_cpu) argument
54 #define WSM_GET32(buf) __WSM_GET(buf, u32, __le32, __le32_to_cpu) argument
56 #define WSM_PUT(buf, ptr, size) \ argument
65 #define __WSM_PUT(buf, val, type, type2, cvt) \ argument
74 #define WSM_PUT8(buf, val) __WSM_PUT(buf, val, u8, u8, (u8)) argument
75 #define WSM_PUT16(buf, val) __WSM_PUT(buf, val, u16, __le16, __cpu_to_le16) argument
[all …]
/drivers/s390/net/
Dqeth_l3_sys.c19 static int qeth_l3_string_to_ipaddr(const char *buf, in qeth_l3_string_to_ipaddr()
31 struct qeth_routing_info *route, char *buf) in qeth_l3_dev_route_show()
59 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show()
68 const char *buf, size_t count) in qeth_l3_dev_route_store()
105 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store()
117 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show()
125 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store()
137 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show()
145 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_sniffer_store()
193 struct device_attribute *attr, char *buf) in qeth_l3_dev_hsuid_show()
[all …]
Dqeth_core_sys.c20 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
41 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
51 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
61 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
85 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
95 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
103 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store()
135 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
141 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store()
154 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
[all …]
/drivers/net/bonding/
Dbond_sysfs.c36 char *buf) in bonding_show_bonds()
166 struct device_attribute *attr, char *buf) in bonding_show_slaves()
199 struct device_attribute *attr, char *buf) in bonding_show_mode()
213 char *buf) in bonding_show_xmit_hash()
228 char *buf) in bonding_show_arp_validate()
244 char *buf) in bonding_show_arp_all_targets()
260 char *buf) in bonding_show_fail_over_mac()
276 char *buf) in bonding_show_arp_interval()
288 char *buf) in bonding_show_arp_targets()
309 char *buf) in bonding_show_missed_max()
[all …]
/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c59 char *buf) in nr_pe_cmp_show()
71 char *buf) in nr_addr_cmp_show()
83 char *buf) in nr_cntr_show()
95 char *buf) in nr_ext_inp_show()
107 char *buf) in numcidc_show()
119 char *buf) in numvmidc_show()
131 char *buf) in nrseqstate_show()
143 char *buf) in nr_resource_show()
155 char *buf) in nr_ss_cmp_show()
167 const char *buf, size_t size) in reset_store()
[all …]
Dcoresight-etm3x-sysfs.c14 struct device_attribute *attr, char *buf) in nr_addr_cmp_show()
25 struct device_attribute *attr, char *buf) in nr_cntr_show()
35 struct device_attribute *attr, char *buf) in nr_ctxid_cmp_show()
46 struct device_attribute *attr, char *buf) in etmsr_show()
67 const char *buf, size_t size) in reset_store()
96 struct device_attribute *attr, char *buf) in mode_show()
108 const char *buf, size_t size) in mode_store()
181 struct device_attribute *attr, char *buf) in trigger_event_show()
193 const char *buf, size_t size) in trigger_event_store()
211 struct device_attribute *attr, char *buf) in enable_event_show()
[all …]
Dcoresight-cti-sysfs.c81 char *buf) in enable_show()
101 const char *buf, size_t size) in enable_store()
132 char *buf) in powered_show()
146 struct device_attribute *attr, char *buf) in ctmid_show()
156 char *buf) in nr_trigger_cons_show()
226 static ssize_t cti_reg32_show(struct device *dev, char *buf, in cti_reg32_show()
252 static ssize_t cti_reg32_store(struct device *dev, const char *buf, in cti_reg32_store()
297 char *buf) in inout_sel_show()
308 const char *buf, size_t size) in inout_sel_store()
327 char *buf) in inen_show()
[all …]
/drivers/dma/idxd/
Dsysfs.c21 struct device_attribute *attr, char *buf) in engine_group_id_show()
33 const char *buf, size_t count) in engine_group_id_store()
117 char *buf) in group_tokens_reserved_show()
126 const char *buf, size_t count) in group_tokens_reserved_store()
163 char *buf) in group_tokens_allowed_show()
172 const char *buf, size_t count) in group_tokens_allowed_store()
206 char *buf) in group_use_token_limit_show()
215 const char *buf, size_t count) in group_use_token_limit_store()
247 struct device_attribute *attr, char *buf) in group_engines_show()
275 struct device_attribute *attr, char *buf) in group_work_queues_show()
[all …]
/drivers/net/dsa/sja1105/
Dsja1105_static_config.c17 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t len) in sja1105_pack()
39 void sja1105_unpack(const void *buf, u64 *val, int start, int end, size_t len) in sja1105_unpack()
56 void sja1105_packing(void *buf, u64 *val, int start, int end, in sja1105_packing()
79 u32 sja1105_crc32(const void *buf, size_t len) in sja1105_crc32()
94 static size_t sja1105et_avb_params_entry_packing(void *buf, void *entry_ptr, in sja1105et_avb_params_entry_packing()
105 size_t sja1105pqrs_avb_params_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_avb_params_entry_packing()
117 static size_t sja1105et_general_params_entry_packing(void *buf, void *entry_ptr, in sja1105et_general_params_entry_packing()
149 size_t sja1105pqrs_general_params_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_general_params_entry_packing()
183 size_t sja1110_general_params_entry_packing(void *buf, void *entry_ptr, in sja1110_general_params_entry_packing()
221 sja1105_l2_forwarding_params_entry_packing(void *buf, void *entry_ptr, in sja1105_l2_forwarding_params_entry_packing()
[all …]
Dsja1105_dynamic_config.c199 sja1105et_vl_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1105et_vl_lookup_cmd_packing()
212 sja1105pqrs_vl_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1105pqrs_vl_lookup_cmd_packing()
225 sja1110_vl_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1110_vl_lookup_cmd_packing()
237 static size_t sja1105et_vl_lookup_entry_packing(void *buf, void *entry_ptr, in sja1105et_vl_lookup_entry_packing()
249 sja1110_vl_policing_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1110_vl_policing_cmd_packing()
261 sja1105pqrs_common_l2_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1105pqrs_common_l2_lookup_cmd_packing()
310 sja1105pqrs_l2_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1105pqrs_l2_lookup_cmd_packing()
329 sja1110_l2_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1110_l2_lookup_cmd_packing()
385 sja1105pqrs_dyn_l2_lookup_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_dyn_l2_lookup_entry_packing()
397 static size_t sja1110_dyn_l2_lookup_entry_packing(void *buf, void *entry_ptr, in sja1110_dyn_l2_lookup_entry_packing()
[all …]
/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c121 char *buf) in amdgpu_get_power_dpm_state()
156 const char *buf, in amdgpu_set_power_dpm_state()
265 char *buf) in amdgpu_get_power_dpm_force_performance_level()
306 const char *buf, in amdgpu_set_power_dpm_force_performance_level()
408 char *buf) in amdgpu_get_pp_num_states()
450 char *buf) in amdgpu_get_pp_cur_state()
492 char *buf) in amdgpu_get_pp_force_state()
510 const char *buf, in amdgpu_set_pp_force_state()
574 char *buf) in amdgpu_get_pp_table()
614 const char *buf, in amdgpu_set_pp_table()
[all …]
/drivers/base/power/
Dsysfs.c102 char *buf) in control_show()
109 const char * buf, size_t n) in control_store()
126 char *buf) in runtime_active_time_show()
139 char *buf) in runtime_suspended_time_show()
151 struct device_attribute *attr, char *buf) in runtime_status_show()
184 char *buf) in autosuspend_delay_ms_show()
193 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store()
213 char *buf) in pm_qos_resume_latency_us_show()
227 const char *buf, size_t n) in pm_qos_resume_latency_us_store()
257 char *buf) in pm_qos_latency_tolerance_us_show()
[all …]
/drivers/scsi/qla2xxx/
Dqla_tmpl.c15 qla27xx_insert16(uint16_t value, void *buf, ulong *len) in qla27xx_insert16()
25 qla27xx_insert32(uint32_t value, void *buf, ulong *len) in qla27xx_insert32()
35 qla27xx_insertbuf(void *mem, ulong size, void *buf, ulong *len) in qla27xx_insertbuf()
45 qla27xx_read8(void __iomem *window, void *buf, ulong *len) in qla27xx_read8()
56 qla27xx_read16(void __iomem *window, void *buf, ulong *len) in qla27xx_read16()
67 qla27xx_read32(void __iomem *window, void *buf, ulong *len) in qla27xx_read32()
87 uint offset, void *buf, ulong *len) in qla27xx_read_reg()
96 uint offset, uint32_t data, void *buf) in qla27xx_write_reg()
107 uint32_t addr, uint offset, uint count, uint width, void *buf, in qla27xx_read_window()
123 qla27xx_skip_entry(struct qla27xx_fwdt_entry *ent, void *buf) in qla27xx_skip_entry()
[all …]
Dqla_attr.c21 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_fw_dump()
62 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_fw_dump()
184 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_nvram()
224 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_nvram()
298 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_optrom()
322 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_optrom()
360 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_optrom_ctl()
544 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_vpd()
591 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_vpd()
658 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_sfp()
[all …]
/drivers/net/wireless/ath/ath11k/
Ddebugfs_htt_stats.c13 #define HTT_DBG_OUT(buf, len, fmt, ...) \ argument
37 u8 *buf = stats_req->buf; in htt_print_stats_string_tlv() local
70 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_cmn_tlv() local
190 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_urrn_tlv_v() local
215 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_flush_tlv_v() local
240 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_sifs_tlv_v() local
266 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_phy_err_tlv_v() local
291 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_sifs_hist_tlv_v() local
317 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_tx_ppdu_stats_tlv_v() local
353 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_tried_mpdu_cnt_hist_tlv_v() local
[all …]
/drivers/usb/core/
Dsysfs.c52 struct device_attribute *attr, char *buf) in bMaxPower_show()
71 struct device_attribute *attr, char *buf) in configuration_show()
94 const char *buf, size_t count) in bConfigurationValue_store()
113 char *buf) in devspec_show()
145 char *buf) in speed_show()
183 char *buf) in rx_lanes_show()
193 char *buf) in tx_lanes_show()
203 char *buf) in busnum_show()
213 char *buf) in devnum_show()
223 char *buf) in devpath_show()
[all …]
/drivers/video/fbdev/omap2/omapfb/dss/
Doverlay-sysfs.c23 static ssize_t overlay_name_show(struct omap_overlay *ovl, char *buf) in overlay_name_show()
28 static ssize_t overlay_manager_show(struct omap_overlay *ovl, char *buf) in overlay_manager_show()
34 static ssize_t overlay_manager_store(struct omap_overlay *ovl, const char *buf, in overlay_manager_store()
105 static ssize_t overlay_input_size_show(struct omap_overlay *ovl, char *buf) in overlay_input_size_show()
115 static ssize_t overlay_screen_width_show(struct omap_overlay *ovl, char *buf) in overlay_screen_width_show()
124 static ssize_t overlay_position_show(struct omap_overlay *ovl, char *buf) in overlay_position_show()
135 const char *buf, size_t size) in overlay_position_store()
163 static ssize_t overlay_output_size_show(struct omap_overlay *ovl, char *buf) in overlay_output_size_show()
174 const char *buf, size_t size) in overlay_output_size_store()
202 static ssize_t overlay_enabled_show(struct omap_overlay *ovl, char *buf) in overlay_enabled_show()
[all …]
Dmanager-sysfs.c23 static ssize_t manager_name_show(struct omap_overlay_manager *mgr, char *buf) in manager_name_show()
28 static ssize_t manager_display_show(struct omap_overlay_manager *mgr, char *buf) in manager_display_show()
44 const char *buf, size_t size) in manager_display_store()
117 char *buf) in manager_default_color_show()
127 const char *buf, size_t size) in manager_default_color_store()
158 char *buf) in manager_trans_key_type_show()
172 const char *buf, size_t size) in manager_trans_key_type_store()
197 char *buf) in manager_trans_key_value_show()
207 const char *buf, size_t size) in manager_trans_key_value_store()
233 char *buf) in manager_trans_key_enabled_show()
[all …]
/drivers/video/fbdev/core/
Dfbsysfs.c111 static int mode_string(char *buf, unsigned int offset, in mode_string()
134 const char *buf, size_t count) in store_mode()
165 char *buf) in show_mode()
177 const char *buf, size_t count) in store_modes()
205 char *buf) in show_modes()
223 const char *buf, size_t count) in store_bpp()
238 char *buf) in show_bpp()
246 const char *buf, size_t count) in store_rotate()
264 struct device_attribute *attr, char *buf) in show_rotate()
273 const char *buf, size_t count) in store_virtual()
[all …]
/drivers/misc/cxl/
Dsysfs.c19 char *buf) in caia_version_show()
29 char *buf) in psl_revision_show()
38 char *buf) in base_image_show()
47 char *buf) in image_loaded_show()
58 char *buf) in psl_timebase_synced_show()
79 char *buf) in tunneled_ops_supported_show()
88 const char *buf, size_t count) in reset_adapter_store()
124 char *buf) in load_image_on_perst_show()
138 const char *buf, size_t count) in load_image_on_perst_store()
162 char *buf) in perst_reloads_same_image_show()
[all …]
/drivers/usb/gadget/
Du_os_desc.h35 static inline u8 *__usb_ext_prop_ptr(u8 *buf, size_t offset) in __usb_ext_prop_ptr()
40 static inline u8 *usb_ext_prop_size_ptr(u8 *buf) in usb_ext_prop_size_ptr()
45 static inline u8 *usb_ext_prop_type_ptr(u8 *buf) in usb_ext_prop_type_ptr()
50 static inline u8 *usb_ext_prop_name_len_ptr(u8 *buf) in usb_ext_prop_name_len_ptr()
55 static inline u8 *usb_ext_prop_name_ptr(u8 *buf) in usb_ext_prop_name_ptr()
60 static inline u8 *usb_ext_prop_data_len_ptr(u8 *buf, size_t off) in usb_ext_prop_data_len_ptr()
66 static inline u8 *usb_ext_prop_data_ptr(u8 *buf, size_t off) in usb_ext_prop_data_ptr()
71 static inline void usb_ext_prop_put_size(u8 *buf, int dw_size) in usb_ext_prop_put_size()
76 static inline void usb_ext_prop_put_type(u8 *buf, int type) in usb_ext_prop_put_type()
81 static inline int usb_ext_prop_put_name(u8 *buf, const char *name, int pnl) in usb_ext_prop_put_name()
[all …]
/drivers/gpu/drm/i915/gt/
Dsysfs_engines.c25 name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in name_show()
34 class_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in class_show()
43 inst_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in inst_show()
52 mmio_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mmio_show()
69 static ssize_t repr_trim(char *buf, ssize_t len) in repr_trim()
82 unsigned long caps, char *buf, bool show_unknown) in __caps_show()
123 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show()
134 all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in all_caps_show()
144 const char *buf, size_t count) in max_spin_store()
180 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_show()
[all …]
/drivers/xen/
Dxen-front-pgdir-shbuf.c83 xen_front_pgdir_shbuf_get_dir_start(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_get_dir_start()
103 int xen_front_pgdir_shbuf_map(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_map()
124 int xen_front_pgdir_shbuf_unmap(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_unmap()
139 void xen_front_pgdir_shbuf_free(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_free()
167 static int get_num_pages_dir(struct xen_front_pgdir_shbuf *buf) in get_num_pages_dir()
178 static void backend_calc_num_grefs(struct xen_front_pgdir_shbuf *buf) in backend_calc_num_grefs()
190 static void guest_calc_num_grefs(struct xen_front_pgdir_shbuf *buf) in guest_calc_num_grefs()
209 static int backend_unmap(struct xen_front_pgdir_shbuf *buf) in backend_unmap()
256 static int backend_map(struct xen_front_pgdir_shbuf *buf) in backend_map()
341 static void backend_fill_page_dir(struct xen_front_pgdir_shbuf *buf) in backend_fill_page_dir()
[all …]
/drivers/base/
Dcpu.c89 const char *buf, in cpu_probe_store()
107 const char *buf, in cpu_release_store()
144 char *buf) in crash_notes_show()
166 char *buf) in crash_notes_size_show()
208 char *buf) in show_cpus_attr()
229 struct device_attribute *attr, char *buf) in print_cpus_kernel_max()
239 struct device_attribute *attr, char *buf) in print_cpus_offline()
269 struct device_attribute *attr, char *buf) in print_cpus_isolated()
289 struct device_attribute *attr, char *buf) in print_cpus_nohz_full()
318 char *buf) in print_cpu_modalias()
[all …]
/drivers/staging/iio/addac/
Dadt7316.c223 char *buf) in adt7316_show_enabled()
253 const char *buf, in adt7316_store_enabled()
278 char *buf) in adt7316_show_select_ex_temp()
291 const char *buf, in adt7316_store_select_ex_temp()
322 char *buf) in adt7316_show_mode()
335 const char *buf, in adt7316_store_mode()
363 char *buf) in adt7316_show_all_modes()
372 char *buf) in adt7316_show_ad_channel()
410 const char *buf, in adt7316_store_ad_channel()
456 char *buf) in adt7316_show_all_ad_channels()
[all …]

12345678910>>...160