Home
last modified time | relevance | path

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

12345678910>>...165

/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/gpu/drm/amd/pm/
Damdgpu_pm.c96 char *buf) in amdgpu_get_power_dpm_state()
126 const char *buf, in amdgpu_set_power_dpm_state()
224 char *buf) in amdgpu_get_power_dpm_force_performance_level()
262 const char *buf, in amdgpu_set_power_dpm_force_performance_level()
324 char *buf) in amdgpu_get_pp_num_states()
362 char *buf) in amdgpu_get_pp_cur_state()
404 char *buf) in amdgpu_get_pp_force_state()
422 const char *buf, in amdgpu_set_pp_force_state()
495 char *buf) in amdgpu_get_pp_table()
531 const char *buf, in amdgpu_set_pp_table()
[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_read_buffers_reserved_show()
126 char *buf) in group_tokens_reserved_show()
134 const char *buf, size_t count) in group_read_buffers_reserved_store()
167 const char *buf, size_t count) in group_tokens_reserved_store()
183 char *buf) in group_read_buffers_allowed_show()
192 char *buf) in group_tokens_allowed_show()
200 const char *buf, size_t count) in group_read_buffers_allowed_store()
230 const char *buf, size_t count) in group_tokens_allowed_store()
[all …]
/drivers/hwtracing/coresight/
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()
97 struct device_attribute *attr, char *buf) in mode_show()
109 const char *buf, size_t size) in mode_store()
182 struct device_attribute *attr, char *buf) in trigger_event_show()
194 const char *buf, size_t size) in trigger_event_store()
212 struct device_attribute *attr, char *buf) in enable_event_show()
[all …]
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-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()
177 struct device_attribute *attr, char *buf) in coresight_cti_reg_show()
195 const char *buf, size_t size) in coresight_cti_reg_store()
260 static ssize_t cti_reg32_show(struct device *dev, char *buf, in cti_reg32_show()
286 static ssize_t cti_reg32_store(struct device *dev, const char *buf, in cti_reg32_store()
331 char *buf) in inout_sel_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/net/wireless/ath/ath11k/
Ddebugfs_htt_stats.c43 u8 *buf = stats_req->buf; in htt_print_stats_string_tlv() local
74 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_cmn_tlv() local
194 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_urrn_tlv_v() local
218 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_flush_tlv_v() local
242 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
290 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_sifs_hist_tlv_v() local
314 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_tx_ppdu_stats_tlv_v() local
350 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_tried_mpdu_cnt_hist_tlv_v() local
375 u8 *buf = stats_req->buf; in htt_print_hw_stats_intr_misc_tlv() local
[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/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/accel/habanalabs/common/
Dsysfs.c12 static ssize_t clk_max_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf) in clk_max_freq_mhz_show()
30 const char *buf, size_t count) in clk_max_freq_mhz_store()
55 static ssize_t clk_cur_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf) in clk_cur_freq_mhz_show()
79 static ssize_t vrm_ver_show(struct device *dev, struct device_attribute *attr, char *buf) in vrm_ver_show()
101 char *buf) in uboot_ver_show()
109 struct device_attribute *attr, char *buf) in armcp_kernel_ver_show()
117 char *buf) in armcp_ver_show()
125 char *buf) in cpld_ver_show()
134 struct device_attribute *attr, char *buf) in cpucp_kernel_ver_show()
142 char *buf) in cpucp_ver_show()
[all …]
/drivers/nvme/host/
Dsysfs.c14 struct device_attribute *attr, const char *buf, in nvme_sysfs_reset()
28 struct device_attribute *attr, const char *buf, in nvme_sysfs_rescan()
49 char *buf) in wwid_show()
80 char *buf) in nguid_show()
87 char *buf) in uuid_show()
104 char *buf) in eui_show()
111 char *buf) in nsid_show()
200 struct device_attribute *attr, const char *buf, in nvme_sysfs_delete()
216 char *buf) in nvme_sysfs_show_transport()
226 char *buf) in nvme_sysfs_show_state()
[all …]
/drivers/ufs/core/
Dufs-sysfs.c39 const char *buf, size_t count, in ufs_sysfs_pm_lvl_store()
67 struct device_attribute *attr, char *buf) in rpm_lvl_show()
75 struct device_attribute *attr, const char *buf, size_t count) in rpm_lvl_store()
81 struct device_attribute *attr, char *buf) in rpm_target_dev_state_show()
90 struct device_attribute *attr, char *buf) in rpm_target_link_state_show()
99 struct device_attribute *attr, char *buf) in spm_lvl_show()
107 struct device_attribute *attr, const char *buf, size_t count) in spm_lvl_store()
113 struct device_attribute *attr, char *buf) in spm_target_dev_state_show()
122 struct device_attribute *attr, char *buf) in spm_target_link_state_show()
155 struct device_attribute *attr, char *buf) in auto_hibern8_show()
[all …]
/drivers/usb/core/
Dsysfs.c53 struct device_attribute *attr, char *buf) in bMaxPower_show()
72 struct device_attribute *attr, char *buf) in configuration_show()
95 const char *buf, size_t count) in bConfigurationValue_store()
114 char *buf) in devspec_show()
146 char *buf) in speed_show()
181 char *buf) in rx_lanes_show()
191 char *buf) in tx_lanes_show()
201 char *buf) in busnum_show()
211 char *buf) in devnum_show()
221 char *buf) in devpath_show()
[all …]
/drivers/video/fbdev/omap2/omapfb/dss/
Doverlay-sysfs.c24 static ssize_t overlay_name_show(struct omap_overlay *ovl, char *buf) in overlay_name_show()
29 static ssize_t overlay_manager_show(struct omap_overlay *ovl, char *buf) in overlay_manager_show()
35 static ssize_t overlay_manager_store(struct omap_overlay *ovl, const char *buf, in overlay_manager_store()
106 static ssize_t overlay_input_size_show(struct omap_overlay *ovl, char *buf) in overlay_input_size_show()
116 static ssize_t overlay_screen_width_show(struct omap_overlay *ovl, char *buf) in overlay_screen_width_show()
125 static ssize_t overlay_position_show(struct omap_overlay *ovl, char *buf) in overlay_position_show()
136 const char *buf, size_t size) in overlay_position_store()
164 static ssize_t overlay_output_size_show(struct omap_overlay *ovl, char *buf) in overlay_output_size_show()
175 const char *buf, size_t size) in overlay_output_size_store()
203 static ssize_t overlay_enabled_show(struct omap_overlay *ovl, char *buf) in overlay_enabled_show()
[all …]
Dmanager-sysfs.c24 static ssize_t manager_name_show(struct omap_overlay_manager *mgr, char *buf) in manager_name_show()
29 static ssize_t manager_display_show(struct omap_overlay_manager *mgr, char *buf) in manager_display_show()
45 const char *buf, size_t size) in manager_display_store()
118 char *buf) in manager_default_color_show()
128 const char *buf, size_t size) in manager_default_color_store()
159 char *buf) in manager_trans_key_type_show()
173 const char *buf, size_t size) in manager_trans_key_type_store()
198 char *buf) in manager_trans_key_value_show()
208 const char *buf, size_t size) in manager_trans_key_value_store()
234 char *buf) in manager_trans_key_enabled_show()
[all …]
/drivers/video/fbdev/core/
Dfbsysfs.c34 static int mode_string(char *buf, unsigned int offset, in mode_string()
57 const char *buf, size_t count) in store_mode()
86 char *buf) in show_mode()
98 const char *buf, size_t count) in store_modes()
126 char *buf) in show_modes()
142 const char *buf, size_t count) in store_bpp()
157 char *buf) in show_bpp()
165 const char *buf, size_t count) in store_rotate()
183 struct device_attribute *attr, char *buf) in show_rotate()
192 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/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()
121 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show()
132 all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in all_caps_show()
142 const char *buf, size_t count) in max_spin_store()
179 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_show()
[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>>...165