Home
last modified time | relevance | path

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

12345678910>>...126

/drivers/net/wireless/st/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 …]
/drivers/s390/net/
Dqeth_l3_sys.c18 struct qeth_routing_info *route, char *buf) in qeth_l3_dev_route_show()
46 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show()
58 const char *buf, size_t count) in qeth_l3_dev_route_store()
95 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store()
110 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show()
121 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store()
136 struct device_attribute *attr, char *buf) in qeth_l3_dev_fake_broadcast_show()
147 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_fake_broadcast_store()
177 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show()
188 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 …]
/drivers/net/bonding/
Dbond_sysfs.c52 char *buf) in bonding_show_bonds()
177 struct device_attribute *attr, char *buf) in bonding_show_slaves()
210 struct device_attribute *attr, char *buf) in bonding_show_mode()
225 char *buf) in bonding_show_xmit_hash()
240 char *buf) in bonding_show_arp_validate()
256 char *buf) in bonding_show_arp_all_targets()
272 char *buf) in bonding_show_fail_over_mac()
288 char *buf) in bonding_show_arp_interval()
300 char *buf) in bonding_show_arp_targets()
321 char *buf) in bonding_show_downdelay()
[all …]
/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 …]
/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c68 char *buf) in nr_pe_cmp_show()
80 char *buf) in nr_addr_cmp_show()
92 char *buf) in nr_cntr_show()
104 char *buf) in nr_ext_inp_show()
116 char *buf) in numcidc_show()
128 char *buf) in numvmidc_show()
140 char *buf) in nrseqstate_show()
152 char *buf) in nr_resource_show()
164 char *buf) in nr_ss_cmp_show()
176 const char *buf, size_t size) in reset_store()
[all …]
Dcoresight-etm3x-sysfs.c24 struct device_attribute *attr, char *buf) in nr_addr_cmp_show()
35 struct device_attribute *attr, char *buf) in nr_cntr_show()
45 struct device_attribute *attr, char *buf) in nr_ctxid_cmp_show()
56 struct device_attribute *attr, char *buf) in etmsr_show()
77 const char *buf, size_t size) in reset_store()
106 struct device_attribute *attr, char *buf) in mode_show()
118 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/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_nvram()
171 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_nvram()
239 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_optrom()
263 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_optrom()
301 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_optrom_ctl()
482 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_vpd()
511 char *buf, loff_t off, size_t count) in qla2x00_sysfs_write_vpd()
564 char *buf, loff_t off, size_t count) in qla2x00_sysfs_read_sfp()
[all …]
/drivers/staging/dgnc/
Ddgnc_sysfs.c28 static ssize_t version_show(struct device_driver *ddp, char *buf) in version_show()
34 static ssize_t boards_show(struct device_driver *ddp, char *buf) in boards_show()
40 static ssize_t maxboards_show(struct device_driver *ddp, char *buf) in maxboards_show()
46 static ssize_t pollrate_show(struct device_driver *ddp, char *buf) in pollrate_show()
52 const char *buf, size_t count) in pollrate_store()
106 char *buf) in vpd_show()
128 struct device_attribute *attr, char *buf) in serial_number_show()
145 struct device_attribute *attr, char *buf) in ports_state_show()
163 struct device_attribute *attr, char *buf) in ports_baud_show()
181 struct device_attribute *attr, char *buf) in ports_msignals_show()
[all …]
/drivers/usb/core/
Dsysfs.c48 struct device_attribute *attr, char *buf) in bMaxPower_show()
67 struct device_attribute *attr, char *buf) in configuration_show()
90 const char *buf, size_t count) in bConfigurationValue_store()
130 char *buf) in speed_show()
165 char *buf) in busnum_show()
175 char *buf) in devnum_show()
185 char *buf) in devpath_show()
195 char *buf) in version_show()
207 char *buf) in maxchild_show()
217 char *buf) in quirks_show()
[all …]
/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 …]
/drivers/video/fbdev/omap2/omapfb/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 …]
/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 …]
/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 char *buf) in psl_timebase_synced_show()
71 const char *buf, size_t count) in reset_adapter_store()
107 char *buf) in load_image_on_perst_show()
121 const char *buf, size_t count) in load_image_on_perst_store()
145 char *buf) in perst_reloads_same_image_show()
154 const char *buf, size_t count) in perst_reloads_same_image_store()
[all …]
/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 …]
/drivers/gpu/drm/nouveau/
Dnouveau_hwmon.c42 nouveau_hwmon_show_temp(struct device *d, struct device_attribute *a, char *buf) in nouveau_hwmon_show_temp()
59 struct device_attribute *a, char *buf) in nouveau_hwmon_show_temp1_auto_point1_pwm()
68 struct device_attribute *a, char *buf) in nouveau_hwmon_temp1_auto_point1_temp()
80 const char *buf, size_t count) in nouveau_hwmon_set_temp1_auto_point1_temp()
101 struct device_attribute *a, char *buf) in nouveau_hwmon_temp1_auto_point1_temp_hyst()
113 const char *buf, size_t count) in nouveau_hwmon_set_temp1_auto_point1_temp_hyst()
133 nouveau_hwmon_max_temp(struct device *d, struct device_attribute *a, char *buf) in nouveau_hwmon_max_temp()
144 const char *buf, size_t count) in nouveau_hwmon_set_max_temp()
164 char *buf) in nouveau_hwmon_max_temp_hyst()
175 const char *buf, size_t count) in nouveau_hwmon_set_max_temp_hyst()
[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.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 …]
/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/v4l2-core/
Dvideobuf2-dma-sg.c57 static int vb2_dma_sg_alloc_compacted(struct vb2_dma_sg_buf *buf, in vb2_dma_sg_alloc_compacted()
102 struct vb2_dma_sg_buf *buf; in vb2_dma_sg_alloc() local
175 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_put() local
197 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_prepare() local
210 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_finish() local
224 struct vb2_dma_sg_buf *buf; in vb2_dma_sg_get_userptr() local
282 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_put_userptr() local
303 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_vaddr() local
321 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_num_users() local
328 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_mmap() local
[all …]
/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 …]
/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 …]

12345678910>>...126