Home
last modified time | relevance | path

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

12345678910>>...164

/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()
71 const char *buf, size_t count) in qeth_l3_dev_route_store()
108 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store()
123 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show()
134 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store()
149 struct device_attribute *attr, char *buf) in qeth_l3_dev_fake_broadcast_show()
160 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_fake_broadcast_store()
189 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show()
[all …]
Dqeth_core_sys.c20 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
45 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
57 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
68 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
94 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
106 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
116 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store()
151 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
157 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store()
170 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
[all …]
/drivers/base/power/
Dsysfs.c101 char *buf) in control_show()
108 const char * buf, size_t n) in control_store()
124 struct device_attribute *attr, char *buf) in runtime_active_time_show()
136 struct device_attribute *attr, char *buf) in runtime_suspended_time_show()
148 struct device_attribute *attr, char *buf) in runtime_status_show()
180 struct device_attribute *attr, char *buf) in autosuspend_delay_ms_show()
188 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store()
208 char *buf) in pm_qos_resume_latency_us_show()
222 const char *buf, size_t n) in pm_qos_resume_latency_us_store()
252 char *buf) in pm_qos_latency_tolerance_us_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_downdelay()
[all …]
/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c58 char *buf) in nr_pe_cmp_show()
70 char *buf) in nr_addr_cmp_show()
82 char *buf) in nr_cntr_show()
94 char *buf) in nr_ext_inp_show()
106 char *buf) in numcidc_show()
118 char *buf) in numvmidc_show()
130 char *buf) in nrseqstate_show()
142 char *buf) in nr_resource_show()
154 char *buf) in nr_ss_cmp_show()
166 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 …]
/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()
180 char *buf) in rx_lanes_show()
190 char *buf) in tx_lanes_show()
200 char *buf) in busnum_show()
210 char *buf) in devnum_show()
220 char *buf) in devpath_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.c22 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_fw_dump()
58 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_fw_dump()
155 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_nvram()
195 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_nvram()
270 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_optrom()
294 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_optrom()
332 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_optrom_ctl()
516 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_vpd()
563 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_vpd()
630 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_sfp()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pm.c156 char *buf) in amdgpu_get_dpm_state()
180 const char *buf, in amdgpu_set_dpm_state()
280 char *buf) in amdgpu_get_dpm_forced_performance_level()
314 const char *buf, in amdgpu_set_dpm_forced_performance_level()
407 char *buf) in amdgpu_get_pp_num_states()
434 char *buf) in amdgpu_get_pp_cur_state()
467 char *buf) in amdgpu_get_pp_force_state()
480 const char *buf, in amdgpu_set_pp_force_state()
531 char *buf) in amdgpu_get_pp_table()
558 const char *buf, in amdgpu_set_pp_table()
[all …]
/drivers/misc/mic/cosm/
Dcosm_sysfs.c55 family_show(struct device *dev, struct device_attribute *attr, char *buf) in family_show()
67 stepping_show(struct device *dev, struct device_attribute *attr, char *buf) in stepping_show()
79 state_show(struct device *dev, struct device_attribute *attr, char *buf) in state_show()
92 const char *buf, size_t count) in state_store()
122 struct device_attribute *attr, char *buf) in shutdown_status_show()
136 struct device_attribute *attr, char *buf) in heartbeat_enable_show()
149 const char *buf, size_t count) in heartbeat_enable_store()
175 cmdline_show(struct device *dev, struct device_attribute *attr, char *buf) in cmdline_show()
192 const char *buf, size_t count) in cmdline_store()
221 firmware_show(struct device *dev, struct device_attribute *attr, char *buf) in firmware_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 …]
Ddisplay-sysfs.c20 static ssize_t display_name_show(struct omap_dss_device *dssdev, char *buf) in display_name_show()
27 static ssize_t display_enabled_show(struct omap_dss_device *dssdev, char *buf) in display_enabled_show()
34 const char *buf, size_t size) in display_enabled_store()
60 static ssize_t display_tear_show(struct omap_dss_device *dssdev, char *buf) in display_tear_show()
68 const char *buf, size_t size) in display_tear_store()
87 static ssize_t display_timings_show(struct omap_dss_device *dssdev, char *buf) in display_timings_show()
103 const char *buf, size_t size) in display_timings_store()
140 static ssize_t display_rotate_show(struct omap_dss_device *dssdev, char *buf) in display_rotate_show()
150 const char *buf, size_t size) in display_rotate_store()
168 static ssize_t display_mirror_show(struct omap_dss_device *dssdev, char *buf) in display_mirror_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/video/fbdev/core/
Dfbsysfs.c103 static int mode_string(char *buf, unsigned int offset, in mode_string()
126 const char *buf, size_t count) in store_mode()
157 char *buf) in show_mode()
169 const char *buf, size_t count) in store_modes()
197 char *buf) in show_modes()
215 const char *buf, size_t count) in store_bpp()
230 char *buf) in show_bpp()
238 const char *buf, size_t count) in store_rotate()
256 struct device_attribute *attr, char *buf) in show_rotate()
265 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/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()
334 static void backend_fill_page_dir(struct xen_front_pgdir_shbuf *buf) in backend_fill_page_dir()
[all …]
/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 …]
/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 …]
/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 static size_t sja1105pqrs_avb_params_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_avb_params_entry_packing()
116 static size_t sja1105et_general_params_entry_packing(void *buf, void *entry_ptr, in sja1105et_general_params_entry_packing()
149 sja1105pqrs_general_params_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_general_params_entry_packing()
184 sja1105_l2_forwarding_params_entry_packing(void *buf, void *entry_ptr, in sja1105_l2_forwarding_params_entry_packing()
198 size_t sja1105_l2_forwarding_entry_packing(void *buf, void *entry_ptr, in sja1105_l2_forwarding_entry_packing()
[all …]
/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 …]
/drivers/media/common/videobuf2/
Dvideobuf2-dma-sg.c58 static int vb2_dma_sg_alloc_compacted(struct vb2_dma_sg_buf *buf, in vb2_dma_sg_alloc_compacted()
103 struct vb2_dma_sg_buf *buf; in vb2_dma_sg_alloc() local
176 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_put() local
198 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_prepare() local
211 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_finish() local
225 struct vb2_dma_sg_buf *buf; in vb2_dma_sg_get_userptr() local
283 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_put_userptr() local
304 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_vaddr() local
322 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_num_users() local
329 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_mmap() local
[all …]
Dvideobuf2-dma-contig.c71 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_cookie() local
78 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_vaddr() local
88 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_num_users() local
95 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_prepare() local
108 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_finish() local
124 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_put() local
143 struct vb2_dc_buf *buf; in vb2_dc_alloc() local
181 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_mmap() local
226 struct vb2_dc_buf *buf = dbuf->priv; in vb2_dc_dmabuf_ops_attach() local
340 struct vb2_dc_buf *buf = dbuf->priv; in vb2_dc_dmabuf_ops_kmap() local
[all …]

12345678910>>...164